Lines Matching refs:store
207 /* A use in src[1] of a store means we're taking that pointer and
1346 opt_store_vec_deref(nir_builder *b, nir_intrinsic_instr *store)
1348 nir_deref_instr *deref = nir_src_as_deref(store->src[0]);
1349 nir_component_mask_t write_mask = nir_intrinsic_write_mask(store);
1356 assert(store->src[1].is_ssa);
1357 nir_ssa_def *data = store->src[1].ssa;
1365 nir_instr_rewrite_src(&store->instr, &store->src[0],
1373 nir_instr_rewrite_src(&store->instr, &store->src[1],
1375 store->num_components = new_num_comps;
1380 nir_intrinsic_set_write_mask(store, write_mask);