mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
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:
parent
4c02283e6b
commit
cf69bb494a
@ -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);
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
|
@ -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…
x
Reference in New Issue
Block a user