genmatch.c (struct dt_node): Add statistic fields.
authorRichard Biener <rguenther@suse.de>
Fri, 24 Jul 2015 12:39:08 +0000 (12:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 24 Jul 2015 12:39:08 +0000 (12:39 +0000)
commit803835ded7f4ed4bbfcf0bbb427c7cf1f23203ac
treeff65bc2fd54f85c55f0e4f564fb9e6a7f1c9d59c
parent21aacde45801e932d3de8f7547fda44226ae9764
genmatch.c (struct dt_node): Add statistic fields.

2015-07-24  Richard Biener  <rguenther@suse.de>

* genmatch.c (struct dt_node): Add statistic fields.
(dt_node::analyze): New method.
(decision_tree::gen_gimple): Call analyze on the root node
and print statistics to stderr.
(decision_tree::gen_generic): Likewise.

From-SVN: r226154
gcc/ChangeLog
gcc/genmatch.c