Port edge_growth_cache to call_summary.
authorMartin Liska <mliska@suse.cz>
Fri, 8 Jun 2018 12:31:09 +0000 (14:31 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 8 Jun 2018 12:31:09 +0000 (12:31 +0000)
commit9fb50ad822bd57786b12a2fc90c61032c519a621
tree167105a5677e1cdfe7a5f9f9b37b02b13340a447
parent1ac2bdb45faaa455afcb3b77eb824dde429c27fb
Port edge_growth_cache to call_summary.

2018-06-08  Martin Liska  <mliska@suse.cz>

* ipa-inline-analysis.c (inline_edge_removal_hook): Remove.
(initialize_growth_caches): Remove.
(free_growth_caches): Likewise.
(do_estimate_edge_time): Use edge_growth_cache.
(do_estimate_edge_size): Likewise.
(do_estimate_edge_hints): Likewise.
* ipa-inline.c (reset_edge_caches): Likewise.
(recursive_inlining): Likewise.
(inline_small_functions): Likewise.
* ipa-inline.h (initialize_growth_caches): Remove.
(estimate_edge_size): Likewise.
(estimate_edge_time): Likewise.
(estimate_edge_hints): Likewise.
(reset_edge_growth_cache): Likewise.
* symbol-summary.h (call_summary::remove): New method.

From-SVN: r261318
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h
gcc/symbol-summary.h