summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-03-10 22:49:16 +0000
committerBill Wendling <isanbard@gmail.com>2008-03-10 22:49:16 +0000
commit4a66e9a57e679b4f3243bf2061daf53c70102030 (patch)
treeac34b8a648633889b08543c125de72998d31e8cf /lib/Target/PowerPC/PPCInstrInfo.h
parented61c0bc76a7b9001d7639a908c955d0fae35bac (diff)
downloadllvm-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.h7
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);