diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-01-05 19:16:55 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-01-05 18:16:55 +0000 |
commit | d06f73a3872638cc2257743b5c947da9c9a3bfa4 (patch) | |
tree | cf8d7a5d59159ab6e53790c3e471634618dec2bd /gcc/params.def | |
parent | 121356b0175c6cf1cfc64502f73b35d54b5681a5 (diff) | |
download | gcc-d06f73a3872638cc2257743b5c947da9c9a3bfa4.zip gcc-d06f73a3872638cc2257743b5c947da9c9a3bfa4.tar.gz gcc-d06f73a3872638cc2257743b5c947da9c9a3bfa4.tar.bz2 |
invoke.texi: Document max-inline-insns-size...
* doc/invoke.texi: Document max-inline-insns-size,
uninlined-function-insns, uninlined-function-time,
uninlined-thunk-insns and uninlined-thunk-time.
* params.def: Add max-inline-insns-size,
uninlined-function-insns, uninlined-function-time,
uninlined-thunk-insns and uninlined-thunk-time.
* ipa-fnsummary.c (compute_fn_summary, analyze_function_body): Use
new parameters.
* ipa-inline.c (can_inline_edge_by_limits_p,
want_inline_small_function_p): Use new parameters.
From-SVN: r267601
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index 8ca3bbd..b89b475 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -83,6 +83,33 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO, "The maximum number of instructions when automatically inlining.", 30, 0, 0) +DEFPARAM (PARAM_MAX_INLINE_INSNS_SIZE, + "max-inline-insns-size", + "The maximum number of instructions when inlining for size.", + 0, 0, 0) + +DEFPARAM (PARAM_UNINLINED_FUNCTION_INSNS, + "uninlined-function-insns", + "Instruction accounted for function prologue, epilogue and other" + " overhead.", + 2, 0, 0) + +DEFPARAM (PARAM_UNINLINED_FUNCTION_TIME, + "uninlined-function-time", + "Time accounted for function prologue, epilogue and other" + " overhead.", + 0, 0, 0) + +DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_INSNS, + "uninlined-thunk-insns", + "Instruction accounted for function thunk overhead.", + 2, 0, 0) + +DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_TIME, + "uninlined-thunk-time", + "Time accounted for function thunk overhead.", + 2, 0, 0) + DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE, "max-inline-insns-recursive", "The maximum number of instructions inline function can grow to via recursive inlining.", |