1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Declare that these passes only depend on the CFG of the function

llvm-svn: 3157
This commit is contained in:
Chris Lattner 2002-07-30 16:27:52 +00:00
parent c197551e58
commit 57c110ce62
4 changed files with 18 additions and 18 deletions

View File

@ -11,7 +11,7 @@
using std::make_pair; using std::make_pair;
static RegisterAnalysis<IntervalPartition> static RegisterAnalysis<IntervalPartition>
X("intervals", "Interval Partition Construction"); X("intervals", "Interval Partition Construction", true);
AnalysisID IntervalPartition::ID = X; AnalysisID IntervalPartition::ID = X;

View File

@ -15,7 +15,7 @@
#include <algorithm> #include <algorithm>
static RegisterAnalysis<LoopInfo> static RegisterAnalysis<LoopInfo>
X("loops", "Natural Loop Construction"); X("loops", "Natural Loop Construction", true);
AnalysisID LoopInfo::ID = X; AnalysisID LoopInfo::ID = X;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -20,9 +20,9 @@ using std::set;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominatorSet> static RegisterAnalysis<DominatorSet>
A("domset", "Dominator Set Construction"); A("domset", "Dominator Set Construction", true);
static RegisterAnalysis<PostDominatorSet> static RegisterAnalysis<PostDominatorSet>
B("postdomset", "Post-Dominator Set Construction"); B("postdomset", "Post-Dominator Set Construction", true);
AnalysisID DominatorSet::ID = A; AnalysisID DominatorSet::ID = A;
AnalysisID PostDominatorSet::ID = B; AnalysisID PostDominatorSet::ID = B;
@ -173,9 +173,9 @@ void DominatorSetBase::print(std::ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<ImmediateDominators> static RegisterAnalysis<ImmediateDominators>
C("idom", "Immediate Dominators Construction"); C("idom", "Immediate Dominators Construction", true);
static RegisterAnalysis<ImmediatePostDominators> static RegisterAnalysis<ImmediatePostDominators>
D("postidom", "Immediate Post-Dominators Construction"); D("postidom", "Immediate Post-Dominators Construction", true);
AnalysisID ImmediateDominators::ID = C; AnalysisID ImmediateDominators::ID = C;
AnalysisID ImmediatePostDominators::ID = D; AnalysisID ImmediatePostDominators::ID = D;
@ -229,9 +229,9 @@ void ImmediateDominatorsBase::print(ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominatorTree> static RegisterAnalysis<DominatorTree>
E("domtree", "Dominator Tree Construction"); E("domtree", "Dominator Tree Construction", true);
static RegisterAnalysis<PostDominatorTree> static RegisterAnalysis<PostDominatorTree>
F("postdomtree", "Post-Dominator Tree Construction"); F("postdomtree", "Post-Dominator Tree Construction", true);
AnalysisID DominatorTree::ID = E; AnalysisID DominatorTree::ID = E;
AnalysisID PostDominatorTree::ID = F; AnalysisID PostDominatorTree::ID = F;
@ -365,9 +365,9 @@ void DominatorTreeBase::print(std::ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominanceFrontier> static RegisterAnalysis<DominanceFrontier>
G("domfrontier", "Dominance Frontier Construction"); G("domfrontier", "Dominance Frontier Construction", true);
static RegisterAnalysis<PostDominanceFrontier> static RegisterAnalysis<PostDominanceFrontier>
H("postdomfrontier", "Post-Dominance Frontier Construction"); H("postdomfrontier", "Post-Dominance Frontier Construction", true);
AnalysisID DominanceFrontier::ID = G; AnalysisID DominanceFrontier::ID = G;
AnalysisID PostDominanceFrontier::ID = H; AnalysisID PostDominanceFrontier::ID = H;

View File

@ -20,9 +20,9 @@ using std::set;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominatorSet> static RegisterAnalysis<DominatorSet>
A("domset", "Dominator Set Construction"); A("domset", "Dominator Set Construction", true);
static RegisterAnalysis<PostDominatorSet> static RegisterAnalysis<PostDominatorSet>
B("postdomset", "Post-Dominator Set Construction"); B("postdomset", "Post-Dominator Set Construction", true);
AnalysisID DominatorSet::ID = A; AnalysisID DominatorSet::ID = A;
AnalysisID PostDominatorSet::ID = B; AnalysisID PostDominatorSet::ID = B;
@ -173,9 +173,9 @@ void DominatorSetBase::print(std::ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<ImmediateDominators> static RegisterAnalysis<ImmediateDominators>
C("idom", "Immediate Dominators Construction"); C("idom", "Immediate Dominators Construction", true);
static RegisterAnalysis<ImmediatePostDominators> static RegisterAnalysis<ImmediatePostDominators>
D("postidom", "Immediate Post-Dominators Construction"); D("postidom", "Immediate Post-Dominators Construction", true);
AnalysisID ImmediateDominators::ID = C; AnalysisID ImmediateDominators::ID = C;
AnalysisID ImmediatePostDominators::ID = D; AnalysisID ImmediatePostDominators::ID = D;
@ -229,9 +229,9 @@ void ImmediateDominatorsBase::print(ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominatorTree> static RegisterAnalysis<DominatorTree>
E("domtree", "Dominator Tree Construction"); E("domtree", "Dominator Tree Construction", true);
static RegisterAnalysis<PostDominatorTree> static RegisterAnalysis<PostDominatorTree>
F("postdomtree", "Post-Dominator Tree Construction"); F("postdomtree", "Post-Dominator Tree Construction", true);
AnalysisID DominatorTree::ID = E; AnalysisID DominatorTree::ID = E;
AnalysisID PostDominatorTree::ID = F; AnalysisID PostDominatorTree::ID = F;
@ -365,9 +365,9 @@ void DominatorTreeBase::print(std::ostream &o) const {
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static RegisterAnalysis<DominanceFrontier> static RegisterAnalysis<DominanceFrontier>
G("domfrontier", "Dominance Frontier Construction"); G("domfrontier", "Dominance Frontier Construction", true);
static RegisterAnalysis<PostDominanceFrontier> static RegisterAnalysis<PostDominanceFrontier>
H("postdomfrontier", "Post-Dominance Frontier Construction"); H("postdomfrontier", "Post-Dominance Frontier Construction", true);
AnalysisID DominanceFrontier::ID = G; AnalysisID DominanceFrontier::ID = G;
AnalysisID PostDominanceFrontier::ID = H; AnalysisID PostDominanceFrontier::ID = H;