diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-27 23:05:03 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-27 23:05:03 +0000 |
commit | d08fbd19f5b05b8dfff5ae13726301618c62a4d0 (patch) | |
tree | 71b65a3ebf6940e12b4dcf1ab09847711cf620bb /llvm/lib/Target/MSP430/MSP430FrameInfo.h | |
parent | 056356d50204f035c381b8004a3a66c60e314115 (diff) | |
download | bcm5719-llvm-d08fbd19f5b05b8dfff5ae13726301618c62a4d0.tar.gz bcm5719-llvm-d08fbd19f5b05b8dfff5ae13726301618c62a4d0.zip |
Move callee-saved regs spills / reloads to TFI
llvm-svn: 120228
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430FrameInfo.h')
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430FrameInfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430FrameInfo.h b/llvm/lib/Target/MSP430/MSP430FrameInfo.h index 00bf99d31ed..f80a3487a85 100644 --- a/llvm/lib/Target/MSP430/MSP430FrameInfo.h +++ b/llvm/lib/Target/MSP430/MSP430FrameInfo.h @@ -35,6 +35,15 @@ public: void emitPrologue(MachineFunction &MF) const; void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; + bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, + MachineBasicBlock::iterator MI, + const std::vector<CalleeSavedInfo> &CSI, + const TargetRegisterInfo *TRI) const; + bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, + MachineBasicBlock::iterator MI, + const std::vector<CalleeSavedInfo> &CSI, + const TargetRegisterInfo *TRI) const; + bool hasFP(const MachineFunction &MF) const; bool hasReservedCallFrame(const MachineFunction &MF) const; }; |