[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSGraph.h

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 21 17:42:23 PST 2005



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DSGraph.h updated: 1.105 -> 1.106
---
Log message:

add a method


---
Diffs of the changes:  (+6 -0)

 DSGraph.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.105 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.106
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.105	Mon Mar 21 18:36:45 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h	Mon Mar 21 19:42:10 2005
@@ -91,6 +91,12 @@
     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)); }






More information about the llvm-commits mailing list