aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivopts.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-11-04 08:57:55 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-11-04 08:57:55 +0000
commit67299d9127c08dcc633ea6433dc1a3234256eaf0 (patch)
tree381c370b2e2063e2c34f68b24e68b22e0c832bd8 /gcc/tree-ssa-loop-ivopts.c
parent3cd8c58a83c5dcd0a2f6aaea392c378dd75bff3b (diff)
downloadgcc-67299d9127c08dcc633ea6433dc1a3234256eaf0.zip
gcc-67299d9127c08dcc633ea6433dc1a3234256eaf0.tar.gz
gcc-67299d9127c08dcc633ea6433dc1a3234256eaf0.tar.bz2
bitmap.h (bitmap_a_or_b, [...]): Remove.
* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove. * df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior, bitmap_and_into, bitmap_ior_into as appropriate. * except.c (remove_eh_handler): Likewise. * global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise. * tree-dfa.c (mark_new_vars_to_rename): Likewise. * tree-ssa-alias.c (merge_pointed_to_info): Likewise. * tree-ssa-live.h (live_merge_and_clear): Likewise. * tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for): Likewise. From-SVN: r90054
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r--gcc/tree-ssa-loop-ivopts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index f457f7a..ce1eccc 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -3473,8 +3473,8 @@ find_best_candidate (struct ivopts_data *data,
{
asol = BITMAP_XMALLOC ();
- bitmap_a_or_b (asol, data->important_candidates, use->related_cands);
- bitmap_a_and_b (asol, asol, sol);
+ bitmap_ior (asol, data->important_candidates, use->related_cands);
+ bitmap_and_into (asol, sol);
}
EXECUTE_IF_SET_IN_BITMAP (asol, 0, c, bi)
@@ -3500,7 +3500,7 @@ find_best_candidate (struct ivopts_data *data,
goto next_cand;
}
if (used_inv)
- bitmap_a_or_b (used_inv, used_inv, depends_on);
+ bitmap_ior_into (used_inv, depends_on);
}
cnd = acnd;
@@ -3623,7 +3623,7 @@ try_add_cand_for (struct ivopts_data *data, bitmap ivs, bitmap inv,
bitmap_copy (act_ivs, ivs);
bitmap_set_bit (act_ivs, cand->id);
if (depends_on)
- bitmap_a_or_b (act_inv, inv, depends_on);
+ bitmap_ior (act_inv, inv, depends_on);
else
bitmap_copy (act_inv, inv);
act_cost = set_cost_up_to (data, act_ivs, act_inv, use->id + 1);
@@ -3651,7 +3651,7 @@ try_add_cand_for (struct ivopts_data *data, bitmap ivs, bitmap inv,
bitmap_copy (act_ivs, ivs);
bitmap_set_bit (act_ivs, cp->cand->id);
if (cp->depends_on)
- bitmap_a_or_b (act_inv, inv, cp->depends_on);
+ bitmap_ior (act_inv, inv, cp->depends_on);
else
bitmap_copy (act_inv, inv);
act_cost = set_cost_up_to (data, act_ivs, act_inv, use->id + 1);