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 | 2f616bff7ef1e2e08d6d23c2a8b42ec2bfebb173 (patch) | |
tree | 345098bfe09f8de197e21e72161fcb04533d2259 /lib/Target/PowerPC/PPCRegisterInfo.h | |
parent | 1b0a2d8370b28de0d3998b0303bc3dad983989d9 (diff) | |
download | llvm-2f616bff7ef1e2e08d6d23c2a8b42ec2bfebb173.tar.gz llvm-2f616bff7ef1e2e08d6d23c2a8b42ec2bfebb173.tar.bz2 llvm-2f616bff7ef1e2e08d6d23c2a8b42ec2bfebb173.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h index 08af922473..4dd10ac891 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.h +++ b/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; |