[llvm-commits] CVS: llvm/include/llvm/Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 29 18:51:56 PST 2004
Changes in directory llvm/include/llvm:
Instruction.h updated: 1.61 -> 1.62
---
Log message:
Add method
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.61 llvm/include/llvm/Instruction.h:1.62
--- llvm/include/llvm/Instruction.h:1.61 Mon Oct 11 17:21:13 2004
+++ llvm/include/llvm/Instruction.h Mon Nov 29 20:51:41 2004
@@ -67,6 +67,12 @@
/// * The instruction has no name
///
virtual Instruction *clone() const = 0;
+
+ /// isIdenticalTo - Return true if the specified instruction is exactly
+ /// identical to the current one. This means that all operands match and any
+ /// extra information (e.g. load is volatile) agree.
+ bool isIdenticalTo(Instruction *I) const;
+
// Accessor methods...
//
More information about the llvm-commits
mailing list