Minor re-factoring of SILModule::hasFunction
Minor re-factoring of SILModule::hasFunction

Speed-up the lookup of a function with a given name in different modules by reducing the amount of IO operations reading from swift module files.

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