/third_party/mesa3d/src/gallium/drivers/lima/ir/ |
D | lima_nir_split_loads.c | 80 nir_instr_rewrite_src(src->parent_instr, src, nir_src_for_ssa(def)); in replace_intrinsic() 85 nir_instr_rewrite_src(src->parent_instr, src, nir_src_for_ssa(new)); in replace_intrinsic() 109 nir_instr_rewrite_src(src->parent_instr, src, nir_src_for_ssa(def)); in replace_load_const() 116 nir_instr_rewrite_src(src->parent_instr, src, nir_src_for_ssa(new)); in replace_load_const()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_undef.c | 57 nir_instr_rewrite_src(&instr->instr, &instr->src[0].src, in opt_undef_csel() 63 nir_instr_rewrite_src(&instr->instr, &instr->src[1].src, empty_src); in opt_undef_csel() 64 nir_instr_rewrite_src(&instr->instr, &instr->src[2].src, empty_src); in opt_undef_csel()
|
D | nir_opt_shrink_stores.c | 52 nir_instr_rewrite_src(&instr->instr, &instr->src[3], nir_src_for_ssa(data)); in opt_shrink_vectors_image_store() 87 nir_instr_rewrite_src(&instr->instr, in opt_shrink_store_instr()
|
D | nir_lower_io_to_vector.c | 503 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl() 550 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl() 572 nir_instr_rewrite_src(&intrin->instr, &intrin->src[1], in nir_lower_io_to_vector_impl() 642 nir_instr_rewrite_src(instr, &intrin->src[0], nir_src_for_ssa(new_deref)); in nir_vectorize_tess_levels_impl() 668 nir_instr_rewrite_src(instr, &intrin->src[1], nir_src_for_ssa(new_val)); in nir_vectorize_tess_levels_impl()
|
D | nir_deref.c | 808 nir_instr_rewrite_src(src->parent_instr, src, in rematerialize_deref_src() 1038 nir_instr_rewrite_src(&cast->instr, &cast->parent, in opt_remove_cast_cast() 1182 nir_instr_rewrite_src(use_src->parent_instr, use_src, cast->parent); in opt_deref_cast() 1238 nir_instr_rewrite_src(&deref->instr, &deref->parent, parent->parent); in opt_deref_ptr_as_array() 1239 nir_instr_rewrite_src(&deref->instr, &deref->arr.index, in opt_deref_ptr_as_array() 1324 nir_instr_rewrite_src(&load->instr, &load->src[0], in opt_load_vec_deref() 1365 nir_instr_rewrite_src(&store->instr, &store->src[0], in opt_store_vec_deref() 1373 nir_instr_rewrite_src(&store->instr, &store->src[1], in opt_store_vec_deref()
|
D | nir_opt_memcpy.c | 49 nir_instr_rewrite_src(&cpy->instr, deref_src, in opt_memcpy_deref_cast() 67 nir_instr_rewrite_src(&cpy->instr, deref_src, in opt_memcpy_deref_cast()
|
D | nir_opt_offsets.c | 141 … nir_instr_rewrite_src(&intrin->instr, &intrin->src[offset_src_idx], nir_src_for_ssa(replace_src)); in try_fold_load_store() 171 nir_instr_rewrite_src(&intrin->instr, off_src, nir_src_for_ssa(nir_imm_zero(b, 1, 32))); in try_fold_shared2()
|
D | nir_lower_poly_line_smooth.c | 66 nir_instr_rewrite_src(instr, &intr->src[0], nir_src_for_ssa(new_val)); in lower_polylinesmooth()
|
D | nir_lower_clip_halfz.c | 53 nir_instr_rewrite_src(&intr->instr, intr->src + 1, nir_src_for_ssa(def)); in lower_pos_write()
|
D | nir_lower_point_smooth.c | 81 nir_instr_rewrite_src(instr, &intr->src[0], nir_src_for_ssa(new_val)); in lower_point_smooth()
|
D | nir_lower_viewport_transform.c | 97 nir_instr_rewrite_src(instr, &intr->src[1], in nir_lower_viewport_transform()
|
D | nir_lower_point_size.c | 54 nir_instr_rewrite_src(&instr->instr, &instr->src[1], nir_src_for_ssa(psiz)); in lower_point_size_instr()
|
D | nir_lower_wpos_ytransform.c | 251 nir_instr_rewrite_src(&fddy->instr, in lower_fddy() 273 nir_instr_rewrite_src(&interp->instr, &interp->src[1], in lower_interp_deref_at_offset()
|
D | nir_normalize_cubemap_coords.c | 77 nir_instr_rewrite_src(&tex->instr, in normalize_cubemap_coords_block()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tex.cpp | 54 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized() 73 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_unnormalized() 277 nir_instr_rewrite_src(&tex->instr, &tex->src[ddx_idx].src, in r600_nir_lower_cube_to_2darray_impl() 281 nir_instr_rewrite_src(&tex->instr, &tex->src[ddy_idx].src, in r600_nir_lower_cube_to_2darray_impl() 286 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_idx].src, in r600_nir_lower_cube_to_2darray_impl()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_nir.c | 78 nir_instr_rewrite_src(instr, &intr->src[1], nir_src_for_ssa(ssa)); in etna_lower_io() 140 nir_instr_rewrite_src(&tex->instr, coord, nir_src_for_ssa(&vec->dest.dest.ssa)); in etna_lower_io() 174 nir_instr_rewrite_src(instr, &alu->src[0].src, in etna_lower_alu_impl()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_robust_buffer_access.c | 50 nir_instr_rewrite_src(&instr->instr, &instr->src[offset_src], in rewrite_offset() 100 nir_instr_rewrite_src(&instr->instr, &instr->src[0], in lower_shared()
|
D | v3d_nir_lower_txf_ms.c | 61 nir_instr_rewrite_src(&instr->instr, in v3d_nir_lower_txf_ms_instr()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 150 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block() 153 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 291 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src, in lower_sampler() 303 nir_instr_rewrite_src(&instr->instr, &instr->src[sampler_idx].src, in lower_sampler() 342 nir_instr_rewrite_src(&instr->instr, &instr->src[0], in lower_intrinsic()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_nir_lower_image_bitsize.c | 68 nir_instr_rewrite_src(instr, &intr->src[1], nir_src_for_ssa(coord16)); in nir_lower_image_bitsize()
|
D | midgard_errata_lod.c | 77 nir_instr_rewrite_src(&tex->instr, &tex->src[i].src, in nir_lod_errata_instr()
|
/third_party/mesa3d/src/imagination/rogue/nir/ |
D | rogue_nir_pfo.c | 41 nir_instr_rewrite_src(&store_output->instr, output_src, new_output_src); in insert_pfo()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_shading_rate_output.c | 87 nir_instr_rewrite_src(instr, &intrin->src[0], in lower_shading_rate_output_instr()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_input_attachments.c | 77 nir_instr_rewrite_src(&load->instr, &load->src[1], nir_src_for_ssa(coord)); in try_lower_input_load()
|