summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-02 20:12:32 +0000
committerChris Lattner <sabre@nondot.org>2006-02-02 20:12:32 +0000
commit408396014742a05cad1c91949d2226169e3f9d80 (patch)
treebcd6c4a3a88b934ee998a89cdf6a7ec1d9b03bf7 /lib/Target/PowerPC/PPCInstrInfo.h
parentaf9fa2bd0c1ee25f3adda96b3e5d7129fbab393a (diff)
downloadllvm-408396014742a05cad1c91949d2226169e3f9d80.tar.gz
llvm-408396014742a05cad1c91949d2226169e3f9d80.tar.bz2
llvm-408396014742a05cad1c91949d2226169e3f9d80.tar.xz
Move isLoadFrom/StoreToStackSlot from MRegisterInfo to TargetInstrInfo,a far more logical place. Other methods should also be moved if anyoneis interested. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h
index 59e0643e59..d0be2d6ba3 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/lib/Target/PowerPC/PPCInstrInfo.h
@@ -39,6 +39,8 @@ public:
unsigned& sourceReg,
unsigned& destReg) const;
+ unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const;
+
// commuteInstruction - We can commute rlwimi instructions, but only if the
// rotate amt is zero. We also have to munge the immediates a bit.
virtual MachineInstr *commuteInstruction(MachineInstr *MI) const;