llvm-project/llvm/test/Transforms/SampleProfile
Taewook Oh a960f89962 [ProfileSummary] Count callsite samples when computing total samples.
Summary: Currently ProfileSummaryBuilder doesn't count into callsite samples when computing total samples. Considering that ProfileSummaryInfo is used to checked the hotness of not only body samples but also callsite samples (from SampleProfileLoader), I think the callsite sample counts should be considered when computing total samples.

Reviewers: eraman, danielcdh, wmi

Subscribers: hiraditya, jdoerfert, llvm-commits

Tags: #llvm

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

llvm-svn: 357627
2019-04-03 19:54:43 +00:00
..
Inputs [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
branch.ll
calls.ll
cold-indirect-call.ll [SampleProfile] Repeat indirect call promotion only when the target is actually hot. 2019-04-02 15:48:21 +00:00
compact-binary-profile.ll [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
cov-zero-samples.ll
coverage-warning.ll
discriminator.ll
early-inline.ll
entry_counts.ll
entry_counts_cold.ll Update entry count for cold calls 2019-01-24 00:55:23 +00:00
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 [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
syntax.ll
warm-inline-instance.ll