radv: move a bunch of stuff outside of NIR->LLVM
This is part of my shaders refactoring work. It will also help ACO because the data that are gathered are common to both backends.
This is part of my shaders refactoring work. It will also help ACO because the data that are gathered are common to both backends.