LLVM
15.0.0git
|
A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index. More...
#include "llvm/CodeGen/PseudoSourceValue.h"
Public Member Functions | |
FixedStackPseudoSourceValue (int FI, const TargetInstrInfo &TII) | |
bool | isConstant (const MachineFrameInfo *MFI) const override |
Test whether the memory pointed to by this PseudoSourceValue has a constant value. More... | |
bool | isAliased (const MachineFrameInfo *MFI) const override |
Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value. More... | |
bool | mayAlias (const MachineFrameInfo *) const override |
Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value. More... | |
void | printCustom (raw_ostream &OS) const override |
Implement printing for PseudoSourceValue. More... | |
int | getFrameIndex () const |
![]() | |
PseudoSourceValue (unsigned Kind, const TargetInstrInfo &TII) | |
virtual | ~PseudoSourceValue () |
unsigned | kind () const |
bool | isStack () const |
bool | isGOT () const |
bool | isConstantPool () const |
bool | isJumpTable () const |
unsigned | getAddressSpace () const |
unsigned | getTargetCustom () const |
Static Public Member Functions | |
static bool | classof (const PseudoSourceValue *V) |
Additional Inherited Members | |
![]() | |
enum | PSVKind : unsigned { Stack, GOT, JumpTable, ConstantPool, FixedStack, GlobalValueCallEntry, ExternalSymbolCallEntry, TargetCustom } |
A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index.
Definition at line 94 of file PseudoSourceValue.h.
|
inlineexplicit |
Definition at line 98 of file PseudoSourceValue.h.
|
inlinestatic |
Definition at line 101 of file PseudoSourceValue.h.
References llvm::PseudoSourceValue::FixedStack, and llvm::PseudoSourceValue::kind().
|
inline |
Definition at line 113 of file PseudoSourceValue.h.
|
overridevirtual |
Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 61 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isAliasedObjectIndex().
|
overridevirtual |
Test whether the memory pointed to by this PseudoSourceValue has a constant value.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 56 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isImmutableObjectIndex().
|
overridevirtual |
Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 67 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isSpillSlotObjectIndex().
|
overridevirtual |
Implement printing for PseudoSourceValue.
This is called from Value::print or Value's operator<<.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 74 of file PseudoSourceValue.cpp.