Lines Matching refs:deref2
602 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()
630 deref1->cast.align_offset != deref2->cast.align_offset) in nir_instrs_equal()