Home
last modified time | relevance | path

Searched refs:else_jump (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dopt_redundant_jumps.cpp78 ir_loop_jump *const else_jump = (ir_loop_jump *) last_else; in visit_leave() local
80 if (then_jump->mode != else_jump->mode) in visit_leave()
84 else_jump->remove(); in visit_leave()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp123 bool else_jump = nir_block_ends_in_jump(else_block) || in sanitize_if() local
125 if (then_jump == else_jump) in sanitize_if()
131 if (nir_cf_list_is_empty_block(else_jump ? &nif->then_list : &nif->else_list)) in sanitize_if()
142 nir_block* last_continue_from_blk = else_jump ? then_block : else_block; in sanitize_if()
144 else_jump ? nir_if_first_then_block(nif) : nir_if_first_else_block(nif); in sanitize_if()