Lines Matching full:threshold
83 UnrollThreshold("unroll-threshold", cl::Hidden,
84 cl::desc("The cost threshold for loop unrolling"));
88 "unroll-optsize-threshold", cl::init(0), cl::Hidden,
89 cl::desc("The cost threshold for loop unrolling when optimizing for "
93 "unroll-partial-threshold", cl::Hidden,
94 cl::desc("The cost threshold for partial loop unrolling"));
97 "unroll-max-percent-threshold-boost", cl::init(400), cl::Hidden,
99 "to the threshold when aggressively unrolling a loop due to the "
102 "threshold to DefaultThreshold*std::min(MaxPercentThresholdBoost, "
128 "-unroll-threshold loop size is reached."));
145 "pragma-unroll-threshold", cl::init(16 * 1024), cl::Hidden,
150 "flat-loop-tripcount-threshold", cl::init(5), cl::Hidden,
152 "threshold, the loop is considered as flat and will be less "
169 "unroll-threshold-aggressive", cl::init(300), cl::Hidden,
170 cl::desc("Threshold (max size of unrolled loop) to use in aggressive (O3) "
173 UnrollThresholdDefault("unroll-threshold-default", cl::init(150),
175 cl::desc("Default threshold (max size of unrolled "
182 /// A magic value for use with the Threshold parameter to indicate
200 UP.Threshold =
233 UP.Threshold = UP.OptSizeThreshold;
240 UP.Threshold = UnrollThreshold;
266 UP.Threshold = *UserThreshold;
589 LLVM_DEBUG(dbgs() << " Exceeded threshold.. exiting.\n"
782 // the unroll threshold.
806 UCE.getUnrolledLoopSize(UP, (unsigned)UnrollCount) < UP.Threshold)
848 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold)
856 UP.Threshold * UP.MaxPercentThresholdBoost / 100,
860 if (Cost->UnrolledCost < UP.Threshold * Boost / 100)
893 // largest power-of-two factor that satisfies the threshold limit.
972 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold);
1015 computePeelCount(L, LoopSize, PP, TripCount, DT, SE, AC, UP.Threshold);
1104 // the original count which satisfies the threshold limit.
1222 // as threshold later on.
1223 if (UP.Threshold == 0 && (!UP.Partial || UP.PartialThreshold == 0) &&
1239 // When optimizing for size, use LoopSize + 1 as threshold (we use < Threshold
1242 UP.Threshold = std::max(UP.Threshold, LoopSize + 1);
1416 std::optional<unsigned> Threshold = std::nullopt,
1426 ProvidedThreshold(Threshold), ProvidedAllowPartial(AllowPartial),
1487 bool ForgetAllSCEV, int Threshold, int Count,
1495 Threshold == -1 ? std::nullopt : std::optional<unsigned>(Threshold),
1527 /*Threshold*/ std::nullopt, /*AllowPartial*/ false,
1655 /*Threshold*/ std::nullopt, UnrollOpts.AllowPartial,