Lines Matching defs:Threshold
32 UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden,
42 "-unroll-threshold loop size is reached."));
62 /// A magic value for use with the Threshold parameter to indicate
67 // Threshold to use when optsize is specified (and there is no
68 // explicit -unroll-threshold).
113 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) {
114 return new LoopUnroll(Threshold, Count, AllowPartial);
148 // Determine the current unrolling threshold. While this is normally set
150 // function is marked as optimize-for-size, and the unroll threshold was
152 unsigned Threshold = CurrentThreshold;
157 Threshold = OptSizeUnrollThreshold;
179 // completely unroll (subject to the threshold, checked below); otherwise
181 // threshold value.
187 // Enforce the threshold.
188 if (Threshold != NoThreshold) {
204 if (TripCount != 1 && Size > Threshold) {
206 << " because size: " << Size << ">" << Threshold << "\n");
214 Count = Threshold / LoopSize;
220 while (Count != 0 && Size > Threshold) {