Rename method, add counterpart.
authorChris Lattner <sabre@nondot.org>
Tue, 15 Mar 2005 00:58:09 +0000 (00:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Mar 2005 00:58:09 +0000 (00:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20592 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSGraph.h

index 2ade08be6fcb0716e1ddc1a1db7e8d4e1d39b531..d323db65ba2b5e3ad61a2788e4fd176a56dcd7dc 100644 (file)
@@ -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