llvm-project/llvm/test/tools
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
..
UpdateTestChecks [UpdateTestChecks] Fix `update_*_test_checks.py` to add "unused" prefixes 2022-11-28 13:24:32 -08:00
dsymutil llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
dxil-dis [DirectX backend] Fix build and test error caused by out of sync with upstream change. 2022-11-14 12:50:23 -08:00
gold llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llc llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-ar llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-as llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-bcanalyzer
llvm-cfi-verify
llvm-config Make llvm-config test resilliant 2022-10-18 10:43:44 -05:00
llvm-cov [llvm-cov] Allow branch coverage to be skipped when exporting for LCOV 2022-10-14 16:24:41 -05:00
llvm-cvtres [lit] Implement DEFINE and REDEFINE directives 2022-09-21 11:32:05 -04:00
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-debuginfo-analyzer [llvm-debuginfo-analyzer] Fix format string-type mismatch in LVScope 2022-11-04 12:59:01 +01:00
llvm-debuginfod [llvm] [Debuginfod] LLVM debuginfod server. 2022-07-07 18:33:27 +00:00
llvm-debuginfod-find [llvm-debuginfod-find] Fix test/behavior on Windows. 2022-11-08 09:52:33 -08:00
llvm-diff llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-dis [test] Use host platform specific error message substitution 2022-09-16 15:13:45 -04:00
llvm-dlltool
llvm-driver Only enable driver test if in driver build 2022-10-13 19:26:06 +00:00
llvm-dwarfdump llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-dwarfutil [llvm-dwarfutil][DWARFv5] fix reading of DW_FORM_addrx attribute. 2022-09-23 09:35:54 +03:00
llvm-dwp [test] Update llvm-dwp/X86/nocompress.test 2022-09-19 12:58:50 -07:00
llvm-exegesis
llvm-extract llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-gsymutil
llvm-ifs
llvm-isel-fuzzer
llvm-jitlink
llvm-lib
llvm-libtool-darwin [llvm-libtool-darwin] Add support for -dependency_info 2022-10-03 09:53:02 -07:00
llvm-link Avoid ar_to_bc.sh script in symbolizer build; add -ignore-non-bitcode flag to llvm-link 2022-06-28 14:49:35 -07:00
llvm-lipo [llvm-lipo] Fix create-arch-asm test by requiring x86 and aarch64 target 2022-09-12 18:57:01 -07:00
llvm-lit
llvm-locstats llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-lto llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-lto2 llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-mc
llvm-mca [X86] Fix SLM ldmxcsr/stmxcsr schedule classes 2022-11-28 17:43:17 +00:00
llvm-ml [ms] [llvm-ml] Add support for nested PROC/ENDP pairs 2022-08-11 14:19:02 +00:00
llvm-modextract
llvm-mt
llvm-nm llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-objcopy [llvm-objcopy] [COFF] Always set PointerToRawData when writing a COFF file 2022-11-28 22:40:00 +02:00
llvm-objdump llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-opt-fuzzer
llvm-opt-report
llvm-original-di-preservation [Debugify][OriginalDIMode] Update script to handle large JSON reports 2022-09-29 16:48:06 +02:00
llvm-pdbutil
llvm-profdata [llvm-profdata] Use flattening sample profile in profile supplementation 2022-11-29 22:23:47 -08:00
llvm-profgen llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-ranlib [llvm-ranlib] Support more than one input file 2022-08-08 10:15:39 -07:00
llvm-rc [llvm-rc] [test] Fix the windres-preproc test with other mingw triple forms. NFC. 2022-09-20 10:43:37 +03:00
llvm-readobj llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-reduce llvm-reduce: Fix producing invalid reductions on ifunc 2022-11-27 12:41:29 -05:00
llvm-remark-size-diff
llvm-remarkutil [llvm-remarkutil] Add an option to print out function sizes 2022-09-28 15:45:55 -07:00
llvm-rtdyld
llvm-shlib
llvm-sim llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-size [llvm-size] Fix missing file name for darwin output format with non-Mach-O 2022-08-30 21:01:19 +05:30
llvm-split llvm-split: Convert tests to opaque pointers 2022-11-28 09:48:21 -05:00
llvm-stress
llvm-strings
llvm-symbolizer llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
llvm-tapi-diff [test] Use host platform specific error message substitution 2022-09-16 15:13:45 -04:00
llvm-tli-checker Make llvm-tli-checker support static libraries 2022-09-08 11:10:26 -07:00
llvm-undname
llvm-xray
lto llvm/tools: Convert tests to opaque pointers 2022-11-27 20:20:04 -08:00
not
obj2yaml [ObjectYAML] Add support for DXContainer HASH 2022-10-27 12:28:45 -05:00
opt-viewer
sancov [sancov] Remove deprecated -blacklist after D113514 2022-08-01 19:00:43 -07:00
sanstats
split-file
yaml2obj [lit] Implement DEFINE and REDEFINE directives 2022-09-21 11:32:05 -04:00