[llvm-commits] CVS: llvm/include/llvm/Transforms/PoolAllocate.h
Sumant Kowshik
kowshik at cs.uiuc.edu
Tue Aug 5 11:58:00 PDT 2003
Changes in directory llvm/include/llvm/Transforms:
PoolAllocate.h updated: 1.4 -> 1.5
---
Log message:
Added the declaration of InlineIndirectCalls
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/PoolAllocate.h
diff -u llvm/include/llvm/Transforms/PoolAllocate.h:1.4 llvm/include/llvm/Transforms/PoolAllocate.h:1.5
--- llvm/include/llvm/Transforms/PoolAllocate.h:1.4 Sun Jun 29 22:13:36 2003
+++ llvm/include/llvm/Transforms/PoolAllocate.h Tue Aug 5 11:56:59 2003
@@ -72,6 +72,8 @@
BUDataStructures *BU;
TDDataStructures *TDDS;
+
+ hash_set<Function*> InlinedFuncs;
std::map<Function*, PA::FuncInfo> FunctionInfo;
@@ -98,7 +100,7 @@
// 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 @@
void TransformFunctionBody(Function &F, Function &OldF,
DSGraph &G, PA::FuncInfo &FI);
+
+ void InlineIndirectCalls(Function &F, DSGraph &G,
+ hash_set<Function*> &visited);
};
#endif
More information about the llvm-commits
mailing list