Lines Matching refs:ninstr
243 __clone_dst(clone_state *state, nir_instr *ninstr, in __clone_dst() argument
248 nir_ssa_dest_init(ninstr, ndst, dst->ssa.num_components, in __clone_dst()
254 ndst->reg.indirect = ralloc(ninstr, nir_src); in __clone_dst()
255 __clone_src(state, ninstr, ndst->reg.indirect, dst->reg.indirect); in __clone_dst()
262 nir_instr *ninstr, nir_deref *parent);
266 nir_instr *ninstr) in clone_deref_var() argument
269 nir_deref_var *ndvar = nir_deref_var_create(ninstr, nvar); in clone_deref_var()
273 ninstr, &ndvar->deref); in clone_deref_var()
280 nir_instr *ninstr, nir_deref *parent) in clone_deref_array() argument
287 ninstr, &ndarr->deref); in clone_deref_array()
292 __clone_src(state, ninstr, &ndarr->indirect, &darr->indirect); in clone_deref_array()
299 nir_instr *ninstr, nir_deref *parent) in clone_deref_struct() argument
306 ninstr, &ndstr->deref); in clone_deref_struct()
313 nir_instr *ninstr, nir_deref *parent) in clone_deref() argument
318 ninstr, parent)->deref; in clone_deref()
321 ninstr, parent)->deref; in clone_deref()
551 nir_instr *ninstr = clone_instr(state, instr); in clone_block() local
552 nir_instr_insert_after_block(nblk, ninstr); in clone_block()