Home
last modified time | relevance | path

Searched refs:old_def (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dlink_interface_blocks.cpp536 ir_variable *old_def = definitions.lookup(var); in validate_interstage_uniform_blocks() local
537 if (old_def == NULL) { in validate_interstage_uniform_blocks()
544 if (!intrastage_match(old_def, var, prog, false /* precision */)) { in validate_interstage_uniform_blocks()
/third_party/mesa3d/src/compiler/nir/
Dnir.c2152 nir_ssa_def *old_def = nir_instr_ssa_def(instr); in nir_function_impl_lower_instructions() local
2154 if (old_def != NULL) { in nir_function_impl_lower_instructions()
2167 list_replace(&old_def->uses, &old_uses); in nir_function_impl_lower_instructions()
2168 list_inithead(&old_def->uses); in nir_function_impl_lower_instructions()
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()
2177 assert(old_def != NULL); in nir_function_impl_lower_instructions()
2188 if (nir_ssa_def_is_unused(old_def)) { in nir_function_impl_lower_instructions()
2196 if (old_def) { in nir_function_impl_lower_instructions()
2197 list_replace(&old_uses, &old_def->uses); in nir_function_impl_lower_instructions()
[all …]
Dnir_lower_vars_to_ssa.c650 nir_ssa_def *old_def = in rename_variables() local
661 srcs[i] = nir_channel(&b, old_def, i); in rename_variables()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c460 rewrite_uses_to_var(nir_builder *b, nir_ssa_def *old_def, nir_variable *replacement_var, unsigned r… in rewrite_uses_to_var() argument
462 if (old_def->parent_instr->type == nir_instr_type_load_const) in rewrite_uses_to_var()
465 b->cursor = nir_after_instr(old_def->parent_instr); in rewrite_uses_to_var()
467 b->cursor = nir_after_phis(old_def->parent_instr->block); in rewrite_uses_to_var()
472 if (old_def->num_components > 1) { in rewrite_uses_to_var()
478 for (unsigned j = 0; j < old_def->num_components; ++j) in rewrite_uses_to_var()
479 old_def_elements[j] = nir_channel(b, old_def, j); in rewrite_uses_to_var()
480 replacement = nir_vec(b, old_def_elements, old_def->num_components); in rewrite_uses_to_var()
483 nir_ssa_def_rewrite_uses_after(old_def, replacement, replacement->parent_instr); in rewrite_uses_to_var()