mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Declare that these passes only depend on the CFG of the function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b5fe1962b
commit
17689dfe24
@ -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