Home
last modified time | relevance | path

Searched refs:nir_instr_rewrite_src (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_split_loads.c80 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()
Dlima_nir_duplicate_consts.c52 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/
Dnir_opt_undef.c57 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()
Dnir_opt_memcpy.c49 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()
Dnir_deref.c760 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()
Dnir_opt_vectorize.c281 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()
Dnir_lower_io_to_vector.c502 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()
Dnir_opt_shrink_vectors.c187 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()
Dnir_lower_clip_halfz.c53 nir_instr_rewrite_src(&intr->instr, intr->src + 1, nir_src_for_ssa(def)); in lower_pos_write()
Dnir_lower_viewport_transform.c97 nir_instr_rewrite_src(instr, &intr->src[1], in nir_lower_viewport_transform()
Dnir_lower_point_size.c54 nir_instr_rewrite_src(&instr->instr, &instr->src[1], nir_src_for_ssa(psiz)); in lower_point_size_instr()
Dnir_normalize_cubemap_coords.c77 nir_instr_rewrite_src(&tex->instr, in normalize_cubemap_coords_block()
Dnir_lower_wpos_ytransform.c251 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()
Dnir_lower_clamp_color_outputs.c92 nir_instr_rewrite_src(&intr->instr, &intr->src[src], nir_src_for_ssa(s)); in lower_intrinsic()
Dnir_opt_combine_stores.c162 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/
Dsfn_instruction_tex.cpp161 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/
Detnaviv_nir.c78 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/
Dv3d_nir_lower_robust_buffer_access.c50 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()
Dv3d_nir_lower_txf_ms.c61 nir_instr_rewrite_src(&instr->instr, in v3d_nir_lower_txf_ms_instr()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c261 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/
Dst_nir_lower_tex_src_plane.c149 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/
Dmidgard_nir_lower_image_bitsize.c68 nir_instr_rewrite_src(instr, &intr->src[1], nir_src_for_ssa(coord16)); in nir_lower_image_bitsize()
Dmidgard_errata_lod.c77 nir_instr_rewrite_src(&tex->instr, &tex->src[i].src, in nir_lod_errata_instr()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_input_attachments.c77 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/
Dtu_nir_lower_multiview.c61 nir_instr_rewrite_src(instr, &intrin->src[1], nir_src_for_ssa(src)); in lower_multiview_mask()

1234