1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms/SampleProfile
David Callahan 0d31c41ce9 Update entry count for cold calls
Summary:
Profile sample files include the number of times each entry or inlined
call site is sampled. This is translated into the entry count metadta
on functions.

When sample data is being read, if a call site that was inlined
in the sample program is considered cold and not inlined, then
the entry count of the out-of-line functions does not reflect
the current compilation.

In this patch, we note call sites where the function was not inlined
and as a last action of the sample profile loading, we update the
called function's entry count to reflect the calls from these
call sites which are not included in the profile file.

Reviewers: danielcdh, wmi, Kader, modocache

Reviewed By: wmi

Subscribers: davidxl, eraman, llvm-commits

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

llvm-svn: 352001
2019-01-24 00:55:23 +00:00
..
Inputs Update entry count for cold calls 2019-01-24 00:55:23 +00:00
branch.ll
calls.ll
compact-binary-profile.ll
cov-zero-samples.ll
coverage-warning.ll
discriminator.ll
early-inline.ll
entry_counts_cold.ll Update entry count for cold calls 2019-01-24 00:55:23 +00:00
entry_counts.ll
flattened.ll [SampleFDO] Skip profile reading when flattened profile used in ThinLTO postlink 2019-01-17 20:48:34 +00:00
fnptr.ll
function_metadata.ll [PGO] Make pgo related options in opt more consistent. 2019-01-16 23:19:02 +00:00
gcc-simple.ll
indirect-call-gcc.ll
indirect-call.ll
inline-act.ll
inline-cold-callsite-samplepgo.ll [SampleFDO] handle ProfileSampleAccurate when initializing function entry count 2018-12-13 21:51:42 +00:00
inline-combine.ll
inline-coverage.ll
inline.ll
nodebug.ll
nolocinfo.ll
offset.ll
propagate.ll
remap.ll Add a flag to remap manglings when reading profile data information. 2018-10-10 23:13:47 +00:00
remarks.ll
section-accurate-samplepgo.ll [SampleFDO] handle ProfileSampleAccurate when initializing function entry count 2018-12-13 21:51:42 +00:00
summary.ll
syntax.ll
warm-inline-instance.ll