Port edge_growth_cache to call_summary.
commitbc4e128695f4ac7cd8396733c5ffd9db568b9c4e
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:31:09 +0000 (8 12:31 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2018 12:31:09 +0000 (8 12:31 +0000)
tree167105a5677e1cdfe7a5f9f9b37b02b13340a447
parent49b8ee096310f984bad361c2ac4d1bf053dcc1c0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261318 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h
gcc/symbol-summary.h