CapturePromotion: Use SILFunctionType interface type APIs.
CapturePromotion: Use SILFunctionType interface type APIs.

NFC in these cases, just switching to the new APIs, which are only used in situations where they are invariant with the old APIs, except for some function type processing that needs to handle both cases until we can kill off the old APIs.

Swift SVN r12624

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