mesa/src/compiler
Daniel Schürmann 9808ef0349 nir/opt_loop: move loop control-flow optimizations into separate pass
This new pass aims to simplify loop control-flow by reducing the number
of break and continue statements. It also supersedes nir_opt_trivial_continues().

For this purpose, it implements 3 optimizations:
- opt_loop_terminator(), as previously
- opt_loop_merge_break_continue(), similar to opt_merge_breaks() incl. continues
- opt_loop_last_block(), a generalization of opt_if_loop_last_continue()

Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24940>
2024-01-03 20:48:04 +00:00
..
clc clc: remove code supporting pre llvm-10 2024-01-03 18:30:32 +00:00
glsl compiler/glsl: Move glsl specific _mesa_glsl_initialize_types out and glsl_symbol_table of glsl_types.h 2024-01-03 06:38:19 +00:00
isaspec isaspec: Add bool_inv type to print inverted bools 2023-12-16 14:34:18 +00:00
nir nir/opt_loop: move loop control-flow optimizations into separate pass 2024-01-03 20:48:04 +00:00
spirv spirv: Use value_id_bound to set initial memory allocated 2024-01-02 16:07:06 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: Use a typedef for glsl_type 2023-12-22 07:53:25 -08:00
glsl_types.h compiler/glsl: Move glsl specific _mesa_glsl_initialize_types out and glsl_symbol_table of glsl_types.h 2024-01-03 06:38:19 +00:00
meson.build treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
shader_enums.c nir: add lowering from FS LAYER input to LAYER_ID sysval 2023-11-24 15:37:24 +00:00
shader_enums.h nir: add lowering from FS LAYER input to LAYER_ID sysval 2023-11-24 15:37:24 +00:00
shader_info.h nir/serialize: untangle printf serialization from a particular stage 2023-12-12 11:11:10 +00:00