14 #ifndef LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
15 #define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
20 class MachineFrameInfo;
21 class MachineMemOperand;
24 raw_ostream &
operator<<(raw_ostream &OS,
const MachineMemOperand &MMO);
virtual ~PseudoSourceValue()
static const PseudoSourceValue * getConstantPool()
A pseudo source value referencing the constant pool.
bool isFixed
isFixed - Whether this is a FixedStackPseudoSourceValue.
static const PseudoSourceValue * getJumpTable()
A pseudo source value referencing a jump table.
MachineMemOperand - A description of a memory reference used in the backend.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
static const PseudoSourceValue * getFixedStack(int FI)
A pseudo source value referencing a fixed stack frame entry, e.g., a spill slot.
bool isConstant(const MachineFrameInfo *MFI) const override
isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value...
bool mayAlias(const MachineFrameInfo *) const override
mayAlias - Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR V...
virtual bool mayAlias(const MachineFrameInfo *) const
mayAlias - Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR V...
virtual bool isConstant(const MachineFrameInfo *) const
isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value...
static bool classof(const PseudoSourceValue *V)
classof - Methods for support type inquiry through isa, cast, and dyn_cast:
static const PseudoSourceValue * getGOT()
A pseudo source value referencing the global offset table (or something the like).
static const PseudoSourceValue * getStack()
A pseudo source value referencing the area below the stack frame of a function, e.g., the argument space.
int getFrameIndex() const
FixedStackPseudoSourceValue(int fi)
PseudoSourceValue - Special value supplied for machine level alias analysis.
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
bool isAliased(const MachineFrameInfo *MFI) const override
isAliased - Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an...
void printCustom(raw_ostream &OS) const override
printCustom - Implement printing for PseudoSourceValue.
This class implements an extremely fast bulk output stream that can only output to a stream...
FixedStackPseudoSourceValue - A specialized PseudoSourceValue for holding FixedStack values...
PseudoSourceValue(bool isFixed=false)
virtual bool isAliased(const MachineFrameInfo *) const
isAliased - Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an...