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

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

#include "llvm/CodeGen/PseudoSourceValue.h"

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

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
 
- Public Member Functions inherited from llvm::PseudoSourceValue
 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

- Public Types inherited from llvm::PseudoSourceValue
enum  PSVKind : unsigned {
  Stack, GOT, JumpTable, ConstantPool,
  FixedStack, GlobalValueCallEntry, ExternalSymbolCallEntry, TargetCustom
}
 

Detailed Description

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

Definition at line 95 of file PseudoSourceValue.h.

Constructor & Destructor Documentation

◆ FixedStackPseudoSourceValue()

llvm::FixedStackPseudoSourceValue::FixedStackPseudoSourceValue ( int  FI,
const TargetInstrInfo TII 
)
inlineexplicit

Definition at line 99 of file PseudoSourceValue.h.

Member Function Documentation

◆ classof()

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

◆ getFrameIndex()

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

Definition at line 114 of file PseudoSourceValue.h.

Referenced by matchPair().

◆ isAliased()

bool FixedStackPseudoSourceValue::isAliased ( const MachineFrameInfo ) const
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 66 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isAliasedObjectIndex().

◆ isConstant()

bool FixedStackPseudoSourceValue::isConstant ( const MachineFrameInfo ) const
overridevirtual

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

Reimplemented from llvm::PseudoSourceValue.

Definition at line 61 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isImmutableObjectIndex().

◆ mayAlias()

bool FixedStackPseudoSourceValue::mayAlias ( const MachineFrameInfo ) const
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 72 of file PseudoSourceValue.cpp.

References llvm::MachineFrameInfo::isSpillSlotObjectIndex().

◆ printCustom()

void FixedStackPseudoSourceValue::printCustom ( raw_ostream O) const
overridevirtual

Implement printing for PseudoSourceValue.

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

Reimplemented from llvm::PseudoSourceValue.

Definition at line 79 of file PseudoSourceValue.cpp.


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