add a method
authorChris Lattner <sabre@nondot.org>
Tue, 22 Mar 2005 01:42:10 +0000 (01:42 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Mar 2005 01:42:10 +0000 (01:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20761 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSGraph.h

index 8eef33ac63459bfb34134e280104fde9a40d51cc..eeb261fae890ede5a4d0347973aabda1861c54d7 100644 (file)
@@ -91,6 +91,12 @@ public:
     return I;
   }
 
+  /// getRawEntryRef - This method can be used by clients that are aware of the
+  /// global value equivalence class in effect.
+  DSNodeHandle &getRawEntryRef(Value *V) {
+    return ValueMap[V];
+  }
+
   unsigned count(Value *V) const { return ValueMap.find(V) != ValueMap.end(); }
 
   void erase(Value *V) { erase(ValueMap.find(V)); }