mesa/src/amd
Timur Kristóf 0e4747d3fb aco: Introduce a new, post-RA optimizer.
This commit adds the skeleton of a new ACO post-RA optimizer,
which is intended to be a simple pass called after RA, and
is meant to do code changes which can only be done
after RA.

It is currently empty, the actual optimizations will be added
in their own commits. It only has a DCE pass, which deletes
some dead code generated by the spiller.

Fossil DB results on Sienna Cichlid:

Totals from 375 (0.25% of 149839) affected shaders:
CodeSize: 2933056 -> 2907192 (-0.88%)
Instrs: 534154 -> 530706 (-0.65%)
Latency: 12088064 -> 12084907 (-0.03%); split: -0.03%, +0.00%
InvThroughput: 4433454 -> 4432421 (-0.02%); split: -0.02%, +0.00%
Copies: 81649 -> 78203 (-4.22%)

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7779>
2021-05-28 12:14:53 +00:00
..
addrlib amd: fix incorrect addrlib comment for HTILE equations 2021-05-25 16:15:44 +00:00
ci ci: add VKD3D-Proton testsuite job for radv's Navy Flounder 2021-05-25 17:03:25 +00:00
common ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too 2021-05-25 16:15:44 +00:00
compiler aco: Introduce a new, post-RA optimizer. 2021-05-28 12:14:53 +00:00
llvm radeonsi: rewrite the prefix sum computation for shader culling 2021-05-25 16:15:44 +00:00
registers amd/registers: regenerate json files without 32-bit register fields 2021-05-25 16:15:44 +00:00
vulkan radv: fix generating hang reports if mutable descriptors are used 2021-05-28 10:53:02 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
Android.addrlib.mk android: amd/addrlib: define endianess to build 2021-03-27 01:54:49 +01:00
Android.common.mk android: amd/common: add nir include path 2021-04-26 23:14:56 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources ac: move ac_lower_indirect_derefs() outside of the LLVM dir 2021-04-23 11:52:01 +02:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00