predict.c (return_prediction): New function.
authorJan Hubicka <jh@suse.cz>
Mon, 20 Sep 2004 18:43:30 +0000 (20:43 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 20 Sep 2004 18:43:30 +0000 (18:43 +0000)
commitbb033fd8060e36e8bafdebec388e5fa91d073d61
treeadf52de249bf13af0d4b65ddb438bf8e22d50b62
parent348f5701fc7bfeeaf8f6ccb2b7894b0b41feae4f
predict.c (return_prediction): New function.

* predict.c (return_prediction): New function.
(apply_return_prediction): Likewise.
(tree_bb_level_predictions): Likewise.
(tree_estimate_probability): Add noreturn exit edges; call
bb_level_predictions; fix logic of return heuristics.
(predict_paths_leading_to):  Rescuesce from old CVS version of
process_note_prediction function.
* predict.def (PRED_TREE_EARLY_RETURN): New predictor.

From-SVN: r87768
gcc/ChangeLog
gcc/predict.c
gcc/predict.def