params.def (PARAM_INLINE_HEURISTICS_HINT_PERCENT, [...]): New.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 3 Oct 2019 15:08:21 +0000 (17:08 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 3 Oct 2019 15:08:21 +0000 (15:08 +0000)
commit2925cad2151842daa387950e62d989090e47c91d
tree56cbd7caf486ca7dff683542ddbc56465b543189
parentebf8247e7b8d944e75ebcb406a992b24425fc712
params.def (PARAM_INLINE_HEURISTICS_HINT_PERCENT, [...]): New.

* params.def (PARAM_INLINE_HEURISTICS_HINT_PERCENT,
PARAM_INLINE_HEURISTICS_HINT_PERCENT_O2): New.
* doc/invoke.texi (inline-heuristics-hint-percent,
inline-heuristics-hint-percent-O2): Document.
* tree-inline.c (inline_insns_single, inline_insns_auto): Add new
hint attribute.
(can_inline_edge_by_limits_p): Use it.

From-SVN: r276516
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/ipa-inline.c
gcc/params.def