mesa/src/amd/common/nir
Rhys Perry ec59b59b97 nir: rename nir_src_parent_instr to nir_src_use_instr
sed -i "s/nir_src_parent_instr/nir_src_use_instr/" `find ./ -type f`
sed -i "s/nir_src_parent_if/nir_src_use_if/" `find ./ -type f`
sed -i "s/nir_src_set_parent/nir_src_set_use/" `find ./ -type f`

There are two kinds of "parent" in relation to a src/def:
- the instruction where the def or src's def is defined
- the instruction which the src is a part of and where the def is used

Clarify that the parent here is where the src's def is used, not where
it's defined.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41344>
2026-05-06 17:09:22 +00:00
..
tests ac: add gfx11.7 enums 2026-04-17 11:32:55 +00:00
ac_nir.c ac/nir: add ac_nir_assign_fs_input_locations to set PS input locations in stone 2026-04-27 21:05:53 +00:00
ac_nir.h ac/nir: factor out ac_nir_lower_tex_coords from ac_nir_lower_image_tex 2026-05-01 02:37:16 +00:00
ac_nir_assign_io_locations.c ac/nir: add ac_nir_assign_fs_input_locations to set PS input locations in stone 2026-04-27 21:05:53 +00:00
ac_nir_create_gs_copy_shader.c ac/nir: set subgroup size for gs copy shader 2025-09-14 13:21:21 +00:00
ac_nir_cull.c ac/nir/cull: make fisfinite nan/inf preserving 2026-03-13 07:13:09 +00:00
ac_nir_fixup_smem_loads_null_prt.c ac/nir: add a pass to fixup SMEM loads with NULL PRT pages 2026-04-30 09:29:43 +00:00
ac_nir_helpers.h amd/radeonsi: dont clamp packed user varyings 2026-04-27 22:59:58 +00:00
ac_nir_lower_esgs_io_to_mem.c ac/nir: mark all input loads as reorderable and speculatable (for LICM) 2025-07-24 06:31:16 +00:00
ac_nir_lower_global_access.c ac/nir_lower_global_access: perform range analysis if useful 2026-04-15 15:13:10 +00:00
ac_nir_lower_image_opcodes_cdna.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_image_tex.c ac/nir: factor out ac_nir_lower_tex_coords from ac_nir_lower_image_tex 2026-05-01 02:37:16 +00:00
ac_nir_lower_intrinsics_to_args.c ac: lower load_num_workgroups in NIR 2026-02-13 15:33:19 +00:00
ac_nir_lower_legacy_gs.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_lower_legacy_vs.c ac/nir: remove pack_clip_cull_distances option 2025-07-12 10:28:21 +00:00
ac_nir_lower_mem_access_bit_sizes.c ac/nir: Add pass to fixup SMEM on GFX6-7 2026-01-02 23:42:16 +00:00
ac_nir_lower_ngg.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_ngg_gs.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_ngg_mesh.c ac,radv,radeonsi: replace mesh_fast_launch_2 by gfx_level checks 2026-04-28 06:50:43 +00:00
ac_nir_lower_ps_early.c nir: rename nir_src_parent_instr to nir_src_use_instr 2026-05-06 17:09:22 +00:00
ac_nir_lower_ps_late.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_resinfo.c ac/nir: adjust lowering of query size for descriptor heap 2026-04-07 06:15:24 +00:00
ac_nir_lower_taskmesh_io_to_mem.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_tess_io_to_mem.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_lower_tex_coords.c ac/nir/lower_tex_coord: fix moving wqm coordinates 2026-05-04 15:09:46 +00:00
ac_nir_meta.h ac/nir/meta: use the clear/copy compute shader if CP DMA doesn't support sparse 2026-02-17 14:47:41 +00:00
ac_nir_meta_cs_blit.c amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +00:00
ac_nir_meta_cs_clear_copy_buffer.c amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +00:00
ac_nir_meta_ps_resolve.c ac: add ac_cu_info::has_fmask, adjust FMASK checks 2026-03-04 21:14:56 +00:00
ac_nir_opt_flip_if_for_mem_loads.c ac/nir: add descriptor heap support to opt_flip_if_for_mem_loads() 2026-04-07 06:15:24 +00:00
ac_nir_opt_outputs.c nir: merge xfb and xfb2 into one 64bit intrinsic index 2026-03-10 07:46:22 +00:00
ac_nir_opt_shared_append.c
ac_nir_prerast_utils.c amd/radeonsi: dont clamp packed user varyings 2026-04-27 22:59:58 +00:00
ac_nir_surface.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_nir_surface.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00