LLVM API Documentation
#include <NVPTXFrameLowering.h>
Additional Inherited Members | |
![]() | |
enum | StackDirection { StackGrowsUp, StackGrowsDown } |
Definition at line 22 of file NVPTXFrameLowering.h.
|
inlineexplicit |
Definition at line 27 of file NVPTXFrameLowering.h.
|
virtual |
eliminateCallFramePseudoInstr - This method is called during prolog/epilog code insertion to eliminate call frame setup and destroy pseudo instructions (but only if the Target is using them). It is responsible for eliminating these instructions, replacing them with concrete instructions. This method need only be implemented if using call frame setup/destroy pseudo instructions.
Reimplemented from llvm::TargetFrameLowering.
Definition at line 67 of file NVPTXFrameLowering.cpp.
References llvm::MachineBasicBlock::erase().
|
virtual |
Implements llvm::TargetFrameLowering.
Definition at line 62 of file NVPTXFrameLowering.cpp.
|
virtual |
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
Implements llvm::TargetFrameLowering.
Definition at line 31 of file NVPTXFrameLowering.cpp.
References llvm::MachineBasicBlock::begin(), llvm::BuildMI(), llvm::MachineRegisterInfo::createVirtualRegister(), llvm::MachineFunction::front(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunctionNumber(), llvm::NVPTXTargetMachine::getInstrInfo(), llvm::MachineFunction::getRegInfo(), llvm::MachineFrameInfo::hasStackObjects(), llvm::A64CC::MI, and MRI.
|
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 29 of file NVPTXFrameLowering.cpp.