diff options
author | Connor Abbott <[email protected]> | 2016-04-13 16:25:34 -0400 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 09:47:05 -0700 |
commit | b6dc940ec273252678d40707d300851fa1c85ea5 (patch) | |
tree | 3709a76d6d2bff986f8d8ee0700c3fc072c68f48 /src/compiler/nir/nir_from_ssa.c | |
parent | 7143068296aaca8c5af3469c013a7c2a850aee84 (diff) |
nir: rename nir_foreach_block*() to nir_foreach_block*_call()
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_from_ssa.c')
-rw-r--r-- | src/compiler/nir/nir_from_ssa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compiler/nir/nir_from_ssa.c b/src/compiler/nir/nir_from_ssa.c index 7bbc2c0f299..b24d60633a4 100644 --- a/src/compiler/nir/nir_from_ssa.c +++ b/src/compiler/nir/nir_from_ssa.c @@ -774,8 +774,8 @@ nir_convert_from_ssa_impl(nir_function_impl *impl, bool phi_webs_only) state.merge_node_table = _mesa_hash_table_create(NULL, _mesa_hash_pointer, _mesa_key_pointer_equal); - nir_foreach_block(impl, add_parallel_copy_to_end_of_block, &state); - nir_foreach_block(impl, isolate_phi_nodes_block, &state); + nir_foreach_block_call(impl, add_parallel_copy_to_end_of_block, &state); + nir_foreach_block_call(impl, isolate_phi_nodes_block, &state); /* Mark metadata as dirty before we ask for liveness analysis */ nir_metadata_preserve(impl, nir_metadata_block_index | @@ -784,12 +784,12 @@ nir_convert_from_ssa_impl(nir_function_impl *impl, bool phi_webs_only) nir_metadata_require(impl, nir_metadata_live_ssa_defs | nir_metadata_dominance); - nir_foreach_block(impl, coalesce_phi_nodes_block, &state); - nir_foreach_block(impl, aggressive_coalesce_block, &state); + nir_foreach_block_call(impl, coalesce_phi_nodes_block, &state); + nir_foreach_block_call(impl, aggressive_coalesce_block, &state); - nir_foreach_block(impl, resolve_registers_block, &state); + nir_foreach_block_call(impl, resolve_registers_block, &state); - nir_foreach_block(impl, resolve_parallel_copies_block, &state); + nir_foreach_block_call(impl, resolve_parallel_copies_block, &state); nir_metadata_preserve(impl, nir_metadata_block_index | nir_metadata_dominance); |