freedreno/ir3/ra: add helper to map name to array
authorRob Clark <robdclark@chromium.org>
Sat, 21 Mar 2020 18:25:36 +0000 (11:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 27 Mar 2020 22:41:36 +0000 (22:41 +0000)
commit0e7d24b532e1a52cb5b3da36d1ed5b2204fb0acb
treee8a5535b2b41747e94642f87908f7431f0692265
parentd99d358389ca95ce23cfccf67150cccc66ff6407
freedreno/ir3/ra: add helper to map name to array

For vreg names that refer to arrays rather than SSA values, this is the
counterpart to name_to_instr().

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
src/freedreno/ir3/ir3_ra.c