Lines Matching full:reduction
273 /// Discover induction and reduction PHIs in the header of \p L. Induction
289 /// Set of reduction PHIs taking part of a reduction across the inner and
705 // Check V's users to see if it is involved in a reduction in L.
707 // Reduction variables cannot be constants. in findInnerReductionPhi()
717 // Detect floating point reduction only when it can be reordered. in findInnerReductionPhi()
738 // PHIs in inner loops need to be part of a reduction in the outer loop, in findInductionAndReductions()
749 // Check if we have a PHI node in the outer loop that has a reduction in findInductionAndReductions()
757 << "Failed to recognize PHI as an induction or reduction.\n"); in findInductionAndReductions()
795 dbgs() << "Only outer loops with induction or reduction PHI nodes " in currentLimitations()
801 << "Only outer loops with induction or reduction PHI nodes can be" in currentLimitations()
809 // at all levels can be recognized as a induction or reduction phi. Bail out in currentLimitations()
817 dbgs() << "Only inner loops with induction or reduction PHI nodes " in currentLimitations()
823 << "Only inner loops with induction or reduction PHI nodes can be" in currentLimitations()
856 // users are either reduction PHIs or PHIs outside the outer loop (which means
863 // Reduction lcssa phi will have only 1 incoming block that from loop latch. in areInnerLoopExitPHIsSupported()
1452 // in the exit block of the loop nest or the outer loop header (reduction in moveLCSSAPhis()
1616 // Adjust reduction PHI's now that the incoming block has changed. in adjustLoopBranches()
1654 // Now update the reduction PHIs in the inner and outer loop headers. in adjustLoopBranches()
1664 // Now move the remaining reduction PHIs from outer to inner loop header and in adjustLoopBranches()
1665 // vice versa. The PHI nodes must be part of a reduction across the inner and in adjustLoopBranches()
1668 LLVM_DEBUG(dbgs() << "Outer loop reduction PHIs:\n"; PHI->dump();); in adjustLoopBranches()
1670 assert(OuterInnerReductions.count(PHI) && "Expected a reduction PHI node"); in adjustLoopBranches()
1673 LLVM_DEBUG(dbgs() << "Inner loop reduction PHIs:\n"; PHI->dump();); in adjustLoopBranches()
1675 assert(OuterInnerReductions.count(PHI) && "Expected a reduction PHI node"); in adjustLoopBranches()