Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.

In some workloads BufferGetBlockNumber() shows up in profiles due to
the sheer number of calls to it (and because it causes cache
misses). The compiler can't move it out of the loop because it's a
full extern function call...

xinzweb/gpdb,yazun/postgres-xl,lisakowen/gpdb,ovr/postgres-xl,jmcatamney/gpdb,xinzweb/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,ashwinstar/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,ashwinstar/gpdb,adam8157/gpdb,ashwinstar/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,greenplum-db/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,zeroae/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,adam8157/gpdb,50wu/gpdb,yazun/postgres-xl,pavanvd/postgres-xl,50wu/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,zeroae/postgres-xl,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,jmcatamney/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,oberstet/postgres-xl,adam8157/gpdb,lisakowen/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,lisakowen/gpdb,50wu/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,ashwinstar/gpdb,xinzweb/gpdb,adam8157/gpdb,ashwinstar/gpdb,xinzweb/gpdb,ovr/postgres-xl,pavanvd/postgres-xl,ovr/postgres-xl,greenplum-db/gpdb,xinzweb/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,pavanvd/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,50wu/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,techdragon/Postgres-XL,oberstet/postgres-xl,oberstet/postgres-xl,pavanvd/postgres-xl,lisakowen/gpdb,jmcatamney/gpdb,50wu/gpdb,yazun/postgres-xl,greenplum-db/gpdb,yazun/postgres-xl,oberstet/postgres-xl,adam8157/gpdb,adam8157/gpdb,techdragon/Postgres-XL,adam8157/gpdb,lisakowen/gpdb,yazun/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,50wu/gpdb,zeroae/postgres-xl,50wu/gpdb