mesa/src/intel/compiler/brw
Caio Oliveira cc06e1ebe2
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
brw: Remove outdated comment about remove_dead_variables
This now also removes dead variables created by split_array_vars,
and in the future it is reasonable other optimizations inside the
optimization loop to make temp variables dead.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39596>
2026-01-28 22:26:43 +00:00
..
tests brw: Properly set 'desc as register' for SEND in assembler 2025-12-10 19:46:52 +00:00
brw_analysis.cpp
brw_analysis.h
brw_analysis_def.cpp
brw_analysis_liveness.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_analysis_performance.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_asm.c brw: Remove global variables from brw_asm parser 2026-01-23 23:13:31 +00:00
brw_asm.h
brw_asm_internal.h brw: Remove global variables from brw_asm parser 2026-01-23 23:13:31 +00:00
brw_asm_tool.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_builder.cpp
brw_builder.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_cfg.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_cfg.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_compile_bs.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_cs.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_fs.cpp brw: Use the "early break" loop macros when possible 2026-01-28 19:52:02 +00:00
brw_compile_gs.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_mesh.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_tcs.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_tes.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compile_vs.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_compiler.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_compiler.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_debug_recompile.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_disasm.c brw: add missing base offset decoding 2026-01-20 21:25:52 +00:00
brw_disasm.h
brw_disasm_info.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_disasm_info.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_disasm_tool.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu_compact.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu_defines.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu_emit.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu_inst.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_eu_validate.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_from_nir.cpp brw: fix local_invocation_index with quad derivaties on mesh/task shaders 2026-01-27 22:28:19 +00:00
brw_generator.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_generator.h brw: Rework UIP and JIP setting code 2026-01-08 22:01:45 +00:00
brw_gram.y intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_inst.cpp intel/brw: Nuke brw_inst::is_volatile() 2026-01-05 14:11:47 +00:00
brw_inst.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_isa_info.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_lex.l intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_load_reg.cpp
brw_lower.cpp brw: Return the new register from brw_lower_vgrf_to_fixed_grf 2025-11-26 17:20:11 +00:00
brw_lower_dpas.cpp
brw_lower_fill_spill.cpp brw: Add fill and spill opcodes for LSC platforms 2025-11-26 17:20:12 +00:00
brw_lower_integer_multiplication.cpp
brw_lower_logical_sends.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_lower_pack.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_lower_regioning.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_lower_scoreboard.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_lower_simd_width.cpp brw: handle lowering of a couple of opcodes 2026-01-12 12:19:21 +00:00
brw_lower_subgroup_ops.cpp
brw_nir.c brw: Remove outdated comment about remove_dead_variables 2026-01-28 22:26:43 +00:00
brw_nir.h brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_nir_analyze_ubo_ranges.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_alpha_to_coverage.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_cooperative_matrix.c
brw_nir_lower_cs_intrinsics.c brw: fix local_invocation_index with quad derivaties on mesh/task shaders 2026-01-27 22:28:19 +00:00
brw_nir_lower_fs_barycentrics.c brw/nir_lower_fs_barycentrics: avoid nir_def_rewrite_uses_after 2025-10-09 09:50:19 -04:00
brw_nir_lower_fs_load_output.c brw/nir_lower_fs_load_output: unify texture builders 2026-01-14 08:18:15 +00:00
brw_nir_lower_fsign.py
brw_nir_lower_immediate_offsets.c brw: use nir_is_shared_access 2026-01-09 20:51:12 +00:00
brw_nir_lower_intersection_shader.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_ray_queries.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_rt_intrinsics.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_rt_intrinsics_pre_trace.c
brw_nir_lower_sample_index_in_coord.c brw/nir_lower_sample_index_in_coord: use helpers 2025-10-09 09:50:20 -04:00
brw_nir_lower_shader_calls.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_storage_image.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_lower_texel_address.c brw: fixup 64bit atomics emulation on 2D array images 2025-11-14 00:01:50 +00:00
brw_nir_lower_texture.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_opt_fsat.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
brw_nir_rt.c brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_nir_rt.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_rt_builder.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_nir_wa_18019110168.c brw: Generalize read_attribute_payload_intel to handle more cases 2025-11-25 22:43:59 +00:00
brw_nir_workarounds.py intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt.cpp intel/compiler/brw: fix potential unsigned overflow 2025-10-24 07:52:09 -07:00
brw_opt_address_reg_load.cpp
brw_opt_algebraic.cpp
brw_opt_bank_conflicts.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_cmod_propagation.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_combine_constants.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_copy_propagation.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_cse.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_dead_code_eliminate.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_fill_spill.cpp brw: Eliminate duplicate fills 2025-11-26 17:20:13 +00:00
brw_opt_register_coalesce.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_saturate_propagation.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_opt_txf_combiner.cpp brw: switch to new sampler payload description scheme 2025-10-16 12:08:15 +00:00
brw_opt_virtual_grfs.cpp
brw_packed_float.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_print.cpp brw: Add fill and spill opcodes for LSC platforms 2025-11-26 17:20:12 +00:00
brw_private.h brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_reg.cpp
brw_reg.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_reg_allocate.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_reg_type.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_reg_type.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_rt.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_sampler.c brw: handling dynamic programmable offsets pre-Xe2 2025-10-21 06:13:10 +00:00
brw_sampler.h brw: new Xe2 sampler opcodes 2025-10-16 12:08:16 +00:00
brw_schedule_instructions.cpp brw: use BITSET_LINEAR_ZALLOC 2026-01-26 20:15:43 +00:00
brw_shader.cpp brw: Include backend NIR passes in mda files 2026-01-28 19:52:02 +00:00
brw_shader.h intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_simd_selection.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_thread_payload.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_thread_payload.h
brw_validate.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_vue_map.c intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
brw_workaround.cpp brw: Remove foreach_block_safe / reverse_safe 2026-01-24 01:15:52 +00:00
meson.build brw: enable ray query spilling in SIMD32 2026-01-12 12:19:21 +00:00
test_eu_compact.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
test_eu_validate.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
test_helpers.cpp
test_helpers.h
test_insert_load_reg.cpp
test_lower_scoreboard.cpp brw/scoreboard: Support local implicit out-of-order dependencies 2026-01-21 22:29:28 +00:00
test_opt_algebraic.cpp
test_opt_cmod_propagation.cpp brw/cmod: Propagate to an instruction with same source 2025-12-18 15:15:20 -08:00
test_opt_combine_constants.cpp
test_opt_copy_propagation.cpp
test_opt_cse.cpp
test_opt_register_coalesce.cpp
test_opt_saturate_propagation.cpp brw: switch to new sampler payload description scheme 2025-10-16 12:08:15 +00:00
test_simd_selection.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00
test_vf_float_conversions.cpp intel/compiler: Use SPDX annotations 2026-01-24 20:37:31 +00:00