Lines Matching refs:Loop
59 // No loop canonicalization guarantees are broken by this pass.
79 /// createPHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
81 /// new PHIs, as needed. Preds is a list of preds inside the loop, SplitBB
82 /// is the new loop exit block, and DestBB is the old loop exit, now the
208 // loop header) then NewBB dominates DestBB.
211 // If there is a PHI in the block, loop over predecessors with it, which is
261 if (Loop *TIL = LI->getLoopFor(TIBB)) {
262 // If one or the other blocks were not in a loop, the new block is not
264 if (Loop *DestLoop = LI->getLoopFor(DestBB)) {
266 // Both in the same loop, the NewBB joins loop.
269 // Edge from an outer loop to an inner loop. Add to the outer loop.
272 // Edge from an inner loop to an outer loop. Add to the outer loop.
277 // header of its loop (adding a branch into a loop elsewhere would
278 // create an irreducible loop).
281 if (Loop *P = DestLoop->getParentLoop())
286 // If TIBB is in a loop and DestBB is outside of that loop, we may need
290 "Split point for loop exit is contained in loop!");
301 // is the new exit block and it has no non-loop predecessors. If the
303 // the split as it had a non-loop predecessor. In both of these cases,