mesa/src/asahi/compiler
Alyssa Rosenzweig 25cc04c59b treewide: Use nir_before/after_impl in easy cases
These open-code the same idiom as the helper.

Via Coccinelle patch:

    @@
    expression func_impl;
    @@

    -nir_before_cf_list(&func_impl->body)
    +nir_before_impl(func_impl)

    @@
    expression func_impl;
    @@

    -nir_after_cf_list(&func_impl->body)
    +nir_after_impl(func_impl)

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24910>
2023-08-30 19:30:58 +00:00
..
test agx: Optimize swaps of 2x16 channels 2023-08-11 20:31:27 +00:00
agx_builder.h.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_compile.c treewide: Also handle struct nir_builder form 2023-08-24 15:48:02 +00:00
agx_compile.h agx: Add helper returning if a descriptor crawl is needed 2023-08-23 15:06:55 +00:00
agx_compiler.h nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
agx_dce.c agx: Fix atomics with no destination 2023-08-11 20:31:27 +00:00
agx_debug.h agx: Implement vector live range splitting 2023-06-23 17:37:41 +00:00
agx_insert_waits.c agx: Fix atomics with no destination 2023-08-11 20:31:27 +00:00
agx_internal_formats.h agx: Add agx_internal_format_supports_mask helper 2023-02-21 08:10:15 +00:00
agx_ir.c agx: Factor out allows_16bit_immediate check 2023-03-05 09:27:02 +00:00
agx_liveness.c agx: Put else instructions in the right block 2023-08-11 20:31:27 +00:00
agx_lower_64bit.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_parallel_copy.c agx: Optimize swaps of 2x16 channels 2023-08-11 20:31:27 +00:00
agx_lower_pseudo.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_uniform_sources.c agx: Add image_load opcode 2023-07-20 15:33:28 +00:00
agx_minifloat.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_nir.h agx: Add interpolateAtOffset lowering pass 2023-08-11 09:50:11 +00:00
agx_nir_algebraic.py agx: Lower f2f16_rtz 2023-08-11 20:31:28 +00:00
agx_nir_fence_images.c agx: Do not fence write-only images 2023-08-23 15:06:55 +00:00
agx_nir_lower_address.c nir s/nir_get_ssa_scalar/nir_get_scalar/ 2023-08-15 17:44:27 +00:00
agx_nir_lower_discard_zs_emit.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
agx_nir_lower_frag_sidefx.c treewide: Use nir_before/after_impl in easy cases 2023-08-30 19:30:58 +00:00
agx_nir_lower_interpolation.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
agx_nir_lower_load_mask.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
agx_nir_lower_sample_mask.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
agx_nir_lower_shared_bitsize.c treewide: Also handle struct nir_builder form 2023-08-24 15:48:02 +00:00
agx_nir_lower_texture.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
agx_nir_opt_preamble.c nir: Clean up nir_op_is_vec() and its callers 2023-08-16 21:42:30 +00:00
agx_opcodes.c.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_opcodes.h.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_opcodes.py agx: Fix 64-bit immediate moves 2023-08-11 20:31:28 +00:00
agx_opt_cse.c agx: Split iter and iterproj instructions 2023-06-07 03:21:49 +00:00
agx_opt_empty_else.c agx: Optimize out pointless else instructions 2023-08-11 20:31:27 +00:00
agx_optimizer.c agx: Add image_load opcode 2023-07-20 15:33:28 +00:00
agx_pack.c agx: Fix uadd_sat packing 2023-08-11 20:31:28 +00:00
agx_performance.c agx: Add helper for calculating occupancy 2023-04-07 03:23:03 +00:00
agx_print.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_register_allocate.c agx: Handle blocks with no predecessors 2023-08-11 20:31:28 +00:00
agx_validate.c agx: Allow loop headers without later preds 2023-08-23 15:06:54 +00:00
meson.build asahi: Move UBO lowering into GL driver 2023-08-23 15:06:55 +00:00