LLVM API Documentation
#include <PseudoSourceValue.h>
Public Member Functions | |
FixedStackPseudoSourceValue (int fi) | |
virtual bool | isConstant (const MachineFrameInfo *MFI) const |
virtual bool | isAliased (const MachineFrameInfo *MFI) const |
virtual bool | mayAlias (const MachineFrameInfo *) const |
virtual void | printCustom (raw_ostream &OS) const |
int | getFrameIndex () const |
![]() | |
PseudoSourceValue (enum ValueTy Subclass=PseudoSourceValueVal) | |
![]() | |
virtual | ~Value () |
void | dump () const |
dump - Support for debugging, callable in GDB: V->dump() More... | |
void | print (raw_ostream &O, AssemblyAnnotationWriter *AAW=0) const |
Type * | getType () const |
LLVMContext & | getContext () const |
All values hold a context through their type. More... | |
bool | hasName () const |
ValueName * | getValueName () const |
void | setValueName (ValueName *VN) |
StringRef | getName () const |
void | setName (const Twine &Name) |
void | takeName (Value *V) |
void | replaceAllUsesWith (Value *V) |
bool | use_empty () const |
use_iterator | use_begin () |
const_use_iterator | use_begin () const |
use_iterator | use_end () |
const_use_iterator | use_end () const |
User * | use_back () |
const User * | use_back () const |
bool | hasOneUse () const |
bool | hasNUses (unsigned N) const |
bool | hasNUsesOrMore (unsigned N) const |
bool | isUsedInBasicBlock (const BasicBlock *BB) const |
unsigned | getNumUses () const |
void | addUse (Use &U) |
unsigned | getValueID () const |
unsigned | getRawSubclassOptionalData () const |
void | clearSubclassOptionalData () |
bool | hasSameSubclassOptionalData (const Value *V) const |
void | intersectOptionalDataWith (const Value *V) |
bool | hasValueHandle () const |
Value * | stripPointerCasts () |
Strips off any unneeded pointer casts, all-zero GEPs and aliases from the specified value, returning the original uncasted value. More... | |
const Value * | stripPointerCasts () const |
Value * | stripPointerCastsNoFollowAliases () |
Strips off any unneeded pointer casts and all-zero GEPs from the specified value, returning the original uncasted value. More... | |
const Value * | stripPointerCastsNoFollowAliases () const |
Value * | stripInBoundsConstantOffsets () |
Strips off unneeded pointer casts and all-constant GEPs from the specified value, returning the original pointer value. More... | |
const Value * | stripInBoundsConstantOffsets () const |
Value * | stripAndAccumulateInBoundsConstantOffsets (const DataLayout &DL, APInt &Offset) |
Strips like stripInBoundsConstantOffsets but also accumulates the constant offset stripped. More... | |
const Value * | stripAndAccumulateInBoundsConstantOffsets (const DataLayout &DL, APInt &Offset) const |
Value * | stripInBoundsOffsets () |
Strips off unneeded pointer casts and any in-bounds offsets from the specified value, returning the original pointer value. More... | |
const Value * | stripInBoundsOffsets () const |
bool | isDereferenceablePointer () const |
Value * | DoPHITranslation (const BasicBlock *CurBB, const BasicBlock *PredBB) |
const Value * | DoPHITranslation (const BasicBlock *CurBB, const BasicBlock *PredBB) const |
void | mutateType (Type *Ty) |
Static Public Member Functions | |
static bool | classof (const Value *V) |
![]() | |
static bool | classof (const Value *V) |
static const PseudoSourceValue * | getFixedStack (int FI) |
static const PseudoSourceValue * | getStack () |
static const PseudoSourceValue * | getGOT () |
static const PseudoSourceValue * | getConstantPool () |
static const PseudoSourceValue * | getJumpTable () |
FixedStackPseudoSourceValue - A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index.
Definition at line 83 of file PseudoSourceValue.h.
|
inlineexplicit |
Definition at line 86 of file PseudoSourceValue.h.
classof - Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 92 of file PseudoSourceValue.h.
References llvm::Value::FixedStackPseudoSourceValueVal, and llvm::Value::getValueID().
|
inline |
Definition at line 104 of file PseudoSourceValue.h.
|
virtual |
isAliased - 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 113 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isFixedObjectIndex(), and llvm::MachineFrameInfo::isSpillSlotObjectIndex().
|
virtual |
isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 109 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isImmutableObjectIndex().
|
virtual |
mayAlias - Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 123 of file PseudoSourceValue.cpp.
References llvm::MachineFrameInfo::isSpillSlotObjectIndex().
|
virtual |
printCustom - Implement printing for PseudoSourceValue. This is called from Value::print or Value's operator<<.
Reimplemented from llvm::PseudoSourceValue.
Definition at line 130 of file PseudoSourceValue.cpp.