1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/Transforms/SampleProfile/Inputs
Richard Smith 4a1cdc1ae5 Add a flag to remap manglings when reading profile data information.
This can be used to preserve profiling information across codebase
changes that have widespread impact on mangled names, but across which
most profiling data should still be usable. For example, when switching
from libstdc++ to libc++, or from the old libstdc++ ABI to the new ABI,
or even from a 32-bit to a 64-bit build.

The user can provide a remapping file specifying parts of mangled names
that should be treated as equivalent (eg, std::__1 should be treated as
equivalent to std::__cxx11), and profile data will be treated as
applying to a particular function if its name is equivalent to the name
of a function in the profile data under the provided equivalences. See
the documentation change for a description of how this is configured.

Remapping is supported for both sample-based profiling and instruction
profiling. We do not support remapping indirect branch target
information, but all other profile data should be remapped
appropriately.

Support is only added for the new pass manager. If someone wants to also
add support for this for the old pass manager, doing so should be
straightforward.

This is the LLVM side of Clang r344199.

Reviewers: davidxl, tejohnson, dlj, erik.pilkington

Subscribers: mehdi_amini, steven_wu, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D51249

llvm-svn: 344200
2018-10-10 23:13:47 +00:00
..
bad_discriminator_value.prof
bad_fn_header.prof
bad_line_values.prof
bad_mangle.prof
bad_sample_line.prof
bad_samples.prof
branch.prof
calls.prof
cov-zero-samples.prof
coverage-warning.prof
discriminator.prof
einline.prof
entry_counts.prof
fnptr.binprof
fnptr.prof
function_metadata.compact.afdo [SampleFDO] Add FunctionOffsetTable in compact binary format profile. 2018-09-14 20:52:59 +00:00
function_metadata.prof [SampleFDO] Make sample profile loader unaware of compact format change. 2018-09-06 22:03:37 +00:00
gcc-simple.afdo
indirect-call.afdo
indirect-call.compact.afdo [SampleFDO] Add FunctionOffsetTable in compact binary format profile. 2018-09-14 20:52:59 +00:00
indirect-call.prof
inline-act.prof
inline-combine.prof
inline-coverage.prof
inline-hint.prof
inline.compactbinary.afdo [SampleFDO] Add FunctionOffsetTable in compact binary format profile. 2018-09-14 20:52:59 +00:00
inline.prof
nodebug.prof
nolocinfo.prof
offset.prof
propagate.prof
remap.map Add a flag to remap manglings when reading profile data information. 2018-10-10 23:13:47 +00:00
remap.prof Add a flag to remap manglings when reading profile data information. 2018-10-10 23:13:47 +00:00
remarks.prof
summary.prof
syntax.prof
warm-inline-instance.prof