llvm-project/llvm/test/tools/llvm-profgen
wlei b1a45c62f0 [llvm-profgen] Ignore branch count against outline function
For some transformations like hot-cold split or coro split, it can outline its part of function ranges. Since sample loader is the early stage of backend and no split happens at that time, compiler can't recognize those function, so in llvm-profgen we should attribute the sample to the original function. This is already done for the body range samples since we use the symbols from dwarf which is created before the split.

But for branch samples, the call from master function to its outlined function is actually not a call to the original function, we shouldn't add head/callsie samples for it. So instead of dwarf symbol, we use the symbols from symbol table and ignore those functions with special suffixes(like `.cold` ,`.resume`) for accumulating the callsite/head samples.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D110864
2021-10-07 14:03:34 -07:00
..
Inputs [llvm-profgen] Ignore branch count against outline function 2021-10-07 14:03:34 -07:00
coroutine.test [llvm-profgen] Ignore branch count against outline function 2021-10-07 14:03:34 -07:00
cs-extbinary.test [CSSPGO][llvm-profgen] Change default cold threshold for context merging 2021-05-25 10:41:10 -07:00
cs-interrupt.test [llvm-profgen] Unify output format of different unsymbolized profiles 2021-09-24 14:18:00 -07:00
cs-invalid-ret-addr.test [CSSPGO][llvm-profgen] Truncate stack samples with invalid return address. 2021-09-14 21:56:22 -07:00
cs-preinline-cost.test [llvm-profgen] Use context-sensitive byte size cost for preinliner decisions by default 2021-09-16 10:36:12 -07:00
cs-preinline.test [llvm-profgen] Filter out invalid debug line 2021-10-04 19:09:06 -07:00
disassemble.test [CSSPGO][llvm-profgen] Allow multiple executable load segments. 2021-07-13 18:22:24 -07:00
fname-canonicalization.test [llvm-profgen] Filter out invalid debug line 2021-10-04 19:09:06 -07:00
func-split.test [llvm-profgen] Ignore branch count against outline function 2021-10-07 14:03:34 -07:00
help.test [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
inline-cs-noprobe.test [llvm-profgen] Support symbol list for accurate profile 2021-10-06 11:41:39 -07:00
inline-cs-pseudoprobe.test [llvm-profgen] Unify output format of different unsymbolized profiles 2021-09-24 14:18:00 -07:00
inline-noprobe.test [llvm-profgen] Filter out invalid debug line 2021-10-04 19:09:06 -07:00
inline-noprobe2.test [llvm-profgen] Support symbol list for accurate profile 2021-10-06 11:41:39 -07:00
invalid-perfscript.test [CSSPGO][llvm-profgen] Renovate perfscript check and command line input validation 2021-02-12 15:18:50 -08:00
lit.local.cfg [llvm-profgen] A couple tweaks to the testing harness. 2021-04-22 08:57:14 -07:00
merge-cold-profile.test [llvm-profgen] Use hot threshold for context merging and trimming 2021-09-22 15:01:51 -07:00
mmapEvent.test [CSSPGO][llvm-profgen] Allow multiple executable load segments. 2021-07-13 18:22:24 -07:00
multi-load-segs.test [llvm-profgen] Filter out invalid debug line 2021-10-04 19:09:06 -07:00
noinline-cs-noprobe.test [llvm-profgen] Strip context to support non-CS profile generation for hybrid sample 2021-09-28 12:20:23 -07:00
noinline-cs-pseudoprobe.test [llvm-profgen] Unify output format of different unsymbolized profiles 2021-09-24 14:18:00 -07:00
noinline-noprobe.test [AutoFDO][llvm-profgen] Profile generation for LBR(non-CS) sample 2021-09-24 13:55:34 -07:00
pseudoprobe-decoding.test [llvm-profgen] An option to dump disasm of specified symbols 2021-09-22 10:32:59 -07:00
recursion-compression-noprobe.test [llvm-profgen] Filter out invalid debug line 2021-10-04 19:09:06 -07:00
recursion-compression-pseudoprobe.test [llvm-profgen] Unify output format of different unsymbolized profiles 2021-09-24 14:18:00 -07:00
symbolize.test [CSSPGO][llvm-profgen] Allow multiple executable load segments. 2021-07-13 18:22:24 -07:00
truncated-pseudoprobe.test [CSSPGO] Set PseudoProbeInserter as a default pass. 2021-09-22 09:09:48 -07:00