[llvm-commits] CVS: poolalloc/include/poolalloc/PoolAllocate.h

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 9 16:17:01 PST 2003


Changes in directory poolalloc/include/poolalloc:

PoolAllocate.h updated: 1.8 -> 1.9

---
Log message:

Changes to split files


---
Diffs of the changes:  (+7 -3)

Index: poolalloc/include/poolalloc/PoolAllocate.h
diff -u poolalloc/include/poolalloc/PoolAllocate.h:1.8 poolalloc/include/poolalloc/PoolAllocate.h:1.9
--- poolalloc/include/poolalloc/PoolAllocate.h:1.8	Sun Nov  2 17:49:25 2003
+++ poolalloc/include/poolalloc/PoolAllocate.h	Sun Nov  9 16:16:47 2003
@@ -16,6 +16,7 @@
 #include "Support/hash_set"
 #include "Support/VectorExtras.h"
 #include "Support/EquivalenceClasses.h"
+#include <set>
 
 class BUDataStructures;
 class TDDataStructures;
@@ -97,6 +98,7 @@
  public:
 
   Function *PoolInit, *PoolDestroy, *PoolAlloc, *PoolAllocArray, *PoolFree;
+  static const Type *PoolDescPtrTy;
 
   // Equivalence class where functions that can potentially be called via
   // the same function pointer are in the same class.
@@ -174,11 +176,13 @@
                    std::map<DSNode*, Value*> &PoolDescriptors,
 		   std::map<const Value*, const Type *> &PoolDescTypeMap);
   
-  void TransformFunctionBody(Function &F, Function &OldF,
-                             DSGraph &G, PA::FuncInfo &FI);
-
   void InlineIndirectCalls(Function &F, DSGraph &G, 
 			   hash_set<Function*> &visited);
+
+  void TransformBody(DSGraph &g, DSGraph &tdg, PA::FuncInfo &fi,
+                     std::set<Value*, BasicBlock*> &poolUses,
+                     std::set<Value*, CallInst*> &poolFrees,
+                     Function &F);
 };
 
 #endif





More information about the llvm-commits mailing list