diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-01-05 23:47:24 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-01-05 22:47:24 +0000 |
commit | f256c2743099dca4e5708d51d423c6ca70c4afb6 (patch) | |
tree | e728e6206f4450d4d3306086625736287922b6d3 /gcc/params.def | |
parent | beb04ce9d4d6b30ca881ff7f5ebd143433f84722 (diff) | |
download | gcc-f256c2743099dca4e5708d51d423c6ca70c4afb6.zip gcc-f256c2743099dca4e5708d51d423c6ca70c4afb6.tar.gz gcc-f256c2743099dca4e5708d51d423c6ca70c4afb6.tar.bz2 |
invoke.texi (max-inline-insns-small): New parameters.
* doc/invoke.texi (max-inline-insns-small): New parameters.
* ipa-inline.c (want_early_inline_function_p): simplify.
(want_inline_small_function_p): Fix pasto from previous patch;
use max-inline-insns-small bound.
* params.def (max-inline-insns-small): New param.
* ipa-fnsummary.c (analyze_function_body): Initialize time/size
variables correctly.
From-SVN: r267603
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index b89b475..0e08db2 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -83,6 +83,11 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO, "The maximum number of instructions when automatically inlining.", 30, 0, 0) +DEFPARAM (PARAM_MAX_INLINE_INSNS_SMALL, + "max-inline-insns-small", + "The maximum number of instructions when automatically inlining small functions.", + 0, 0, 0) + DEFPARAM (PARAM_MAX_INLINE_INSNS_SIZE, "max-inline-insns-size", "The maximum number of instructions when inlining for size.", |