Dump profile-based number of iterations
authorMartin Liska <mliska@suse.cz>
Fri, 24 Jun 2016 16:22:44 +0000 (18:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 24 Jun 2016 16:22:44 +0000 (16:22 +0000)
commit199b1891cb3855b293e0abf18a894645738e3132
tree58def27bed7c883fb39401708de460fccdea696c
parent04619cb86e06ee543dd4ab2b3b8e7fad772883bd
Dump profile-based number of iterations

* analyze_brprob.py: Parse and display average number
of loop iterations.
* cfgloop.c (flow_loop_dump): Dump average number of loop iterations.
* cfgloop.h: Change 'struct loop' to 'const struct loop' for a
few functions.
* cfgloopanal.c (expected_loop_iterations_unbounded): Set a new
argument to true if the expected number of iterations is
loop-based.

From-SVN: r237762
contrib/ChangeLog
contrib/analyze_brprob.py
gcc/ChangeLog
gcc/cfgloop.c
gcc/cfgloop.h
gcc/cfgloopanal.c