LLVM  6.0.0svn
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 65 of file ConstantHoisting.h.

Constructor & Destructor Documentation

◆ ConstantUser()

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

Definition at line 69 of file ConstantHoisting.h.

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

Member Data Documentation

◆ Inst

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

Definition at line 66 of file ConstantHoisting.h.

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

◆ OpndIdx

unsigned llvm::consthoist::ConstantUser::OpndIdx

Definition at line 67 of file ConstantHoisting.h.

Referenced by updateOperand().


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