freedreno/ir3: use SSA flag on dest register too
authorRob Clark <robdclark@chromium.org>
Tue, 22 Oct 2019 17:28:04 +0000 (10:28 -0700)
committerRob Clark <robdclark@gmail.com>
Sat, 9 Nov 2019 02:49:14 +0000 (02:49 +0000)
commit5da10704bbd1e2f76180023be7e6b08ecc2d4a6a
tree349c62eb5e8f4e512b3561bc4ae9e87911e1a477
parent8449f6183ff37c87e865aaae508e0289fed51f1c
freedreno/ir3: use SSA flag on dest register too

We did this in some places before, but not consistantly.  But it will be
useful for two-pass RA, to identify which registers have already been
assigned.

While we are cleaning this up, use __ssa_src() and new __ssa_dst()
helper more consistently.  (If nothing else, this reduces the # of
callers of ir3_reg_create() to audit that we didn't miss something)

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_group.c