Home
last modified time | relevance | path

Searched refs:if_uses (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_search_helpers.h132 bool zero_if_use = list_empty(&instr->dest.dest.ssa.if_uses); in is_used_more_than_once()
137 else if (zero_use && list_is_singular(&instr->dest.dest.ssa.if_uses)) in is_used_more_than_once()
148 bool zero_if_use = list_empty(&instr->dest.dest.ssa.if_uses); in is_used_once()
157 if (!zero_use && list_is_singular(&instr->dest.dest.ssa.if_uses)) in is_used_once()
160 if (!list_is_singular(&instr->dest.dest.ssa.if_uses) && in is_used_once()
170 return list_empty(&instr->dest.dest.ssa.if_uses); in is_not_used_by_if()
Dnir_validate.c49 struct set *uses, *if_uses, *defs; member
58 struct set *uses, *if_uses; member
148 _mesa_set_add(reg_state->if_uses, src); in validate_reg_src()
198 _mesa_set_add(def_state->if_uses, src); in validate_ssa_src()
300 list_validate(&def->if_uses); in validate_ssa_def()
307 def_state->if_uses = _mesa_set_create(def_state, _mesa_hash_pointer, in validate_ssa_def()
906 list_validate(&reg->if_uses); in prevalidate_reg_decl()
911 reg_state->if_uses = _mesa_set_create(reg_state, _mesa_hash_pointer, in prevalidate_reg_decl()
945 struct set_entry *entry = _mesa_set_search(reg_state->if_uses, src); in postvalidate_reg_decl()
947 _mesa_set_remove(reg_state->if_uses, entry); in postvalidate_reg_decl()
[all …]
Dnir_lower_to_source_mods.c94 list_empty(&parent->dest.dest.ssa.if_uses)) in nir_lower_to_source_mods_block()
139 if (!list_empty(&alu->dest.dest.ssa.if_uses)) in nir_lower_to_source_mods_block()
Dnir_opt_peephole_select.c128 if (!list_empty(&mov->dest.dest.ssa.if_uses)) in block_check_for_allowed_instrs()
Dnir_control_flow.c534 &if_stmt->condition.ssa->if_uses); in update_if_uses()
537 &if_stmt->condition.reg.reg->if_uses); in update_if_uses()
Dnir.c75 list_inithead(&reg->if_uses); in reg_create()
1480 list_addtail(&src->use_link, &src->ssa->if_uses); in src_add_all_uses()
1482 list_addtail(&src->use_link, &src->reg.reg->if_uses); in src_add_all_uses()
1525 assert(list_empty(&dest->ssa.uses) && list_empty(&dest->ssa.if_uses)); in nir_instr_rewrite_dest()
1566 list_inithead(&def->if_uses); in nir_ssa_def_init()
Dnir_lower_regs_to_ssa.c272 assert(list_empty(&reg->if_uses)); in nir_lower_regs_to_ssa_impl()
Dnir_lower_vec_to_movs.c143 if (!list_empty(&vec->src[start_idx].src.ssa->if_uses)) in try_coalesce()
Dnir.h414 struct list_head if_uses; member
496 struct list_head if_uses; member
559 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
562 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
Dnir_from_ssa.c498 assert(list_empty(&def->uses) && list_empty(&def->if_uses)); in rewrite_ssa_def()
Dnir_clone.c208 list_inithead(&nreg->if_uses); in clone_register()
Dnir_serialize.c242 list_inithead(&reg->if_uses); in read_register()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_opt_peephole_ffma.c39 if (!list_empty(&def->if_uses)) in are_all_uses_fadd()
155 list_empty(&load_const->def.if_uses)) { in any_alu_src_is_a_constant()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_if_else.c72 assert(list_empty(&dest->ssa.if_uses)); in valid_dest()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c843 if (!list_empty(&src->ssa->if_uses)) in ntq_src_is_only_ssa_def_user()