Add HAVE_SYSCONF
[oota-llvm.git] / include / llvm / Instruction.h
index 8d49870e4d32398e49175e73d3cdfa51ac592ba7..a7359731db7d513f77bd136acbb5efda4452c6d6 100644 (file)
@@ -67,6 +67,12 @@ public:
   ///   * 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...
   //