Home
last modified time | relevance | path

Searched refs:user_instr (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_vectorize.c273 nir_instr *user_instr = src->parent_instr; in instr_try_combine() local
274 if (user_instr->type == nir_instr_type_alu) { in instr_try_combine()
276 struct set_entry *entry = _mesa_set_search(instr_set, user_instr); in instr_try_combine()
281 nir_instr_rewrite_src(user_instr, src, in instr_try_combine()
285 if (entry && entry->key == user_instr) { in instr_try_combine()
290 nir_instr_rewrite_src(user_instr, src, nir_src_for_ssa(new_alu1)); in instr_try_combine()
Dnir_search_helpers.h332 const nir_instr *const user_instr = src->parent_instr; in is_used_by_non_fsat() local
334 if (user_instr->type != nir_instr_type_alu) in is_used_by_non_fsat()
337 const nir_alu_instr *const user_alu = nir_instr_as_alu(user_instr); in is_used_by_non_fsat()
351 const nir_instr *const user_instr = src->parent_instr; in is_only_used_as_float() local
352 if (user_instr->type != nir_instr_type_alu) in is_only_used_as_float()
355 const nir_alu_instr *const user_alu = nir_instr_as_alu(user_instr); in is_only_used_as_float()