From 57c110ce628a04db92e5c70dc064839e8b548c2e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Jul 2002 16:27:52 +0000 Subject: [PATCH] Declare that these passes only depend on the CFG of the function llvm-svn: 3157 --- lib/Analysis/IntervalPartition.cpp | 2 +- lib/Analysis/LoopInfo.cpp | 2 +- lib/Analysis/PostDominators.cpp | 16 ++++++++-------- lib/VMCore/Dominators.cpp | 16 ++++++++-------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/Analysis/IntervalPartition.cpp b/lib/Analysis/IntervalPartition.cpp index 2e8668ae5d4..97e8b715721 100644 --- a/lib/Analysis/IntervalPartition.cpp +++ b/lib/Analysis/IntervalPartition.cpp @@ -11,7 +11,7 @@ using std::make_pair; static RegisterAnalysis -X("intervals", "Interval Partition Construction"); +X("intervals", "Interval Partition Construction", true); AnalysisID IntervalPartition::ID = X; diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 8b3a4348228..619e434e574 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -15,7 +15,7 @@ #include static RegisterAnalysis -X("loops", "Natural Loop Construction"); +X("loops", "Natural Loop Construction", true); AnalysisID LoopInfo::ID = X; //===----------------------------------------------------------------------===// diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index 3321e7ee4ed..8dd731a5de1 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -20,9 +20,9 @@ using std::set; //===----------------------------------------------------------------------===// static RegisterAnalysis -A("domset", "Dominator Set Construction"); +A("domset", "Dominator Set Construction", true); static RegisterAnalysis -B("postdomset", "Post-Dominator Set Construction"); +B("postdomset", "Post-Dominator Set Construction", true); AnalysisID DominatorSet::ID = A; AnalysisID PostDominatorSet::ID = B; @@ -173,9 +173,9 @@ void DominatorSetBase::print(std::ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -C("idom", "Immediate Dominators Construction"); +C("idom", "Immediate Dominators Construction", true); static RegisterAnalysis -D("postidom", "Immediate Post-Dominators Construction"); +D("postidom", "Immediate Post-Dominators Construction", true); AnalysisID ImmediateDominators::ID = C; AnalysisID ImmediatePostDominators::ID = D; @@ -229,9 +229,9 @@ void ImmediateDominatorsBase::print(ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -E("domtree", "Dominator Tree Construction"); +E("domtree", "Dominator Tree Construction", true); static RegisterAnalysis -F("postdomtree", "Post-Dominator Tree Construction"); +F("postdomtree", "Post-Dominator Tree Construction", true); AnalysisID DominatorTree::ID = E; AnalysisID PostDominatorTree::ID = F; @@ -365,9 +365,9 @@ void DominatorTreeBase::print(std::ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -G("domfrontier", "Dominance Frontier Construction"); +G("domfrontier", "Dominance Frontier Construction", true); static RegisterAnalysis -H("postdomfrontier", "Post-Dominance Frontier Construction"); +H("postdomfrontier", "Post-Dominance Frontier Construction", true); AnalysisID DominanceFrontier::ID = G; AnalysisID PostDominanceFrontier::ID = H; diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index 3321e7ee4ed..8dd731a5de1 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -20,9 +20,9 @@ using std::set; //===----------------------------------------------------------------------===// static RegisterAnalysis -A("domset", "Dominator Set Construction"); +A("domset", "Dominator Set Construction", true); static RegisterAnalysis -B("postdomset", "Post-Dominator Set Construction"); +B("postdomset", "Post-Dominator Set Construction", true); AnalysisID DominatorSet::ID = A; AnalysisID PostDominatorSet::ID = B; @@ -173,9 +173,9 @@ void DominatorSetBase::print(std::ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -C("idom", "Immediate Dominators Construction"); +C("idom", "Immediate Dominators Construction", true); static RegisterAnalysis -D("postidom", "Immediate Post-Dominators Construction"); +D("postidom", "Immediate Post-Dominators Construction", true); AnalysisID ImmediateDominators::ID = C; AnalysisID ImmediatePostDominators::ID = D; @@ -229,9 +229,9 @@ void ImmediateDominatorsBase::print(ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -E("domtree", "Dominator Tree Construction"); +E("domtree", "Dominator Tree Construction", true); static RegisterAnalysis -F("postdomtree", "Post-Dominator Tree Construction"); +F("postdomtree", "Post-Dominator Tree Construction", true); AnalysisID DominatorTree::ID = E; AnalysisID PostDominatorTree::ID = F; @@ -365,9 +365,9 @@ void DominatorTreeBase::print(std::ostream &o) const { //===----------------------------------------------------------------------===// static RegisterAnalysis -G("domfrontier", "Dominance Frontier Construction"); +G("domfrontier", "Dominance Frontier Construction", true); static RegisterAnalysis -H("postdomfrontier", "Post-Dominance Frontier Construction"); +H("postdomfrontier", "Post-Dominance Frontier Construction", true); AnalysisID DominanceFrontier::ID = G; AnalysisID PostDominanceFrontier::ID = H;