Teach SCEV's icmp simplification logic that a-b == 0 is equivalent to a == b.
[oota-llvm.git] / include / llvm / Module.h
index 570b1bc7b450416b20fd7b22c0f3f8593546e4ce..cb7c1dc36a627e4d8ced3cc917a6aeb33e6c6b27 100644 (file)
@@ -498,6 +498,13 @@ public:
   static iplist<GlobalAlias> Module::*getSublistAccess(GlobalAlias*) {
     return &Module::AliasList;
   }
+  /// Get the Module's list of named metadata (constant).
+  const NamedMDListType  &getNamedMDList() const      { return NamedMDList; }
+  /// Get the Module's list of named metadata.
+  NamedMDListType        &getNamedMDList()            { return NamedMDList; }
+  static ilist<NamedMDNode> Module::*getSublistAccess(NamedMDNode*) {
+    return &Module::NamedMDList;
+  }
   /// Get the symbol table of global variable and function identifiers
   const ValueSymbolTable &getValueSymbolTable() const { return *ValSymTab; }
   /// Get the Module's symbol table of global variable and function identifiers.