Move more functionality from Pass.cpp to PassRegistry.cpp. This global will go away...