llvm-project/llvm/test/Transforms/GCOVProfiling
Ellis Hoag 12e78ff881 [InstrProf] Add the skipprofile attribute
As discussed in [0], this diff adds the `skipprofile` attribute to
prevent the function from being profiled while allowing profiled
functions to be inlined into it. The `noprofile` attribute remains
unchanged.

The `noprofile` attribute is used for functions where it is
dangerous to add instrumentation to while the `skipprofile` attribute is
used to reduce code size or performance overhead.

[0] https://discourse.llvm.org/t/why-does-the-noprofile-attribute-restrict-inlining/64108

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D130807
2022-08-04 08:45:27 -07:00
..
atomic-counter.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
exit-block.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
function-numbering.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
global-ctor.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
linezero.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
linkagename.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
module-flags.ll
modules.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
noprofile.ll [InstrProf] Add the skipprofile attribute 2022-08-04 08:45:27 -07:00
reset.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
split-indirectbr-critical-edges.ll
three-element-mdnode.ll [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
version.ll [Support] Make report_fatal_error respect its GenCrashDiag argument so it doesn't generate a backtrace 2022-05-30 19:19:23 +01:00