[llvm-commits] [llvm] r48579 - in /llvm/trunk/lib: Analysis/ Analysis/IPA/ VMCore/
Devang Patel
dpatel at apple.com
Wed Mar 19 19:25:21 PDT 2008
Author: dpatel
Date: Wed Mar 19 21:25:21 2008
New Revision: 48579
URL: http://llvm.org/viewvc/llvm-project?rev=48579&view=rev
Log:
Restore isCFGOnly property of various analysis passes.
Modified:
llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp
llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp
llvm/trunk/lib/Analysis/AliasDebugger.cpp
llvm/trunk/lib/Analysis/AliasSetTracker.cpp
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
llvm/trunk/lib/Analysis/CFGPrinter.cpp
llvm/trunk/lib/Analysis/IPA/Andersens.cpp
llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp
llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp
llvm/trunk/lib/Analysis/InstCount.cpp
llvm/trunk/lib/Analysis/IntervalPartition.cpp
llvm/trunk/lib/Analysis/LoadValueNumbering.cpp
llvm/trunk/lib/Analysis/LoopInfo.cpp
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
llvm/trunk/lib/Analysis/PostDominators.cpp
llvm/trunk/lib/Analysis/ProfileInfo.cpp
llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
llvm/trunk/lib/Analysis/ValueNumbering.cpp
llvm/trunk/lib/VMCore/Dominators.cpp
Modified: llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp Wed Mar 19 21:25:21 2008
@@ -116,7 +116,7 @@
char AliasAnalysisCounter::ID = 0;
RegisterPass<AliasAnalysisCounter>
- X("count-aa", "Count Alias Analysis Query Responses", true, true);
+ X("count-aa", "Count Alias Analysis Query Responses", false, true);
RegisterAnalysisGroup<AliasAnalysis> Y(X);
}
Modified: llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysisEvaluator.cpp Wed Mar 19 21:25:21 2008
@@ -76,7 +76,7 @@
char AAEval::ID = 0;
RegisterPass<AAEval>
- X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator", true, true);
+ X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator", false, true);
}
FunctionPass *llvm::createAAEvalPass() { return new AAEval(); }
Modified: llvm/trunk/lib/Analysis/AliasDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasDebugger.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasDebugger.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasDebugger.cpp Wed Mar 19 21:25:21 2008
@@ -123,7 +123,7 @@
};
char AliasDebugger::ID = 0;
- RegisterPass<AliasDebugger> X("debug-aa", "AA use debugger", true, true);
+ RegisterPass<AliasDebugger> X("debug-aa", "AA use debugger", false, true);
RegisterAnalysisGroup<AliasAnalysis> Y(X);
}
Modified: llvm/trunk/lib/Analysis/AliasSetTracker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasSetTracker.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasSetTracker.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasSetTracker.cpp Wed Mar 19 21:25:21 2008
@@ -569,5 +569,5 @@
}
};
char AliasSetPrinter::ID = 0;
- RegisterPass<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer", true, true);
+ RegisterPass<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer", false, true);
}
Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Wed Mar 19 21:25:21 2008
@@ -128,7 +128,7 @@
// Register this pass...
char BasicAliasAnalysis::ID = 0;
RegisterPass<BasicAliasAnalysis>
- X("basicaa", "Basic Alias Analysis (default AA impl)", true, true);
+ X("basicaa", "Basic Alias Analysis (default AA impl)", false, true);
// Declare that we implement the AliasAnalysis interface
RegisterAnalysisGroup<AliasAnalysis, true> Y(X);
Modified: llvm/trunk/lib/Analysis/CFGPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CFGPrinter.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CFGPrinter.cpp (original)
+++ llvm/trunk/lib/Analysis/CFGPrinter.cpp Wed Mar 19 21:25:21 2008
@@ -108,7 +108,7 @@
char CFGViewer::ID = 0;
RegisterPass<CFGViewer> V0("view-cfg",
- "View CFG of function", true, true);
+ "View CFG of function", false, true);
struct VISIBILITY_HIDDEN CFGOnlyViewer : public FunctionPass {
static char ID; // Pass identifcation, replacement for typeid
@@ -130,7 +130,7 @@
char CFGOnlyViewer::ID = 0;
RegisterPass<CFGOnlyViewer> V1("view-cfg-only",
- "View CFG of function (with no function bodies)", true, true);
+ "View CFG of function (with no function bodies)", false, true);
struct VISIBILITY_HIDDEN CFGPrinter : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
@@ -159,7 +159,7 @@
char CFGPrinter::ID = 0;
RegisterPass<CFGPrinter> P1("print-cfg",
- "Print CFG of function to 'dot' file", true, true);
+ "Print CFG of function to 'dot' file", false, true);
struct VISIBILITY_HIDDEN CFGOnlyPrinter : public CFGPrinter {
static char ID; // Pass identification, replacement for typeid
@@ -181,7 +181,7 @@
char CFGOnlyPrinter::ID = 0;
RegisterPass<CFGOnlyPrinter>
P2("print-cfg-only",
- "Print CFG of function to 'dot' file (with no function bodies)", true, true);
+ "Print CFG of function to 'dot' file (with no function bodies)", false, true);
}
/// viewCFG - This function is meant for use from the debugger. You can just
Modified: llvm/trunk/lib/Analysis/IPA/Andersens.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/Andersens.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/Andersens.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/Andersens.cpp Wed Mar 19 21:25:21 2008
@@ -602,7 +602,7 @@
char Andersens::ID = 0;
RegisterPass<Andersens> X("anders-aa",
- "Andersen's Interprocedural Alias Analysis", true,
+ "Andersen's Interprocedural Alias Analysis", false,
true);
RegisterAnalysisGroup<AliasAnalysis> Y(X);
Modified: llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp Wed Mar 19 21:25:21 2008
@@ -23,7 +23,7 @@
char FindUsedTypes::ID = 0;
static RegisterPass<FindUsedTypes>
-X("printusedtypes", "Find Used Types", true, true);
+X("printusedtypes", "Find Used Types", false, true);
// IncorporateType - Incorporate one type and all of its subtypes into the
// collection of used types.
Modified: llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp Wed Mar 19 21:25:21 2008
@@ -149,7 +149,7 @@
char GlobalsModRef::ID = 0;
RegisterPass<GlobalsModRef> X("globalsmodref-aa",
- "Simple mod/ref analysis for globals", true,
+ "Simple mod/ref analysis for globals", false,
true);
RegisterAnalysisGroup<AliasAnalysis> Y(X);
}
Modified: llvm/trunk/lib/Analysis/InstCount.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstCount.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstCount.cpp (original)
+++ llvm/trunk/lib/Analysis/InstCount.cpp Wed Mar 19 21:25:21 2008
@@ -65,7 +65,7 @@
char InstCount::ID = 0;
RegisterPass<InstCount> X("instcount",
- "Counts the various types of Instructions", true, true);
+ "Counts the various types of Instructions", false, true);
}
FunctionPass *llvm::createInstCountPass() { return new InstCount(); }
Modified: llvm/trunk/lib/Analysis/IntervalPartition.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IntervalPartition.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IntervalPartition.cpp (original)
+++ llvm/trunk/lib/Analysis/IntervalPartition.cpp Wed Mar 19 21:25:21 2008
@@ -17,7 +17,7 @@
char IntervalPartition::ID = 0;
static RegisterPass<IntervalPartition>
-X("intervals", "Interval Partition Construction", true, true);
+X("intervals", "Interval Partition Construction", false, true);
//===----------------------------------------------------------------------===//
// IntervalPartition Implementation
Modified: llvm/trunk/lib/Analysis/LoadValueNumbering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoadValueNumbering.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoadValueNumbering.cpp (original)
+++ llvm/trunk/lib/Analysis/LoadValueNumbering.cpp Wed Mar 19 21:25:21 2008
@@ -85,7 +85,7 @@
char LoadVN::ID = 0;
// Register this pass...
- RegisterPass<LoadVN> X("load-vn", "Load Value Numbering", true, true);
+ RegisterPass<LoadVN> X("load-vn", "Load Value Numbering", false, true);
// Declare that we implement the ValueNumbering interface
RegisterAnalysisGroup<ValueNumbering> Y(X);
Modified: llvm/trunk/lib/Analysis/LoopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopInfo.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopInfo.cpp Wed Mar 19 21:25:21 2008
@@ -29,7 +29,7 @@
char LoopInfo::ID = 0;
static RegisterPass<LoopInfo>
-X("loops", "Natural Loop Construction", true, true);
+X("loops", "Natural Loop Construction", false, true);
//===----------------------------------------------------------------------===//
// Loop implementation
Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Wed Mar 19 21:25:21 2008
@@ -48,7 +48,7 @@
// Register this pass...
static RegisterPass<MemoryDependenceAnalysis> X("memdep",
- "Memory Dependence Analysis", true, true);
+ "Memory Dependence Analysis", false, true);
void MemoryDependenceAnalysis::ping(Instruction *D) {
for (depMapType::iterator I = depGraphLocal.begin(), E = depGraphLocal.end();
Modified: llvm/trunk/lib/Analysis/PostDominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/PostDominators.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/PostDominators.cpp (original)
+++ llvm/trunk/lib/Analysis/PostDominators.cpp Wed Mar 19 21:25:21 2008
@@ -26,7 +26,7 @@
char PostDominatorTree::ID = 0;
char PostDominanceFrontier::ID = 0;
static RegisterPass<PostDominatorTree>
-F("postdomtree", "Post-Dominator Tree Construction", true, true);
+F("postdomtree", "Post-Dominator Tree Construction", false, true);
bool PostDominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
@@ -38,7 +38,7 @@
//===----------------------------------------------------------------------===//
static RegisterPass<PostDominanceFrontier>
-H("postdomfrontier", "Post-Dominance Frontier Construction", true, true);
+H("postdomfrontier", "Post-Dominance Frontier Construction", false, true);
const DominanceFrontier::DomSetType &
PostDominanceFrontier::calculate(const PostDominatorTree &DT,
Modified: llvm/trunk/lib/Analysis/ProfileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfo.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfo.cpp Wed Mar 19 21:25:21 2008
@@ -93,7 +93,7 @@
char NoProfileInfo::ID = 0;
// Register this pass...
RegisterPass<NoProfileInfo>
- X("no-profile", "No Profile Information", true, true);
+ X("no-profile", "No Profile Information", false, true);
// Declare that we implement the ProfileInfo interface
RegisterAnalysisGroup<ProfileInfo, true> Y(X);
Modified: llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp Wed Mar 19 21:25:21 2008
@@ -52,7 +52,7 @@
char LoaderPass::ID = 0;
RegisterPass<LoaderPass>
- X("profile-loader", "Load profile information from llvmprof.out", true, true);
+ X("profile-loader", "Load profile information from llvmprof.out", false, true);
RegisterAnalysisGroup<ProfileInfo> Y(X);
} // End of anonymous namespace
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Wed Mar 19 21:25:21 2008
@@ -103,7 +103,7 @@
namespace {
RegisterPass<ScalarEvolution>
- R("scalar-evolution", "Scalar Evolution Analysis", true, true);
+ R("scalar-evolution", "Scalar Evolution Analysis", false, true);
}
char ScalarEvolution::ID = 0;
Modified: llvm/trunk/lib/Analysis/ValueNumbering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ValueNumbering.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ValueNumbering.cpp (original)
+++ llvm/trunk/lib/Analysis/ValueNumbering.cpp Wed Mar 19 21:25:21 2008
@@ -68,7 +68,7 @@
char BasicVN::ID = 0;
// Register this pass...
RegisterPass<BasicVN>
- X("basicvn", "Basic Value Numbering (default GVN impl)", true, true);
+ X("basicvn", "Basic Value Numbering (default GVN impl)", false, true);
// Declare that we implement the ValueNumbering interface
RegisterAnalysisGroup<ValueNumbering, true> Y(X);
Modified: llvm/trunk/lib/VMCore/Dominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Dominators.cpp?rev=48579&r1=48578&r2=48579&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Dominators.cpp (original)
+++ llvm/trunk/lib/VMCore/Dominators.cpp Wed Mar 19 21:25:21 2008
@@ -54,7 +54,7 @@
char DominatorTree::ID = 0;
static RegisterPass<DominatorTree>
-E("domtree", "Dominator Tree Construction", true, true);
+E("domtree", "Dominator Tree Construction", false, true);
bool DominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
@@ -68,7 +68,7 @@
char DominanceFrontier::ID = 0;
static RegisterPass<DominanceFrontier>
-G("domfrontier", "Dominance Frontier Construction", true, true);
+G("domfrontier", "Dominance Frontier Construction", false, true);
// NewBB is split and now it has one successor. Update dominace frontier to
// reflect this change.
More information about the llvm-commits
mailing list