Lines Matching defs:loop
2149 * code, we want to emit a warning. At each pass through the loop
2181 /* Any errors should have already been emitted in the loop above.
6568 _mesa_glsl_error(& loc, state, "continue may only appear in a loop");
6575 "break may only appear in a loop or a switch");
6577 /* For a loop, inline the for loop expression again, since we don't
6578 * know where near the end of the loop body the normal copy of it is
6580 * loop.
6603 /* Break out from the switch, continue for the loop will
6810 ir_loop * loop = new(ctx) ir_loop();
6811 instructions->push_tail(loop);
6815 test_to_hir(&loop->body_instructions, state);
6819 body->hir(&loop->body_instructions, state);
6821 /* Insert a break at the end to exit loop. */
6823 loop->body_instructions.push_tail(jump);
6825 /* If we are inside loop, check if continue got called inside switch. */
7141 "loop condition must be scalar boolean");
7143 /* As the first code in the loop body, generate a block that looks
7144 * like 'if (!condition) break;' as the loop termination condition.
7178 /* Track the current loop nesting. */
7183 /* Likewise, indicate that following code is closest to a loop,