llvm-project/llvm/test/tools/llvm-profgen
Hongtao Yu acfd0a3456 [llvm-profgen] Update callsite body samples by summing up all call target samples.
Current profile generation caculcates callsite body samples and call target samples separately. The former is done based on LBR range samples while the latter is done based on branch samples. Note that there's a subtle difference. LBR ranges is formed from two consecutive branch samples. Therefore the last entry in a LBR record will not be counted towards body samples while there's still a chance for it to be counted towards call targets if it is a function call. I'm making sense of the call body samples by updating it to the aggregation of call targets.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D122609
2022-05-16 09:13:37 -07:00
..
Inputs [llvm-profgen] Filter out oversized LBR ranges. 2022-05-12 10:58:50 -07:00
callback-external-addr.test [llvm-profgen] Decouple artificial branch from LBR parser and fix external address related issues 2022-04-28 16:07:28 -07:00
cold-profile-trimming-symbolized.test [llvm-profgen] Read sample profiles for post-processing. 2022-03-30 13:51:16 -07:00
cold-profile-trimming.test [llvm-profgen] Fix total samples related issues 2021-12-08 12:33:41 -08:00
coroutine.test [llvm-profgen] Fix total samples related issues 2021-12-08 12:33:41 -08:00
cs-extbinary.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
cs-external-address.test [CSSPGO][llvm-profgen] Fix external address issues of perf reader (leading external LBR part) 2021-12-14 16:40:53 -08:00
cs-interrupt.test [llvm-profgen] Decouple artificial branch from LBR parser and fix external address related issues 2022-04-28 16:07:28 -07:00
cs-invalid-ret-addr.test [llvm-profgen] Warn on invalid range and show warning summary 2021-11-02 19:55:55 -07:00
cs-preinline-cost.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
cs-preinline-sample-profile.test [llvm-profgen] Read sample profiles for post-processing. 2022-03-30 13:51:16 -07:00
cs-preinline.test [CSSPGO][CSProfileConverter] Remove call target samples when including callee samples into caller. 2022-05-13 09:19:32 -07:00
disassemble.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
fname-canonicalization.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
fs-discriminator.test [llvm-profgen] Fix total samples related issues 2021-12-08 12:33:41 -08:00
func-split.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
help.test
inline-cs-noprobe.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
inline-cs-pseudoprobe.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
inline-force-dwarf.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
inline-noprobe.test [llvm-profgen] Fix total samples related issues 2021-12-08 12:33:41 -08:00
inline-noprobe2.test [llvm-profgen] Update callsite body samples by summing up all call target samples. 2022-05-16 09:13:37 -07:00
inline-pseudoprobe.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
invalid-perfscript.test
invalid-range.test [llvm-profgen] Filter out oversized LBR ranges. 2022-05-12 10:58:50 -07:00
lit.local.cfg
merge-cold-profile.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
mmapEvent.test
multi-load-segs.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
noinline-cs-noprobe.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
noinline-cs-pseudoprobe.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
noinline-noprobe.test [llvm-profgen] Update callsite body samples by summing up all call target samples. 2022-05-16 09:13:37 -07:00
noinline-pseudoprobe.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
profile-density.test [llvm-profgen] Fix total samples related issues 2021-12-08 12:33:41 -08:00
pseudoprobe-decoding.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
recursion-compression-noprobe.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
recursion-compression-pseudoprobe.test [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
separate-debuginfo-binary.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
split-dwarf.test [llvm-profgen] Support symbol loading for debug fission 2022-02-23 09:40:46 -08:00
symbolize.test
truncated-pseudoprobe.test [llvm-profgen] Turn on CS nested profile generation by default for CSSPGO. 2022-03-08 09:05:27 -08:00
update-samples.test [llvm-profgen] Update callsite body samples by summing up all call target samples. 2022-05-16 09:13:37 -07:00