diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-12-09 21:29:15 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2013-12-09 21:29:15 +0000 |
commit | 04a90bec0962d8033af1178899f1bf3501ff062e (patch) | |
tree | 6527002294a85c8c75581da8c201ffa8e0109d63 /gcc/df-scan.c | |
parent | 4f42035e387241ab4225dfe948d5947ac3a6b883 (diff) | |
download | gcc-04a90bec0962d8033af1178899f1bf3501ff062e.zip gcc-04a90bec0962d8033af1178899f1bf3501ff062e.tar.gz gcc-04a90bec0962d8033af1178899f1bf3501ff062e.tar.bz2 |
Eliminate FOR_ALL_BB macro.
gcc/
* basic-block.h (FOR_ALL_BB): Eliminate macro.
* cfg.c (alloc_aux_for_blocks, clear_aux_for_blocks): Replace
uses of FOR_ALL_BB with FOR_ALL_BB_FN, making uses of cfun explicit.
* cfganal.c (inverted_post_order_compute): Likewise.
* cfgcleanup.c (try_optimize_cfg): Likewise.
* cfgexpand.c (add_scope_conflicts): Likewise.
* cfghooks.c (dump_flow_info, account_profile_record): Likewise.
* cfgrtl.c (relink_block_chain): Likewise.
* dce.c (mark_artificial_uses): Likewise.
* df-core.c (df_set_blocks, df_compute_cfg_image, df_dump): Likewise.
* df-problems.c (df_lr_verify_solution_start,
df_lr_verify_solution_end, df_lr_verify_transfer_functions,
df_live_verify_solution_start, df_live_verify_solution_end,
df_live_set_all_dirty, df_live_verify_transfer_functions,
df_md_local_comput): Likewise.
* df-scan.c (df_scan_free_internal, df_scan_alloc)
df_reorganize_refs_by_insn, df_scan_verify): Likewise.
* dominance.c (compute_dom_fast_query, calculate_dominance_info,
free_dominance_info): Likewise.
* dse.c (dse_step1, dse_step3, dse_step4, dse_step6): Likewise.
* graph.c (draw_cfg_edges): Likewise.
* graphite-scop-detection.c (print_graphite_scop_statistics,
dot_all_scops_1): Likewise.
* graphite.c (print_global_statistics,
print_graphite_scop_statistics): Likewise.
* ira.c (do_reload): Likewise.
* loop-init.c (loop_optimizer_finalize): Likewise.
* lto-streamer-in.c (input_function): Likewise.
* lto-streamer-out.c (output_function): Likewise.
* mcf.c (adjust_cfg_counts): Likewise.
* predict.c (estimate_loops): Likewise.
* sched-rgn.c (haifa_find_rgns): Likewise.
* tree-cfg.c (split_critical_edges): Likewise.
* tree-dfa.c (renumber_gimple_stmt_uids): Likewise.
* tree-loop-distribution.c (tree_loop_distribution): Likewise.
* tree-ssa-pre.c (compute_antic, insert, init_pre): Likewise.
* tree-ssa-propagate.c (ssa_prop_init): Likewise.
* var-tracking.c (vt_initialize, vt_finalize): Likewise.
* vtable-verify.c (vtable_verify_main): Likewise.
* web.c (web_main): Likewise.
From-SVN: r205830
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 9f6f67a..a35b12f 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -213,7 +213,7 @@ df_scan_free_internal (void) } } - FOR_ALL_BB (bb) + FOR_ALL_BB_FN (bb, cfun) { unsigned int bb_index = bb->index; struct df_scan_bb_info *bb_info = df_scan_get_bb_info (bb_index); @@ -355,7 +355,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) df_grow_insn_info (); df_grow_bb_info (df_scan); - FOR_ALL_BB (bb) + FOR_ALL_BB_FN (bb, cfun) { unsigned int bb_index = bb->index; struct df_scan_bb_info *bb_info = df_scan_get_bb_info (bb_index); @@ -1887,7 +1887,7 @@ df_reorganize_refs_by_insn (struct df_ref_info *ref_info, } else { - FOR_ALL_BB (bb) + FOR_ALL_BB_FN (bb, cfun) offset = df_reorganize_refs_by_insn_bb (bb, offset, ref_info, include_defs, include_uses, include_eq_uses); @@ -4569,7 +4569,7 @@ df_scan_verify (void) clear a mark that has not been set as this means that the ref in the block or insn was not in the reg chain. */ - FOR_ALL_BB (bb) + FOR_ALL_BB_FN (bb, cfun) df_bb_verify (bb); /* (4) See if all reg chains are traversed a second time. This time |