Home
last modified time | relevance | path

Searched refs:last_else (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_redundant_jumps.cpp67 ir_instruction *const last_else = in visit_leave() local
70 if ((last_then == NULL) || (last_else == NULL)) in visit_leave()
74 || (last_else->ir_type != ir_type_loop_jump)) in visit_leave()
78 ir_loop_jump *const else_jump = (ir_loop_jump *) last_else; in visit_leave()
/external/mesa3d/src/compiler/nir/
Dnir_opt_if.c992 nir_block *last_else = nir_if_last_else_block(nif); in opt_if_loop_terminator() local
996 continue_from_blk = last_else; in opt_if_loop_terminator()
998 } else if (nir_block_ends_in_break(last_else)) { in opt_if_loop_terminator()
999 break_blk = last_else; in opt_if_loop_terminator()
Dnir_loop_analyze.c425 nir_block *last_else = nir_if_last_else_block(nif); in find_loop_terminators() local
428 continue_from_blk = last_else; in find_loop_terminators()
430 } else if (nir_block_ends_in_break(last_else)) { in find_loop_terminators()
431 break_blk = last_else; in find_loop_terminators()