mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
PassInfo keep tracks whether a pass is an analysis pass or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||
F("postdomtree", "Post-Dominator Tree Construction", true, 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);
|
||||
H("postdomfrontier", "Post-Dominance Frontier Construction", true, true);
|
||||
|
||||
const DominanceFrontier::DomSetType &
|
||||
PostDominanceFrontier::calculate(const PostDominatorTree &DT,
|
||||
|
Reference in New Issue
Block a user