LLVM API Documentation

llvm::PseudoSourceValue Class Reference

#include <PseudoSourceValue.h>

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

List of all members.

Public Member Functions

 PseudoSourceValue ()
virtual void dump () const
 dump - Support for debugging, callable in GDB: V->dump()
virtual void print (raw_ostream &OS) const
virtual bool isConstant (const MachineFrameInfo *) const

Static Public Member Functions

static bool classof (const PseudoSourceValue *)
static bool classof (const Value *V)
static const PseudoSourceValue * getFixedStack (int FI)
static const PseudoSourceValue * getStack ()
static const PseudoSourceValue * getGOT ()
static const PseudoSourceValue * getConstantPool ()
 A SV referencing the constant pool.
static const PseudoSourceValue * getJumpTable ()
 A SV referencing the jump table.


Detailed Description

PseudoSourceValue - Special value supplied for machine level alias analysis. It indicates that the a memory access references the functions stack frame (e.g., a spill slot), below the stack frame (e.g., argument space), or constant pool.

Definition at line 27 of file PseudoSourceValue.h.


Constructor & Destructor Documentation

PseudoSourceValue::PseudoSourceValue (  ) 

Definition at line 41 of file PseudoSourceValue.cpp.


Member Function Documentation

void PseudoSourceValue::dump (  )  const [virtual]

dump - Support for debugging, callable in GDB: V->dump()

Reimplemented from llvm::Value.

Definition at line 44 of file PseudoSourceValue.cpp.

References llvm::errs(), llvm::raw_ostream::flush(), and print().

void PseudoSourceValue::print ( raw_ostream &  OS  )  const [virtual]

print - Implement operator<< on PseudoSourceValue.

Definition at line 48 of file PseudoSourceValue.cpp.

References PSVNames.

Referenced by dump().

bool PseudoSourceValue::isConstant ( const MachineFrameInfo *   )  const [virtual]

isConstant - Test whether this PseudoSourceValue has a constant value.

Definition at line 79 of file PseudoSourceValue.cpp.

References getConstantPool(), getGOT(), getJumpTable(), and getStack().

static bool llvm::PseudoSourceValue::classof ( const PseudoSourceValue *   )  [inline, static]

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

Definition at line 46 of file PseudoSourceValue.h.

static bool llvm::PseudoSourceValue::classof ( const Value *  V  )  [inline, static]

Reimplemented from llvm::Value.

Definition at line 47 of file PseudoSourceValue.h.

References llvm::Value::getValueID(), and llvm::Value::PseudoSourceValueVal.

const PseudoSourceValue * PseudoSourceValue::getFixedStack ( int  FI  )  [static]

A pseudo source value referencing a fixed stack frame entry, e.g., a spill slot.

Definition at line 72 of file PseudoSourceValue.cpp.

References V.

Referenced by llvm::addFrameReference(), EmitTailCallStoreFPAndRetAddr(), EmitTailCallStoreRetAddr(), llvm::TargetInstrInfo::foldMemoryOperand(), llvm::MemSDNode::getMemOperand(), and StoreTailCallArgumentsToStackSlot().

const PseudoSourceValue * PseudoSourceValue::getStack (  )  [static]

A source value referencing the area below the stack frame of a function, e.g., the argument space.

Definition at line 25 of file PseudoSourceValue.cpp.

Referenced by isConstant().

const PseudoSourceValue * PseudoSourceValue::getGOT (  )  [static]

A source value referencing the global offset table (or something the like).

Definition at line 27 of file PseudoSourceValue.cpp.

Referenced by isConstant(), and LowerToTLSExecModel().

const PseudoSourceValue * PseudoSourceValue::getConstantPool (  )  [static]

A SV referencing the constant pool.

Definition at line 31 of file PseudoSourceValue.cpp.

Referenced by isConstant().

const PseudoSourceValue * PseudoSourceValue::getJumpTable (  )  [static]

A SV referencing the jump table.

Definition at line 29 of file PseudoSourceValue.cpp.

Referenced by isConstant().


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