aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-21Remove arc profile histogram in non-LTO mode.Martin Liska1-4/+5
2018-09-03Make __builtin_expect effective in switch statements (PR middle-end/PR59521).Martin Liska1-20/+80
2018-08-27Come up with fndecl_built_in_p.Martin Liska1-3/+5
2018-08-15Fix merging of 2 predictors (PR tree-optimization/86925).Martin Liska1-3/+8
2018-08-10Introduce __builtin_expect_with_probability (PR target/83610).Martin Liska1-52/+110
2018-08-10Strip only selected predictors after early tree passes (PR tree-optimization/...Martin Liska1-31/+69
2018-08-07Add malloc predictor (PR middle-end/83023).Martin Liska1-0/+12
2018-08-03Print heuristics probability fraction part with 2 digits.Martin Liska1-1/+1
2018-07-07tree-vrp.c (vrp_int_const_binop): Change overflow type to overflow_type.Aldy Hernandez1-1/+2
2018-03-20Handle -fno-guess-branch-probability properly in predict.c (PR ipa/84825).Martin Liska1-0/+3
2018-03-02predict.c (test_prediction_value_range): Use PROB_UNINITIALIZED instead of -1...Jakub Jelinek1-1/+1
2018-01-25re PR tree-optimization/83055 (ICE in operator>, at profile-count.h:834)Jan Hubicka1-13/+10
2018-01-24cfgcleanup.c (try_crossjump_to_edge): Use combine_with_count to merge probabi...Jan Hubicka1-1/+1
2018-01-23Remove predictors that are unrealiable.Martin Liska1-1/+1
2018-01-23predict.c (probably_never_executed): Only use precise profile info.Jan Hubicka1-10/+10
2018-01-19Introduce PROB_UNINITIALIZED constant and use it in predict.def.Martin Liska1-1/+5
2018-01-19Fix usage of analyze_brprob.py script.Martin Liska1-0/+13
2018-01-13predict.c (determine_unlikely_bbs): Handle correctly BBs which appears in the...Jan Hubicka1-2/+4
2018-01-10re PR rtl-optimization/83575 (ICE: verify_flow_info failed (error: multiple h...Jan Hubicka1-5/+14
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
2017-12-19re PR middle-end/81914 (gcc 7.1 generates branch for code which was branchles...Jakub Jelinek1-0/+71
2017-11-18cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.Jan Hubicka1-7/+3
2017-11-17predict.c (determine_unlikely_bbs): Set cgraph node count to 0 when entry blo...Jan Hubicka1-1/+9
2017-11-16predict.c (combine_predictions_for_bb): Preserve zero predicted eges.Jan Hubicka1-18/+53
2017-11-14auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.Jan Hubicka1-40/+41
2017-11-11* predict.c (maybe_hot_frequency_p): Do not use cfun.Jan Hubicka1-2/+2
2017-11-10auto-profile.c (afdo_indirect_call): Drop frequency.Jan Hubicka1-5/+4
2017-11-06re PR bootstrap/82832 (Broken PGO LTO bootstrap on x86_64 after r254379)Jan Hubicka1-2/+1
2017-11-03asan.c (create_cond_insert_point): Maintain profile.Jan Hubicka1-66/+81
2017-10-19asan.c (create_cond_insert_point): Do not update edge count.Jan Hubicka1-44/+19
2017-10-07invoke.texi (Wsuggest-attribute=cold): Document.Jan Hubicka1-2/+8
2017-08-08trans.c: Include header files.Martin Liska1-0/+2
2017-07-19predict.c (propagate_unlikely_bbs_forward): Break out from ...Jan Hubicka1-37/+49
2017-07-18re PR tree-optimization/81462 (ICE in estimate_bb_frequencies at gcc/predict....Jan Hubicka1-8/+18
2017-07-16profile-count.h (profile_probability::from_reg_br_prob_note, [...]): New func...Jan Hubicka1-35/+22
2017-07-03re PR rtl-optimization/81290 (ICE in update_br_prob_note)Jan Hubicka1-3/+14
2017-07-01cfg.c (scale_bbs_frequencies): New function.Jan Hubicka1-3/+4
2017-06-29asan.c (asan_emit_stack_protection): Update.Jan Hubicka1-45/+68
2017-06-27predict.c (test_prediction_value_range): Use -1U instead of -1 to avoid narro...Jakub Jelinek1-1/+1
2017-06-21Rework cold and hot label attributes in predict.c.Martin Liska1-23/+0
2017-06-21Make early return predictor more precise.Martin Liska1-41/+0
2017-06-16predict.c (force_edge_cold): Handle declaring edges impossible more aggresively.Jan Hubicka1-1/+32
2017-06-10predict.c (drop_profile): Also drop individual bb/edge and cgraph edge counts.Jan Hubicka1-9/+34
2017-06-09* predict.c (unlikely_executed_stmt_p): Cleanup.Jan Hubicka1-1/+1
2017-06-09* predict.c (unlikely_executed_stmt_p): Cleanup.Jan Hubicka1-2/+3
2017-06-09Come up with selftests for predict.c.Martin Liska1-0/+44
2017-06-08predict.c (unlikely_executed_edge_p): Move ahead.Jan Hubicka1-9/+11
2017-06-08cgraph.c (cgraph_edge::maybe_hot_p): Do not check flag_branch_probabilities.Jan Hubicka1-3/+2
2017-06-08predict.c (maybe_hot_bb_p): Do not check profile status.Jan Hubicka1-20/+223
2017-06-06predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY.Jan Hubicka1-3/+18