diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-03-10 22:49:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-03-10 22:49:16 +0000 |
commit | 4a66e9a57e679b4f3243bf2061daf53c70102030 (patch) | |
tree | ac34b8a648633889b08543c125de72998d31e8cf /lib/Target/PowerPC/PPCInstrInfo.h | |
parent | ed61c0bc76a7b9001d7639a908c955d0fae35bac (diff) | |
download | llvm-4a66e9a57e679b4f3243bf2061daf53c70102030.tar.gz llvm-4a66e9a57e679b4f3243bf2061daf53c70102030.tar.bz2 llvm-4a66e9a57e679b4f3243bf2061daf53c70102030.tar.xz |
Change the "enable/disable" mechanism so that we can enable PPC register
scavenging for 32-bit and 64-bit separately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h index 5836d1fa5e..e659129a2d 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.h +++ b/lib/Target/PowerPC/PPCInstrInfo.h @@ -64,6 +64,13 @@ enum PPC970_Unit { class PPCInstrInfo : public TargetInstrInfoImpl { PPCTargetMachine &TM; const PPCRegisterInfo RI; + + bool StoreRegToStackSlot(unsigned SrcReg, bool isKill, int FrameIdx, + const TargetRegisterClass *RC, + SmallVectorImpl<MachineInstr*> &NewMIs) const; + void LoadRegFromStackSlot(unsigned DestReg, int FrameIdx, + const TargetRegisterClass *RC, + SmallVectorImpl<MachineInstr*> &NewMIs) const; public: PPCInstrInfo(PPCTargetMachine &TM); |