Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Unrolling

42   cl::desc("The cut-off point for automatic loop unrolling"));
46 cl::desc("Don't allow loop unrolling to simulate more than this number of"
51 cl::desc("If complete unrolling could trigger further optimizations, and, "
182 // Select threshold values used to limit unrolling based on a
190 // Determine the current unrolling threshold. While this is
198 // instructions, and we know that with complete unrolling we'll be able
212 // But don't allow unrolling loops bigger than absolute threshold.
223 // If the loop has an unrolling pragma, we want to be more
224 // aggressive with unrolling limits. Set thresholds to at
290 // unrolling, and thus, won't be able to eliminate the load.
312 // could get from complete loop unrolling. It comes from the fact that some
434 // unrolling, would have a constant address and it will point to a known
548 // Complete loop unrolling can make some loads constant, and we need to know if
596 // Don't allow an estimate of size zero. This would allows unrolling of loops
649 // unrolling pass is run more than once (which it generally is).
654 // First remove any existing loop unrolling metadata.
669 // Add unroll(disable) metadata to disable future unrolling.
779 DEBUG(dbgs() << " Not unrolling loop which contains non-duplicatable"
784 DEBUG(dbgs() << " Not unrolling loop with inlinable calls.\n");
790 DEBUG(dbgs() << " Complete unrolling could save: "
798 // unrolling which is to be performed.
800 int Unrolling;
806 Unrolling = Partial;
808 Unrolling = Full;
811 Unrolling = Partial;
813 Unrolling = Runtime;
816 // Reduce count based on the type of unrolling and the threshold values.
822 if (Unrolling == Partial) {
830 // Reduce unroll count to be modulo of TripCount for partial unrolling.
835 } else if (Unrolling == Runtime) {
849 DEBUG(dbgs() << " partially unrolling with count: " << Count << "\n");
855 // unrolling beyond that requested by the pragma.
883 if (Unrolling != Full && Count < 2) {
884 // Partial unrolling by 1 is a nop. For full unrolling, a factor