Almost complete rewrite of BU closure code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-11 21:34:34 +00:00
parent 4c02283e6b
commit cf69bb494a
2 changed files with 30 additions and 2 deletions

View File

@ -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);
*/
};

View File

@ -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);
*/
};