OSDN Git Service

* basic-block.h (guess_outgoing_edge_probabilities): Declare.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2004 12:20:40 +0000 (12:20 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2004 12:20:40 +0000 (12:20 +0000)
commit83c8a97789c308913dac832723c3596d408cb6eb
treed0a7e707ffda1026a1023f45c18e9c7f465037ff
parent5e8f3c31e20da10db3a8b658815c7a3acc5ca97d
* basic-block.h (guess_outgoing_edge_probabilities): Declare.
* cfgbuild.c (compute_outgoing_frequencies): When probability is missing,
guess it.
(find_many_sub_basic_blocks): Do update profile only when it is present.
* predict.c (set_even_probabilities): Break out from ...
(combine_predictions_for_insn): ... here; deal with !can_predict_insn_p insns.
(combine_predictions_for_bb): Use set_even_probabilities.
(bb_estimate_probability_locally): Break out from ....
(estimate_probability): ... here.
(guess_outgoing_edge_probabilities): New entry point.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87234 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/cfgbuild.c
gcc/predict.c