Lines Matching defs:iterations
43 void simple_unroll(ir_loop *ir, int iterations);
44 void complex_unroll(ir_loop *ir, int iterations,
125 * array size is exactly the number of loop iterations, this is
129 if (int(array->type->length) == ls->limiting_terminator->iterations)
178 loop_unroll_visitor::simple_unroll(ir_loop *ir, int iterations)
186 assert(!ls->terminators.is_empty() || iterations == 1);
223 /* Because 'iterations' is the number of times we pass over the *entire*
225 * iterations if the limiting terminator is not the first instruction in
231 iterations++;
233 for (int i = 0; i < iterations; i++) {
282 loop_unroll_visitor::complex_unroll(ir_loop *ir, int iterations,
290 /* Because 'iterations' is the number of times we pass over the *entire*
292 * iterations if the limiting terminator is not the first instruction in
297 iterations++;
299 for (int i = 0; i < iterations; i++) {
406 if (t->iterations < 0)
460 /* Don't try to unroll loops where the number of iterations is not known
466 int iterations = ls->limiting_terminator->iterations;
470 /* Don't try to unroll loops that have zillions of iterations either.
472 if (iterations > max_iterations)
480 count.nested_loop || count.nodes * iterations > max_iterations * 5;
496 simple_unroll(ir, iterations);
543 complex_unroll(ir, iterations, false,
561 complex_unroll(ir, iterations, true,