Add DebugLoc field and simple accessors.
[oota-llvm.git] / include / llvm / CodeGen / MachineMemOperand.h
index b9c0e60f22bfb48bf7d44f5ad476b9b3e07d40e8..4388c0aab2243aad6c028dcffd3ecf4b34605a3b 100644 (file)
@@ -19,6 +19,7 @@
 namespace llvm {
 
 class Value;
+class FoldingSetNodeID;
 
 //===----------------------------------------------------------------------===//
 /// MachineMemOperand - A description of a memory reference used in the backend.
@@ -74,6 +75,10 @@ public:
   bool isLoad() const { return Flags & MOLoad; }
   bool isStore() const { return Flags & MOStore; }
   bool isVolatile() const { return Flags & MOVolatile; }
+
+  /// Profile - Gather unique data for the object.
+  ///
+  void Profile(FoldingSetNodeID &ID) const;
 };
 
 } // End llvm namespace