Lines Matching refs:instr
40 b->cursor = nir_before_instr(&deref->instr);
48 nir_instr_rewrite_src(&deref->instr, &deref->arr.index,
111 nir_foreach_instr_safe(instr, block) {
112 if (instr->type != nir_instr_type_deref)
115 nir_deref_instr *deref = nir_instr_as_deref(instr);
119 b.cursor = nir_before_instr(&deref->instr);
126 nir_instr_remove(&deref->instr);
132 b.cursor = nir_before_instr(&deref->instr);
139 nir_instr_remove(&deref->instr);
280 nir_foreach_instr_safe(instr, block) {
281 if (instr->type != nir_instr_type_intrinsic)
284 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
288 b.cursor = nir_instr_remove(&intrin->instr);
308 b.cursor = nir_instr_remove(&intrin->instr);
331 b.cursor = nir_instr_remove(&intrin->instr);
499 nir_foreach_instr_safe(instr, block) {
500 if (instr->type != nir_instr_type_intrinsic)
503 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
507 b.cursor = nir_before_instr(&intrin->instr);
513 nir_instr_remove(instr);