diff options
author | Martin Liska <mliska@suse.cz> | 2016-06-09 13:37:41 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-06-09 11:37:41 +0000 |
commit | e49efc14a17f32b2801dfa481081a0cabc083fe7 (patch) | |
tree | e3753f419888a5394694e152cd1c15fd95083483 /gcc/flags.h | |
parent | 36d579866680fd2b45800b072527a9cce93235d0 (diff) | |
download | gcc-e49efc14a17f32b2801dfa481081a0cabc083fe7.zip gcc-e49efc14a17f32b2801dfa481081a0cabc083fe7.tar.gz gcc-e49efc14a17f32b2801dfa481081a0cabc083fe7.tar.bz2 |
Add edge predictions pruning
* analyze_brprob.py: Cover new dump output format.
* predict.c (dump_prediction): Add new argument.
(enum predictor_reason): New enum.
(struct predictor_hash): New struct.
(predictor_hash::hash): New function.
(predictor_hash::equal): Likewise.
(not_removed_prediction_p): New function.
(prune_predictions_for_bb): Likewise.
(combine_predictions_for_bb): Prune predictions.
* g++.dg/predict-loop-exit-1.C: Scan for a new dump format.
* g++.dg/predict-loop-exit-2.C: Likewise.
* g++.dg/predict-loop-exit-3.C: Likewise.
* gcc.dg/predict-1.c: Likewise.
* gcc.dg/predict-2.c: Likewise.
* gcc.dg/predict-3.c: Likewise.
* gcc.dg/predict-4.c: Likewise.
* gcc.dg/predict-5.c: Likewise.
* gcc.dg/predict-6.c: Likewise.
* gcc.dg/predict-7.c: Likewise.
From-SVN: r237255
Diffstat (limited to 'gcc/flags.h')
0 files changed, 0 insertions, 0 deletions