Lines Matching refs:nsrc
227 nir_src *nsrc, const nir_src *src) in __clone_src() argument
229 nsrc->is_ssa = src->is_ssa; in __clone_src()
231 nsrc->ssa = remap_local(state, src->ssa); in __clone_src()
233 nsrc->reg.reg = remap_reg(state, src->reg.reg); in __clone_src()
235 nsrc->reg.indirect = ralloc(ninstr_or_if, nir_src); in __clone_src()
236 __clone_src(state, ninstr_or_if, nsrc->reg.indirect, src->reg.indirect); in __clone_src()
238 nsrc->reg.base_offset = src->reg.base_offset; in __clone_src()
454 nir_phi_src *nsrc = ralloc(nphi, nir_phi_src); in clone_phi() local
457 memcpy(nsrc, src, sizeof(*src)); in clone_phi()
463 nsrc->src.parent_instr = &nphi->instr; in clone_phi()
468 list_add(&nsrc->src.use_link, &state->phi_srcs); in clone_phi()
470 exec_list_push_tail(&nphi->srcs, &nsrc->node); in clone_phi()