projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a219713
)
add a method
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Mar 2005 01:42:10 +0000
(
01:42
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/DataStructure/DSGraph.h
b/include/llvm/Analysis/DataStructure/DSGraph.h
index 8eef33ac63459bfb34134e280104fde9a40d51cc..eeb261fae890ede5a4d0347973aabda1861c54d7 100644
(file)
--- a/
include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/
include/llvm/Analysis/DataStructure/DSGraph.h
@@
-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)); }