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

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 5 13:39:02 PDT 2003


Changes in directory llvm/include/llvm/Analysis:

DSGraph.h updated: 1.57 -> 1.58

---
Log message:

Add a comment to the method decl


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.57 llvm/include/llvm/Analysis/DSGraph.h:1.58
--- llvm/include/llvm/Analysis/DSGraph.h:1.57	Tue Aug  5 12:06:18 2003
+++ llvm/include/llvm/Analysis/DSGraph.h	Tue Aug  5 13:38:16 2003
@@ -290,14 +290,18 @@
 
   void AssertGraphOK() const;
 
-  void DSGraph::mergeInGlobalsGraph();
+  /// mergeInGlobalsGraph - This method is useful for clients to incorporate the
+  /// globals graph into the DS, BU or TD graph for a function.  This code
+  /// retains all globals, i.e., does not delete unreachable globals after they
+  /// are inlined.
+  ///
+  void mergeInGlobalsGraph();
 
-public:
-  // removeTriviallyDeadNodes - After the graph has been constructed, this
-  // method removes all unreachable nodes that are created because they got
-  // merged with other nodes in the graph.  This is used as the first step of
-  // removeDeadNodes.
-  //
+  /// removeTriviallyDeadNodes - After the graph has been constructed, this
+  /// method removes all unreachable nodes that are created because they got
+  /// merged with other nodes in the graph.  This is used as the first step of
+  /// removeDeadNodes.
+  ///
   void removeTriviallyDeadNodes();
 };
 





More information about the llvm-commits mailing list