mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Added the declaration of InlineIndirectCalls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9bbfbc04e
commit
3d9c001af0
@ -72,6 +72,8 @@ class PoolAllocate : public Pass {
|
||||
BUDataStructures *BU;
|
||||
|
||||
TDDataStructures *TDDS;
|
||||
|
||||
hash_set<Function*> InlinedFuncs;
|
||||
|
||||
std::map<Function*, PA::FuncInfo> FunctionInfo;
|
||||
|
||||
@ -98,7 +100,7 @@ class PoolAllocate : public Pass {
|
||||
// If an equivalence class does not require pool arguments, it is not
|
||||
// on this map.
|
||||
std::map<Function *, int> EqClass2LastPoolArg;
|
||||
|
||||
|
||||
public:
|
||||
bool run(Module &M);
|
||||
|
||||
@ -141,6 +143,9 @@ class PoolAllocate : public Pass {
|
||||
|
||||
void TransformFunctionBody(Function &F, Function &OldF,
|
||||
DSGraph &G, PA::FuncInfo &FI);
|
||||
|
||||
void InlineIndirectCalls(Function &F, DSGraph &G,
|
||||
hash_set<Function*> &visited);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user