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

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 12 09:58:01 PST 2002


Changes in directory llvm/include/llvm/Analysis:

DataStructure.h updated: 1.58 -> 1.59

---
Log message:

Remove dead method, add new method


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DataStructure.h
diff -u llvm/include/llvm/Analysis/DataStructure.h:1.58 llvm/include/llvm/Analysis/DataStructure.h:1.59
--- llvm/include/llvm/Analysis/DataStructure.h:1.58	Mon Nov 11 15:34:34 2002
+++ llvm/include/llvm/Analysis/DataStructure.h	Tue Nov 12 09:57:28 2002
@@ -103,6 +103,15 @@
   }
 private:
   DSGraph &calculateGraph(Function &F);
+
+  // inlineNonSCCGraphs - This method is almost like the other two calculate
+  // graph methods.  This one is used to inline function graphs (from functions
+  // outside of the SCC) into functions in the SCC.  It is not supposed to touch
+  // functions IN the SCC at all.
+  //
+  DSGraph &BUDataStructures::inlineNonSCCGraphs(Function &F,
+                                             std::set<Function*> &SCCFunctions);
+ 
   DSGraph &calculateSCCGraph(Function &F,
                              std::set<Function*> &InlinedSCCFunctions);
   void calculateReachableGraphs(Function *F);
@@ -113,13 +122,6 @@
   unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
                            unsigned &NextID, 
                            std::map<Function*, unsigned> &ValMap);
-
-
-  /*
-  bool ResolveFunctionCalls(DSGraph &G, unsigned &FirstResolvableCall,
-                            std::map<Function*, DSCallSite> &InProcess,
-                            unsigned Indent);
-  */
 };
 
 





More information about the llvm-commits mailing list