[PM] Move the analysis registry into the Passes.cpp file and provide