panfrost/midgard: Split up midgard_compile.c (RA)
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 19 May 2019 23:20:34 +0000 (23:20 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 19 May 2019 23:37:45 +0000 (23:37 +0000)
commit1155446c198f43fcfc7afcb01917f5b3517081c2
treed45a72c703ea5ea5b5af4d4ffcf4728d45ab63ec
parent9cd8cd26de8c15750dff0268ae5085e5077216b1
panfrost/midgard: Split up midgard_compile.c (RA)

This commit moves the register allocator out of midgard_compile.c and
into its own midgard_ra.c file. In doing so, a number of dependencies
are identified and moved into their own files in turn. midgard_compile.c
is still fairly monolithic, but this should help.

Code churn, but no functional changes should be introduced by this
commit.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/midgard/compiler.h [new file with mode: 0644]
src/gallium/drivers/panfrost/midgard/disassemble.c
src/gallium/drivers/panfrost/midgard/helpers.h
src/gallium/drivers/panfrost/midgard/midgard.h
src/gallium/drivers/panfrost/midgard/midgard_compile.c
src/gallium/drivers/panfrost/midgard/midgard_liveness.c [new file with mode: 0644]
src/gallium/drivers/panfrost/midgard/midgard_ops.c [new file with mode: 0644]
src/gallium/drivers/panfrost/midgard/midgard_ops.h [new file with mode: 0644]
src/gallium/drivers/panfrost/midgard/midgard_print.c [new file with mode: 0644]
src/gallium/drivers/panfrost/midgard/midgard_ra.c [new file with mode: 0644]