llvm-project/llvm/test/tools/llvm-profdata
Hongtao Yu 1662cfa4be [CSSPGO][CSProfileConverter] Remove call target samples when including callee samples into caller.
When a flat CS profile is converted to a nested profile, the call target samples for inlined callee contexts are left over in the callsite target map. This could cause indirect call promotion to function improperly. One issue is that the inlined callsites are treated with double amount of samples. The other is the inlined callsites are reconsidered for subsequent PGO ICP.

I'm fixing this by excluding call targets from the callsite for inlined targets. While fixing this I found that callsite target sum and the number of body samples for that callsite could be mismatched. {D122609} has an explanation and a fix for that on llvm-profgen side. For now I'm tolerating it in this change.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D125266
2022-05-13 09:19:32 -07:00
..
Inputs Reland "[memprof] Store callsite metadata with memprof records." 2022-03-22 14:40:02 -07:00
binary-ids-padding.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
c-general.test [profile] Add binary id into profiles 2021-07-23 00:19:12 +00:00
compact-sample.proftext
compat.proftext
count-mismatch.proftext
cs-sample-nested-profile.test [CSSPGO][CSProfileConverter] Remove call target samples when including callee samples into caller. 2022-05-13 09:19:32 -07:00
cs-sample-profile.test [llvm-profdata] Print out section flags for FunctionMetadata section 2021-11-02 17:59:22 -07:00
cs-sample-trimmer.test [CSSPGO] Use nested context-sensitive profile. 2021-12-14 14:40:25 -08:00
csprof-dump.test
cutoff.test
errors.test [InstrProf][Correlate] Verify debug info with llvm-profdata show 2022-01-27 10:11:04 -08:00
forward-compatible.test Add "REQUIRES: zlib" in forward-compatible.test since it handles compressed file. 2021-09-24 15:35:07 -07:00
gcc-gcov-sample-profile.test
general.proftext
hash-mismatch.proftext
header-directives.test
inline-samples.test
input-dir.test
input-filenames.test
instr-remap.test
insufficient-binary-ids-size.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
invalid-profdata.test
invalid-profile-gen-zeros.proftext
large-binary-id-size.test [compiler-rt] Fix diagnostic in InstrProfError 2021-11-09 20:30:03 +00:00
lit.local.cfg
malformed-not-space-for-another-header.test [compiler-rt] Fix diagnostic in InstrProfError 2021-11-09 20:30:03 +00:00
malformed-num-counters-zero.test [compiler-rt] Fix diagnostic in InstrProfError 2021-11-09 20:30:03 +00:00
malformed-ptr-to-counter-array.test [InstrProf][NFC] Do not assume size of counter type 2022-01-14 11:29:11 -08:00
memop-size-prof.proftext
memprof-basic.test Reland "[memprof] Store callsite metadata with memprof records." 2022-03-22 14:40:02 -07:00
memprof-inline.test Reland "[memprof] Store callsite metadata with memprof records." 2022-03-22 14:40:02 -07:00
memprof-merge.test Reland "[memprof] Extend the index prof format to include memory profiles." 2022-02-17 22:09:52 -08:00
memprof-multi.test [memprof] Filter out callstack frames which cannot be symbolized. 2022-03-04 11:10:08 -08:00
merge-incompatible.test
merge-probe-profile.test [llvm-profdata] Print out section flags for FunctionMetadata section 2021-11-02 17:59:22 -07:00
merge_empty_profile.test
misaligned-binary-ids-size.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
multiple-inputs.test
multiple-profdata-merge.test
nocompress.test [test] Fix nocompress.test 2021-06-19 16:27:53 -07:00
overflow-instr.test
overflow-sample.test
overlap.test
overlap_cs.test
overlap_vp.test
profile-symbol-list-compress.test
profile-symbol-list.test
raw-32-bits-be.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
raw-32-bits-le.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
raw-64-bits-be.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
raw-64-bits-le.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
raw-magic-but-no-header.test
raw-two-profiles.test [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
roundtrip-compress.test
roundtrip.test
same-filename.test
sample-fs.test [SampleFDO] Set ProfileIsFS bit properly from the internal option 2021-08-25 09:07:34 -07:00
sample-hot-func-list.test [llvm-profdata] Extend support of --topn to sample profiles 2021-09-24 16:42:46 -07:00
sample-overlap.test
sample-profile-basic.test
sample-remap.test
sample-summary.test
show-covered.test [InstrProf] Add single byte coverage mode 2022-01-27 17:38:55 -08:00
show-instr-level.test
show-prof-info.test
suppl-instr-with-sample.test [llvm-profdata] Unify default cutoffs for detailed summary printing 2022-03-23 14:38:53 -07:00
text-dump.test [llvm-profdata] Allow omission of -o for --text output 2021-06-21 12:01:57 -07:00
text-format-errors.test [memprof] Extend llvm-profdata to display MemProf profile summaries. 2021-11-30 10:45:26 -08:00
threaded-count-mismatch.test
value-prof.proftext
weight-instr.test
weight-sample.test