Added ApplyInst::getArgumentOperandNumber to avoid hard-coding this in many places.
Added ApplyInst::getArgumentOperandNumber to avoid hard-coding this in many places.

Swift SVN r22516

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