mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Remove dead method, add new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5190ce8374
commit
21f3663c06
@ -103,6 +103,15 @@ public:
|
|||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
DSGraph &calculateGraph(Function &F);
|
DSGraph &calculateGraph(Function &F);
|
||||||
|
|
||||||
|
// inlineNonSCCGraphs - This method is almost like the other two calculate
|
||||||
|
// graph methods. This one is used to inline function graphs (from functions
|
||||||
|
// outside of the SCC) into functions in the SCC. It is not supposed to touch
|
||||||
|
// functions IN the SCC at all.
|
||||||
|
//
|
||||||
|
DSGraph &BUDataStructures::inlineNonSCCGraphs(Function &F,
|
||||||
|
std::set<Function*> &SCCFunctions);
|
||||||
|
|
||||||
DSGraph &calculateSCCGraph(Function &F,
|
DSGraph &calculateSCCGraph(Function &F,
|
||||||
std::set<Function*> &InlinedSCCFunctions);
|
std::set<Function*> &InlinedSCCFunctions);
|
||||||
void calculateReachableGraphs(Function *F);
|
void calculateReachableGraphs(Function *F);
|
||||||
@ -113,13 +122,6 @@ private:
|
|||||||
unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
|
unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
|
||||||
unsigned &NextID,
|
unsigned &NextID,
|
||||||
std::map<Function*, unsigned> &ValMap);
|
std::map<Function*, unsigned> &ValMap);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
bool ResolveFunctionCalls(DSGraph &G, unsigned &FirstResolvableCall,
|
|
||||||
std::map<Function*, DSCallSite> &InProcess,
|
|
||||||
unsigned Indent);
|
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,6 +103,15 @@ public:
|
|||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
DSGraph &calculateGraph(Function &F);
|
DSGraph &calculateGraph(Function &F);
|
||||||
|
|
||||||
|
// inlineNonSCCGraphs - This method is almost like the other two calculate
|
||||||
|
// graph methods. This one is used to inline function graphs (from functions
|
||||||
|
// outside of the SCC) into functions in the SCC. It is not supposed to touch
|
||||||
|
// functions IN the SCC at all.
|
||||||
|
//
|
||||||
|
DSGraph &BUDataStructures::inlineNonSCCGraphs(Function &F,
|
||||||
|
std::set<Function*> &SCCFunctions);
|
||||||
|
|
||||||
DSGraph &calculateSCCGraph(Function &F,
|
DSGraph &calculateSCCGraph(Function &F,
|
||||||
std::set<Function*> &InlinedSCCFunctions);
|
std::set<Function*> &InlinedSCCFunctions);
|
||||||
void calculateReachableGraphs(Function *F);
|
void calculateReachableGraphs(Function *F);
|
||||||
@ -113,13 +122,6 @@ private:
|
|||||||
unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
|
unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
|
||||||
unsigned &NextID,
|
unsigned &NextID,
|
||||||
std::map<Function*, unsigned> &ValMap);
|
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