LLVM 20.0.0git
|
A specialized pseudo source value for holding GlobalValue values. More...
#include "llvm/CodeGen/PseudoSourceValue.h"
Public Member Functions | |
GlobalValuePseudoSourceValue (const GlobalValue *GV, const TargetMachine &TM) | |
const GlobalValue * | getValue () const |
Public Member Functions inherited from llvm::CallEntryPseudoSourceValue | |
bool | isConstant (const MachineFrameInfo *) const override |
Test whether the memory pointed to by this PseudoSourceValue has a constant value. | |
bool | isAliased (const MachineFrameInfo *) const override |
Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value. | |
bool | mayAlias (const MachineFrameInfo *) const override |
Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value. | |
Public Member Functions inherited from llvm::PseudoSourceValue | |
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. | |
Static Public Member Functions | |
static bool | classof (const PseudoSourceValue *V) |
Additional Inherited Members | |
Public Types inherited from llvm::PseudoSourceValue | |
enum | PSVKind : unsigned { Stack , GOT , JumpTable , ConstantPool , FixedStack , GlobalValueCallEntry , ExternalSymbolCallEntry , TargetCustom } |
Protected Member Functions inherited from llvm::CallEntryPseudoSourceValue | |
CallEntryPseudoSourceValue (unsigned Kind, const TargetMachine &TM) | |
A specialized pseudo source value for holding GlobalValue values.
Definition at line 123 of file PseudoSourceValue.h.
GlobalValuePseudoSourceValue::GlobalValuePseudoSourceValue | ( | const GlobalValue * | GV, |
const TargetMachine & | TM | ||
) |
Definition at line 97 of file PseudoSourceValue.cpp.
|
inlinestatic |
Definition at line 129 of file PseudoSourceValue.h.
References llvm::PseudoSourceValue::GlobalValueCallEntry.
|
inline |
Definition at line 133 of file PseudoSourceValue.h.