Restore isCFGOnly property of various analysis passes.
authorDevang Patel <dpatel@apple.com>
Thu, 20 Mar 2008 02:25:21 +0000 (02:25 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 20 Mar 2008 02:25:21 +0000 (02:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48579 91177308-0d34-0410-b5e6-96231b3b80d8

20 files changed:
lib/Analysis/AliasAnalysisCounter.cpp
lib/Analysis/AliasAnalysisEvaluator.cpp
lib/Analysis/AliasDebugger.cpp
lib/Analysis/AliasSetTracker.cpp
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/CFGPrinter.cpp
lib/Analysis/IPA/Andersens.cpp
lib/Analysis/IPA/FindUsedTypes.cpp
lib/Analysis/IPA/GlobalsModRef.cpp
lib/Analysis/InstCount.cpp
lib/Analysis/IntervalPartition.cpp
lib/Analysis/LoadValueNumbering.cpp
lib/Analysis/LoopInfo.cpp
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Analysis/PostDominators.cpp
lib/Analysis/ProfileInfo.cpp
lib/Analysis/ProfileInfoLoaderPass.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/ValueNumbering.cpp
lib/VMCore/Dominators.cpp

index 3f8f1fc56ba50dac9f9bab729e6f46ca3096ce0e..99b17661b25f0a0f304c8e6903308bba4e222981 100644 (file)
@@ -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);
 }
 
index 868de34c1f635db525f1f4ab28900580c0e4e017..c9865548ce1f2e19a01b623aae07440d0fbc098b 100644 (file)
@@ -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(); }
index 7f4e418c27d3b1d8b1e49b285d18e2e9f07c6b91..491c4b091ea6aaa4b62b6041ba9c1cd2879023b3 100644 (file)
@@ -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);
 }
 
index 5a3e126cf8d2ab808f08338cc2506707cfd56aa9..c35dc324b14aca033d2919939231ff58e70e4c0d 100644 (file)
@@ -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);
 }
index eab3ec332ee828624fe6d2fcdca14ff4feb9bdcd..b696a800cf62423ff109404c3b8f0c44f86246cc 100644 (file)
@@ -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);
index b3253777fc3c21f434e5c92699fbf0597129b65f..f293555a693589e4aa68d1cb7c8946fd65f498e6 100644 (file)
@@ -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
index b34b50ed6453d3059fad221028455add03f79170..5c93206ea4189bd40a80863d290f5968fcac74fa 100644 (file)
@@ -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);
 
index 4d44e5384d110a61c5f88818ec6dfd34a03a9529..cd61842f7c296a8a0c60803f7d75777bf44fd4a8 100644 (file)
@@ -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.
index 17fce9d62adcb41689f6c5cc7972fa835e355768..6ce320964e9d2590ddab547dc6d5a827b8776225 100644 (file)
@@ -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);
 }
index 2e0e8c6fcc97cdc070064088b147c2d030c3e06f..c4f36d3874cdb3c0da41e38fd3805c4fc6147e48 100644 (file)
@@ -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(); }
index a430cffc3580a22799b7255e5ad06d4920c06dee..68c5464085f46eb0adfab632013fdfbaa303d78a 100644 (file)
@@ -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
index f9bf7ba57f797e36cf0d0182120b9a26b9f71512..bbb1e1e1b0dbdfadb7e94a1275e3e8aaa5d0610e 100644 (file)
@@ -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);
index e067c1768fe1714ef962daf435eb2d2bada671f0..1b04f0674a161b6e0959e5b24bf7a50164e6c1d1 100644 (file)
@@ -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
index 80f7fe831c9b8357db192d924d44c41b3a98208f..40cfc1cc099a538e4842d86c26068fa807d3d177 100644 (file)
@@ -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();
index 8bfa0692b9adc67850518d6d22b7e9d99300ba87..ad8e0b17d47195302684c110d5275afe8aa94e1f 100644 (file)
@@ -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,
index e5b557ec8871a8d52ced3074789a78c398621862..2ee398d1aa412662368a0c06f34358ea47429d1e 100644 (file)
@@ -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);
index 9efb312d78fea27e90e4c5457220bca7dad706b8..07d96821aba715c6517f74777b0ec896a0541c47 100644 (file)
@@ -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
index 6c51abd1471e035ac1c061fccfe35e647d5f2df0..1b4c277e1a75b38d4b0297182af622a3b47f42b9 100644 (file)
@@ -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;
 
index b9964153801bf0e850ae2b86acbc299cd930112b..6c3ffdf224c5c7af4e2d0bb33c658d2ef4af6212 100644 (file)
@@ -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);
index 28f772f93f64f2b16909b3b17352eb3113ed3a4f..1e88b486070905f5e218be400df29bb407f13c5e 100644 (file)
@@ -54,7 +54,7 @@ TEMPLATE_INSTANTIATION(class DominatorTreeBase<BasicBlock>);
 
 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 @@ bool DominatorTree::runOnFunction(Function &F) {
 
 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.