Home
last modified time | relevance | path

Searched refs:nir_if_first_else_block (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_opt_peephole_select.c349 nir_phi_get_src_from_block(phi, nir_if_first_else_block(if_stmt)); in nir_opt_collapse_if()
355 nir_if_first_else_block(parent_if)); in nir_opt_collapse_if()
381 nir_phi_get_src_from_block(phi, nir_if_first_else_block(if_stmt)); in nir_opt_collapse_if()
385 nir_if_first_else_block(parent_if)); in nir_opt_collapse_if()
467 nir_block *else_block = nir_if_first_else_block(if_stmt); in nir_opt_peephole_select_block()
H A Dnir_opt_loop.c134 first_continue_from_blk = nir_if_first_else_block(nif); in opt_loop_terminator()
380 !is_block_empty(nir_if_first_else_block(nif)) || in opt_loop_peel_initial_break()
437 nir_cf_reinsert(&tmp, nir_after_block(nir_if_first_else_block(nif))); in opt_loop_peel_initial_break()
556 nir_block *first_else = nir_if_first_else_block(nif); in is_basic_terminator_if()
H A Dnir_opt_loop_unroll.c83 *first_break_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
85 *first_continue_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
511 start_cursor = nir_before_block(nir_if_first_else_block(if_stmt)); in complex_unroll_single_terminator()
525 …start_cursor = terminator->continue_from_then ? nir_before_block(nir_if_first_else_block(if_stmt))… in complex_unroll_single_terminator()
1037 …om_blk = t->continue_from_then ? nir_if_first_then_block(t->nif) : nir_if_first_else_block(t->nif); in process_loops()
H A Dnir_opt_if.c750 is_block_empty(nir_if_first_else_block(nif))) in opt_if_simplification()
844 } else if (nir_block_dominates(nir_if_first_else_block(nif), use_block)) { in evaluate_if_condition()
1011 nir_block *first = invert ? nir_if_first_else_block(nif) : nir_if_first_then_block(nif); in rewrite_comp_uses_within_if()
1139 nir_block *first_else = nir_if_first_else_block(next_if); in opt_phi_src_unused()
H A Dnir_opt_conditional_discard.c47 nir_block *else_block = nir_if_first_else_block(if_stmt); in nir_opt_conditional_discard_block()
H A Dnir_control_flow.c139 nir_block *first_else_block = nir_if_first_else_block(if_stmt); in link_block_to_non_block()
300 nir_block *first_else_block = nir_if_first_else_block(next_if); in block_add_normal_succs()
H A Dnir.c1763 return nir_if_first_else_block(if_stmt); in nir_block_cf_tree_next()
1805 assert(block == nir_if_first_else_block(if_stmt)); in nir_block_cf_tree_prev()
H A Dnir_validate.c1361 nir_if_first_else_block(if_stmt)); in validate_block()
H A Dnir.h3530 nir_if_first_else_block(nir_if *if_stmt) in nir_if_first_else_block() function
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A Dopt_if_tests.cpp75 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
126 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
336 ASSERT_EQ(exec_list_length((&nir_if_first_else_block(nif)->instr_list)), instr_in_1st_else); in TEST_P()
338 ASSERT_EQ(exec_list_length((&nir_if_first_else_block(next_if)->instr_list)), instr_in_2nd_else); in TEST_P()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Dnir.c708 nir_block *nir_else_block = nir_if_first_else_block(if_stmt); in ppir_emit_if()
748 else_branch->target = ppir_get_block(comp, nir_if_first_else_block(if_stmt)); in ppir_emit_if()
/aosp_15_r20/external/mesa3d/src/amd/compiler/
H A Daco_instruction_selection_setup.cpp96 then_jump ? nir_if_first_else_block(nif) : nir_if_first_then_block(nif); in sanitize_if()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_nir.c671 etna_emit_jump(c, nir_if_first_else_block(nif)->index, get_src(c, &nif->condition)); in emit_if()
/aosp_15_r20/external/mesa3d/src/broadcom/compiler/
H A Dnir_to_vir.c4143 nir_block *nir_else_block = nir_if_first_else_block(if_stmt); in ntq_emit_uniform_if()
4243 nir_block *nir_else_block = nir_if_first_else_block(if_stmt); in ntq_emit_nonuniform_if()
/aosp_15_r20/external/mesa3d/src/freedreno/ir3/
H A Dir3_compiler_nir.c4319 nir_foreach_instr (instr, nir_if_first_else_block(nif)) { in nif_can_be_predicated()
4362 struct ir3_block *else_block = get_block(ctx, nir_if_first_else_block(nif)); in emit_predicated_branch()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c4203 assert(nir_if_first_else_block(if_stmt)->index < ctx->num_blocks); in emit_if()
4204 else_id = block_label(ctx, nir_if_first_else_block(if_stmt)); in emit_if()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_program.c1892 nir_block *nir_else_block = nir_if_first_else_block(if_stmt); in ntq_emit_if()
/aosp_15_r20/external/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_from_nir.cpp1599 BasicBlock *elseBB = convert(nir_if_first_else_block(nif)); in visit()
/aosp_15_r20/external/mesa3d/src/microsoft/compiler/
H A Dnir_to_dxil.c5787 else_block = nir_if_first_else_block(if_stmt); in emit_if()