This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fold bb_ann_d into basic_block_def.
- From: Richard Henderson <rth at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 May 2005 14:12:24 -0700
- Subject: Re: [patch] Fold bb_ann_d into basic_block_def.
- References: <20050526.174556.03597722.kazu@cs.umass.edu>
On Thu, May 26, 2005 at 05:45:56PM -0400, Kazu Hirata wrote:
> * basic-block.h (basic_block_def): Add phi_nodes and
> predictions. Remove tree_annotations.
> * predict.c (tree_predicted_by_p, tree_predict_edge,
> combine_predictions_for_bb): Adjust references to predictions.
> * tree-cfg.c (init_empty_tree_cfg, create_bb): Don't call
> create_block_annotation.
> (create_block_annotation, free_blocks_annotatios,
> clear_blocks_annotations): Remove.
> (dump_cfg_stats): Don't print out the memory spent on
> bb_ann_d.
> (delete_tree_cfg_annotations): Don't call free_blocks_annotations.
> * tree-flow-inline.h (bb_ann): Remove.
> (phi_nodes, set_phi_nodes): Update references to phi_nodes.
> * tree-flow.h (bb_ann_d): Remove.
> * tree-if-conv.c (process_phi_nodes): Update a reference to
> phi_nodes.
> * tree-phinodes.c (reserve_phi_args_for_new_edge,
> create_phi_node, remove_phi_node): Likewise.
> * tree-pretty-print.c (dump_generic_bb_buff): Don't call bb_ann.
> * tree-ssa-dom.c (threaded_blocks): New.
> (tree_ssa_dominator_optimize): Initialize, clear, and free
> threaded_blocks. Update a call to thread_through_all_blocks.
> (thread_across_edge): Use threaded_blocks instead of setting
> incoming_edge_threaded.
> * tree-ssa-threadupdate.c (threaded_through_all_blocks): Take
> a bitmap of blocks that are threaded through.
> * tree.h: Move the prototype of threaded_through_blocks to
> tree-flow.h.
Ok.
r~