Searched refs:if_uses (Results 1 – 15 of 15) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_search_helpers.h | 132 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()
|
D | nir_validate.c | 49 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(®->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 …]
|
D | nir_lower_to_source_mods.c | 94 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()
|
D | nir_opt_peephole_select.c | 128 if (!list_empty(&mov->dest.dest.ssa.if_uses)) in block_check_for_allowed_instrs()
|
D | nir_control_flow.c | 534 &if_stmt->condition.ssa->if_uses); in update_if_uses() 537 &if_stmt->condition.reg.reg->if_uses); in update_if_uses()
|
D | nir.c | 75 list_inithead(®->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()
|
D | nir_lower_regs_to_ssa.c | 272 assert(list_empty(®->if_uses)); in nir_lower_regs_to_ssa_impl()
|
D | nir_lower_vec_to_movs.c | 143 if (!list_empty(&vec->src[start_idx].src.ssa->if_uses)) in try_coalesce()
|
D | nir.h | 414 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)
|
D | nir_from_ssa.c | 498 assert(list_empty(&def->uses) && list_empty(&def->if_uses)); in rewrite_ssa_def()
|
D | nir_clone.c | 208 list_inithead(&nreg->if_uses); in clone_register()
|
D | nir_serialize.c | 242 list_inithead(®->if_uses); in read_register()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_opt_peephole_ffma.c | 39 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/ |
D | ir3_nir_lower_if_else.c | 72 assert(list_empty(&dest->ssa.if_uses)); in valid_dest()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 843 if (!list_empty(&src->ssa->if_uses)) in ntq_src_is_only_ssa_def_user()
|