freedreno/ir3: add helpers to move instructions
authorRob Clark <robdclark@chromium.org>
Fri, 15 May 2020 19:03:56 +0000 (12:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
commit92d6eb4dd539f48355ebfe5408f6a18c5a4c3efd
tree9e09b82882723a4ec25e20f4df75554c864a914d
parent9eed0c601137a6657d6c0de4c2362549456f9465
freedreno/ir3: add helpers to move instructions

A bit cleaner than open coding the list manipulation.  Plus I want to
use it in the next patch, rather than adding more open coded list
futzing.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_a6xx.c
src/freedreno/ir3/ir3_group.c
src/freedreno/ir3/ir3_legalize.c