LLVM: llvm::PseudoSourceValue Class Reference (original) (raw)

Special value supplied for machine level alias analysis. More...

#include "[llvm/CodeGen/PseudoSourceValue.h](PseudoSourceValue%5F8h%5Fsource.html)"

Public Types
enum PSVKind : unsigned { Stack, GOT, JumpTable, ConstantPool, FixedStack, GlobalValueCallEntry, ExternalSymbolCallEntry, TargetCustom }
Public Member Functions
PseudoSourceValue (unsigned Kind, const TargetMachine &TM)
virtual ~PseudoSourceValue ()
unsigned kind () const
bool isStack () const
bool isGOT () const
bool isConstantPool () const
bool isJumpTable () const
unsigned getAddressSpace () const
unsigned getTargetCustom () const
virtual bool isConstant (const MachineFrameInfo *) const
Test whether the memory pointed to by this PseudoSourceValue has a constant value.
virtual bool isAliased (const MachineFrameInfo *) const
Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
virtual bool mayAlias (const MachineFrameInfo *) const
Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.

Special value supplied for machine level alias analysis.

It indicates that a memory access references the functions stack frame (e.g., a spill slot), below the stack frame (e.g., argument space), or constant pool.

Definition at line 33 of file PseudoSourceValue.h.

PSVKind

Enumerator
Stack
GOT
JumpTable
ConstantPool
FixedStack
GlobalValueCallEntry
ExternalSymbolCallEntry
TargetCustom

Definition at line 35 of file PseudoSourceValue.h.

~PseudoSourceValue()

PseudoSourceValue::~PseudoSourceValue ( ) virtualdefault

getAddressSpace()

unsigned llvm::PseudoSourceValue::getAddressSpace ( ) const inline

getTargetCustom()

unsigned llvm::PseudoSourceValue::getTargetCustom ( ) const inline

isAliased()

isConstant()

isConstantPool()

bool llvm::PseudoSourceValue::isConstantPool ( ) const inline

isGOT()

bool llvm::PseudoSourceValue::isGOT ( ) const inline

isJumpTable()

bool llvm::PseudoSourceValue::isJumpTable ( ) const inline

isStack()

bool llvm::PseudoSourceValue::isStack ( ) const inline

kind()

unsigned llvm::PseudoSourceValue::kind ( ) const inline

mayAlias()

llvm::operator<<

MachineMemOperand

MIRFormatter


The documentation for this class was generated from the following files: