Home | History | Annotate | Download | only in glsl

Lines Matching defs:ir_if

46    void splice_post_if_instructions(ir_if *ir_if, exec_list *splice_dest);
206 * Unroll a loop whose last statement is an ir_if. If \c
248 ir_if *ir_if = ((ir_instruction *) copy_list.get_tail())->as_if();
249 assert(ir_if != NULL);
259 ? &ir_if->then_instructions : &ir_if->else_instructions;
271 * Move all of the instructions which follow \c ir_if to the end of
282 * If \c ir_if points to the "if" instruction, and \c splice_dest points to
292 loop_unroll_visitor::splice_post_if_instructions(ir_if *ir_if,
295 while (!ir_if->get_next()->is_tail_sentinel()) {
296 ir_instruction *move_ir = (ir_instruction *) ir_if->get_next();
404 ir_if *ir_if = cur_ir->as_if();
405 if (ir_if != NULL) {
415 (ir_instruction *) ir_if->then_instructions.get_tail();
419 splice_post_if_instructions(ir_if, &ir_if->else_instructions);
425 (ir_instruction *) ir_if->else_instructions.get_tail();
429 splice_post_if_instructions(ir_if, &ir_if->then_instructions);