diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-11-16 22:43:37 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-11-16 22:43:37 +0000 |
commit | 48850c10c0278cb335aa2158166241923705ad6c (patch) | |
tree | 7b4dabb9e9c95ab7b7fc39e1bbc6786cefc4766e /llvm/lib/Target/PowerPC/PPCRegisterInfo.h | |
parent | 30055b920804ca8c9d66388fdefd21a4c32d0afa (diff) | |
download | bcm5719-llvm-48850c10c0278cb335aa2158166241923705ad6c.tar.gz bcm5719-llvm-48850c10c0278cb335aa2158166241923705ad6c.zip |
This is a general clean up of the PowerPC ABI. Address several problems and
bugs including making sure that the TOS links back to the previous frame,
that the maximum call frame size is not included twice when using frame
pointers, no longer growing the frame on calls, double storing of SP and
a cleaner/faster dynamic alloca.
llvm-svn: 31792
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCRegisterInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h index 08af9224736..4dd10ac8911 100644 --- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h +++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h @@ -61,8 +61,13 @@ public: MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; + void lowerDynamicAlloc(MachineBasicBlock::iterator II) const; void eliminateFrameIndex(MachineBasicBlock::iterator II) const; + /// determineFrameLayout - Determine the size of the frame and maximum call + /// frame size. + void determineFrameLayout(MachineFunction &MF) const; + void emitPrologue(MachineFunction &MF) const; void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; |