/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir.h | 129 bool can_bypass_src = !list_length(&dest->ssa.if_uses); in real_dest() 163 assert(list_length(&dest->ssa.if_uses) == 0); in real_dest() 177 if (list_length(&dest->ssa.if_uses) || list_length(&dest->ssa.uses) > 1) in real_dest()
|
D | etnaviv_compiler_nir.c | 851 bool need_mov = list_length(&ssa->if_uses) != 0; in lower_alu()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_search_helpers.h | 297 bool zero_if_use = list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_once() 306 if (!zero_use && list_is_singular(&instr->dest.dest.ssa.if_uses)) in is_used_once() 309 if (!list_is_singular(&instr->dest.dest.ssa.if_uses) && in is_used_once() 319 return !list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_by_if() 325 return list_is_empty(&instr->dest.dest.ssa.if_uses); in is_not_used_by_if()
|
D | nir_validate.c | 50 struct set *uses, *if_uses, *defs; member 163 _mesa_set_add(reg_state->if_uses, src); in validate_reg_src() 309 list_validate(&def->if_uses); in validate_ssa_def() 534 validate_assert(state, list_is_empty(&instr->dest.ssa.if_uses)); in validate_deref_instr() 1415 list_validate(®->if_uses); in prevalidate_reg_decl() 1419 reg_state->if_uses = _mesa_pointer_set_create(reg_state); in prevalidate_reg_decl() 1443 struct set_entry *entry = _mesa_set_search(reg_state->if_uses, src); in postvalidate_reg_decl() 1445 _mesa_set_remove(reg_state->if_uses, entry); in postvalidate_reg_decl() 1447 validate_assert(state, reg_state->if_uses->entries == 0); in postvalidate_reg_decl()
|
D | nir_opt_uniform_atomics.c | 249 list_replace(&intrin->dest.ssa.if_uses, &old_result.if_uses); in optimize_and_rewrite_atomic()
|
D | nir_opt_intrinsics.c | 42 if (!list_is_empty(&shuffle->dest.ssa.if_uses) || in src_is_single_use_shuffle()
|
D | nir_lower_to_source_mods.c | 156 if (!list_is_empty(&alu->dest.dest.ssa.if_uses)) in nir_lower_to_source_mods_block()
|
D | nir.c | 152 list_inithead(®->if_uses); in reg_create() 1541 list_addtail(&src->use_link, &src->ssa->if_uses); in src_add_all_uses() 1543 list_addtail(&src->use_link, &src->reg.reg->if_uses); in src_add_all_uses() 1614 list_inithead(&def->if_uses); in nir_ssa_def_init() 1760 if (!list_is_empty(&def->if_uses)) in nir_ssa_def_components_read() 2169 list_replace(&old_def->if_uses, &old_if_uses); in nir_function_impl_lower_instructions() 2170 list_inithead(&old_def->if_uses); in nir_function_impl_lower_instructions() 2198 list_replace(&old_if_uses, &old_def->if_uses); in nir_function_impl_lower_instructions()
|
D | nir_control_flow.c | 539 &if_stmt->condition.ssa->if_uses); in update_if_uses() 542 &if_stmt->condition.reg.reg->if_uses); in update_if_uses()
|
D | nir_lower_regs_to_ssa.c | 287 assert(list_is_empty(®->if_uses)); in nir_lower_regs_to_ssa_impl()
|
D | nir_lower_vec_to_movs.c | 155 if (!list_is_empty(&vec->src[start_idx].src.ssa->if_uses)) in try_coalesce()
|
D | nir_opt_peephole_select.c | 226 if (!list_is_empty(&mov->dest.dest.ssa.if_uses)) in block_check_for_allowed_instrs()
|
D | nir_opt_phi_precision.c | 219 if (!list_is_empty(&phi->dest.ssa.if_uses)) in try_move_narrowing_dst()
|
D | nir.h | 748 struct list_head if_uses; member 824 struct list_head if_uses; member 897 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link) 900 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link) 4304 list_addtail(&src->use_link, &new_ssa->if_uses); in nir_if_rewrite_condition_ssa() 4336 return list_is_empty(&ssa->uses) && list_is_empty(&ssa->if_uses); in nir_ssa_def_is_unused()
|
D | nir_from_ssa.c | 1063 if (!list_is_empty(&def->if_uses)) in ssa_def_is_local_to_block()
|
D | nir_clone.c | 219 list_inithead(&nreg->if_uses); in clone_register()
|
D | nir_opt_if.c | 496 if (!list_is_empty(&alu->dest.dest.ssa.if_uses) || in opt_split_alu_of_phi()
|
D | nir_deref.c | 1112 assert(list_is_empty(&cast->dest.ssa.if_uses)); in opt_deref_cast()
|
D | nir_serialize.c | 459 list_inithead(®->if_uses); in read_register()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_opt_peephole_ffma.c | 39 if (!list_is_empty(&def->if_uses)) in are_all_uses_fadd() 156 list_is_empty(&load_const->def.if_uses)) { in any_alu_src_is_a_constant()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | nir_fuse_io_16.c | 78 if (!list_is_empty(&intr->dest.ssa.if_uses)) in nir_fuse_io_16()
|
/third_party/mesa3d/src/panfrost/util/ |
D | nir_mod_helpers.c | 93 if (!list_is_empty(&dest->ssa.if_uses)) in pan_has_dest_mod()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.0.2.rst | 48 - nir: Take if_uses into account when repairing SSA
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | ssa_def_bits_used_tests.cpp | 54 list_is_empty(&def->if_uses); in is_used_once()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 271 struct list_head *uses, struct list_head *if_uses) in ntt_try_store_in_tgsi_output() argument 287 if (!list_is_empty(if_uses) || !list_is_singular(uses)) in ntt_try_store_in_tgsi_output() 566 if (!ntt_try_store_in_tgsi_output(c, &decl, &nir_reg->uses, &nir_reg->if_uses)) { in ntt_setup_registers() 744 if (!ntt_try_store_in_tgsi_output(c, &dst, &ssa->uses, &ssa->if_uses)) in ntt_get_ssa_def_decl()
|