[gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Limit inlining called once

Jan Hubicka hubicka@gcc.gnu.org
Mon Dec 6 05:48:59 GMT 2021


https://gcc.gnu.org/g:e14bd12e373f7612b00a44f22705950e1f70adcf

commit e14bd12e373f7612b00a44f22705950e1f70adcf
Author: Jan Hubicka <jh@suse.cz>
Date:   Mon Dec 6 06:48:43 2021 +0100

    Limit inlining called once

Diff:
---
 gcc/params.opt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gcc/params.opt b/gcc/params.opt
index e725c99e5e4..47979f36cc8 100644
--- a/gcc/params.opt
+++ b/gcc/params.opt
@@ -545,6 +545,14 @@ The maximum expansion factor when copying basic blocks.
 Common Joined UInteger Var(param_max_hoist_depth) Init(30) Param Optimization
 Maximum depth of search in the dominator tree for expressions to hoist.
 
+-param=max-inline-functions-called-once-loop-depth=
+Common Joined UInteger Var(param_inline_functions_called_once_loop_depth) Init(6) Optimization Param
+Maximum loop depth of a call which is considered for inlining functions called once
+
+-param=max-inline-functions-called-once-insns=
+Common Joined UInteger Var(param_inline_functions_called_once_insns) Init(500) Optimization Param
+Maximum combinaed size of caller and callee wich is inlined if callee is called once.
+
 -param=max-inline-insns-auto=
 Common Joined UInteger Var(param_max_inline_insns_auto) Init(15) Optimization Param
 The maximum number of instructions when automatically inlining.


More information about the Gcc-cvs mailing list