aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DSGraph.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-15 00:58:09 +0000
committerChris Lattner <sabre@nondot.org>2005-03-15 00:58:09 +0000
commite44858049210c84356af85007783149c13de42d6 (patch)
treeac7c65ff3d2d5d5fced7fb634d81104d0f6ab5c1 /include/llvm/Analysis/DataStructure/DSGraph.h
parent2427c9dfb3d76f7c71fcc7e9291464d8e6eb1cc2 (diff)
Rename method, add counterpart.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSGraph.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index 2ade08be6f..d323db65ba 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -376,9 +376,15 @@ public:
const DSNodeHandle &NH2, NodeMapTy &NodeMap,
bool StrictChecking = true);
- /// computeGlobalGraphMapping - Compute the mapping of nodes in the global
+ /// computeGGToGMapping - Compute the mapping of nodes in the global
/// graph to nodes in this graph.
- void computeGlobalGraphMapping(NodeMapTy &NodeMap);
+ void computeGGToGMapping(NodeMapTy &NodeMap);
+
+ /// computeGToGGMapping - Compute the mapping of nodes in the graph to nodes
+ /// in the globals graph. Note that any uses of this method are probably
+ /// bugs, unless it is known that the globals graph has been merged into this
+ /// graph!
+ void computeGToGGMapping(NodeMapTy &NodeMap);
/// cloneInto - Clone the specified DSGraph into the current graph. The