LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::FixedStackPseudoSourceValue Class Reference

FixedStackPseudoSourceValue - A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index. More...

#include <PseudoSourceValue.h>

Inheritance diagram for llvm::FixedStackPseudoSourceValue:
[legend]
Collaboration diagram for llvm::FixedStackPseudoSourceValue:
[legend]

Public Member Functions

 FixedStackPseudoSourceValue (int fi)
 
bool isConstant (const MachineFrameInfo *MFI) const override
 isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value. More...
 
bool isAliased (const MachineFrameInfo *MFI) const override
 isAliased - 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
 mayAlias - 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
 printCustom - Implement printing for PseudoSourceValue. More...
 
int getFrameIndex () const
 
- Public Member Functions inherited from llvm::PseudoSourceValue
 PseudoSourceValue (bool isFixed=false)
 
virtual ~PseudoSourceValue ()
 

Static Public Member Functions

static bool classof (const PseudoSourceValue *V)
 classof - Methods for support type inquiry through isa, cast, and dyn_cast: More...
 
- Static Public Member Functions inherited from llvm::PseudoSourceValue
static const PseudoSourceValuegetFixedStack (int FI)
 A pseudo source value referencing a fixed stack frame entry, e.g., a spill slot. More...
 
static const PseudoSourceValuegetStack ()
 A pseudo source value referencing the area below the stack frame of a function, e.g., the argument space. More...
 
static const PseudoSourceValuegetGOT ()
 A pseudo source value referencing the global offset table (or something the like). More...
 
static const PseudoSourceValuegetConstantPool ()
 A pseudo source value referencing the constant pool. More...
 
static const PseudoSourceValuegetJumpTable ()
 A pseudo source value referencing a jump table. More...
 

Additional Inherited Members

- Public Attributes inherited from llvm::PseudoSourceValue
bool isFixed
 isFixed - Whether this is a FixedStackPseudoSourceValue. More...
 

Detailed Description

FixedStackPseudoSourceValue - A specialized PseudoSourceValue for holding FixedStack values, which must include a frame index.

Definition at line 85 of file PseudoSourceValue.h.

Constructor & Destructor Documentation

llvm::FixedStackPseudoSourceValue::FixedStackPseudoSourceValue ( int  fi)
inlineexplicit

Definition at line 88 of file PseudoSourceValue.h.

Member Function Documentation

static bool llvm::FixedStackPseudoSourceValue::classof ( const PseudoSourceValue V)
inlinestatic

classof - Methods for support type inquiry through isa, cast, and dyn_cast:

Definition at line 94 of file PseudoSourceValue.h.

References llvm::PseudoSourceValue::isFixed.

int llvm::FixedStackPseudoSourceValue::getFrameIndex ( ) const
inline

Definition at line 106 of file PseudoSourceValue.h.

bool FixedStackPseudoSourceValue::isAliased ( const MachineFrameInfo MFI) const
overridevirtual

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 109 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isAliasedObjectIndex().

bool FixedStackPseudoSourceValue::isConstant ( const MachineFrameInfo ) const
overridevirtual

isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value.

Reimplemented from llvm::PseudoSourceValue.

Definition at line 105 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isImmutableObjectIndex().

bool FixedStackPseudoSourceValue::mayAlias ( const MachineFrameInfo MFI) const
overridevirtual

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 115 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isSpillSlotObjectIndex().

void FixedStackPseudoSourceValue::printCustom ( raw_ostream O) const
overridevirtual

printCustom - Implement printing for PseudoSourceValue.

This is called from Value::print or Value's operator<<.

Reimplemented from llvm::PseudoSourceValue.

Definition at line 122 of file PseudoSourceValue.cpp.


The documentation for this class was generated from the following files: