[OSLogOptimization] Minor refactoring of the logic for determining whether a SILValue can be folded and also of the logic for emitting SIL code for symbolic values.
[OSLogOptimization] Minor refactoring of the logic for determining
whether a SILValue can be folded and also of the logic for emitting
SIL code for symbolic values.

allevato/swift,hooman/swift,lorentey/swift,allevato/swift,roambotics/swift,gribozavr/swift,jckarter/swift,atrick/swift,lorentey/swift,gribozavr/swift,jmgc/swift,tkremenek/swift,xwu/swift,airspeedswift/swift,apple/swift,airspeedswift/swift,CodaFi/swift,gribozavr/swift,lorentey/swift,apple/swift,benlangmuir/swift,rudkx/swift,nathawes/swift,karwa/swift,CodaFi/swift,karwa/swift,parkera/swift,rudkx/swift,glessard/swift,benlangmuir/swift,stephentyrone/swift,nathawes/swift,rudkx/swift,tkremenek/swift,aschwaighofer/swift,lorentey/swift,atrick/swift,apple/swift,parkera/swift,stephentyrone/swift,airspeedswift/swift,aschwaighofer/swift,nathawes/swift,nathawes/swift,lorentey/swift,ahoppen/swift,rudkx/swift,rudkx/swift,jckarter/swift,allevato/swift,airspeedswift/swift,harlanhaskins/swift,lorentey/swift,tkremenek/swift,JGiola/swift,aschwaighofer/swift,atrick/swift,hooman/swift,allevato/swift,glessard/swift,JGiola/swift,allevato/swift,xwu/swift,xwu/swift,jmgc/swift,gribozavr/swift,jckarter/swift,roambotics/swift,glessard/swift,xwu/swift,ahoppen/swift,gregomni/swift,allevato/swift,allevato/swift,parkera/swift,jckarter/swift,tkremenek/swift,lorentey/swift,stephentyrone/swift,jmgc/swift,glessard/swift,JGiola/swift,nathawes/swift,harlanhaskins/swift,CodaFi/swift,gregomni/swift,roambotics/swift,aschwaighofer/swift,aschwaighofer/swift,xwu/swift,rudkx/swift,xwu/swift,harlanhaskins/swift,stephentyrone/swift,CodaFi/swift,benlangmuir/swift,benlangmuir/swift,CodaFi/swift,atrick/swift,gregomni/swift,ahoppen/swift,karwa/swift,glessard/swift,harlanhaskins/swift,atrick/swift,stephentyrone/swift,jmgc/swift,parkera/swift,gribozavr/swift,parkera/swift,apple/swift,jckarter/swift,harlanhaskins/swift,jmgc/swift,roambotics/swift,JGiola/swift,benlangmuir/swift,tkremenek/swift,airspeedswift/swift,CodaFi/swift,gribozavr/swift,gregomni/swift,nathawes/swift,ahoppen/swift,jckarter/swift,gribozavr/swift,karwa/swift,aschwaighofer/swift,glessard/swift,stephentyrone/swift,karwa/swift,karwa/swift,apple/swift,CodaFi/swift,JGiola/swift,harlanhaskins/swift,karwa/swift,tkremenek/swift,aschwaighofer/swift,jmgc/swift,gregomni/swift,jmgc/swift,xwu/swift,ahoppen/swift,parkera/swift,airspeedswift/swift,ahoppen/swift,hooman/swift,roambotics/swift,harlanhaskins/swift,benlangmuir/swift,parkera/swift,tkremenek/swift,gregomni/swift,gribozavr/swift,stephentyrone/swift,hooman/swift,jckarter/swift,karwa/swift,hooman/swift,hooman/swift,roambotics/swift,apple/swift,parkera/swift,atrick/swift,lorentey/swift,hooman/swift,JGiola/swift,airspeedswift/swift,nathawes/swift