diff options
| author | Devang Patel <dpatel@apple.com> | 2007-06-04 00:32:22 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2007-06-04 00:32:22 +0000 |
| commit | bdd1aaef103d8e97a37baabd5d930e83888e76ff (patch) | |
| tree | fe0953bdd169c820dd205e7964aee7b90da0fb41 /llvm/lib/Transforms/Scalar/LICM.cpp | |
| parent | 0eca9aad10f2f928ec12bbfe8fb85d2e61a5f392 (diff) | |
| download | bcm5719-llvm-bdd1aaef103d8e97a37baabd5d930e83888e76ff.tar.gz bcm5719-llvm-bdd1aaef103d8e97a37baabd5d930e83888e76ff.zip | |
s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/g
llvm-svn: 37407
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LICM.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 81284d4f522..1680e43fe45 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/lib/Transforms/Scalar/LICM.cpp @@ -107,7 +107,7 @@ namespace { /// visit uses before definitions, allowing us to sink a loop body in one /// pass without iteration. /// - void SinkRegion(DominatorTree::DomTreeNode *N); + void SinkRegion(DomTreeNode *N); /// HoistRegion - Walk the specified region of the CFG (defined by all /// blocks dominated by the specified block, and that are in the current @@ -115,7 +115,7 @@ namespace { /// visit definitions before uses, allowing us to hoist a loop body in one /// pass without iteration. /// - void HoistRegion(DominatorTree::DomTreeNode *N); + void HoistRegion(DomTreeNode *N); /// inSubLoop - Little predicate that returns true if the specified basic /// block is in a subloop of the current one, not the current one itself. @@ -140,8 +140,8 @@ namespace { if (BlockInLoop == LoopHeader) return true; - DominatorTree::DomTreeNode *BlockInLoopNode = DT->getNode(BlockInLoop); - DominatorTree::DomTreeNode *IDom = DT->getNode(ExitBlock); + DomTreeNode *BlockInLoopNode = DT->getNode(BlockInLoop); + DomTreeNode *IDom = DT->getNode(ExitBlock); // Because the exit block is not in the loop, we know we have to get _at // least_ its immediate dominator. @@ -281,7 +281,7 @@ bool LICM::runOnLoop(Loop *L, LPPassManager &LPM) { /// uses before definitions, allowing us to sink a loop body in one pass without /// iteration. /// -void LICM::SinkRegion(DominatorTree::DomTreeNode *N) { +void LICM::SinkRegion(DomTreeNode *N) { assert(N != 0 && "Null dominator tree node?"); BasicBlock *BB = N->getBlock(); @@ -289,7 +289,7 @@ void LICM::SinkRegion(DominatorTree::DomTreeNode *N) { if (!CurLoop->contains(BB)) return; // We are processing blocks in reverse dfo, so process children first... - const std::vector<DominatorTree::DomTreeNode*> &Children = N->getChildren(); + const std::vector<DomTreeNode*> &Children = N->getChildren(); for (unsigned i = 0, e = Children.size(); i != e; ++i) SinkRegion(Children[i]); @@ -318,7 +318,7 @@ void LICM::SinkRegion(DominatorTree::DomTreeNode *N) { /// first order w.r.t the DominatorTree. This allows us to visit definitions /// before uses, allowing us to hoist a loop body in one pass without iteration. /// -void LICM::HoistRegion(DominatorTree::DomTreeNode *N) { +void LICM::HoistRegion(DomTreeNode *N) { assert(N != 0 && "Null dominator tree node?"); BasicBlock *BB = N->getBlock(); @@ -340,7 +340,7 @@ void LICM::HoistRegion(DominatorTree::DomTreeNode *N) { hoist(I); } - const std::vector<DominatorTree::DomTreeNode*> &Children = N->getChildren(); + const std::vector<DomTreeNode*> &Children = N->getChildren(); for (unsigned i = 0, e = Children.size(); i != e; ++i) HoistRegion(Children[i]); } |

