mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2197139b5
commit
54fdcb2480
@ -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)); }
|
||||
|
Loading…
Reference in New Issue
Block a user