[llvm-commits] CVS: llvm/include/llvm/Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 12 17:19:01 PST 2004
Changes in directory llvm/include/llvm:
Instruction.h updated: 1.49 -> 1.50
---
Log message:
Add new method
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.49 llvm/include/llvm/Instruction.h:1.50
--- llvm/include/llvm/Instruction.h:1.49 Tue Nov 11 16:41:30 2003
+++ llvm/include/llvm/Instruction.h Mon Jan 12 17:18:06 2004
@@ -105,6 +105,12 @@
bool isCommutative() const { return isCommutative(getOpcode()); }
static bool isCommutative(unsigned op);
+ /// isRelational - Return true if the instruction is a Set* instruction:
+ ///
+ bool isRelational() const { return isRelational(getOpcode()); }
+ static bool isRelational(unsigned op);
+
+
/// isTrappingInstruction - Return true if the instruction may trap.
///
bool isTrapping() const {
More information about the llvm-commits
mailing list