Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/nir/
Dnir_lower_mediump_outputs.c56 nir_instr_rewrite_src(&intr->instr, &intr->src[0], in nir_lower_mediump_outputs()
63 nir_instr_rewrite_src(&intr->instr, &intr->src[0], in nir_lower_mediump_outputs()
70 nir_instr_rewrite_src(&intr->instr, &intr->src[0], in nir_lower_mediump_outputs()
Dnir_opt_undef.c57 nir_instr_rewrite_src(&instr->instr, &instr->src[0].src, in opt_undef_csel()
64 nir_instr_rewrite_src(&instr->instr, &instr->src[1].src, empty_src); in opt_undef_csel()
65 nir_instr_rewrite_src(&instr->instr, &instr->src[2].src, empty_src); in opt_undef_csel()
Dnir_opt_shrink_vectors.c130 nir_instr_rewrite_src(&instr->instr, &instr->src[3], nir_src_for_ssa(data)); in opt_shrink_vectors_image_store()
187 nir_instr_rewrite_src(&instr->instr, in opt_shrink_vectors_intrinsic()
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.c727 nir_instr_rewrite_src(src->parent_instr, src, in rematerialize_deref_src()
933 nir_instr_rewrite_src(&cast->instr, &cast->parent, in opt_remove_cast_cast()
1070 nir_instr_rewrite_src(use_src->parent_instr, use_src, cast->parent); in opt_deref_cast()
1122 nir_instr_rewrite_src(&deref->instr, &deref->parent, parent->parent); in opt_deref_ptr_as_array()
1123 nir_instr_rewrite_src(&deref->instr, &deref->arr.index, in opt_deref_ptr_as_array()
1208 nir_instr_rewrite_src(&load->instr, &load->src[0], in opt_load_vec_deref()
1249 nir_instr_rewrite_src(&store->instr, &store->src[0], in opt_store_vec_deref()
1257 nir_instr_rewrite_src(&store->instr, &store->src[1], in opt_store_vec_deref()
Dnir_opt_vectorize.c260 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine()
263 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine()
292 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine()
300 nir_instr_rewrite_src(src->parent_instr, src, in instr_try_combine()
Dnir_lower_clip_halfz.c53 nir_instr_rewrite_src(&intr->instr, intr->src + 1, nir_src_for_ssa(def)); in lower_pos_write()
Dnir_opt_copy_propagate.c118 nir_instr_rewrite_src(parent_instr, src, nir_src_for_ssa(copy_def)); in copy_prop_src()
169 nir_instr_rewrite_src(&parent_alu_instr->instr, &src->src, in copy_prop_alu_src()
Dnir_lower_viewport_transform.c95 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_clamp_color_outputs.c92 nir_instr_rewrite_src(&intr->instr, &intr->src[src], nir_src_for_ssa(s)); in lower_intrinsic()
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_bool_to_bitsize.c82 nir_instr_rewrite_src(&alu->instr, in make_sources_canonical()
380 nir_instr_rewrite_src(&phi->instr, &phi_src->src, in lower_phi_instr()
Dnir_lower_io_to_vector.c472 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl()
519 nir_instr_rewrite_src(&intrin->instr, &intrin->src[0], in nir_lower_io_to_vector_impl()
541 nir_instr_rewrite_src(&intrin->instr, &intrin->src[1], in nir_lower_io_to_vector_impl()
/external/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()
110 nir_instr_rewrite_src(instr, &intr->src[0], in etna_lower_io()
166 nir_instr_rewrite_src(&tex->instr, coord, nir_src_for_ssa(new_coord)); in etna_lower_io()
188 nir_instr_rewrite_src(&tex->instr, coord, nir_src_for_ssa(&vec->dest.dest.ssa)); in etna_lower_io()
222 nir_instr_rewrite_src(instr, &alu->src[0].src, in etna_lower_alu_impl()
/external/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()
/external/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()
310 nir_instr_rewrite_src(&instr->instr, &instr->src[0], in lower_intrinsic()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c148 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block()
151 nir_instr_rewrite_src(&tex->instr, in lower_tex_src_plane_block()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_errata_lod.c77 nir_instr_rewrite_src(&tex->instr, &tex->src[i].src, in nir_lod_errata_instr()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp151 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized()
162 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_unnormalized()
/external/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()
/external/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()
/external/mesa3d/src/gallium/drivers/lima/ir/
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()

123