basic-block.h (guess_outgoing_edge_probabilities): Declare.
authorJan Hubicka <jh@suse.cz>
Thu, 9 Sep 2004 12:20:40 +0000 (14:20 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 9 Sep 2004 12:20:40 +0000 (12:20 +0000)
commit87022a6b0e909befbd0cf98339cd65eede6060f3
treed0a7e707ffda1026a1023f45c18e9c7f465037ff
parent3b5edfeecb64767d26a9cff4b99abe720746ce45
basic-block.h (guess_outgoing_edge_probabilities): Declare.

* 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.

From-SVN: r87234
gcc/ChangeLog
gcc/basic-block.h
gcc/cfgbuild.c
gcc/predict.c