SILGen: Clean up some duplication in getConstantAtUncurryLevel() and getTypeInfoAtUncurryLevel()
SILGen: Clean up some duplication in getConstantAtUncurryLevel() and getTypeInfoAtUncurryLevel()

rudkx/swift,jmgc/swift,danielmartin/swift,airspeedswift/swift,gregomni/swift,natecook1000/swift,jopamer/swift,xedin/swift,huonw/swift,brentdax/swift,JGiola/swift,alblue/swift,stephentyrone/swift,alblue/swift,jckarter/swift,lorentey/swift,hooman/swift,apple/swift,practicalswift/swift,sschiau/swift,gregomni/swift,xwu/swift,jmgc/swift,hooman/swift,brentdax/swift,glessard/swift,austinzheng/swift,jopamer/swift,danielmartin/swift,amraboelela/swift,shajrawi/swift,practicalswift/swift,xwu/swift,amraboelela/swift,allevato/swift,shajrawi/swift,jmgc/swift,JGiola/swift,alblue/swift,huonw/swift,benlangmuir/swift,xedin/swift,allevato/swift,nathawes/swift,stephentyrone/swift,amraboelela/swift,jckarter/swift,practicalswift/swift,sschiau/swift,CodaFi/swift,ahoppen/swift,airspeedswift/swift,brentdax/swift,devincoughlin/swift,xedin/swift,JGiola/swift,karwa/swift,devincoughlin/swift,benlangmuir/swift,karwa/swift,zisko/swift,gribozavr/swift,ahoppen/swift,ahoppen/swift,shahmishal/swift,karwa/swift,danielmartin/swift,zisko/swift,atrick/swift,huonw/swift,airspeedswift/swift,apple/swift,alblue/swift,frootloops/swift,ahoppen/swift,tjw/swift,gribozavr/swift,harlanhaskins/swift,karwa/swift,CodaFi/swift,aschwaighofer/swift,JGiola/swift,tkremenek/swift,jmgc/swift,shajrawi/swift,tkremenek/swift,shahmishal/swift,sschiau/swift,CodaFi/swift,practicalswift/swift,jopamer/swift,jopamer/swift,jmgc/swift,jmgc/swift,benlangmuir/swift,allevato/swift,airspeedswift/swift,amraboelela/swift,austinzheng/swift,gribozavr/swift,CodaFi/swift,practicalswift/swift,aschwaighofer/swift,atrick/swift,alblue/swift,lorentey/swift,apple/swift,austinzheng/swift,alblue/swift,xwu/swift,benlangmuir/swift,frootloops/swift,xedin/swift,jopamer/swift,JGiola/swift,gribozavr/swift,devincoughlin/swift,practicalswift/swift,devincoughlin/swift,allevato/swift,amraboelela/swift,brentdax/swift,aschwaighofer/swift,devincoughlin/swift,nathawes/swift,jckarter/swift,tjw/swift,aschwaighofer/swift,xedin/swift,aschwaighofer/swift,xwu/swift,tjw/swift,gribozavr/swift,jckarter/swift,tjw/swift,rudkx/swift,xwu/swift,tkremenek/swift,aschwaighofer/swift,shajrawi/swift,austinzheng/swift,rudkx/swift,nathawes/swift,harlanhaskins/swift,allevato/swift,atrick/swift,harlanhaskins/swift,austinzheng/swift,tkremenek/swift,rudkx/swift,airspeedswift/swift,gribozavr/swift,natecook1000/swift,allevato/swift,roambotics/swift,huonw/swift,xedin/swift,roambotics/swift,lorentey/swift,harlanhaskins/swift,roambotics/swift,harlanhaskins/swift,gribozavr/swift,parkera/swift,tjw/swift,zisko/swift,frootloops/swift,shajrawi/swift,stephentyrone/swift,sschiau/swift,glessard/swift,karwa/swift,nathawes/swift,parkera/swift,allevato/swift,brentdax/swift,shajrawi/swift,roambotics/swift,lorentey/swift,parkera/swift,natecook1000/swift,hooman/swift,lorentey/swift,natecook1000/swift,ahoppen/swift,gregomni/swift,parkera/swift,sschiau/swift,glessard/swift,parkera/swift,aschwaighofer/swift,shahmishal/swift,jopamer/swift,hooman/swift,practicalswift/swift,huonw/swift,devincoughlin/swift,danielmartin/swift,CodaFi/swift,frootloops/swift,lorentey/swift,glessard/swift,danielmartin/swift,gregomni/swift,nathawes/swift,tjw/swift,lorentey/swift,karwa/swift,rudkx/swift,parkera/swift,brentdax/swift,benlangmuir/swift,austinzheng/swift,zisko/swift,shajrawi/swift,nathawes/swift,jckarter/swift,zisko/swift,stephentyrone/swift,apple/swift,hooman/swift,parkera/swift,practicalswift/swift,karwa/swift,shahmishal/swift,rudkx/swift,hooman/swift,amraboelela/swift,JGiola/swift,stephentyrone/swift,glessard/swift,jckarter/swift,stephentyrone/swift,danielmartin/swift,danielmartin/swift,glessard/swift,tkremenek/swift,gribozavr/swift,jmgc/swift,brentdax/swift,atrick/swift,gregomni/swift,ahoppen/swift,zisko/swift,lorentey/swift,nathawes/swift,hooman/swift,sschiau/swift,frootloops/swift,CodaFi/swift,shahmishal/swift,atrick/swift,shahmishal/swift,stephentyrone/swift,shahmishal/swift,alblue/swift,austinzheng/swift,atrick/swift,jckarter/swift,gregomni/swift,roambotics/swift,airspeedswift/swift,devincoughlin/swift,apple/swift,shahmishal/swift,huonw/swift,jopamer/swift,airspeedswift/swift,sschiau/swift,frootloops/swift,apple/swift,shajrawi/swift,parkera/swift,natecook1000/swift,natecook1000/swift,xwu/swift,frootloops/swift,devincoughlin/swift,CodaFi/swift,huonw/swift,sschiau/swift,harlanhaskins/swift,harlanhaskins/swift,xwu/swift,karwa/swift,tjw/swift,tkremenek/swift,tkremenek/swift,natecook1000/swift,xedin/swift,amraboelela/swift,xedin/swift,zisko/swift,roambotics/swift,benlangmuir/swift