Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/Mips/MipsSEFrameLowering.h @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children | 803732b1fca8 |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
25 /// emitProlog/emitEpilog - These methods insert prolog and epilog code into | 25 /// emitProlog/emitEpilog - These methods insert prolog and epilog code into |
26 /// the function. | 26 /// the function. |
27 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | 27 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; |
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; | 28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; |
29 | 29 |
30 int getFrameIndexReference(const MachineFunction &MF, int FI, | |
31 unsigned &FrameReg) const override; | |
32 | |
30 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, | 33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, |
31 MachineBasicBlock::iterator MI, | 34 MachineBasicBlock::iterator MI, |
32 const std::vector<CalleeSavedInfo> &CSI, | 35 const std::vector<CalleeSavedInfo> &CSI, |
33 const TargetRegisterInfo *TRI) const override; | 36 const TargetRegisterInfo *TRI) const override; |
34 | 37 |
35 bool hasReservedCallFrame(const MachineFunction &MF) const override; | 38 bool hasReservedCallFrame(const MachineFunction &MF) const override; |
36 | 39 |
37 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, | 40 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, |
38 RegScavenger *RS) const override; | 41 RegScavenger *RS) const override; |
39 unsigned ehDataReg(unsigned I) const; | 42 unsigned ehDataReg(unsigned I) const; |
43 | |
44 private: | |
45 void emitInterruptEpilogueStub(MachineFunction &MF, | |
46 MachineBasicBlock &MBB) const; | |
47 void emitInterruptPrologueStub(MachineFunction &MF, | |
48 MachineBasicBlock &MBB) const; | |
40 }; | 49 }; |
41 | |
42 } // End llvm namespace | 50 } // End llvm namespace |
43 | 51 |
44 #endif | 52 #endif |