summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-17 01:03:26 +0000
committerChris Lattner <sabre@nondot.org>2005-09-17 01:03:26 +0000
commit6a78c2157ad1ca9608ebdb33a8cc9f86f4a74f2c (patch)
tree67d65c11b03e37b4e8f43e7ed42aed8c03eb03bb /lib/Target/PowerPC/PPCRegisterInfo.h
parent7d3041e060adfd1f4054f45581bb01a4b9920f56 (diff)
downloadllvm-6a78c2157ad1ca9608ebdb33a8cc9f86f4a74f2c.tar.gz
llvm-6a78c2157ad1ca9608ebdb33a8cc9f86f4a74f2c.tar.bz2
llvm-6a78c2157ad1ca9608ebdb33a8cc9f86f4a74f2c.tar.xz
Implement hook for ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h
index d274545504..603d1b3dbd 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -40,6 +40,8 @@ public:
unsigned DestReg, unsigned SrcReg,
const TargetRegisterClass *RC) const;
+ unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const;
+
/// foldMemoryOperand - PowerPC (like most RISC's) can only fold spills into
/// copy instructions, turning them into load/store instructions.
virtual MachineInstr* foldMemoryOperand(MachineInstr* MI, unsigned OpNum,