Home
last modified time | relevance | path

Searched refs:deref2 (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_instr_set.c602 nir_deref_instr *deref2 = nir_instr_as_deref(instr2); in nir_instrs_equal() local
604 if (deref1->deref_type != deref2->deref_type || in nir_instrs_equal()
605 deref1->modes != deref2->modes || in nir_instrs_equal()
606 deref1->type != deref2->type) in nir_instrs_equal()
610 return deref1->var == deref2->var; in nir_instrs_equal()
612 if (!nir_srcs_equal(deref1->parent, deref2->parent)) in nir_instrs_equal()
617 if (deref1->strct.index != deref2->strct.index) in nir_instrs_equal()
623 if (!nir_srcs_equal(deref1->arr.index, deref2->arr.index)) in nir_instrs_equal()
628 if (deref1->cast.ptr_stride != deref2->cast.ptr_stride || in nir_instrs_equal()
629 deref1->cast.align_mul != deref2->cast.align_mul || in nir_instrs_equal()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp237 auto deref2 = nir_build_deref_var(b, vars.second); in split_load_deref_array() local
238 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, index, 1)); in split_load_deref_array()
262 auto deref2 = nir_build_deref_var(b, vars.second); in split_store_deref_array() local
263 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, deref->arr.index, 1)); in split_store_deref_array()
288 auto deref2 = nir_build_deref_var(b, vars.second); in split_store_deref_var() local
290 nir_build_store_deref(b, &deref2->dest.ssa, nir_channel(b, intr->src[1].ssa, 2), 1); in split_store_deref_var()
292 nir_build_store_deref(b, &deref2->dest.ssa, nir_channels(b, intr->src[1].ssa, 0xc), 3); in split_store_deref_var()
307 nir_deref_instr *deref2 = nir_build_deref_var(b, vars.second); in split_load_deref_var() local
308 deref2->type = vars.second->type; in split_load_deref_var()
310 auto *load2 = nir_load_deref(b, deref2); in split_load_deref_var()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c215 nir_deref_instr *deref2 = nir_build_deref_var(b, var2); in lower_64bit_vertex_attribs_instr() local
230 intr2->src[0] = nir_src_for_ssa(&deref2->dest.ssa); in lower_64bit_vertex_attribs_instr()