Home
last modified time | relevance | path

Searched refs:nir_instr_rewrite_src_ssa (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_scale_fdiv.c55 nir_instr_rewrite_src_ssa(instr, &alu->src[0].src, final_a); in nir_scale_fdiv_instr()
56 nir_instr_rewrite_src_ssa(instr, &alu->src[1].src, final_b); in nir_scale_fdiv_instr()
Dnir_opt_copy_propagate.c109 nir_instr_rewrite_src_ssa(src->src.parent_instr, &src->src, def); in copy_propagate_alu()
120 nir_instr_rewrite_src_ssa(src->parent_instr, src, copy->src[0].src.ssa); in copy_propagate()
Dnir_lower_mediump.c192 nir_instr_rewrite_src_ssa(&intr->instr, &intr->src[0], in nir_lower_mediump_io()
479 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[i].src, conv); in nir_legalize_16bit_sampler_srcs()
580 nir_instr_rewrite_src_ssa(instr, src, new_vec); in fold_16bit_src()
Dnir_lower_blend.c421 nir_instr_rewrite_src_ssa(&store->instr, &store->src[1], blended); in nir_lower_blend_store()
Dnir_lower_tex.c1119 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[coord_index].src, new_coord); in lower_array_layer_round_even()
1311 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[ms_index].src, new_sample); in nir_lower_ms_txf_to_fragment_fetch()
Dnir_opt_if.c1430 nir_instr_rewrite_src_ssa(use->parent_instr, use, new_ssa); in rewrite_comp_uses_within_if()
Dnir_deref.c918 nir_instr_rewrite_src_ssa(&alu->instr, &alu->src[i].src, in opt_alu_of_cast()
Dnir.c1775 nir_instr_rewrite_src_ssa(use_src->parent_instr, use_src, new_ssa); in nir_ssa_def_rewrite_uses()
1839 nir_instr_rewrite_src_ssa(use_src->parent_instr, use_src, new_ssa); in nir_ssa_def_rewrite_uses_after()
Dnir.h4164 nir_instr_rewrite_src_ssa(ASSERTED nir_instr *instr, in nir_instr_rewrite_src_ssa() function
/third_party/mesa3d/src/imagination/rogue/nir/
Drogue_nir_constreg.c70 nir_instr_rewrite_src_ssa(use_src->parent_instr, use_src, mov); in rogue_nir_constreg()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_apply_pipeline_layout.c403 nir_instr_rewrite_src_ssa(&intrin->instr, &intrin->src[0], rsrc); in apply_layout_to_intrin()
407 nir_instr_rewrite_src_ssa(&intrin->instr, &intrin->src[1], rsrc); in apply_layout_to_intrin()
514 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[i].src, image); in apply_layout_to_tex()
518 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[i].src, sampler); in apply_layout_to_tex()
Dradv_pipeline_rt.c521 nir_instr_rewrite_src_ssa( in lower_rt_instructions()
527 nir_instr_rewrite_src_ssa( in lower_rt_instructions()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp62 nir_instr_rewrite_src_ssa(instr, &ir->src[0], new_index); in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1067 nir_instr_rewrite_src_ssa(instr, &intr->src[1], offset); in rewrite_bo_access_instr()
1080 nir_instr_rewrite_src_ssa(instr, &intr->src[1], offset); in rewrite_bo_access_instr()
1105 nir_instr_rewrite_src_ssa(instr, &intr->src[0], offset); in rewrite_bo_access_instr()
1125 nir_instr_rewrite_src_ssa(instr, &intr->src[2], offset); in rewrite_bo_access_instr()
1141 nir_instr_rewrite_src_ssa(instr, &intr->src[1], offset); in rewrite_bo_access_instr()
2429 nir_instr_rewrite_src_ssa(in, &tex->src[idx].src, &deref->dest.ssa); in lower_bindless_instr()
2444 nir_instr_rewrite_src_ssa(in, &tex->src[c].src, def); in lower_bindless_instr()
2496 nir_instr_rewrite_src_ssa(in, &instr->src[0], &deref->dest.ssa); in lower_bindless_instr()
2537 nir_instr_rewrite_src_ssa(in, &instr->src[0], def); in lower_bindless_io_instr()
2706 nir_instr_rewrite_src_ssa(instr, &tex->src[c].src, def); in convert_1d_shadow_tex()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_tess.c223 nir_instr_rewrite_src_ssa(src->parent_instr, src, nir_load_invocation_id(&b)); in dxil_nir_split_tess_ctrl()
Ddxil_nir.c1324 nir_instr_rewrite_src_ssa(instr, &alu->src[i].src, nir_vec(b, components, num_components)); in dxil_nir_lower_double_math_instr()
1560 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[sampler_idx].src, &new_tail->dest.ssa); in redirect_sampler_derefs()
1639 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[texture_idx].src, &new_tail->dest.ssa); in redirect_texture_derefs()
2139 nir_instr_rewrite_src_ssa(instr, &intr->src[0], nir_vec(b, channels, 4)); in update_writes()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_image_casts.c235 nir_instr_rewrite_src_ssa(instr, &intr->src[3], new_value); in lower_image_cast_instr()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c105 nir_instr_rewrite_src_ssa(instr, &intrin->src[0], &cast->dest.ssa); in lower_block_instr()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c268 nir_instr_rewrite_src_ssa(&intrin->instr, &intrin->src[buffer_src], bindless); in lower_ssbo_ubo_intrinsic()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c4419 nir_instr_rewrite_src_ssa(instr, &intr->src[0], replicated); in bifrost_nir_lower_blend_components()
4594 nir_instr_rewrite_src_ssa(&intr->instr, &intr->src[0], cast); in bifrost_nir_lower_i8_fragout_impl()
4695 nir_instr_rewrite_src_ssa(instr, &intr->src[0], in bifrost_nir_lower_store_component()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1436 nir_instr_rewrite_src_ssa(instr, offset, new); in agx_lower_aligned_offsets()