radeonsi/nir/tgsi: move the nir -> tgsi info scanner to common code.
For llvmpipe NIR support this scanner is pretty much required at least for initial transitioning, lets move to shared code and reformat it.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
For llvmpipe NIR support this scanner is pretty much required at least for initial transitioning, lets move to shared code and reformat it.