SILOptimizer: Don't inline functions that directly reference the metatype of $Self
SILOptimizer: Don't inline functions that directly reference the metatype of $Self

Formerly SILGen would never emit this sequence. In fact in most places
we lower away dynamic Self, replacing it with the concrete Self type
instead.

However, with an upcoming change, I'm using 'metatype $Self' as a handy
way to grab IRGenSILFunction::LocalSelfMetadata, since that's what it
already does.

Note that the tests for this are in the next patch.

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