[passmanager] When SILVerify all is enabled, verify specialized functions after adding them to the worklist.
[passmanager] When SILVerify all is enabled, verify specialized functions after adding them to the worklist.

When SILVerifyAll is enabled, individual functions are verified after
function passes are run upon them. This means that any functions created
by a function pass will not be verified after the pass runs. Thus
specialization errors that cause the verifier to trip will be
misattributed to the first pass that makes a change to the specialized
function. This is very misleading and increases triage time.

This change eliminates that problem by ensuring that when SILVerifyAll is
enabled, we always verify newly specialized functions as they are added to the
worklist.

rdar://28706158

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