Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXFRAMELOWERING_H
14 #define LLVM_LIB_TARGET_NVPTX_NVPTXFRAMELOWERING_H
This is an optimization pass for GlobalISel generic memory operations.
Information about stack frame layout on the target.
bool hasFP(const MachineFunction &MF) const override
hasFP - Return true if the specified function should have a dedicated frame pointer register.
DwarfFrameBase getDwarfFrameBase(const MachineFunction &MF) const override
Return the frame base information to be encoded in the DWARF subprogram debug info.
MachineBasicBlock::iterator eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const override
This method is called during prolog/epilog code insertion to eliminate call frame setup and destroy p...
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.
StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, Register &FrameReg) const override
getFrameIndexReference - This method should return the base register and offset used to reference a f...
StackOffset is a class to represent an offset with 2 dimensions, named fixed and scalable,...
Wrapper class representing virtual and physical registers.