Lines Matching refs:Exit
86 // loop exit.
208 /// Fold the loop tail into the loop exit by speculating the loop tail
263 /// loop exit. In this case we may want to rotate even though the new latch is
293 // Rotate if either the loop latch does *not* exit the loop, or if the loop
330 BasicBlock *Exit = BI->getSuccessor(0);
332 if (L->contains(Exit))
333 std::swap(Exit, NewHeader);
335 assert(L->contains(NewHeader) && !L->contains(Exit) &&
336 "Unable to determine loop header and exit blocks");
448 assert(DT->getNode(Exit)->getIDom() == OrigPreheaderNode);
461 // Preserve canonical loop form, which means that 'Exit' should have only
463 BasicBlock *ExitSplit = SplitCriticalEdge(L->getLoopLatch(), Exit, this);
464 ExitSplit->moveBefore(Exit);
467 // simpler. The first step is to remove the extra edge to the Exit block.
468 Exit->removePredecessor(OrigPreheader, true /*preserve LCSSA*/);