Lines Matching refs:iterations
43 void simple_unroll(ir_loop *ir, int iterations);
44 void complex_unroll(ir_loop *ir, int iterations,
129 if (int(array->type->length) == ls->limiting_terminator->iterations) in visit_enter()
178 loop_unroll_visitor::simple_unroll(ir_loop *ir, int iterations) in simple_unroll() argument
186 assert(!ls->terminators.is_empty() || iterations == 1); in simple_unroll()
231 iterations++; in simple_unroll()
233 for (int i = 0; i < iterations; i++) { in simple_unroll()
282 loop_unroll_visitor::complex_unroll(ir_loop *ir, int iterations, in complex_unroll() argument
297 iterations++; in complex_unroll()
299 for (int i = 0; i < iterations; i++) { in complex_unroll()
406 if (t->iterations < 0) in visit_leave()
466 int iterations = ls->limiting_terminator->iterations; in visit_leave() local
472 if (iterations > max_iterations) in visit_leave()
480 count.nested_loop || count.nodes * iterations > max_iterations * 5; in visit_leave()
496 simple_unroll(ir, iterations); in visit_leave()
543 complex_unroll(ir, iterations, false, in visit_leave()
561 complex_unroll(ir, iterations, true, in visit_leave()