Changeset View
Changeset View
Standalone View
Standalone View
lib/Target/RISCV/RISCVFrameLowering.h
Show All 24 Lines | explicit RISCVFrameLowering(const RISCVSubtarget &STI) | ||||
: TargetFrameLowering(StackGrowsDown, | : TargetFrameLowering(StackGrowsDown, | ||||
/*StackAlignment=*/8, | /*StackAlignment=*/8, | ||||
/*LocalAreaOffset=*/0) {} | /*LocalAreaOffset=*/0) {} | ||||
void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | ||||
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | ||||
bool hasFP(const MachineFunction &MF) const override; | bool hasFP(const MachineFunction &MF) const override; | ||||
MachineBasicBlock::iterator | |||||
eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, | |||||
MachineBasicBlock::iterator MI) const override { | |||||
return MBB.erase(MI); | |||||
} | |||||
}; | }; | ||||
} | } | ||||
#endif | #endif |