aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-27 20:33:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-27 20:33:50 +0000
commitdf3b99381f1c211071cc1daf0cc297666877bbcb (patch)
treedf0e7bf0eaeb013305db97d31b7967733baff9e9 /include/llvm/CodeGen/MachineInstr.h
parent9d2968c824c2753dd7d70b8cd40362716738a50a (diff)
Refactor isSafeToReMat out of 2addr pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index c9506f198e..3171af9606 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -250,6 +250,8 @@ public:
/// the instruction's location and its intended destination.
bool isSafeToMove(const TargetInstrInfo *TII, bool &SawStore);
+ bool isSafeToReMat(const TargetInstrInfo *TII, unsigned DstReg);
+
//
// Debugging support
//