Lines Matching defs:nsrc
234 nir_src *nsrc, const nir_src *src)
236 nsrc->is_ssa = src->is_ssa;
238 nsrc->ssa = remap_local(state, src->ssa);
240 nsrc->reg.reg = remap_reg(state, src->reg.reg);
242 nsrc->reg.indirect = ralloc(ninstr_or_if, nir_src);
243 __clone_src(state, ninstr_or_if, nsrc->reg.indirect, src->reg.indirect);
245 nsrc->reg.base_offset = src->reg.base_offset;
428 nir_phi_src *nsrc = ralloc(nphi, nir_phi_src);
431 memcpy(nsrc, src, sizeof(*src));
437 nsrc->src.parent_instr = &nphi->instr;
442 list_add(&nsrc->src.use_link, &state->phi_srcs);
444 exec_list_push_tail(&nphi->srcs, &nsrc->node);