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

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 9 19:26:01 PST 2003


Changes in directory poolalloc/include/poolalloc:

PoolAllocate.h updated: 1.12 -> 1.13

---
Log message:

Eliminate the PoolDescTypeMap


---
Diffs of the changes:  (+2 -9)

Index: poolalloc/include/poolalloc/PoolAllocate.h
diff -u poolalloc/include/poolalloc/PoolAllocate.h:1.12 poolalloc/include/poolalloc/PoolAllocate.h:1.13
--- poolalloc/include/poolalloc/PoolAllocate.h:1.12	Sun Nov  9 18:12:53 2003
+++ poolalloc/include/poolalloc/PoolAllocate.h	Sun Nov  9 19:25:38 2003
@@ -63,10 +63,6 @@
     /// indirect function calls that are not used in the function.
     std::map<DSNode*, Value*> PoolDescriptors;
 
-    // Dinakar :  Added  map from alloca of poolinit or argument to the
-    // corresponding type, the type of Value * is that of pooldescriptor
-    std::map<const Value*, const Type*> PoolDescType;
-  
     /// NewToOldValueMap - When and if a function needs to be cloned, this map
     /// contains a mapping from all of the values in the new function back to
     /// the values they correspond to in the old function.
@@ -174,8 +170,7 @@
   /// PoolDescriptors map for each DSNode.
   ///
   void CreatePools(Function &F, const std::vector<DSNode*> &NodesToPA,
-                   std::map<DSNode*, Value*> &PoolDescriptors,
-		   std::map<const Value*, const Type *> &PoolDescTypeMap);
+                   std::map<DSNode*, Value*> &PoolDescriptors);
   
   void InlineIndirectCalls(Function &F, DSGraph &G, 
 			   hash_set<Function*> &visited);
@@ -190,9 +185,7 @@
   /// list.
   void InitializeAndDestroyPools(Function &F,
                                  const std::vector<DSNode*> &NodesToPA,
-                                 std::map<DSNode*, Value*> &PoolDescriptors,
-                                 std::map<const Value *,
-                                          const Type *> &PoolDescTypeMap);
+                                 std::map<DSNode*, Value*> &PoolDescriptors);
 };
 
 #endif





More information about the llvm-commits mailing list