LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::consthoist::ConstantUser Struct Reference

Keeps track of the user of a constant and the operand index where the constant is used. More...

#include "llvm/Transforms/Scalar/ConstantHoisting.h"

Collaboration diagram for llvm::consthoist::ConstantUser:
Collaboration graph
[legend]

Public Member Functions

 ConstantUser (Instruction *Inst, unsigned Idx)
 

Public Attributes

InstructionInst
 
unsigned OpndIdx
 

Detailed Description

Keeps track of the user of a constant and the operand index where the constant is used.

Definition at line 68 of file ConstantHoisting.h.

Constructor & Destructor Documentation

◆ ConstantUser()

llvm::consthoist::ConstantUser::ConstantUser ( Instruction Inst,
unsigned  Idx 
)
inline

Definition at line 72 of file ConstantHoisting.h.

Referenced by llvm::consthoist::ConstantCandidate::addUser().

Member Data Documentation

◆ Inst

Instruction* llvm::consthoist::ConstantUser::Inst

Definition at line 69 of file ConstantHoisting.h.

Referenced by llvm::ConstantHoistingPass::releaseMemory(), and updateOperand().

◆ OpndIdx

unsigned llvm::consthoist::ConstantUser::OpndIdx

Definition at line 70 of file ConstantHoisting.h.

Referenced by updateOperand().


The documentation for this struct was generated from the following file: