summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-12-05 18:41:29 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-12-05 18:41:29 +0000
commit3b8a6744699ed627aed422f6516ed00c5d23c089 (patch)
treefe6f5e2828a95ccb3d6fca13c31172ce335b5660 /llvm/lib/Target/PowerPC/PPCRegisterInfo.h
parent36021a9cc1f67f1e0aba6a2c0b964400e14e20f6 (diff)
downloadbcm5719-llvm-3b8a6744699ed627aed422f6516ed00c5d23c089.tar.gz
bcm5719-llvm-3b8a6744699ed627aed422f6516ed00c5d23c089.zip
Added canFoldMemoryOperand for PPC.
llvm-svn: 44623
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRegisterInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
index 687af569717..2106c6e667b 100644
--- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -75,6 +75,9 @@ public:
return 0;
}
+ virtual bool canFoldMemoryOperand(MachineInstr *MI,
+ SmallVectorImpl<unsigned> &Ops) const;
+
const unsigned *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
const TargetRegisterClass* const*
OpenPOWER on IntegriCloud