mesa/src/microsoft/clc
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
..
clc_compiler.c nir: rename nir_src_parent_instr to nir_src_use_instr 2026-05-06 17:09:22 +00:00
clc_compiler.h microsoft/clc: Add shader model / validator to compiler API 2023-03-31 00:37:19 +00:00
clc_compiler_test.cpp microsoft/clc: Fixes gcc 14 compile warning about narrowing conversion 2025-08-20 17:41:02 +00:00
clc_nir.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
clc_nir.h microsoft/clc: When possible, compute a part-constant "pointer" value for kernel inputs 2024-03-26 20:12:41 +00:00
clon12compiler.def
compute_test.cpp microsoft/clc: {} for struct initialize to avoid warning 2025-08-11 21:11:18 +00:00
compute_test.h
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00