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

Chris Lattner lattner at cs.uiuc.edu
Thu Nov 13 10:32:01 PST 2003


Changes in directory poolalloc/include/poolalloc:

PoolAllocate.h updated: 1.19 -> 1.20

---
Log message:

Yes, I forgot to check in the header again, I'm a putz


---
Diffs of the changes:  (+4 -6)

Index: poolalloc/include/poolalloc/PoolAllocate.h
diff -u poolalloc/include/poolalloc/PoolAllocate.h:1.19 poolalloc/include/poolalloc/PoolAllocate.h:1.20
--- poolalloc/include/poolalloc/PoolAllocate.h:1.19	Wed Nov 12 17:00:58 2003
+++ poolalloc/include/poolalloc/PoolAllocate.h	Thu Nov 13 10:30:48 2003
@@ -20,8 +20,7 @@
 
 namespace llvm {
 
-class BUDataStructures;
-class TDDataStructures;
+class CompleteBUDataStructures;
 class DSNode;
 class DSGraph;
 class Type;
@@ -96,8 +95,7 @@
 ///
 class PoolAllocate : public Pass {
   Module *CurModule;
-  BUDataStructures *BU;
-  TDDataStructures *TDDS;
+  CompleteBUDataStructures *BU;
 
   std::map<Function*, PA::FuncInfo> FunctionInfo;
 
@@ -131,7 +129,7 @@
   
   virtual void getAnalysisUsage(AnalysisUsage &AU) const;
   
-  BUDataStructures &getBUDataStructures() const { return *BU; }
+  CompleteBUDataStructures &getBUDataStructures() const { return *BU; }
   
   //Dinakar to get function info for all (cloned functions) 
   PA::FuncInfo *getFunctionInfo(Function *F) {
@@ -197,7 +195,7 @@
   void CreatePools(Function &F, const std::vector<DSNode*> &NodesToPA,
                    std::map<DSNode*, Value*> &PoolDescriptors);
   
-  void TransformBody(DSGraph &g, DSGraph &tdg, PA::FuncInfo &fi,
+  void TransformBody(DSGraph &g, PA::FuncInfo &fi,
                      std::set<std::pair<AllocaInst*, Instruction*> > &poolUses,
                      std::set<std::pair<AllocaInst*, CallInst*> > &poolFrees,
                      Function &F);





More information about the llvm-commits mailing list