]> gcc.gnu.org Git - gcc.git/commit - gcc/ipa-inline.h
re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
authorJan Hubicka <jh@suse.cz>
Sun, 19 Aug 2012 05:55:20 +0000 (07:55 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 19 Aug 2012 05:55:20 +0000 (05:55 +0000)
commit37678631a8a4464bc16c8d02dfaa4086f6038cb1
tree032d8e752b8a993f1aa19d59d320266d25238378
parentecfdae6f116a6c154d57a4fced789d6f1b396c07
re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)

PR lto/45375
* ipa-inline.c (want_inline_small_function_p): Bypass
inline limits for hinted functions.
(edge_badness): Dump hints; decrease badness for hinted funcitons.
* ipa-inline.h (enum inline_hints_vals): New enum.
(inline_hints): New type.
(edge_growth_cache_entry): Add hints.
(dump_inline_summary): Update.
(dump_inline_hints): Declare.
(do_estimate_edge_hints): Declare.
(estimate_edge_hints): New inline function.
(reset_edge_growth_cache): Update.
* predict.c (cgraph_maybe_hot_edge_p): Do not ice on indirect edges.
* ipa-inline-analysis.c (dump_inline_hints): New function.
(estimate_edge_devirt_benefit): Return true when function should be
hinted.
(estimate_calls_size_and_time): New hints argument; set it when
devritualization happens.
(estimate_node_size_and_time): New hints argument.
(do_estimate_edge_time): Cache hints.
(do_estimate_edge_growth): Update.
(do_estimate_edge_hints): New function

From-SVN: r190509
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-inline.h
gcc/predict.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/iinline-1.c
This page took 0.060514 seconds and 5 git commands to generate.