llvm-project/llvm/lib/Bitcode/Writer
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
..
BitWriter.cpp
BitcodeWriter.cpp [InstrProf] Add the skipprofile attribute 2022-08-04 08:45:27 -07:00
BitcodeWriterPass.cpp Cleanup includes: final pass 2022-03-29 09:00:21 +02:00
CMakeLists.txt [LLVM] Resolve layer violation in BitcodeWriter 2022-01-31 19:01:08 -05:00
ValueEnumerator.cpp Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00
ValueEnumerator.h [Bitcode] Ensure DIArgList in bitcode has no null or forward metadata refs 2021-04-22 12:03:33 +01:00