diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-17 16:19:49 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-17 16:19:49 +0000 |
commit | 27335ffdbd00a3c8db8200745a86a2930ff711e8 (patch) | |
tree | b901e5ed1ebbfd91523fda1156710e4c09b5f550 /gcc/tree-ssa-loop-ivopts.c | |
parent | 74c7905443624fa47e28828ecf8ac751b38899de (diff) | |
download | gcc-27335ffdbd00a3c8db8200745a86a2930ff711e8.tar.gz |
* bitmap.h (BITMAP_XMALLOC, BITMAP_XFREE): Remove.
* bb-reorder.c (duplicate_computed_gotos): Use BITMAP_ALLOC and
BITMAP_FREE.
* bt-load.c (btr_def_live_range, combine_btr_defs,
migrate_btr_def, migrate_btr_defs): Likewise.
* cfgcleanup.c (thread_jump): Likewise.
* cfgloop.c (get_loop_body_in_bfs_order): Likewise.
* df.c (df_insn_table_realloc, df_bitmaps_alloc, df_bitmaps_free,
df_alloc, df_free, df_du_chain_create, df_bb_rd_local_compute,
df_rd_local_compute, df_reg_info_compute): Likewise.
* dominance.c (init_dom_info, free_dom_info): Likewise.
* flow.c (init_propagate_block_info,
free_propagate_block_info): Likewise.
* gcse.c (alloc_gcse_mem, free_gcse_mem): Likewise.
* global.c (allocate_bb_info, free_bb_info, calculate_reg_pav,
modify_reg_pav): Likewise.
* loop-invariant.c (find_defs, find_invariant_insn,
find_invariants, free_inv_motion_data): Likewise.
* predict.c (tree_predict_by_opcode,
estimate_bb_frequencies): Likewise.
* stmt.c (expand_case): Likewise.
* tree-cfg.c (tree_duplicate_sese_region): Likewise.
* tree-dfa.c (mark_new_vars_to_rename): Likewise.
* tree-if-conv.c (get_loop_body_in_if_conv_order): Likewise.
* tree-into-ssa.c (insert_phi_nodes_for, def_blocks_free,
get_def_blocks_for, mark_def_site_blocks, rewrite_into_ssa,
rewrite_ssa_into_ssa): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* tree-outof-ssa.c (new_temp_expr_table, free_temp_expr_table,
analyze_edges_for_bb, perform_edge_inserts): Likewise.
* tree-scalar-evolution.c (scev_initialize, scev_finalize): Likewise.
* tree-sra.c (tree_sra): Likewise.
* tree-ssa-alias.c (init_alias_info, delete_alias_info): Likewise.
* tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
* tree-ssa-dce.c (tree_dce_init, tree_dce_done): Likewise.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
* tree-ssa-dse.c (tree_ssa_dse): Likewise.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_var):
Likewise.
* tree-ssa-live.c (new_tree_live_info, delete_tree_live_info,
calculate_live_on_entry, calculate_live_on_exit,
build_tree_conflict_graph): Likewise.
* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_init, record_use,
record_important_candidates, set_use_iv_cost, find_depends,
determine_use_iv_costs, iv_ca_new, iv_ca_free, free_loop_data,
tree_ssa_iv_optimize_finalize): Likewise.
* tree-ssa-loop-manip.c (add_exit_phis_var, get_loops_exit,
find_uses_to_rename_use, rewrite_into_loop_closed_ssa,
tree_duplicate_loop_to_header_edge): Likewise.
* tree-ssa-pre.c (init_pre, fini_pre): Likewise.
* tree-ssa.c (verify_flow_insensitive_alias_info,
verify_name_tags, verify_ssa, init_tree_ssa,
delete_tree_ssa): Likewise.
* tree-ssanames.c (marked_ssa_names, init_ssanames,
fini_ssanames): Likewise.
* tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 40661bea109..d1adbabc07b 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -730,8 +730,8 @@ tree_ssa_iv_optimize_init (struct loops *loops, struct ivopts_data *data) data->version_info_size = 2 * num_ssa_names; data->version_info = xcalloc (data->version_info_size, sizeof (struct version_info)); - data->relevant = BITMAP_XMALLOC (); - data->important_candidates = BITMAP_XMALLOC (); + data->relevant = BITMAP_ALLOC (NULL); + data->important_candidates = BITMAP_ALLOC (NULL); data->max_inv_id = 0; data->niters = htab_create (10, nfe_hash, nfe_eq, free); @@ -1152,7 +1152,7 @@ record_use (struct ivopts_data *data, tree *use_p, struct iv *iv, use->iv = iv; use->stmt = stmt; use->op_p = use_p; - use->related_cands = BITMAP_XMALLOC (); + use->related_cands = BITMAP_ALLOC (NULL); /* To avoid showing ssa name in the dumps, if it was not reset by the caller. */ @@ -2184,7 +2184,7 @@ record_important_candidates (struct ivopts_data *data) for (i = 0; i < n_iv_uses (data); i++) { use = iv_use (data, i); - BITMAP_XFREE (use->related_cands); + BITMAP_FREE (use->related_cands); } } else @@ -2260,7 +2260,7 @@ set_use_iv_cost (struct ivopts_data *data, if (cost == INFTY) { - BITMAP_XFREE (depends_on); + BITMAP_FREE (depends_on); return; } @@ -2827,7 +2827,7 @@ find_depends (tree *expr_p, int *ws ATTRIBUTE_UNUSED, void *data) return NULL_TREE; if (!*depends_on) - *depends_on = BITMAP_XMALLOC (); + *depends_on = BITMAP_ALLOC (NULL); bitmap_set_bit (*depends_on, info->inv_id); return NULL_TREE; @@ -3589,7 +3589,7 @@ determine_use_iv_costs (struct ivopts_data *data) unsigned i, j; struct iv_use *use; struct iv_cand *cand; - bitmap to_clear = BITMAP_XMALLOC (); + bitmap to_clear = BITMAP_ALLOC (NULL); alloc_use_cost_map (data); @@ -3623,7 +3623,7 @@ determine_use_iv_costs (struct ivopts_data *data) } } - BITMAP_XFREE (to_clear); + BITMAP_FREE (to_clear); if (dump_file && (dump_flags & TDF_DETAILS)) { @@ -4134,7 +4134,7 @@ iv_ca_new (struct ivopts_data *data) nw->bad_uses = 0; nw->cand_for_use = xcalloc (n_iv_uses (data), sizeof (struct cost_pair *)); nw->n_cand_uses = xcalloc (n_iv_cands (data), sizeof (unsigned)); - nw->cands = BITMAP_XMALLOC (); + nw->cands = BITMAP_ALLOC (NULL); nw->n_cands = 0; nw->n_regs = 0; nw->cand_use_cost = 0; @@ -4152,7 +4152,7 @@ iv_ca_free (struct iv_ca **ivs) { free ((*ivs)->cand_for_use); free ((*ivs)->n_cand_uses); - BITMAP_XFREE ((*ivs)->cands); + BITMAP_FREE ((*ivs)->cands); free ((*ivs)->n_invariant_uses); free (*ivs); *ivs = NULL; @@ -5192,10 +5192,10 @@ free_loop_data (struct ivopts_data *data) struct iv_use *use = iv_use (data, i); free (use->iv); - BITMAP_XFREE (use->related_cands); + BITMAP_FREE (use->related_cands); for (j = 0; j < use->n_map_members; j++) if (use->cost_map[j].depends_on) - BITMAP_XFREE (use->cost_map[j].depends_on); + BITMAP_FREE (use->cost_map[j].depends_on); free (use->cost_map); free (use); } @@ -5247,8 +5247,8 @@ tree_ssa_iv_optimize_finalize (struct loops *loops, struct ivopts_data *data) free_loop_data (data); free (data->version_info); - BITMAP_XFREE (data->relevant); - BITMAP_XFREE (data->important_candidates); + BITMAP_FREE (data->relevant); + BITMAP_FREE (data->important_candidates); htab_delete (data->niters); VARRAY_FREE (decl_rtl_to_reset); |