[llvm-commits] CVS: llvm/lib/Analysis/AliasAnalysisCounter.cpp AliasAnalysisEvaluator.cpp AliasSetTracker.cpp BasicAliasAnalysis.cpp LoadValueNumbering.cpp ProfileInfo.cpp ProfileInfoLoaderPass.cpp ValueNumbering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 27 15:43:25 PDT 2006
Changes in directory llvm/lib/Analysis:
AliasAnalysisCounter.cpp updated: 1.13 -> 1.14
AliasAnalysisEvaluator.cpp updated: 1.27 -> 1.28
AliasSetTracker.cpp updated: 1.40 -> 1.41
BasicAliasAnalysis.cpp updated: 1.83 -> 1.84
LoadValueNumbering.cpp updated: 1.34 -> 1.35
ProfileInfo.cpp updated: 1.7 -> 1.8
ProfileInfoLoaderPass.cpp updated: 1.13 -> 1.14
ValueNumbering.cpp updated: 1.19 -> 1.20
---
Log message:
eliminate RegisterOpt. It does the same thing as RegisterPass.
---
Diffs of the changes: (+9 -9)
AliasAnalysisCounter.cpp | 2 +-
AliasAnalysisEvaluator.cpp | 2 +-
AliasSetTracker.cpp | 2 +-
BasicAliasAnalysis.cpp | 4 ++--
LoadValueNumbering.cpp | 2 +-
ProfileInfo.cpp | 2 +-
ProfileInfoLoaderPass.cpp | 2 +-
ValueNumbering.cpp | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
Index: llvm/lib/Analysis/AliasAnalysisCounter.cpp
diff -u llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.13 llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.14
--- llvm/lib/Analysis/AliasAnalysisCounter.cpp:1.13 Thu Apr 21 16:04:58 2005
+++ llvm/lib/Analysis/AliasAnalysisCounter.cpp Sun Aug 27 17:42:51 2006
@@ -109,7 +109,7 @@
}
};
- RegisterOpt<AliasAnalysisCounter>
+ RegisterPass<AliasAnalysisCounter>
X("count-aa", "Count Alias Analysis Query Responses");
RegisterAnalysisGroup<AliasAnalysis, AliasAnalysisCounter> Y;
}
Index: llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
diff -u llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.27 llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.28
--- llvm/lib/Analysis/AliasAnalysisEvaluator.cpp:1.27 Thu Apr 21 16:04:58 2005
+++ llvm/lib/Analysis/AliasAnalysisEvaluator.cpp Sun Aug 27 17:42:51 2006
@@ -70,7 +70,7 @@
bool doFinalization(Module &M);
};
- RegisterOpt<AAEval>
+ RegisterPass<AAEval>
X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator");
}
Index: llvm/lib/Analysis/AliasSetTracker.cpp
diff -u llvm/lib/Analysis/AliasSetTracker.cpp:1.40 llvm/lib/Analysis/AliasSetTracker.cpp:1.41
--- llvm/lib/Analysis/AliasSetTracker.cpp:1.40 Tue Jun 27 18:56:13 2006
+++ llvm/lib/Analysis/AliasSetTracker.cpp Sun Aug 27 17:42:51 2006
@@ -568,5 +568,5 @@
return false;
}
};
- RegisterOpt<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer");
+ RegisterPass<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer");
}
Index: llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff -u llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.83 llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.84
--- llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.83 Sun Aug 27 07:54:01 2006
+++ llvm/lib/Analysis/BasicAliasAnalysis.cpp Sun Aug 27 17:42:51 2006
@@ -72,7 +72,7 @@
};
// Register this pass...
- RegisterOpt<NoAA>
+ RegisterPass<NoAA>
U("no-aa", "No Alias Analysis (always returns 'may' alias)");
// Declare that we implement the AliasAnalysis interface
@@ -117,7 +117,7 @@
};
// Register this pass...
- RegisterOpt<BasicAliasAnalysis>
+ RegisterPass<BasicAliasAnalysis>
X("basicaa", "Basic Alias Analysis (default AA impl)");
// Declare that we implement the AliasAnalysis interface
Index: llvm/lib/Analysis/LoadValueNumbering.cpp
diff -u llvm/lib/Analysis/LoadValueNumbering.cpp:1.34 llvm/lib/Analysis/LoadValueNumbering.cpp:1.35
--- llvm/lib/Analysis/LoadValueNumbering.cpp:1.34 Sun Jan 8 03:10:04 2006
+++ llvm/lib/Analysis/LoadValueNumbering.cpp Sun Aug 27 17:42:51 2006
@@ -81,7 +81,7 @@
};
// Register this pass...
- RegisterOpt<LoadVN> X("load-vn", "Load Value Numbering");
+ RegisterPass<LoadVN> X("load-vn", "Load Value Numbering");
// Declare that we implement the ValueNumbering interface
RegisterAnalysisGroup<ValueNumbering, LoadVN> Y;
Index: llvm/lib/Analysis/ProfileInfo.cpp
diff -u llvm/lib/Analysis/ProfileInfo.cpp:1.7 llvm/lib/Analysis/ProfileInfo.cpp:1.8
--- llvm/lib/Analysis/ProfileInfo.cpp:1.7 Thu Apr 21 16:04:58 2005
+++ llvm/lib/Analysis/ProfileInfo.cpp Sun Aug 27 17:42:51 2006
@@ -85,7 +85,7 @@
struct NoProfileInfo : public ImmutablePass, public ProfileInfo {};
// Register this pass...
- RegisterOpt<NoProfileInfo>
+ RegisterPass<NoProfileInfo>
X("no-profile", "No Profile Information");
// Declare that we implement the ProfileInfo interface
Index: llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
diff -u llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.13 llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.14
--- llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.13 Mon Aug 21 12:20:01 2006
+++ llvm/lib/Analysis/ProfileInfoLoaderPass.cpp Sun Aug 27 17:42:51 2006
@@ -49,7 +49,7 @@
virtual bool runOnModule(Module &M);
};
- RegisterOpt<LoaderPass>
+ RegisterPass<LoaderPass>
X("profile-loader", "Load profile information from llvmprof.out");
RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;
Index: llvm/lib/Analysis/ValueNumbering.cpp
diff -u llvm/lib/Analysis/ValueNumbering.cpp:1.19 llvm/lib/Analysis/ValueNumbering.cpp:1.20
--- llvm/lib/Analysis/ValueNumbering.cpp:1.19 Wed Jun 7 17:00:26 2006
+++ llvm/lib/Analysis/ValueNumbering.cpp Sun Aug 27 17:42:51 2006
@@ -60,7 +60,7 @@
};
// Register this pass...
- RegisterOpt<BasicVN>
+ RegisterPass<BasicVN>
X("basicvn", "Basic Value Numbering (default GVN impl)");
// Declare that we implement the ValueNumbering interface
More information about the llvm-commits
mailing list