Go to the documentation of this file.
9 #ifndef LLVM_LIB_TARGET_MIPS_MIPSSEFRAMELOWERING_H
10 #define LLVM_LIB_TARGET_MIPS_MIPSSEFRAMELOWERING_H
16 class MachineBasicBlock;
17 class MachineFunction;
51 #endif // LLVM_LIB_TARGET_MIPS_MIPSSEFRAMELOWERING_H
This is an optimization pass for GlobalISel generic memory operations.
bool hasReservedCallFrame(const MachineFunction &MF) const override
hasReservedCallFrame - Under normal circumstances, when a frame pointer is not required,...
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...
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override
bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, ArrayRef< CalleeSavedInfo > CSI, const TargetRegisterInfo *TRI) const override
spillCalleeSavedRegisters - Issues instruction(s) to spill all callee saved registers and returns tru...
unsigned const TargetRegisterInfo * TRI
void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, RegScavenger *RS) const override
This method determines which of the registers reported by TargetRegisterInfo::getCalleeSavedRegs() sh...
const MipsSubtarget & STI
MipsSEFrameLowering(const MipsSubtarget &STI)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StackOffset holds a fixed and a scalable offset in bytes.
Wrapper class representing virtual and physical registers.
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override
emitProlog/emitEpilog - These methods insert prolog and epilog code into the function.