LLVM 20.0.0git
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"

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 72 of file ConstantHoisting.h.

Constructor & Destructor Documentation

◆ ConstantUser()

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

Definition at line 76 of file ConstantHoisting.h.

Member Data Documentation

◆ Inst

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

Definition at line 73 of file ConstantHoisting.h.

◆ OpndIdx

unsigned llvm::consthoist::ConstantUser::OpndIdx

Definition at line 74 of file ConstantHoisting.h.


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