agx: add Braun-Hack spiller pass

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
Alyssa Rosenzweig 2024-02-22 08:43:49 -04:00 committed by Marge Bot
parent a6e9f707f4
commit fe8b245cc4
4 changed files with 1195 additions and 0 deletions

View File

@ -218,6 +218,7 @@ ForEachMacros:
- agx_foreach_ssa_src
- agx_foreach_ssa_src_rev
- agx_foreach_successor
- foreach_next_use
# radv
- PHASE

View File

@ -938,6 +938,7 @@ void agx_lower_uniform_sources(agx_context *ctx);
void agx_opt_cse(agx_context *ctx);
void agx_dce(agx_context *ctx, bool partial);
void agx_pressure_schedule(agx_context *ctx);
void agx_spill(agx_context *ctx, unsigned k);
void agx_repair_ssa(agx_context *ctx);
void agx_reindex_ssa(agx_context *ctx);
void agx_ra(agx_context *ctx);

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,7 @@ libasahi_agx_files = files(
'agx_optimizer.c',
'agx_repair_ssa.c',
'agx_reindex_ssa.c',
'agx_spill.c',
'agx_register_allocate.c',
'agx_validate.c',
)