Exercise more GLKit APIs.
Exercise more GLKit APIs.

Exposes an issue with our JIT setup on x86--it looks like we don't pass consistent architecture flags to the JIT, causing it to fail to select machine instrs we emitted IR thinking we had support for.

Swift SVN r23640

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