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

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 14 16:58:25 PST 2005



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

DSGraph.h updated: 1.89 -> 1.90
---
Log message:

Rename method, add counterpart.


---
Diffs of the changes:  (+8 -2)

 DSGraph.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.89 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.90
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.89	Mon Mar 14 13:22:33 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h	Mon Mar 14 18:58:09 2005
@@ -376,9 +376,15 @@
                                  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






More information about the llvm-commits mailing list