Home
last modified time | relevance | path

Searched refs:nir_if_last_else_block (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_if.c789 nir_block *else_block = nir_if_last_else_block(nif); in opt_if_loop_last_continue()
908 nir_block *else_block = nir_if_last_else_block(nif); in opt_if_simplification()
962 nir_block *last_else = nir_if_last_else_block(nif); in opt_if_loop_terminator()
1210 nir_block *last = invert ? nir_if_last_else_block(nif) : nir_if_last_then_block(nif); in rewrite_comp_uses_within_if()
1314 : nir_if_last_else_block(dest_if); in simple_merge_if()
1363 nir_block_ends_in_jump(nir_if_last_else_block(nif))) in opt_if_merge()
1370 nir_block *new_else_block = nir_if_last_else_block(nif); in opt_if_merge()
1373 nir_block *old_else_block = nir_if_last_else_block(next_if); in opt_if_merge()
Dnir_opt_trivial_continues.c48 nir_if_last_else_block(prev_if), loop); in lower_trivial_continues_block()
Dnir_opt_conditional_discard.c50 if (nir_if_last_else_block(if_stmt) != else_block) in nir_opt_conditional_discard_block()
Dnir_opt_loop_unroll.c232 return nir_after_block(nir_if_last_else_block(if_stmt)); in get_complex_unroll_insert_location()
560 nir_after_block(nir_if_last_else_block(terminator->nif)); in wrapper_unroll()
738 nir_instr_insert_after_block(nir_if_last_else_block(nif), &brk->instr); in partial_unroll()
Dnir_opt_dead_cf.c91 : nir_if_last_else_block(if_stmt); in opt_constant_if()
Dnir_opt_peephole_select.c410 nir_if_last_else_block(if_stmt) != else_block) in nir_opt_peephole_select_block()
Dnir_control_flow.c111 nir_block *last_else_block = nir_if_last_else_block(if_stmt); in link_non_block_to_block()
Dnir_lower_shader_calls.c853 nir_if_last_else_block(_if)); in flatten_resume_if_ladder()
Dnir.c1825 assert(block == nir_if_last_else_block(if_stmt)); in nir_block_cf_tree_next()
1915 return nir_if_last_else_block(if_stmt); in nir_cf_node_cf_tree_last()
Dnir_loop_analyze.c533 nir_block *last_else = nir_if_last_else_block(nif); in find_loop_terminators()
Dnir_builder.h212 nir_phi_instr_add_src(phi, nir_if_last_else_block(nif), nir_src_for_ssa(else_def)); in nir_if_phi()
Dnir.h3304 nir_if_last_else_block(nir_if *if_stmt) in nir_if_last_else_block() function
/third_party/mesa3d/src/compiler/nir/tests/
Dlower_returns_tests.cpp110 nir_block *else_block = nir_if_last_else_block(nif); in TEST_F()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c645 (nir_else_block == nir_if_last_else_block(if_stmt) && in ppir_emit_if()
674 nir_block *nblock = nir_if_last_else_block(if_stmt); in ppir_emit_if()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp120 nir_block* else_block = nir_if_last_else_block(nif); in sanitize_if()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c4308 assert(nir_if_last_else_block(if_stmt)->successors[0]); in emit_if()
4309 assert(!nir_if_last_else_block(if_stmt)->successors[1]); in emit_if()
4310 else_succ = nir_if_last_else_block(if_stmt)->successors[0]->index; in emit_if()
4326 (!nir_block_ends_in_jump(nir_if_last_else_block(if_stmt)) && in emit_if()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c656 etna_emit_jump(c, nir_if_last_else_block(nif)->successors[0]->index, SRC_DISABLE); in emit_if()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c947 (nir_else_block == nir_if_last_else_block(nif) && in emit_if()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3337 (nir_else_block == nir_if_last_else_block(if_stmt) && in ntq_emit_uniform_if()
3437 (nir_else_block == nir_if_last_else_block(if_stmt) && in ntq_emit_nonuniform_if()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1908 (nir_else_block == nir_if_last_else_block(if_stmt) && in ntq_emit_if()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp1443 nir_block *lastElse = nir_if_last_else_block(nif); in visit()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c3058 struct ir3_block *last_else = get_block(ctx, nir_if_last_else_block(nif)); in emit_if()