[cfe-dev] Get count of inlined functions from clang rung
Hal Finkel via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 27 17:22:45 PDT 2018
On 08/27/2018 03:55 PM, Alexander Zaitsev via cfe-dev wrote:
> I got some workable solution only with '-Rpass=inline |& grep -c
> "inlined into"'. If you have anything more elegant - tell me please :)
You can also use -fsave-optimization-record and then process the YAML
records from the inliner.
-Hal
>
>
> 27.08.2018 23:18, Alexander Zaitsev via cfe-dev пишет:
>> Hello.
>>
>> Is it possible get count of inlined by clang functions with any clang
>> command line options? If yes, which options should I set? Thank you.
>>
--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-dev
mailing list