Lines Matching refs:instr
49 nir_instr_rewrite_src(&cpy->instr, deref_src,
67 nir_instr_rewrite_src(&cpy->instr, deref_src,
134 nir_instr_remove(&cpy->instr);
143 nir_instr_remove(&cpy->instr);
151 b->cursor = nir_instr_remove(&cpy->instr);
165 b->cursor = nir_instr_remove(&cpy->instr);
187 b->cursor = nir_instr_remove(&cpy->instr);
207 b->cursor = nir_instr_remove(&cpy->instr);
219 b->cursor = nir_instr_remove(&cpy->instr);
242 nir_foreach_instr(instr, block) {
243 if (instr->type != nir_instr_type_deref)
246 nir_deref_instr *deref = nir_instr_as_deref(instr);
258 nir_foreach_instr_safe(instr, block) {
259 if (instr->type != nir_instr_type_intrinsic)
262 nir_intrinsic_instr *cpy = nir_instr_as_intrinsic(instr);