forked from OSchip/llvm-project
Almost complete rewrite of BU closure code
llvm-svn: 4693
This commit is contained in:
parent
df48466ce5
commit
f8172fa67e
|
@ -102,10 +102,24 @@ public:
|
|||
AU.addRequired<LocalDataStructures>();
|
||||
}
|
||||
private:
|
||||
DSGraph &calculateGraph(Function &F, unsigned Indent);
|
||||
DSGraph &calculateGraph(Function &F);
|
||||
DSGraph &calculateSCCGraph(Function &F,
|
||||
std::set<Function*> &InlinedSCCFunctions);
|
||||
void calculateReachableGraphs(Function *F);
|
||||
|
||||
|
||||
DSGraph &getOrCreateGraph(Function *F);
|
||||
|
||||
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);
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue