aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-16 20:43:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-16 20:43:42 +0000
commit1bccb49082a8049d296dcdb2a741929437b6176f (patch)
treee425012c62d7d9ad13316476bfafb5d6005e069e /include/llvm/CodeGen
parent6551dcdd8a6a28e060a9d6562a381220597dcae3 (diff)
Rename M_PREDICATED to M_PREDICABLE; Move TargetInstrInfo::isPredicatable() to MachineInstr::isPredicable().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index c722f13449..52ae842da3 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -394,6 +394,10 @@ public:
return true;
}
+ /// isPredicable - True if the instruction can be converted into a
+ /// predicated instruction.
+ bool isPredicable() const;
+
/// clone - Create a copy of 'this' instruction that is identical in
/// all ways except the the instruction has no parent, prev, or next.
MachineInstr* clone() const { return new MachineInstr(*this); }