Lines Matching defs:loop
4186 ntq_emit_nonuniform_loop(struct v3d_compile *c, nir_loop *loop)
4201 ntq_emit_cf_list(c, &loop->body);
4233 ntq_emit_uniform_loop(struct v3d_compile *c, nir_loop *loop)
4241 ntq_emit_cf_list(c, &loop->body);
4252 ntq_emit_loop(struct v3d_compile *c, nir_loop *loop)
4254 /* Disable flags optimization for loop conditions. The problem here is
4259 * loop {
4264 * will skip regenerating them again for the loop condition in the
4265 * loop continue block (block_1). However, this is not safe after the
4266 * first iteration because the loop body can stomp the flags if it has
4277 if (vir_in_nonuniform_control_flow(c) || loop->divergent) {
4278 ntq_emit_nonuniform_loop(c, loop);
4280 ntq_emit_uniform_loop(c, loop);