Simplify the pass manager execution logic.
Simplify the pass manager execution logic.

Make it a bit more clear that we're alternating between collecting (and
then running) function passes, and running module passes. Removes some
duplication that was present.

swiftix/swift,gribozavr/swift,codestergit/swift,JaSpa/swift,manavgabhawala/swift,benlangmuir/swift,frootloops/swift,deyton/swift,sschiau/swift,OscarSwanros/swift,natecook1000/swift,tkremenek/swift,harlanhaskins/swift,brentdax/swift,glessard/swift,dduan/swift,gribozavr/swift,brentdax/swift,gmilos/swift,jtbandes/swift,jmgc/swift,uasys/swift,OscarSwanros/swift,stephentyrone/swift,OscarSwanros/swift,manavgabhawala/swift,frootloops/swift,kperryua/swift,adrfer/swift,JGiola/swift,brentdax/swift,apple/swift,slavapestov/swift,gottesmm/swift,xwu/swift,therealbnut/swift,arvedviehweger/swift,devincoughlin/swift,jmgc/swift,zisko/swift,IngmarStein/swift,ahoppen/swift,gottesmm/swift,lorentey/swift,felix91gr/swift,tjw/swift,dreamsxin/swift,modocache/swift,jckarter/swift,allevato/swift,tardieu/swift,atrick/swift,hughbe/swift,jckarter/swift,karwa/swift,tardieu/swift,airspeedswift/swift,JaSpa/swift,uasys/swift,devincoughlin/swift,kstaring/swift,hooman/swift,johnno1962d/swift,adrfer/swift,shajrawi/swift,hughbe/swift,danielmartin/swift,shajrawi/swift,hooman/swift,brentdax/swift,xwu/swift,CodaFi/swift,SwiftAndroid/swift,gregomni/swift,gribozavr/swift,xwu/swift,hooman/swift,shahmishal/swift,ken0nek/swift,jtbandes/swift,return/swift,karwa/swift,jopamer/swift,dreamsxin/swift,atrick/swift,russbishop/swift,rudkx/swift,bitjammer/swift,amraboelela/swift,frootloops/swift,zisko/swift,deyton/swift,bitjammer/swift,arvedviehweger/swift,rudkx/swift,milseman/swift,modocache/swift,danielmartin/swift,kperryua/swift,kperryua/swift,slavapestov/swift,frootloops/swift,IngmarStein/swift,felix91gr/swift,stephentyrone/swift,deyton/swift,tinysun212/swift-windows,return/swift,gribozavr/swift,alblue/swift,arvedviehweger/swift,xedin/swift,modocache/swift,practicalswift/swift,MukeshKumarS/Swift,bitjammer/swift,JaSpa/swift,milseman/swift,uasys/swift,CodaFi/swift,johnno1962d/swift,karwa/swift,roambotics/swift,zisko/swift,natecook1000/swift,tardieu/swift,huonw/swift,manavgabhawala/swift,uasys/swift,hooman/swift,kstaring/swift,ahoppen/swift,harlanhaskins/swift,austinzheng/swift,ken0nek/swift,MukeshKumarS/Swift,hooman/swift,tkremenek/swift,djwbrown/swift,ahoppen/swift,return/swift,austinzheng/swift,gribozavr/swift,airspeedswift/swift,tinysun212/swift-windows,sschiau/swift,MukeshKumarS/Swift,natecook1000/swift,dduan/swift,practicalswift/swift,tkremenek/swift,sschiau/swift,airspeedswift/swift,CodaFi/swift,hughbe/swift,CodaFi/swift,tjw/swift,milseman/swift,tjw/swift,adrfer/swift,arvedviehweger/swift,bitjammer/swift,codestergit/swift,devincoughlin/swift,Jnosh/swift,jopamer/swift,KrishMunot/swift,djwbrown/swift,apple/swift,jtbandes/swift,aschwaighofer/swift,slavapestov/swift,karwa/swift,aschwaighofer/swift,ken0nek/swift,tinysun212/swift-windows,djwbrown/swift,atrick/swift,nathawes/swift,adrfer/swift,jopamer/swift,austinzheng/swift,nathawes/swift,tardieu/swift,JaSpa/swift,apple/swift,huonw/swift,natecook1000/swift,slavapestov/swift,arvedviehweger/swift,djwbrown/swift,tardieu/swift,modocache/swift,modocache/swift,natecook1000/swift,KrishMunot/swift,roambotics/swift,jtbandes/swift,xwu/swift,parkera/swift,tinysun212/swift-windows,kstaring/swift,aschwaighofer/swift,practicalswift/swift,danielmartin/swift,modocache/swift,jckarter/swift,rudkx/swift,alblue/swift,xedin/swift,KrishMunot/swift,aschwaighofer/swift,lorentey/swift,alblue/swift,modocache/swift,kperryua/swift,natecook1000/swift,alblue/swift,jmgc/swift,stephentyrone/swift,jopamer/swift,parkera/swift,rudkx/swift,frootloops/swift,shahmishal/swift,SwiftAndroid/swift,felix91gr/swift,alblue/swift,return/swift,JGiola/swift,ahoppen/swift,ken0nek/swift,danielmartin/swift,JaSpa/swift,sschiau/swift,russbishop/swift,dduan/swift,deyton/swift,roambotics/swift,kperryua/swift,tinysun212/swift-windows,lorentey/swift,ken0nek/swift,kperryua/swift,deyton/swift,dduan/swift,austinzheng/swift,slavapestov/swift,IngmarStein/swift,OscarSwanros/swift,tjw/swift,roambotics/swift,huonw/swift,JGiola/swift,OscarSwanros/swift,hughbe/swift,ben-ng/swift,shahmishal/swift,bitjammer/swift,MukeshKumarS/Swift,shajrawi/swift,JGiola/swift,stephentyrone/swift,tkremenek/swift,harlanhaskins/swift,glessard/swift,aschwaighofer/swift,benlangmuir/swift,calebd/swift,johnno1962d/swift,adrfer/swift,glessard/swift,practicalswift/swift,kstaring/swift,rudkx/swift,SwiftAndroid/swift,nathawes/swift,shajrawi/swift,huonw/swift,parkera/swift,xedin/swift,manavgabhawala/swift,Jnosh/swift,frootloops/swift,devincoughlin/swift,CodaFi/swift,felix91gr/swift,gregomni/swift,tinysun212/swift-windows,shajrawi/swift,IngmarStein/swift,zisko/swift,devincoughlin/swift,devincoughlin/swift,JaSpa/swift,Jnosh/swift,stephentyrone/swift,IngmarStein/swift,swiftix/swift,jmgc/swift,therealbnut/swift,shahmishal/swift,jckarter/swift,xedin/swift,benlangmuir/swift,ben-ng/swift,swiftix/swift,amraboelela/swift,alblue/swift,shahmishal/swift,gribozavr/swift,benlangmuir/swift,jopamer/swift,sschiau/swift,parkera/swift,jckarter/swift,hughbe/swift,felix91gr/swift,OscarSwanros/swift,xedin/swift,atrick/swift,IngmarStein/swift,roambotics/swift,milseman/swift,hooman/swift,kstaring/swift,calebd/swift,codestergit/swift,gmilos/swift,adrfer/swift,tjw/swift,jckarter/swift,uasys/swift,lorentey/swift,swiftix/swift,gottesmm/swift,gmilos/swift,return/swift,allevato/swift,practicalswift/swift,arvedviehweger/swift,karwa/swift,Jnosh/swift,benlangmuir/swift,deyton/swift,parkera/swift,SwiftAndroid/swift,amraboelela/swift,xedin/swift,uasys/swift,gregomni/swift,KrishMunot/swift,JaSpa/swift,lorentey/swift,gmilos/swift,MukeshKumarS/Swift,ben-ng/swift,huonw/swift,dduan/swift,zisko/swift,airspeedswift/swift,airspeedswift/swift,manavgabhawala/swift,therealbnut/swift,MukeshKumarS/Swift,jtbandes/swift,calebd/swift,russbishop/swift,jmgc/swift,airspeedswift/swift,hooman/swift,huonw/swift,KrishMunot/swift,MukeshKumarS/Swift,practicalswift/swift,johnno1962d/swift,KrishMunot/swift,lorentey/swift,tkremenek/swift,slavapestov/swift,brentdax/swift,shajrawi/swift,huonw/swift,practicalswift/swift,calebd/swift,therealbnut/swift,natecook1000/swift,codestergit/swift,amraboelela/swift,swiftix/swift,nathawes/swift,manavgabhawala/swift,hughbe/swift,tardieu/swift,jtbandes/swift,amraboelela/swift,glessard/swift,return/swift,tjw/swift,shajrawi/swift,allevato/swift,deyton/swift,stephentyrone/swift,gregomni/swift,zisko/swift,xedin/swift,gmilos/swift,practicalswift/swift,dduan/swift,shahmishal/swift,return/swift,parkera/swift,sschiau/swift,Jnosh/swift,gribozavr/swift,austinzheng/swift,sschiau/swift,devincoughlin/swift,xwu/swift,stephentyrone/swift,tkremenek/swift,roambotics/swift,devincoughlin/swift,karwa/swift,ben-ng/swift,nathawes/swift,gottesmm/swift,ben-ng/swift,airspeedswift/swift,dduan/swift,kperryua/swift,milseman/swift,allevato/swift,lorentey/swift,gregomni/swift,harlanhaskins/swift,kstaring/swift,Jnosh/swift,tardieu/swift,therealbnut/swift,austinzheng/swift,arvedviehweger/swift,adrfer/swift,rudkx/swift,benlangmuir/swift,calebd/swift,gottesmm/swift,milseman/swift,harlanhaskins/swift,codestergit/swift,allevato/swift,jmgc/swift,SwiftAndroid/swift,ben-ng/swift,bitjammer/swift,CodaFi/swift,CodaFi/swift,xwu/swift,parkera/swift,allevato/swift,djwbrown/swift,nathawes/swift,apple/swift,zisko/swift,xedin/swift,nathawes/swift,jtbandes/swift,danielmartin/swift,manavgabhawala/swift,brentdax/swift,johnno1962d/swift,gribozavr/swift,IngmarStein/swift,gottesmm/swift,codestergit/swift,harlanhaskins/swift,kstaring/swift,tinysun212/swift-windows,apple/swift,gmilos/swift,SwiftAndroid/swift,felix91gr/swift,calebd/swift,tjw/swift,swiftix/swift,karwa/swift,felix91gr/swift,ken0nek/swift,aschwaighofer/swift,gottesmm/swift,shajrawi/swift,jmgc/swift,apple/swift,ben-ng/swift,amraboelela/swift,alblue/swift,parkera/swift,codestergit/swift,ahoppen/swift,jopamer/swift,jckarter/swift,gregomni/swift,tkremenek/swift,karwa/swift,JGiola/swift,brentdax/swift,xwu/swift,amraboelela/swift,russbishop/swift,sschiau/swift,austinzheng/swift,russbishop/swift,danielmartin/swift,KrishMunot/swift,gmilos/swift,djwbrown/swift,Jnosh/swift,shahmishal/swift,glessard/swift,ken0nek/swift,glessard/swift,calebd/swift,swiftix/swift,russbishop/swift,therealbnut/swift,uasys/swift,OscarSwanros/swift,atrick/swift,lorentey/swift,frootloops/swift,jopamer/swift,johnno1962d/swift,shahmishal/swift,slavapestov/swift,hughbe/swift,harlanhaskins/swift,johnno1962d/swift,JGiola/swift,danielmartin/swift,allevato/swift,ahoppen/swift,atrick/swift,bitjammer/swift,aschwaighofer/swift,milseman/swift,SwiftAndroid/swift,russbishop/swift,therealbnut/swift,djwbrown/swift