class PseudoSourceValue
Declaration
class PseudoSourceValue { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:36
Method Overview
- public PseudoSourceValue(unsigned int Kind, const llvm::TargetInstrInfo & TII)
- public unsigned int getAddressSpace() const
- public unsigned int getTargetCustom() const
- public virtual bool isAliased(const llvm::MachineFrameInfo *) const
- public virtual bool isConstant(const llvm::MachineFrameInfo *) const
- public bool isConstantPool() const
- public bool isGOT() const
- public bool isJumpTable() const
- public bool isStack() const
- public unsigned int kind() const
- public virtual bool mayAlias(const llvm::MachineFrameInfo *) const
- public virtual ~PseudoSourceValue()
Methods
¶PseudoSourceValue(
unsigned int Kind,
const llvm::TargetInstrInfo& TII)
PseudoSourceValue(
unsigned int Kind,
const llvm::TargetInstrInfo& TII)
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:63
Parameters
- unsigned int Kind
- const llvm::TargetInstrInfo& TII
¶unsigned int getAddressSpace() const
unsigned int getAddressSpace() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:74
¶unsigned int getTargetCustom() const
unsigned int getTargetCustom() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:76
¶virtual bool isAliased(
const llvm::MachineFrameInfo*) const
virtual bool isAliased(
const llvm::MachineFrameInfo*) const
Description
Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:86
Parameters
- const llvm::MachineFrameInfo*
¶virtual bool isConstant(
const llvm::MachineFrameInfo*) const
virtual bool isConstant(
const llvm::MachineFrameInfo*) const
Description
Test whether the memory pointed to by this PseudoSourceValue has a constant value.
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:82
Parameters
- const llvm::MachineFrameInfo*
¶bool isConstantPool() const
bool isConstantPool() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:71
¶bool isGOT() const
bool isGOT() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:70
¶bool isJumpTable() const
bool isJumpTable() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:72
¶bool isStack() const
bool isStack() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:69
¶unsigned int kind() const
unsigned int kind() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:67
¶virtual bool mayAlias(
const llvm::MachineFrameInfo*) const
virtual bool mayAlias(
const llvm::MachineFrameInfo*) const
Description
Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:90
Parameters
- const llvm::MachineFrameInfo*
¶virtual ~PseudoSourceValue()
virtual ~PseudoSourceValue()
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:65