LLVM API Documentation
Information about the stack frame layout on the AMDGPU targets. More...
#include <AMDGPUFrameLowering.h>
Additional Inherited Members | |
![]() | |
enum | StackDirection { StackGrowsUp, StackGrowsDown } |
Information about the stack frame layout on the AMDGPU targets.
It holds the direction of the stack growth, the known stack alignment on entry to each function, and the offset to the locals area. See TargetFrameInfo for more comments.
Definition at line 28 of file AMDGPUFrameLowering.h.
AMDGPUFrameLowering::AMDGPUFrameLowering | ( | StackDirection | D, |
unsigned | StackAl, | ||
int | LAO, | ||
unsigned | TransAl = 1 |
||
) |
Definition at line 21 of file AMDGPUFrameLowering.cpp.
|
virtual |
Definition at line 25 of file AMDGPUFrameLowering.cpp.
|
virtual |
Implements llvm::TargetFrameLowering.
Definition at line 96 of file AMDGPUFrameLowering.cpp.
|
virtual |
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
Implements llvm::TargetFrameLowering.
Definition at line 93 of file AMDGPUFrameLowering.cpp.
|
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.
Reimplemented from llvm::TargetFrameLowering.
Definition at line 88 of file AMDGPUFrameLowering.cpp.
|
virtual |
FI
. Reimplemented from llvm::TargetFrameLowering.
Definition at line 74 of file AMDGPUFrameLowering.cpp.
References llvm::MachineFunction::getFrameInfo(), llvm::MachineFrameInfo::getNumObjects(), llvm::MachineFrameInfo::getObjectIndexBegin(), llvm::MachineFrameInfo::getObjectSize(), and getStackWidth().
|
virtual |
Definition at line 27 of file AMDGPUFrameLowering.cpp.
Referenced by getFrameIndexOffset(), and llvm::R600InstrInfo::reserveIndirectRegisters().
|
virtual |
hasFP - Return true if the specified function should have a dedicated frame pointer register. For most targets this is true only if the function has variable sized allocas or if frame pointer elimination is disabled.
Implements llvm::TargetFrameLowering.
Definition at line 101 of file AMDGPUFrameLowering.cpp.