[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 12 23:06:11 PST 2003
Changes in directory llvm/include/llvm/Analysis:
DataStructure.h updated: 1.76 -> 1.77
---
Log message:
Add methods for implementation
---
Diffs of the changes: (+10 -0)
Index: llvm/include/llvm/Analysis/DataStructure.h
diff -u llvm/include/llvm/Analysis/DataStructure.h:1.76 llvm/include/llvm/Analysis/DataStructure.h:1.77
--- llvm/include/llvm/Analysis/DataStructure.h:1.76 Wed Nov 12 19:42:38 2003
+++ llvm/include/llvm/Analysis/DataStructure.h Wed Nov 12 23:05:34 2003
@@ -216,6 +216,16 @@
// globals graph has been implemented in the BU pass)
AU.addRequired<TDDataStructures>();
}
+
+ // print - Print out the analysis results...
+ void print(std::ostream &O, const Module *M) const;
+
+private:
+ unsigned calculateSCCGraphs(DSGraph &FG, std::vector<DSGraph*> &Stack,
+ unsigned &NextID,
+ hash_map<DSGraph*, unsigned> &ValMap);
+ DSGraph &getOrCreateGraph(Function &F);
+ void processGraph(DSGraph &G);
};
More information about the llvm-commits
mailing list