Lines Matching refs:new_deref
747 nir_deref_instr *new_deref = in rematerialize_deref_in_block() local
749 new_deref->modes = deref->modes; in rematerialize_deref_in_block()
750 new_deref->type = deref->type; in rematerialize_deref_in_block()
753 new_deref->var = deref->var; in rematerialize_deref_in_block()
758 new_deref->parent = nir_src_for_ssa(&parent->dest.ssa); in rematerialize_deref_in_block()
760 nir_src_copy(&new_deref->parent, &deref->parent); in rematerialize_deref_in_block()
771 new_deref->cast.ptr_stride = deref->cast.ptr_stride; in rematerialize_deref_in_block()
777 nir_src_copy(&new_deref->arr.index, &deref->arr.index); in rematerialize_deref_in_block()
781 new_deref->strct.index = deref->strct.index; in rematerialize_deref_in_block()
788 nir_ssa_dest_init(&new_deref->instr, &new_deref->dest, in rematerialize_deref_in_block()
792 nir_builder_instr_insert(b, &new_deref->instr); in rematerialize_deref_in_block()
794 return new_deref; in rematerialize_deref_in_block()