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:35
Member Variables
- private unsigned int Kind
- private unsigned int AddressSpace
Method Overview
- public PseudoSourceValue(unsigned int Kind, const llvm::TargetMachine & TM)
- 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
- private virtual void printCustom(llvm::raw_ostream & O) const
- public virtual ~PseudoSourceValue()
Methods
¶PseudoSourceValue(unsigned int Kind,
const llvm::TargetMachine& TM)
PseudoSourceValue(unsigned int Kind,
const llvm::TargetMachine& TM)
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:62
Parameters
- unsigned int Kind
- const llvm::TargetMachine& TM
¶unsigned int getAddressSpace() const
unsigned int getAddressSpace() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:73
¶unsigned int getTargetCustom() const
unsigned int getTargetCustom() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:75
¶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:85
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:81
Parameters
- const llvm::MachineFrameInfo*
¶bool isConstantPool() const
bool isConstantPool() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:70
¶bool isGOT() const
bool isGOT() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:69
¶bool isJumpTable() const
bool isJumpTable() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:71
¶bool isStack() const
bool isStack() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:68
¶unsigned int kind() const
unsigned int kind() const
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:66
¶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:89
Parameters
- const llvm::MachineFrameInfo*
¶virtual void printCustom(
llvm::raw_ostream& O) const
virtual void printCustom(
llvm::raw_ostream& O) const
Description
Implement printing for PseudoSourceValue. This is called from Value::print or Value's operator < < .
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:59
Parameters
¶virtual ~PseudoSourceValue()
virtual ~PseudoSourceValue()
Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:64