1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/Transforms/SampleProfile/Inputs
wlei d923efafdf [CSSPGO] Fix incorrect probe distribution factor computation in top-down inliner
We see a regression related to low probe factor(0.01) which prevents some callsites being promoted in ICPPass and later cause the missing inline in CGSCC inliner. The root cause is due to redundant(the second) multiplication of the probe factor and this change try to fix it.

`Sum` does multiply a factor right after findCallSamples but later when using as the parameter in setProbeDistributionFactor, it multiplies one again.

This change could get ~2% perf back on mcf benchmark. In mcf, previously the corresponding factor is 1 and it's the recent feature introducing the <1 factor then trigger this bug.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D99787
2021-04-07 08:48:59 -07:00
..
bad_discriminator_value.prof
bad_fn_header.prof
bad_line_values.prof
bad_mangle.prof
bad_sample_line.prof
bad_samples.prof
bad.extbinary.afdo [SampleFDO] Report error when reading a bad/incompatible profile instead of 2021-01-25 10:28:23 -08:00
branch.prof
calls.prof
cold-indirect-call.prof
cov-zero-samples.prof
coverage-warning.prof
csspgo-import-list.prof [CSSPGO] Load context profile for external functions in PreLink and populate ThinLTO import list 2021-03-15 12:22:15 -07:00
csspgo-import-list.prof.extbin [CSSPGO] Load context profile for external functions in PreLink and populate ThinLTO import list 2021-03-15 12:22:15 -07:00
ctxsplit.extbinary.afdo [SampleFDO] Add the support to split the function profiles with context into 2021-01-19 15:16:19 -08:00
discriminator.prof
einline.prof
entry_counts_cold.prof
entry_counts.prof
flattened.prof
fnptr.binprof
fnptr.prof
function_metadata.compact.afdo
function_metadata.prof
gcc-simple.afdo
indirect-call-csspgo.prof [CSSPGO] Call site prioritized inlining for sample PGO 2021-02-01 23:46:34 -08:00
indirect-call.afdo
indirect-call.compact.afdo
indirect-call.prof
inline-act.prof
inline-callee-update.prof
inline-cold.prof
inline-combine.prof
inline-coverage.prof
inline-hint.prof
inline-mergeprof.md5.prof
inline-mergeprof.prof
inline-replay.txt [Inliner] Change inline remark format and update ReplayInlineAdvisor to use it 2021-01-12 13:43:48 -08:00
inline-topdown.prof
inline.compactbinary.afdo
inline.extbinary.afdo
inline.fixlenmd5.extbinary.afdo [SampleFDO] Store fixed length MD5 in NameTable instead of using ULEB128 if 2020-12-08 16:21:01 -08:00
inline.md5extbinary.afdo
inline.prof
nodebug.prof
nolocinfo.prof
norepeated-icp-2.prof [SampleFDO] Another fix to prevent repeated indirect call promotion in 2021-03-04 18:44:12 -08:00
norepeated-icp-3.prof [SampleFDO] Don't mix up the existing indirect call value profile with the new 2021-03-18 09:54:34 -07:00
norepeated-icp.prof [SampleFDO] Stop repeated indirect call promotion for the same target. 2021-02-18 17:01:32 -08:00
offset.prof
profile-context-order.prof [CSSPGO] Process functions in a top-down order on a dynamic call graph. 2021-02-11 12:36:59 -08:00
profile-context-tracker.prof
profile-symbol-list.ll
profile-symbol-list.text [SampleFDO] Add a cutoff flag to control how many symbols will be included 2021-02-27 23:15:31 -08:00
profile-topdown-order.prof [CSSPGO] Process functions in a top-down order on a dynamic call graph. 2021-02-11 12:36:59 -08:00
profsampleacc.extbinary.afdo
propagate.prof
pseudo-probe-func-metadata.prof [CSSPGO] Consume pseudo-probe-based AutoFDO profile 2020-12-16 15:57:18 -08:00
pseudo-probe-icp-factor.prof [CSSPGO] Fix incorrect probe distribution factor computation in top-down inliner 2021-04-07 08:48:59 -07:00
pseudo-probe-inline.prof [CSSPGO] Tweaking inlining with pseudo probes. 2021-02-01 13:56:40 -08:00
pseudo-probe-profile-metadata.prof [SamplePGO] Keeping prof metadata for IndirectBrInst 2021-03-30 10:44:48 -07:00
pseudo-probe-profile.prof [CSSPGO] Consume pseudo-probe-based AutoFDO profile 2020-12-16 15:57:18 -08:00
pseudo-probe-update.prof [CSSPGO] Introducing distribution factor for pseudo probe. 2021-02-02 11:55:01 -08:00
remap-2.prof
remap.map
remap.prof
remarks-hotness.prof
remarks.prof
summary.prof
syntax.prof
uniqname.nosuffix.afdo [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00
uniqname.suffix.afdo [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00
uniqname.suffix.prof [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00
use-sample-profile-attr.prof
warm-inline-instance.prof