diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-13 19:39:02 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-04-13 19:39:02 +0000 |
commit | 4da3b811f9f7456dacd2c5e6fdc0ba2cf4ca39e1 (patch) | |
tree | 61a6187d6f263a1d8b55b7d4936e9fa41349fcbc /gcc/postreload-gcse.c | |
parent | 89fa552a9e33f75afd6c02204e29d6aa4c74c1ab (diff) | |
download | gcc-4da3b811f9f7456dacd2c5e6fdc0ba2cf4ca39e1.zip gcc-4da3b811f9f7456dacd2c5e6fdc0ba2cf4ca39e1.tar.gz gcc-4da3b811f9f7456dacd2c5e6fdc0ba2cf4ca39e1.tar.bz2 |
postreload-gcse.c (gcse_after_reload_main): Add calls to statistics_counter_event.
* postreload-gcse.c (gcse_after_reload_main): Add calls to
statistics_counter_event.
* tree-ssa-copyrename.c (stats): Define.
(rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to
statistics_counter_event.
* tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define.
(bswap_stats, widen_mul_stats): Define.
(insert_reciprocals): Increment rdivs_inserted.
(execute_cse_reciprocals): Zeroize reciprocal_stats. Increment
rfuncs_inserted. Add calls to statistics_counter_event.
(execute_cse_sincos_1): Increment inserted.
(execute_cse_sincos): Zeroize sincos_stats. Add call to
statistics_counter_event.
(execute_optimize_bswap): Zeroize bswap_stats. Increment fields
of bswap_stats. Add calls to statistics_counter_event.
(convert_mult_to_widen): Increment widen_mults_inserted.
(convert_plusminus_to_widen): Increment maccs_inserted.
(convert_mult_to_fma): Increment fmas_inserted.
(execute_optimize_widening_mul): Zeroize widen_mul_stats. Add
calls to statistics_counter_event.
From-SVN: r172392
Diffstat (limited to 'gcc/postreload-gcse.c')
-rw-r--r-- | gcc/postreload-gcse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 7eeecf4..8e26419 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1294,6 +1294,13 @@ gcse_after_reload_main (rtx f ATTRIBUTE_UNUSED) fprintf (dump_file, "insns deleted: %d\n", stats.insns_deleted); fprintf (dump_file, "\n\n"); } + + statistics_counter_event (cfun, "copies inserted", + stats.copies_inserted); + statistics_counter_event (cfun, "moves inserted", + stats.moves_inserted); + statistics_counter_event (cfun, "insns deleted", + stats.insns_deleted); } /* We are finished with alias. */ |