diff options
author | Devang Patel <dpatel@apple.com> | 2008-03-20 02:25:21 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-03-20 02:25:21 +0000 |
commit | bdfd186ae1ca5acbf42e99b15a59c4fc01ecc6c4 (patch) | |
tree | 7cdfae80ae3a817ab7cc0304e1f7a4ae3774f26a /lib/Analysis | |
parent | ca0e80fc6b927e48363387a8f721883141f8b2b3 (diff) | |
download | external_llvm-bdfd186ae1ca5acbf42e99b15a59c4fc01ecc6c4.zip external_llvm-bdfd186ae1ca5acbf42e99b15a59c4fc01ecc6c4.tar.gz external_llvm-bdfd186ae1ca5acbf42e99b15a59c4fc01ecc6c4.tar.bz2 |
Restore isCFGOnly property of various analysis passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/AliasAnalysisCounter.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/AliasAnalysisEvaluator.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/AliasDebugger.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/AliasSetTracker.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/CFGPrinter.cpp | 8 | ||||
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/IPA/FindUsedTypes.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/IPA/GlobalsModRef.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/InstCount.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/IntervalPartition.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/LoadValueNumbering.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/MemoryDependenceAnalysis.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/PostDominators.cpp | 4 | ||||
-rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/ValueNumbering.cpp | 2 |
19 files changed, 23 insertions, 23 deletions
diff --git a/lib/Analysis/AliasAnalysisCounter.cpp b/lib/Analysis/AliasAnalysisCounter.cpp index 3f8f1fc..99b1766 100644 --- a/lib/Analysis/AliasAnalysisCounter.cpp +++ b/lib/Analysis/AliasAnalysisCounter.cpp @@ -116,7 +116,7 @@ namespace { 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); } diff --git a/lib/Analysis/AliasAnalysisEvaluator.cpp b/lib/Analysis/AliasAnalysisEvaluator.cpp index 868de34..c986554 100644 --- a/lib/Analysis/AliasAnalysisEvaluator.cpp +++ b/lib/Analysis/AliasAnalysisEvaluator.cpp @@ -76,7 +76,7 @@ namespace { 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(); } diff --git a/lib/Analysis/AliasDebugger.cpp b/lib/Analysis/AliasDebugger.cpp index 7f4e418..491c4b0 100644 --- a/lib/Analysis/AliasDebugger.cpp +++ b/lib/Analysis/AliasDebugger.cpp @@ -123,7 +123,7 @@ namespace { }; 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); } diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index 5a3e126..c35dc32 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/lib/Analysis/AliasSetTracker.cpp @@ -569,5 +569,5 @@ namespace { } }; 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); } diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index eab3ec3..b696a80 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -128,7 +128,7 @@ namespace { // 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); diff --git a/lib/Analysis/CFGPrinter.cpp b/lib/Analysis/CFGPrinter.cpp index b325377..f293555 100644 --- a/lib/Analysis/CFGPrinter.cpp +++ b/lib/Analysis/CFGPrinter.cpp @@ -108,7 +108,7 @@ namespace { 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 @@ namespace { 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 @@ namespace { 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 @@ namespace { 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 diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index b34b50e..5c93206 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -602,7 +602,7 @@ namespace { 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); diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp index 4d44e53..cd61842 100644 --- a/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/lib/Analysis/IPA/FindUsedTypes.cpp @@ -23,7 +23,7 @@ using namespace llvm; 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. diff --git a/lib/Analysis/IPA/GlobalsModRef.cpp b/lib/Analysis/IPA/GlobalsModRef.cpp index 17fce9d..6ce3209 100644 --- a/lib/Analysis/IPA/GlobalsModRef.cpp +++ b/lib/Analysis/IPA/GlobalsModRef.cpp @@ -149,7 +149,7 @@ namespace { 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); } diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp index 2e0e8c6..c4f36d3 100644 --- a/lib/Analysis/InstCount.cpp +++ b/lib/Analysis/InstCount.cpp @@ -65,7 +65,7 @@ namespace { 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(); } diff --git a/lib/Analysis/IntervalPartition.cpp b/lib/Analysis/IntervalPartition.cpp index a430cff..68c5464 100644 --- a/lib/Analysis/IntervalPartition.cpp +++ b/lib/Analysis/IntervalPartition.cpp @@ -17,7 +17,7 @@ using namespace llvm; char IntervalPartition::ID = 0; static RegisterPass<IntervalPartition> -X("intervals", "Interval Partition Construction", true, true); +X("intervals", "Interval Partition Construction", false, true); //===----------------------------------------------------------------------===// // IntervalPartition Implementation diff --git a/lib/Analysis/LoadValueNumbering.cpp b/lib/Analysis/LoadValueNumbering.cpp index f9bf7ba..bbb1e1e 100644 --- a/lib/Analysis/LoadValueNumbering.cpp +++ b/lib/Analysis/LoadValueNumbering.cpp @@ -85,7 +85,7 @@ namespace { 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); diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index e067c17..1b04f06 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -29,7 +29,7 @@ using namespace llvm; char LoopInfo::ID = 0; static RegisterPass<LoopInfo> -X("loops", "Natural Loop Construction", true, true); +X("loops", "Natural Loop Construction", false, true); //===----------------------------------------------------------------------===// // Loop implementation diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index 80f7fe8..40cfc1c 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -48,7 +48,7 @@ Instruction* const MemoryDependenceAnalysis::Dirty = (Instruction*)-5; // 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(); diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index 8bfa069..ad8e0b1 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -26,7 +26,7 @@ using namespace llvm; 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 @@ bool PostDominatorTree::runOnFunction(Function &F) { //===----------------------------------------------------------------------===// 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, diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index e5b557e..2ee398d 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -93,7 +93,7 @@ namespace { 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); diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index 9efb312..07d9682 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -52,7 +52,7 @@ namespace { 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 diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 6c51abd..1b4c277e 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -103,7 +103,7 @@ MaxBruteForceIterations("scalar-evolution-max-iterations", cl::ReallyHidden, namespace { RegisterPass<ScalarEvolution> - R("scalar-evolution", "Scalar Evolution Analysis", true, true); + R("scalar-evolution", "Scalar Evolution Analysis", false, true); } char ScalarEvolution::ID = 0; diff --git a/lib/Analysis/ValueNumbering.cpp b/lib/Analysis/ValueNumbering.cpp index b996415..6c3ffdf 100644 --- a/lib/Analysis/ValueNumbering.cpp +++ b/lib/Analysis/ValueNumbering.cpp @@ -68,7 +68,7 @@ namespace { 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); |