Lines Matching refs:OuterLoopHeader
548 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local
558 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()
570 if (containsUnsafeInstructions(OuterLoopHeader) || in tightlyNested()
577 if (InnerLoopPreHeader != OuterLoopHeader && in tightlyNested()
1371 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in transform() local
1372 if (InnerLoopPreHeader != OuterLoopHeader) { in transform()
1377 I.moveBeforePreserving(OuterLoopHeader->getTerminator()); in transform()
1564 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local
1578 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in adjustLoopBranches()
1618 OuterLoopHeader); in adjustLoopBranches()
1632 if (OuterLoopLatchBI->getSuccessor(0) == OuterLoopHeader) in adjustLoopBranches()
1647 OuterLoopHeader, OuterLoopLatch, InnerLoop->getExitBlock(), in adjustLoopBranches()
1660 for (PHINode &PHI : OuterLoopHeader->phis()) in adjustLoopBranches()
1674 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
1679 OuterLoopHeader->replacePhiUsesWith(InnerLoopPreHeader, OuterLoopPreHeader); in adjustLoopBranches()
1680 OuterLoopHeader->replacePhiUsesWith(InnerLoopLatch, OuterLoopLatch); in adjustLoopBranches()
1690 make_range(OuterLoopHeader->begin(), std::prev(OuterLoopHeader->end()))) in adjustLoopBranches()