Add methods for implementation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-13 05:05:34 +00:00
parent 6acfe92b32
commit 21fc51daa5
2 changed files with 20 additions and 0 deletions

View File

@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures {
// 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);
};

View File

@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures {
// 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);
};