llvm-project/llvm/test/tools/llvm-profdata/Inputs
Rong Xu 077baefc99 [llvm-profdata] Use flattening sample profile in profile supplementation
We need to flatten the SampleFDO profile in profile supplementation
because the InstrFDO profile does not have inlined callsite counters.
Without flattening profile, FDO optimizations are not stable:
we will not supplement the second generation profile when the modified
functions are all inlined.

This patch fixes this issue: we will flatten the profile for functions
that appears in FDO profile.

Note that we only need to find the hot/warm functions in SampleFDO
profile, so we will not perform a full flatten. We will use
a DFS traversal to compute the accumulated entry count and max bodycount.
This is much cheaper than full flattening.

Differential Revision: https://reviews.llvm.org/D138893
2022-11-29 22:23:47 -08:00
..
CSIR_profile.proftext
FUnique.afdotext [llvm-profdata] Handle internal linkage functions in profile supplementation 2022-08-29 16:15:12 -07:00
FUnique.proftext [llvm-profdata] Handle internal linkage functions in profile supplementation 2022-08-29 16:15:12 -07:00
IR_profile.proftext
NoFUnique.afdotext [llvm-profdata] Handle internal linkage functions in profile supplementation 2022-08-29 16:15:12 -07:00
NoFUnique.proftext [llvm-profdata] Handle internal linkage functions in profile supplementation 2022-08-29 16:15:12 -07:00
bad-hash.proftext
bar3-1.proftext
basic.memprofexe Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles."" 2022-02-08 13:37:27 -08:00
basic.memprofraw Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles."" 2022-02-08 13:37:27 -08:00
basic.profraw Reland "[memprof] Extend the index prof format to include memory profiles." 2022-02-17 22:09:52 -08:00
basic.proftext
c-general.profraw [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
clang_profile.proftext
compat-sample.profdata
compat.profdata.v1
compat.profdata.v2
compat.profdata.v4
compressed.profraw [InstrProfData] Bump the raw profile version to 8 2021-10-05 09:57:56 -07:00
counter-mismatch-1.proftext
counter-mismatch-2.proftext
counter-mismatch-3.proftext
counter-mismatch-4.proftext
cs-sample-preinline-probe.proftext [CSSPGO] Use nested context-sensitive profile. 2021-12-14 14:40:25 -08:00
cs-sample-preinline.proftext [CSSPGO] Use nested context-sensitive profile. 2021-12-14 14:40:25 -08:00
cs-sample.proftext [CSSPGO] Use nested context-sensitive profile. 2021-12-14 14:40:25 -08:00
cs.proftext
cutoff.proftext
empty.proftext
extra-word.proftext
fe-basic.proftext
flatten_instr.proftext [llvm-profdata] Use flattening sample profile in profile supplementation 2022-11-29 22:23:47 -08:00
flatten_sample.proftext [llvm-profdata] Use flattening sample profile in profile supplementation 2022-11-29 22:23:47 -08:00
foo3-1.proftext
foo3-2.proftext
foo3bar3-1.proftext
function-entry-coverage.profdata [InstrProf] Add single byte coverage mode 2022-01-27 17:38:55 -08:00
gcc-sample-profile.gcov
header-directives-1.proftext
header-directives-2.proftext
header-directives-3.proftext
inline-samples.afdo
inline.memprofexe Reland "[memprof] Store callsite metadata with memprof records." 2022-03-22 14:40:02 -07:00
inline.memprofraw [memprof] Add a test to verify callstack order. 2022-03-16 10:10:57 -07:00
instr-remap.expected
instr-remap.proftext
instr-remap.remap
invalid-count-later.proftext
ir-basic.proftext
memprof-inline.exe [memprof] Add a test to verify callstack order. 2022-03-16 10:10:57 -07:00
mix_instr.proftext
mix_instr_small.proftext [llvm-profdata] Adjust profile supplementation heuristics 2022-08-29 14:17:27 -07:00
mix_sample.proftext
multi.memprofexe Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles."" 2022-02-08 13:37:27 -08:00
multi.memprofraw Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles."" 2022-02-08 13:37:27 -08:00
multiple-profdata-merge.proftext
no-counts.proftext
noncs.proftext
overflow-instr.proftext [llvm-profdata] Improve profile supplementation 2022-08-29 16:50:42 -07:00
overflow-sample.proftext
overlap_1.proftext
overlap_1_cs.proftext
overlap_1_vp.proftext
overlap_2.proftext
overlap_2_cs.proftext
overlap_2_vp.proftext
pic.memprofexe [memprof] Return an error for unsupported symbolization. 2022-06-27 09:43:26 -07:00
pic.memprofraw [memprof] Return an error for unsupported symbolization. 2022-06-27 09:43:26 -07:00
profile-symbol-list-1.text
profile-symbol-list-2.text
profile-symbol-list.expected [SamplePGO][NFC] Dump function profiles in order 2021-08-16 17:22:30 -07:00
pseudo-count-hot.proftext [llvm-profdata] Improve profile supplementation 2022-08-29 16:50:42 -07:00
pseudo-count-warm.proftext [llvm-profdata] Improve profile supplementation 2022-08-29 16:50:42 -07:00
pseudo-probe-profile.proftext
same-name-1.proftext
same-name-2.proftext
same-name-3.proftext
same-name-4.proftext
sample-fs.proftext [SampleFDO] New hierarchical discriminator for FS SampleFDO (llvm-profdata part) 2021-06-04 11:22:06 -07:00
sample-hot-func-list.proftext
sample-overlap-0.proftext
sample-overlap-1.proftext
sample-overlap-2.proftext
sample-overlap-3.proftext
sample-overlap-4.proftext
sample-overlap-5.proftext
sample-profile.proftext
sample-remap.expected
sample-remap.proftext
sample-remap.remap
text-format-errors.text.bin
unknown.section.compressed.extbin.profdata Fixed a bug in https://reviews.llvm.org/rG8eb617d719bdc6a4ed7773925d2421b9bbdd4b7a. 2021-09-24 15:23:45 -07:00
unknown.section.extbin.profdata [SampleFDO] Allow forward compatibility when adding a new section for extbinary 2021-09-07 19:38:43 -07:00
vp-malform.proftext
vp-malform2.proftext
vp-truncate.proftext
weight-instr-bar.profdata
weight-instr-foo.profdata
weight-sample-bar.proftext
weight-sample-foo.proftext