r278007 - in /trunk/gcc: ChangeLog ipa-inline-a...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Sat Nov 9 17:52:00 GMT 2019


Author: hubicka
Date: Sat Nov  9 17:52:56 2019
New Revision: 278007

URL: https://gcc.gnu.org/viewcvs?rev=278007&root=gcc&view=rev
Log:

	* ipa-inline-analysis.c (do_estimate_growth_1): Add support for
	capping the growth cumulated.
	(offline_size): Break out from ...
	(estimate_growth): ... here.
	(check_callers): Add N, OFFLINE and MIN_SIZE and KNOWN_EDGE
	parameters.
	(growth_likely_positive): Turn to ...
	(growth_positive_p): Re-implement.
	* ipa-inline.h (growth_likely_positive): Remove.
	(growth_positive_p): Declare.
	* ipa-inline.c (want_inline_small_function_p): Use
	growth_positive_p.
	(want_inline_function_to_all_callers_p): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline-analysis.c
    trunk/gcc/ipa-inline.c
    trunk/gcc/ipa-inline.h



More information about the Gcc-cvs mailing list