/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()
|
D | lima_nir_duplicate_consts.c | 52 nir_instr_rewrite_src(use_src->parent_instr, use_src, nir_src_for_ssa(&dupl->def)); in lima_nir_duplicate_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_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_deref.c | 760 nir_instr_rewrite_src(src->parent_instr, src, in rematerialize_deref_src() 966 nir_instr_rewrite_src(&cast->instr, &cast->parent, in opt_remove_cast_cast() 1107 nir_instr_rewrite_src(use_src->parent_instr, use_src, cast->parent); in opt_deref_cast() 1161 nir_instr_rewrite_src(&deref->instr, &deref->parent, parent->parent); in opt_deref_ptr_as_array() 1162 nir_instr_rewrite_src(&deref->instr, &deref->arr.index, in opt_deref_ptr_as_array() 1247 nir_instr_rewrite_src(&load->instr, &load->src[0], in opt_load_vec_deref() 1288 nir_instr_rewrite_src(&store->instr, &store->src[0], in opt_store_vec_deref() 1296 nir_instr_rewrite_src(&store->instr, &store->src[1], in opt_store_vec_deref()
|
D | nir_opt_vectorize.c | 281 nir_instr_rewrite_src(user_instr, src, in instr_try_combine() 290 nir_instr_rewrite_src(user_instr, src, nir_src_for_ssa(new_alu1)); in instr_try_combine() 317 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine() 325 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine()
|
D | nir_lower_io_to_vector.c | 502 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl() 549 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl() 571 nir_instr_rewrite_src(&intrin->instr, &intrin->src[1], in nir_lower_io_to_vector_impl() 640 nir_instr_rewrite_src(instr, &intrin->src[0], nir_src_for_ssa(new_deref)); in nir_vectorize_tess_levels_impl() 650 nir_instr_rewrite_src(instr, &intrin->src[1], nir_src_for_ssa(new_val)); in nir_vectorize_tess_levels_impl()
|
D | nir_opt_shrink_vectors.c | 187 nir_instr_rewrite_src(&instr->instr, &instr->src[3], nir_src_for_ssa(data)); in opt_shrink_vectors_image_store() 245 nir_instr_rewrite_src(&instr->instr, in opt_shrink_vectors_intrinsic()
|
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_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_normalize_cubemap_coords.c | 77 nir_instr_rewrite_src(&tex->instr, in normalize_cubemap_coords_block()
|
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_lower_clamp_color_outputs.c | 92 nir_instr_rewrite_src(&intr->instr, &intr->src[src], nir_src_for_ssa(s)); in lower_intrinsic()
|
D | nir_opt_combine_stores.c | 162 nir_instr_rewrite_src(&store->instr, &store->src[0], in combine_stores() 168 nir_instr_rewrite_src(&store->instr, &store->src[1], in combine_stores()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 161 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized() 180 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_unnormalized() 384 nir_instr_rewrite_src(&tex->instr, &tex->src[ddx_idx].src, in r600_nir_lower_cube_to_2darray_impl() 388 nir_instr_rewrite_src(&tex->instr, &tex->src[ddy_idx].src, in r600_nir_lower_cube_to_2darray_impl() 393 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() 138 nir_instr_rewrite_src(&tex->instr, coord, nir_src_for_ssa(&vec->dest.dest.ssa)); in etna_lower_io() 172 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/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 261 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src, in lower_sampler() 273 nir_instr_rewrite_src(&instr->instr, &instr->src[sampler_idx].src, in lower_sampler() 311 nir_instr_rewrite_src(&instr->instr, &instr->src[0], in lower_intrinsic()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 149 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block() 152 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block()
|
/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/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()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_nir_lower_multiview.c | 61 nir_instr_rewrite_src(instr, &intrin->src[1], nir_src_for_ssa(src)); in lower_multiview_mask()
|