aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-06-08 15:16:44 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-06-08 13:16:44 +0000
commitb69d9ac6a9f6fae426080c77ce4a395fafb49a5f (patch)
tree70e06d0d036ff5e480b61732710afb7406205bfd /gcc/varasm.c
parentc46f9051654ff52ed083084c109e9247b7fce9aa (diff)
downloadgcc-b69d9ac6a9f6fae426080c77ce4a395fafb49a5f.zip
gcc-b69d9ac6a9f6fae426080c77ce4a395fafb49a5f.tar.gz
gcc-b69d9ac6a9f6fae426080c77ce4a395fafb49a5f.tar.bz2
predict.c (maybe_hot_bb_p): Do not check profile status.
* predict.c (maybe_hot_bb_p): Do not check profile status. (maybe_hot_edge_p): Likewise. (probably_never_executed): Check for zero counts even if profile is not read. (unlikely_executed_edge_p): New function. (unlikely_executed_stmt_p): New function. (unlikely_executed_bb_p): New function. (set_even_probabilities): Use unlikely predicates. (combine_predictions_for_bb): Likewise. (predict_paths_for_bb): Likewise. (predict_paths_leading_to_edge): Likewise. (determine_unlikely_bbs): New function. (estimate_bb_frequencies): Use it. (compute_function_frequency): Use zero counts even if profile is not read. * profile-count.h: Fix typo. * g++.dg/tree-ssa/counts-1.C: New testcase. * gcc.dg/tree-ssa/counts-1.c: New testcase. From-SVN: r249013
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions