public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Edgar Mobile <heideggm@hotmail.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Try to understand output of -fdump-ipa-inline
Date: Tue, 19 Jul 2022 13:56:05 +0000	[thread overview]
Message-ID: <DM8PR16MB4357F46E64E303437796FF53C78F9@DM8PR16MB4357.namprd16.prod.outlook.com> (raw)

Greetings,

I try to find out why a function (inline keyword, defined in header) is not inlined. Example for -fdump-ipa-inline output:

Considering void Vertex::update(const Data&)/5927 with 40 size
 to be inlined into void SomeClass::updatePoly(const Data&, Polyline&)/11181 in /somepath/SomeClass.cpp:663
 Estimated badness is -0.000083, frequency 4.69.

The function is never inlined. unfortunately, the code is proprietary, so I cannot post everything.

Can anyone explain me the message above to find out why?
Thanks

             reply	other threads:[~2022-07-19 13:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 13:56 Edgar Mobile [this message]
2022-07-19 18:27 ` Navid Rahimi
2022-07-20  8:10   ` Edgar Mobile
2022-07-20 19:35     ` Navid Rahimi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM8PR16MB4357F46E64E303437796FF53C78F9@DM8PR16MB4357.namprd16.prod.outlook.com \
    --to=heideggm@hotmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).