mesa/src/compiler/nir/tests
Ian Romanick e444ed9210 nir/loop_analyze: Use nir_loop_variable::init_src instead of nir_basic_induction_var::def_outside_loop
These track the same information in a slightly different way. Since
nir_loop_variable::init_src is visible outside this module, it cannot
be eliminated.

As an intentional side effect, induction variables with constant
initializers will now have their nir_loop_induction_variable::init_src
field point to the load_const source. Previously this pointer would be
NULL.

v2: Update unit tests and commit message. Remove the now unused ind_var
variable in find_trip_count.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21289>
2023-02-17 22:12:05 +00:00
..
algebraic_parser_test.py nir/algebraic: Move relocations for expression conds to a table. 2021-12-07 07:09:00 +00:00
algebraic_tests.cpp nir/tests: add tests for umod/imod/irem optimizations 2021-08-09 11:00:39 +00:00
builder_tests.cpp nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
comparison_pre_tests.cpp nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
control_flow_tests.cpp nir/tests: Don't unconditionally log shaders from this one CF test 2023-02-17 22:12:05 +00:00
core_tests.cpp nir/tests: do not use designated initializers in c++ code 2022-04-05 16:58:56 +00:00
dce_tests.cpp nir/tests: add DCE test for loops following a jump 2021-11-29 22:22:24 +00:00
load_store_vectorizer_tests.cpp nir: Add alignment to load_push_constant 2023-02-11 06:12:23 +00:00
loop_analyze_tests.cpp nir/loop_analyze: Use nir_loop_variable::init_src instead of nir_basic_induction_var::def_outside_loop 2023-02-17 22:12:05 +00:00
lower_returns_tests.cpp nir: Move phi src setup to a helper. 2021-08-13 16:11:57 +00:00
mod_analysis_tests.cpp nir: add nir_mod_analysis & its tests 2023-01-31 13:50:08 +00:00
negative_equal_tests.cpp nir/tests: Fix transmuting an SSA dest to be non-SSA 2021-09-14 17:53:06 +00:00
opt_if_tests.cpp nir: add a nir_opt_if_options enum 2022-08-10 12:55:39 +00:00
opt_shrink_vectors_tests.cpp nir: shrink phi nodes in nir_opt_shrink_vectors 2023-02-10 09:06:25 +00:00
serialize_tests.cpp nir: Fixes [-Wdeprecated-declarations] in serialize_tests.cpp 2022-08-23 15:19:16 +00:00
ssa_def_bits_used_tests.cpp nir/range_analysis: Handle vectors better in ssa_def_bits_used 2021-02-22 22:37:17 +00:00
vars_tests.cpp nir: Fix unused-variable compile warnings 2022-06-15 19:43:27 +00:00