gcc/gcc ChangeLog.tree-ssa basic-block.h cfgho ...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Wed Jan 14 22:39:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: hubicka@gcc.gnu.org 2004-01-14 22:39:35
Modified files:
gcc : ChangeLog.tree-ssa basic-block.h cfghooks.c
cfghooks.h cfgrtl.c cse.c predict.c predict.def
predict.h tree-cfg.c tree-flow.h
tree-optimize.c tree-pass.h
Log message:
* basic-block.h: Include predict.h
(tree_predicted_by_p, rtl_predicted_by_p, rtl_predict_edge,
predict_edge_def): Declare.
* cfghooks.h (cfg_hooks): add predict_edge and predicted_by_p
(predict_edge, predicted_by_p): Declare.
* cfghooks.c (predict_edge, predicted_by_p): Declare.
* cfgrtl (rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add new hooks.
* cse.c (struct cse_basic_block_data): Rename enum values to not
conflict with profile.h; update all uses.
* predict.c: Include tree-flow.h, ggc.h, tree-dump.h
(predicted_by_p): Rename to ...
(rtl_predicted_by_p): .. this one; make global
(tree_predicted_by_p): New.
(dump_prediction): Add FILE argument.
(predict_edge): Rename to ...
(rtl_predict_edge): .. this one.
(tree_predict_edge): New.
(combine_predictions_for_insn): Update calls of predict_edge.
(predict_loops): Break out from ...
(estimate_probability): ... here; update comments; move updating
of unknown probabilities from ...
(estimate_bb_frequencies): ... here.
(combine_predictions_for_bb): New.
(tree_predict_by_opcode): New.
(tree_estimate_probability): New.
* predict.def (PRED_TREE_POINTER, PRED_TREE_OPCODE_POSITIVE,
PRED_TREE_OPCODE_NONEQUAL, PRED_TREE_FPOPCODE): New predictors.
* predict.h: Add include guard.
(predict_edge, predict_edge_def): Move prototypes to basic_block.h
* tree-cfg.c (tree_cfg_hooks): Add prediction hooks.
* tree-dump.c (dump_files): Add profile.
* tree-flow.h (struct edge_prediction): New structure.
(struct bb_ann_d): Add field predictions.
(tree_estimate_probability): Declare.
* tree-optimize.c (optimize_function_tree): Call tree_estimate_probability.
* tree.h (tree_dump_index): Add TDI_profile.
* tree-pass.h (pass_profile): Declare.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1078&r2=1.1.2.1079
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/basic-block.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.153.2.42&r2=1.153.2.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfghooks.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfghooks.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.8&r2=1.1.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgrtl.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.57.2.23&r2=1.57.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.229.2.23&r2=1.229.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/predict.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.71.2.15&r2=1.71.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/predict.def.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.15.2.2&r2=1.15.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/predict.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.6.2.3&r2=1.6.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.253&r2=1.1.4.254
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.181&r2=1.1.4.182
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.107&r2=1.1.4.108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pass.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.2&r2=1.1.2.3
More information about the Gcc-cvs
mailing list