Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_MIPS_MIPSFRAMELOWERING_H
14 #define LLVM_LIB_TARGET_MIPS_MIPSFRAMELOWERING_H
This is an optimization pass for GlobalISel generic memory operations.
Information about stack frame layout on the target.
MipsFrameLowering(const MipsSubtarget &sti, Align Alignment)
static const MipsFrameLowering * create(const MipsSubtarget &ST)
bool allocateScavengingFrameIndexesNearIncomingSP(const MachineFunction &MF) const override
Control the placement of special register scavenging spill slots when allocating a stack frame.
const MipsFrameLowering * createMipsSEFrameLowering(const MipsSubtarget &ST)
uint64_t estimateStackSize(const MachineFunction &MF) const
const MipsSubtarget & STI
This struct is a compact representation of a valid (non-zero power of two) alignment.
bool enableShrinkWrapping(const MachineFunction &MF) const override
Returns true if the target will correctly handle shrink wrapping.
bool hasFP(const MachineFunction &MF) const override
hasFP - Return true if the specified function should have a dedicated frame pointer register.
bool hasBP(const MachineFunction &MF) const
const MipsFrameLowering * createMips16FrameLowering(const MipsSubtarget &ST)
Create MipsFrameLowering objects.
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...