[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp CallGraph.cpp GlobalsModRef.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:43:26 PDT 2006



Changes in directory llvm/lib/Analysis/IPA:

Andersens.cpp updated: 1.30 -> 1.31
CallGraph.cpp updated: 1.55 -> 1.56
GlobalsModRef.cpp updated: 1.19 -> 1.20
---
Log message:

eliminate RegisterOpt.  It does the same thing as RegisterPass.


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

 Andersens.cpp     |    4 ++--
 CallGraph.cpp     |    2 +-
 GlobalsModRef.cpp |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.30 llvm/lib/Analysis/IPA/Andersens.cpp:1.31
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.30	Tue Jul 11 13:25:13 2006
+++ llvm/lib/Analysis/IPA/Andersens.cpp	Sun Aug 27 17:42:51 2006
@@ -336,8 +336,8 @@
     void visitInstruction(Instruction &I);
   };
 
-  RegisterOpt<Andersens> X("anders-aa",
-                           "Andersen's Interprocedural Alias Analysis");
+  RegisterPass<Andersens> X("anders-aa",
+                            "Andersen's Interprocedural Alias Analysis");
   RegisterAnalysisGroup<AliasAnalysis, Andersens> Y;
 }
 


Index: llvm/lib/Analysis/IPA/CallGraph.cpp
diff -u llvm/lib/Analysis/IPA/CallGraph.cpp:1.55 llvm/lib/Analysis/IPA/CallGraph.cpp:1.56
--- llvm/lib/Analysis/IPA/CallGraph.cpp:1.55	Wed Jul 12 13:29:36 2006
+++ llvm/lib/Analysis/IPA/CallGraph.cpp	Sun Aug 27 17:42:51 2006
@@ -182,7 +182,7 @@
 };
 
 RegisterAnalysisGroup<CallGraph> X("Call Graph");
-RegisterOpt<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction");
+RegisterPass<BasicCallGraph> Y("basiccg", "Basic CallGraph Construction");
 RegisterAnalysisGroup<CallGraph, BasicCallGraph, true> Z;
 
 } //End anonymous namespace


Index: llvm/lib/Analysis/IPA/GlobalsModRef.cpp
diff -u llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.19 llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.20
--- llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.19	Wed Jul 12 13:29:36 2006
+++ llvm/lib/Analysis/IPA/GlobalsModRef.cpp	Sun Aug 27 17:42:51 2006
@@ -135,8 +135,8 @@
                              std::vector<Function*> &Writers);
   };
 
-  RegisterOpt<GlobalsModRef> X("globalsmodref-aa",
-                               "Simple mod/ref analysis for globals");
+  RegisterPass<GlobalsModRef> X("globalsmodref-aa",
+                                "Simple mod/ref analysis for globals");
   RegisterAnalysisGroup<AliasAnalysis, GlobalsModRef> Y;
 }
 






More information about the llvm-commits mailing list