/aosp_15_r20/external/mesa3d/src/compiler/nir/ |
H A D | nir_opt_peephole_select.c | 349 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 D | nir_opt_loop.c | 134 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 D | nir_opt_loop_unroll.c | 83 *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 D | nir_opt_if.c | 750 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 D | nir_opt_conditional_discard.c | 47 nir_block *else_block = nir_if_first_else_block(if_stmt); in nir_opt_conditional_discard_block()
|
H A D | nir_control_flow.c | 139 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 D | nir.c | 1763 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 D | nir_validate.c | 1361 nir_if_first_else_block(if_stmt)); in validate_block()
|
H A D | nir.h | 3530 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 D | opt_if_tests.cpp | 75 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 D | nir.c | 708 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 D | aco_instruction_selection_setup.cpp | 96 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 D | etnaviv_compiler_nir.c | 671 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 D | nir_to_vir.c | 4143 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 D | ir3_compiler_nir.c | 4319 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 D | nir_to_spirv.c | 4203 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 D | vc4_program.c | 1892 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 D | nv50_ir_from_nir.cpp | 1599 BasicBlock *elseBB = convert(nir_if_first_else_block(nif)); in visit()
|
/aosp_15_r20/external/mesa3d/src/microsoft/compiler/ |
H A D | nir_to_dxil.c | 5787 else_block = nir_if_first_else_block(if_stmt); in emit_if()
|