diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-10-29 08:41:10 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-10-29 08:41:10 +0000 |
commit | eb59b8de04973d3d08bf8df731bbd3da38af918c (patch) | |
tree | 5ae5a28c250887e5c6bbcd142331bef3dd27af7d /gcc/ra-rewrite.c | |
parent | ec7e5618bc8b9d720803a3857eb787983b089318 (diff) | |
download | gcc-eb59b8de04973d3d08bf8df731bbd3da38af918c.zip gcc-eb59b8de04973d3d08bf8df731bbd3da38af918c.tar.gz gcc-eb59b8de04973d3d08bf8df731bbd3da38af918c.tar.bz2 |
bitmap.h (bitmap_empty_p): New.
* bitmap.h (bitmap_empty_p): New.
(bitmap_and, bitmap_and_into, bitmap_and_compl,
bitmap_and_compl_into, bitmap_ior, bitmap_ior_into,
bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap
operation macros.
(bitmap_ior_and_compl): Rename to ...
(bitmap_ior_and_compl_into): ... here.
* bitmap.c (bitmap_equal_p): Use bitmap_xor.
(bitmap_ior_and_compl): Rename to ...
(bitmap_ior_and_compl_into): ... here. Adjust. Return changed
flag.
(bitmap_union_of_diff): Use renamed bitmap functions.
* basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET,
XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* df.c (df_bb_rd_local_compute)
* flow.c (calculate_global_regs_live,
init_propagate_block_info): Likewise.
* ifcvt.c (find_if_case_1, find_if_case_2,
dead_or_predicable): Likewise.
* ra-build.c (union_web_part_roots, livethrough_conflicts_bb,
reset_conflicts, conflicts_between_webs): Likewise.
* ra-rewrite.c (reloads_to_loads, rewrite_program2,
detect_web_parts_to_rebuild): Likewise.
* sched-ebb.c (compute_jump_reg_dependencies): Likewise.
* tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise.
* tree-sra.c (decide_instantiations): Likewise.
* tree-ssa-alias.c (create_name_tags,
merge_pointed_to_info): Likewise.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
* tree-ssa-loop-im.c (move_computations): Likewise.
* tree-ssa-operands.c (get_call_expr_operands): Likewise.
* tree-ssa-pre.c (fini_pre): Likewise.
* tree-ssa.c (verify_flow_sensitive_alias_info): Likewise.
* tree-ssanames.c (any_marked_for_rewrite_p): Likewise.
* tree-vectorizer.c (vectorize_loops): Likewise.
From-SVN: r89827
Diffstat (limited to 'gcc/ra-rewrite.c')
-rw-r--r-- | gcc/ra-rewrite.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/ra-rewrite.c b/gcc/ra-rewrite.c index fa00e37..6ebef49 100644 --- a/gcc/ra-rewrite.c +++ b/gcc/ra-rewrite.c @@ -1034,8 +1034,7 @@ reloads_to_loads (struct rewrite_info *ri, struct ref **refs, } } if (num_reloads != old_num_r) - bitmap_operation (ri->need_reload, ri->need_reload, ri->scratch, - BITMAP_AND_COMPL); + bitmap_and_compl_into (ri->need_reload, ri->scratch); } } ri->num_reloads = num_reloads; @@ -1163,8 +1162,7 @@ rewrite_program2 (bitmap new_deaths) ri.num_reloads--; } } - bitmap_operation (ri.need_reload, ri.need_reload, ri.scratch, - BITMAP_AND_COMPL); + bitmap_and_compl_into (ri.need_reload, ri.scratch); last_bb = BLOCK_FOR_INSN (insn); last_block_insn = insn; if (!INSN_P (last_block_insn)) @@ -1397,9 +1395,8 @@ rewrite_program2 (bitmap new_deaths) bitmap_set_bit (ri.scratch, j); ri.num_reloads--; } - } - bitmap_operation (ri.need_reload, ri.need_reload, ri.scratch, - BITMAP_AND_COMPL); + } + bitmap_and_compl_into (ri.need_reload, ri.scratch); } ri.need_load = 1; @@ -1541,8 +1538,7 @@ detect_web_parts_to_rebuild (void) indeed not become member of it again). */ live_at_end -= 2; for (i = 0; i < (unsigned int) last_basic_block + 2; i++) - bitmap_operation (live_at_end[i], live_at_end[i], uses_as_bitmap, - BITMAP_AND_COMPL); + bitmap_and_compl_into (live_at_end[i], uses_as_bitmap); live_at_end += 2; if (dump_file && (debug_new_regalloc & DUMP_REBUILD) != 0) |