Home
last modified time | relevance | path

Searched refs:nir_if_last_then_block (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/compiler/nir/tests/
Dopt_if_tests.cpp122 nir_block *then_block = nir_if_last_then_block(nif); in TEST_F()
137 ASSERT_TRUE(nir_block_ends_in_jump(nir_if_last_then_block(nif))); in TEST_F()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_if.c788 nir_block *then_block = nir_if_last_then_block(nif); in opt_if_loop_last_continue()
907 nir_block *then_block = nir_if_last_then_block(nif); in opt_if_simplification()
961 nir_block *last_then = nir_if_last_then_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()
1313 nir_block *dest_blk = dest_if_then ? nir_if_last_then_block(dest_if) in simple_merge_if()
1362 if (nir_block_ends_in_jump(nir_if_last_then_block(nif)) || in opt_if_merge()
1369 nir_block *new_then_block = nir_if_last_then_block(nif); in opt_if_merge()
1372 nir_block *old_then_block = nir_if_last_then_block(next_if); in opt_if_merge()
Dnir_opt_trivial_continues.c46 nir_if_last_then_block(prev_if), loop); in lower_trivial_continues_block()
Dnir_opt_peephole_select.c299 nir_block *last = nir_if_last_then_block(parent_if); in nir_opt_collapse_if()
409 if (nir_if_last_then_block(if_stmt) != then_block || in nir_opt_peephole_select_block()
Dnir_opt_conditional_discard.c56 if (nir_if_last_then_block(if_stmt) != then_block) in nir_opt_conditional_discard_block()
Dnir_opt_loop_unroll.c230 return nir_after_block(nir_if_last_then_block(if_stmt)); in get_complex_unroll_insert_location()
559 nir_after_block(nir_if_last_then_block(terminator->nif)) : in wrapper_unroll()
740 nir_instr_insert_after_block(nir_if_last_then_block(nif), &brk->instr); in partial_unroll()
Dnir_opt_dead_cf.c90 nir_block *last_block = condition ? nir_if_last_then_block(if_stmt) in opt_constant_if()
Dnir_opt_uniform_atomics.c159 nir_block *last_then = nir_if_last_then_block(nir_cf_node_as_if(cf)); in is_atomic_already_optimized()
Dnir_control_flow.c110 nir_block *last_then_block = nir_if_last_then_block(if_stmt); in link_non_block_to_block()
Dnir_lower_shader_calls.c845 nir_if_last_then_block(_if)); in flatten_resume_if_ladder()
Dnir.c1822 if (block == nir_if_last_then_block(if_stmt)) in nir_block_cf_tree_next()
1861 return nir_if_last_then_block(if_stmt); in nir_block_cf_tree_prev()
Dnir_loop_analyze.c532 nir_block *last_then = nir_if_last_then_block(nif); in find_loop_terminators()
Dnir_builder.h211 nir_phi_instr_add_src(phi, nir_if_last_then_block(nif), nir_src_for_ssa(then_def)); in nir_if_phi()
Dnir.h3290 nir_if_last_then_block(nir_if *if_stmt) in nir_if_last_then_block() function
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp119 nir_block* then_block = nir_if_last_then_block(nif); in sanitize_if()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c685 nir_block *last_then_block = nir_if_last_then_block(if_stmt); in ppir_emit_if()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c4300 assert(nir_if_last_then_block(if_stmt)->successors[0]); in emit_if()
4301 assert(!nir_if_last_then_block(if_stmt)->successors[1]); in emit_if()
4302 int then_succ = nir_if_last_then_block(if_stmt)->successors[0]->index; in emit_if()
4319 (!nir_block_ends_in_jump(nir_if_last_then_block(if_stmt)) && in emit_if()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c654 if (!nir_block_ends_in_jump(nir_if_last_then_block(nif)) && in emit_if()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp1442 nir_block *lastThen = nir_if_last_then_block(nif); in visit()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c3052 struct ir3_block *last_then = get_block(ctx, nir_if_last_then_block(nif)); in emit_if()