[post-order] Add an API to PostOrderFunctionInfo that maps a BB to its RPO and PO number.
[post-order] Add an API to PostOrderFunctionInfo that maps a BB to its RPO and PO number.

We often times create this map in passes so that we can map from a BB -> ID ->
StateObject. Since it seems a fundamental part of the API, lets just stick it on PostOrderFunctionInfo.

I also moved a few declarations into PostOrderFunctionInfo. Calling getPostOrder
on the analysis instead of the function info is an artifact from an earlier
iteration of PostOrderAnalysis when it was not based on function info base. We
should always get the function info to follow the normal function info base
pattern.

I rewrote the PostOrderAnalysis APIs to use the new PostOrderFunctionInfo APIs.
I am going to move them over piece by piece.

Swift SVN r31663

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