Lines Matching full:outer
175 LLVM_DEBUG(dbgs() << "Found use of outer induction variable: "; U->dump()); in checkOuterInductionPhiUsers()
469 // All PHIs in the inner and outer headers must either be: in checkPHIs()
472 // - An outer header PHI with all incoming values from outside the loop. in checkPHIs()
475 // - Pairs of PHIs in the inner and outer headers, which implement a in checkPHIs()
479 // The set of PHI nodes in the outer loop header that we know will still be in checkPHIs()
504 // The incoming value from the outer loop must be the PHI node in the in checkPHIs()
505 // outer loop header, with no modifications made in the top of the outer in checkPHIs()
509 LLVM_DEBUG(dbgs() << "value modified in top of outer loop\n"); in checkPHIs()
514 // modifications in the tail end of the outer loop. We are in LCSSA form, in checkPHIs()
534 LLVM_DEBUG(dbgs() << " Outer: "; OuterPHI->dump()); in checkPHIs()
543 LLVM_DEBUG(dbgs() << "found unsafe PHI in outer loop: "; OuterPHI.dump()); in checkPHIs()
556 // Check for instructions in the outer but not inner loop. If any of these in checkOuterLoopInsts()
574 // The execution count of the outer loop's iteration instructions in checkOuterLoopInsts()
586 // Multiplies of the outer iteration variable and inner iteration in checkOuterLoopInsts()
600 // Bail out if flattening the loops would cause instructions in the outer in checkOuterLoopInsts()
622 // expected pattern, recording the uses of the outer IV. in checkIVUsers()
627 // Check that there are no uses of the outer IV other than the ones found in checkIVUsers()
714 // Both of the loop trip count values must be invariant in the outer loop in CanFlattenLoopPair()
721 LLVM_DEBUG(dbgs() << "outer loop trip count not invariant\n"); in CanFlattenLoopPair()
737 // or outer induction variable. If there were, we could still do this in CanFlattenLoopPair()
758 Remark << "Flattened into outer loop"; in DoFlattenLoopPair()
779 // Modify the trip count of the outer loop to be the product of the two in DoFlattenLoopPair()
809 // When the base of the GEP doesn't dominate the outer induction phi then in DoFlattenLoopPair()
825 // deleted, and invalidate any outer loop information. in DoFlattenLoopPair()
910 dbgs() << "Loop flattening running on outer loop " in FlattenLoopPair()