LLVM API Documentation
#include <TargetFrameInfo.h>


Public Types | |
| enum | StackDirection { StackGrowsUp, StackGrowsDown } |
Public Member Functions | |
| TargetFrameInfo (StackDirection D, unsigned StackAl, int LAO) | |
| virtual | ~TargetFrameInfo () |
| StackDirection | getStackGrowthDirection () const |
| unsigned | getStackAlignment () const |
| int | getOffsetOfLocalArea () const |
| virtual const std::pair < unsigned, int > * | getCalleeSavedSpillSlots (unsigned &NumEntries) const |
The offset to the local area is the offset from the stack pointer on function entry to the first location where function data (local variables, spill locations) can be stored.
Definition at line 28 of file TargetFrameInfo.h.
| llvm::TargetFrameInfo::TargetFrameInfo | ( | StackDirection | D, | |
| unsigned | StackAl, | |||
| int | LAO | |||
| ) | [inline] |
Definition at line 39 of file TargetFrameInfo.h.
| TargetFrameInfo::~TargetFrameInfo | ( | ) | [virtual] |
Definition at line 18 of file TargetFrameInfo.cpp.
| StackDirection llvm::TargetFrameInfo::getStackGrowthDirection | ( | ) | const [inline] |
getStackGrowthDirection - Return the direction the stack grows
Definition at line 49 of file TargetFrameInfo.h.
Referenced by llvm::JITDwarfEmitter::EmitDwarfTable(), llvm::X86RegisterInfo::emitFrameMoves(), and llvm::JITDwarfEmitter::GetDwarfTableSizeInBytes().
| unsigned llvm::TargetFrameInfo::getStackAlignment | ( | ) | const [inline] |
getStackAlignment - This method returns the number of bytes that the stack pointer must be aligned to. Typically, this is the largest alignment for any data object in the target.
Definition at line 55 of file TargetFrameInfo.h.
Referenced by llvm::MipsRegisterInfo::adjustMipsStackFrame(), llvm::SPURegisterInfo::determineFrameLayout(), llvm::PPCRegisterInfo::determineFrameLayout(), llvm::XCoreRegisterInfo::eliminateCallFramePseudoInstr(), llvm::IA64RegisterInfo::eliminateCallFramePseudoInstr(), llvm::ARMRegisterInfo::eliminateCallFramePseudoInstr(), llvm::AlphaRegisterInfo::eliminateCallFramePseudoInstr(), llvm::PPCRegisterInfo::emitEpilogue(), llvm::PPCRegisterInfo::emitPrologue(), llvm::IA64RegisterInfo::emitPrologue(), llvm::AlphaRegisterInfo::emitPrologue(), InferAlignment(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::ARMRegisterInfo::processFunctionBeforeCalleeSavedScan(), and llvm::X86RegisterInfo::X86RegisterInfo().
| int llvm::TargetFrameInfo::getOffsetOfLocalArea | ( | ) | const [inline] |
getOffsetOfLocalArea - This method returns the offset of the local area from the stack pointer on entrance to a function.
Definition at line 60 of file TargetFrameInfo.h.
Referenced by llvm::TargetRegisterInfo::getFrameIndexOffset(), and llvm::MachineFrameInfo::print().
| virtual const std::pair<unsigned, int>* llvm::TargetFrameInfo::getCalleeSavedSpillSlots | ( | unsigned & | NumEntries | ) | const [inline, virtual] |
getCalleeSavedSpillSlots - This method returns a pointer to an array of pairs, that contains an entry for each callee saved register that must be spilled to a particular stack location if it is spilled.
Each entry in this array contains a <register,offset> pair, indicating the fixed offset from the incoming stack pointer that each register should be spilled at. If a register is not listed here, the code generator is allowed to spill it anywhere it chooses.
Definition at line 72 of file TargetFrameInfo.h.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.