mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Declare that these passes only depend on the CFG of the function
llvm-svn: 3157
This commit is contained in:
parent
c197551e58
commit
57c110ce62
@ -11,7 +11,7 @@
|
||||
using std::make_pair;
|
||||
|
||||
static RegisterAnalysis<IntervalPartition>
|
||||
X("intervals", "Interval Partition Construction");
|
||||
X("intervals", "Interval Partition Construction", true);
|
||||
|
||||
AnalysisID IntervalPartition::ID = X;
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
static RegisterAnalysis<LoopInfo>
|
||||
X("loops", "Natural Loop Construction");
|
||||
X("loops", "Natural Loop Construction", true);
|
||||
AnalysisID LoopInfo::ID = X;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -20,9 +20,9 @@ using std::set;
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static RegisterAnalysis<DominatorSet>
|
||||
A("domset", "Dominator Set Construction");
|
||||
A("domset", "Dominator Set Construction", true);
|
||||
static RegisterAnalysis<PostDominatorSet>
|
||||
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<ImmediateDominators>
|
||||
C("idom", "Immediate Dominators Construction");
|
||||
C("idom", "Immediate Dominators Construction", true);
|
||||
static RegisterAnalysis<ImmediatePostDominators>
|
||||
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<DominatorTree>
|
||||
E("domtree", "Dominator Tree Construction");
|
||||
E("domtree", "Dominator Tree Construction", true);
|
||||
static RegisterAnalysis<PostDominatorTree>
|
||||
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<DominanceFrontier>
|
||||
G("domfrontier", "Dominance Frontier Construction");
|
||||
G("domfrontier", "Dominance Frontier Construction", true);
|
||||
static RegisterAnalysis<PostDominanceFrontier>
|
||||
H("postdomfrontier", "Post-Dominance Frontier Construction");
|
||||
H("postdomfrontier", "Post-Dominance Frontier Construction", true);
|
||||
|
||||
AnalysisID DominanceFrontier::ID = G;
|
||||
AnalysisID PostDominanceFrontier::ID = H;
|
||||
|
@ -20,9 +20,9 @@ using std::set;
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static RegisterAnalysis<DominatorSet>
|
||||
A("domset", "Dominator Set Construction");
|
||||
A("domset", "Dominator Set Construction", true);
|
||||
static RegisterAnalysis<PostDominatorSet>
|
||||
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<ImmediateDominators>
|
||||
C("idom", "Immediate Dominators Construction");
|
||||
C("idom", "Immediate Dominators Construction", true);
|
||||
static RegisterAnalysis<ImmediatePostDominators>
|
||||
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<DominatorTree>
|
||||
E("domtree", "Dominator Tree Construction");
|
||||
E("domtree", "Dominator Tree Construction", true);
|
||||
static RegisterAnalysis<PostDominatorTree>
|
||||
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<DominanceFrontier>
|
||||
G("domfrontier", "Dominance Frontier Construction");
|
||||
G("domfrontier", "Dominance Frontier Construction", true);
|
||||
static RegisterAnalysis<PostDominanceFrontier>
|
||||
H("postdomfrontier", "Post-Dominance Frontier Construction");
|
||||
H("postdomfrontier", "Post-Dominance Frontier Construction", true);
|
||||
|
||||
AnalysisID DominanceFrontier::ID = G;
|
||||
AnalysisID PostDominanceFrontier::ID = H;
|
||||
|
Loading…
Reference in New Issue
Block a user