[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp CallTargets.cpp CompleteBottomUp.cpp DataStructureStats.cpp EquivClassGraphs.cpp GraphChecker.cpp Local.cpp TopDownClosure.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:30:40 PDT 2006



Changes in directory llvm/lib/Analysis/DataStructure:

BottomUpClosure.cpp updated: 1.119 -> 1.120
CallTargets.cpp updated: 1.2 -> 1.3
CompleteBottomUp.cpp updated: 1.35 -> 1.36
DataStructureStats.cpp updated: 1.20 -> 1.21
EquivClassGraphs.cpp updated: 1.47 -> 1.48
GraphChecker.cpp updated: 1.20 -> 1.21
Local.cpp updated: 1.152 -> 1.153
TopDownClosure.cpp updated: 1.90 -> 1.91
---
Log message:

Eliminate RegisterAnalysis.  RegisterPass now does all that is necessary.


---
Diffs of the changes:  (+8 -8)

 BottomUpClosure.cpp    |    2 +-
 CallTargets.cpp        |    2 +-
 CompleteBottomUp.cpp   |    2 +-
 DataStructureStats.cpp |    2 +-
 EquivClassGraphs.cpp   |    2 +-
 GraphChecker.cpp       |    2 +-
 Local.cpp              |    2 +-
 TopDownClosure.cpp     |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.119 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.120
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.119	Mon Jun 19 13:22:59 2006
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp	Sun Aug 27 17:30:17 2006
@@ -37,7 +37,7 @@
   UpdateGlobals("budatastructures-update-from-globals",
 		cl::desc("Update local graph from global graph when processing function"));
 
-  RegisterAnalysis<BUDataStructures>
+  RegisterPass<BUDataStructures>
   X("budatastructure", "Bottom-up Data Structure Analysis");
 }
 


Index: llvm/lib/Analysis/DataStructure/CallTargets.cpp
diff -u llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.2 llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.3
--- llvm/lib/Analysis/DataStructure/CallTargets.cpp:1.2	Fri Jun 16 09:33:53 2006
+++ llvm/lib/Analysis/DataStructure/CallTargets.cpp	Sun Aug 27 17:30:17 2006
@@ -34,7 +34,7 @@
   Statistic<> CompleteInd("calltarget", "Number of complete indirect calls");
   Statistic<> CompleteEmpty("calltarget", "Number of complete empty calls");
 
-  RegisterAnalysis<CallTargetFinder> X("calltarget", "Find Call Targets (uses DSA)");
+  RegisterPass<CallTargetFinder> X("calltarget","Find Call Targets (uses DSA)");
 }
 
 void CallTargetFinder::findIndTargets(Module &M)


Index: llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
diff -u llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp:1.35 llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp:1.36
--- llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp:1.35	Fri Jun 16 09:43:36 2006
+++ llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp	Sun Aug 27 17:30:17 2006
@@ -25,7 +25,7 @@
 using namespace llvm;
 
 namespace {
-  RegisterAnalysis<CompleteBUDataStructures>
+  RegisterPass<CompleteBUDataStructures>
   X("cbudatastructure", "'Complete' Bottom-up Data Structure Analysis");
   Statistic<> NumCBUInlines("cbudatastructures", "Number of graphs inlined");
 }


Index: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.20 llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.21
--- llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.20	Sun Jan 22 17:19:18 2006
+++ llvm/lib/Analysis/DataStructure/DataStructureStats.cpp	Sun Aug 27 17:30:17 2006
@@ -60,7 +60,7 @@
     void print(std::ostream &O, const Module* = 0) const { }
   };
 
-  static RegisterAnalysis<DSGraphStats> Z("dsstats", "DS Graph Statistics");
+  static RegisterPass<DSGraphStats> Z("dsstats", "DS Graph Statistics");
 }
 
 FunctionPass *llvm::createDataStructureStatsPass() { 


Index: llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff -u llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.47 llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.48
--- llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.47	Fri May 12 12:41:45 2006
+++ llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp	Sun Aug 27 17:30:17 2006
@@ -30,7 +30,7 @@
 using namespace llvm;
 
 namespace {
-  RegisterAnalysis<EquivClassGraphs> X("eqdatastructure",
+  RegisterPass<EquivClassGraphs> X("eqdatastructure",
                     "Equivalence-class Bottom-up Data Structure Analysis");
   Statistic<> NumEquivBUInlines("equivdatastructures",
                                 "Number of graphs inlined");


Index: llvm/lib/Analysis/DataStructure/GraphChecker.cpp
diff -u llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.20 llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.21
--- llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.20	Tue Apr 25 14:33:41 2006
+++ llvm/lib/Analysis/DataStructure/GraphChecker.cpp	Sun Aug 27 17:30:17 2006
@@ -74,7 +74,7 @@
     void verify(const DSGraph &G);
   };
 
-  RegisterAnalysis<DSGC> X("datastructure-gc", "DSA Graph Checking Pass");
+  RegisterPass<DSGC> X("datastructure-gc", "DSA Graph Checking Pass");
 }
 
 FunctionPass *llvm::createDataStructureGraphCheckerPass() {


Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.152 llvm/lib/Analysis/DataStructure/Local.cpp:1.153
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.152	Tue Jun 27 20:16:06 2006
+++ llvm/lib/Analysis/DataStructure/Local.cpp	Sun Aug 27 17:30:17 2006
@@ -33,7 +33,7 @@
 
 using namespace llvm;
 
-static RegisterAnalysis<LocalDataStructures>
+static RegisterPass<LocalDataStructures>
 X("datastructure", "Local Data Structure Analysis");
 
 static cl::opt<bool>


Index: llvm/lib/Analysis/DataStructure/TopDownClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.90 llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.91
--- llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.90	Sun Jan 22 17:19:18 2006
+++ llvm/lib/Analysis/DataStructure/TopDownClosure.cpp	Sun Aug 27 17:30:17 2006
@@ -32,7 +32,7 @@
 #endif
 
 namespace {
-  RegisterAnalysis<TDDataStructures>   // Register the pass
+  RegisterPass<TDDataStructures>   // Register the pass
   Y("tddatastructure", "Top-down Data Structure Analysis");
 
   Statistic<> NumTDInlines("tddatastructures", "Number of graphs inlined");






More information about the llvm-commits mailing list