i965: Add and use foreach_block macro.
authorMatt Turner <mattst88@gmail.com>
Sat, 12 Jul 2014 05:31:39 +0000 (22:31 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 19 Aug 2014 01:56:30 +0000 (18:56 -0700)
commit596990d91e2a4c4a3a303c6c2da623bf1840771b
tree7b5c73946e88aebe1110ccbcad2654bd4f9c5dac
parentd688667c7f8ab69b079b7c85dccc2b70e5863e32
i965: Add and use foreach_block macro.

Use this as an opportunity to rename 'block_num' to 'num'. block->num is
clear, and block->block_num has always been redundant.
14 files changed:
src/mesa/drivers/dri/i965/brw_cfg.cpp
src/mesa/drivers/dri/i965/brw_cfg.h
src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_sel_peephole.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp
src/mesa/drivers/dri/i965/intel_asm_annotation.c