Restore isCFGOnly property of various analysis passes.

llvm-svn: 48579
This commit is contained in:
Devang Patel 2008-03-20 02:25:21 +00:00
parent 8ecb189245
commit f15fe34521
20 changed files with 25 additions and 25 deletions

View 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);
}

View 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(); }

View 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);
}

View 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);
}

View 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);

View 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

View 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);

View 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.

View 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);
}

View 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(); }

View 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

View 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);

View 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

View 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();

View 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,

View 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);

View 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

View 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;

View 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);

View 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.