diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index 3e57af21318..3a04cd5add6 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures { // globals graph has been implemented in the BU pass) AU.addRequired(); } + + // print - Print out the analysis results... + void print(std::ostream &O, const Module *M) const; + +private: + unsigned calculateSCCGraphs(DSGraph &FG, std::vector &Stack, + unsigned &NextID, + hash_map &ValMap); + DSGraph &getOrCreateGraph(Function &F); + void processGraph(DSGraph &G); }; diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h index 3e57af21318..3a04cd5add6 100644 --- a/include/llvm/Analysis/DataStructure/DataStructure.h +++ b/include/llvm/Analysis/DataStructure/DataStructure.h @@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures { // globals graph has been implemented in the BU pass) AU.addRequired(); } + + // print - Print out the analysis results... + void print(std::ostream &O, const Module *M) const; + +private: + unsigned calculateSCCGraphs(DSGraph &FG, std::vector &Stack, + unsigned &NextID, + hash_map &ValMap); + DSGraph &getOrCreateGraph(Function &F); + void processGraph(DSGraph &G); };