mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
5e0aabe083
This is the #2 of 2 changes that make remarks hotness threshold option available in more tools. The changes also allow the threshold to sync with hotness threshold from profile summary with special value 'auto'. This change expands remarks hotness threshold option -fdiagnostics-hotness-threshold in clang and *-remarks-hotness-threshold in other tools to utilize hotness threshold from profile summary. Remarks hotness filtering relies on several driver options. Table below lists how different options are correlated and affect final remarks outputs: | profile | hotness | threshold | remarks printed | |---------|---------|-----------|-----------------| | No | No | No | All | | No | No | Yes | None | | No | Yes | No | All | | No | Yes | Yes | None | | Yes | No | No | All | | Yes | No | Yes | None | | Yes | Yes | No | All | | Yes | Yes | Yes | >=threshold | In the presence of profile summary, it is often more desirable to directly use the hotness threshold from profile summary. The new argument value 'auto' indicates threshold will be synced with hotness threshold from profile summary during compilation. The "auto" threshold relies on the availability of profile summary. In case of missing such information, no remarks will be generated. Differential Revision: https://reviews.llvm.org/D85808 |
||
---|---|---|
.. | ||
Inputs | ||
X86 | ||
2002-01-31-CallGraph.ll | ||
2002-02-24-InlineBrokePHINodes.ll | ||
2004-08-16-PackedConstantInlineStore.ll | ||
2004-08-16-PackedGlobalConstant.ll | ||
2004-08-16-PackedSelect.ll | ||
2004-08-16-PackedSimple.ll | ||
2004-08-20-PackedControlFlow.ll | ||
2006-02-05-PassManager.ll | ||
2007-06-05-PassID.ll | ||
2007-06-28-PassManager.ll | ||
2007-09-10-PassManager.ll | ||
2008-02-14-PassManager.ll | ||
2008-06-04-FieldSizeInPacked.ll | ||
2008-10-06-RemoveDeadPass.ll | ||
2008-10-15-MissingSpace.ll | ||
2009-03-31-CallGraph.ll | ||
2009-06-05-no-implicit-float.ll | ||
2009-09-14-function-elements.ll | ||
2010-05-06-Printer.ll | ||
attribute-comment.ll | ||
available-externally-lto.ll | ||
bb-badref.ll | ||
bcanalyzer-block-info.txt | ||
bcanalyzer-dump-option.txt | ||
can-execute.txt | ||
cfg_deopt_unreach.ll | ||
cfg-printer-branch-weights-percent.ll | ||
cfg-printer-branch-weights.ll | ||
cgscc-devirt-iteration.ll | ||
cgscc-disconnected-invalidation.ll | ||
cgscc-iterate-function-mutation.ll | ||
cgscc-libcall-update.ll | ||
cgscc-observe-devirt.ll | ||
change-printer.ll | ||
cleanup-lcssa.ll | ||
codegenprepare-and-debug.ll | ||
constant-fold-gep-address-spaces.ll | ||
constant-fold-gep.ll | ||
cspgo-O2-pipeline.ll | ||
debugcounter-dce.ll | ||
debugcounter-earlycse.ll | ||
debugcounter-newgvn.ll | ||
debugcounter-predicateinfo.ll | ||
devirtualization-undef.ll | ||
extract-alias.ll | ||
extract-linkonce.ll | ||
extract-weak-odr.ll | ||
extract.ll | ||
FileCheck-space.txt | ||
heat-colors-graphs.ll | ||
heat-colors-multigraph.ll | ||
invalid-commandline-option.ll | ||
invariant.group.ll | ||
lint.ll | ||
lit-globbing.ll | ||
lit-quoting.txt | ||
lit-unicode.txt | ||
llvm-nm-without-aliases.ll | ||
loop-deletion-printer.ll | ||
loop-pass-ordering.ll | ||
loop-pass-printer.ll | ||
loop-pm-invalidation.ll | ||
machine-size-remarks.ll | ||
module-pass-printer.ll | ||
new-pass-manager-verify-each.ll | ||
new-pass-manager.ll | ||
new-pm-cspgo.ll | ||
new-pm-defaults.ll | ||
new-pm-lto-defaults.ll | ||
new-pm-module-inliner-wrapper.ll | ||
new-pm-O0-defaults.ll | ||
new-pm-O0-ep-callbacks.ll | ||
new-pm-pgo-O0.ll | ||
new-pm-pgo.ll | ||
new-pm-pr42726-cgscc.ll | ||
new-pm-thinlto-defaults.ll | ||
new-pm-thinlto-postlink-pgo-defaults.ll | ||
new-pm-thinlto-postlink-samplepgo-defaults.ll | ||
new-pm-thinlto-prelink-pgo-defaults.ll | ||
new-pm-thinlto-prelink-samplepgo-defaults.ll | ||
new-pm-time-trace.ll | ||
opt-bisect-helper.py | ||
opt-bisect-legacy-pass-manager.ll | ||
opt-bisect-new-pass-manager.ll | ||
opt-hot-cold-split.ll | ||
opt-LTO-pipeline.ll | ||
opt-npm.ll | ||
opt-O0-pipeline-enable-matrix.ll | ||
opt-O0-pipeline.ll | ||
opt-O2-pipeline.ll | ||
opt-O3-pipeline-enable-matrix.ll | ||
opt-O3-pipeline.ll | ||
opt-old-new-pm-passes.ll | ||
opt-Os-pipeline.ll | ||
opt-override-denormal-fp-math-f32.ll | ||
opt-override-denormal-fp-math-mixed.ll | ||
opt-override-denormal-fp-math.ll | ||
opt-override-frame-pointer.ll | ||
opt-override-mcpu-mattr.ll | ||
opt-pipeline-vector-passes.ll | ||
opt-twice.ll | ||
optimization-remarks-auto.ll | ||
optimization-remarks-inline.ll | ||
optimization-remarks-invalidation.ll | ||
optimization-remarks-lazy-bfi.ll | ||
optimize-inrange-gep.ll | ||
optimize-options.ll | ||
pass-pipeline-parsing.ll | ||
pass-pipelines.ll | ||
pipefail.txt | ||
pr32085.ll | ||
print-cfg-sccs.ll | ||
print-debug-counter.ll | ||
print-module-scope.ll | ||
print-slotindexes.ll | ||
printer.ll | ||
ResponseFile.ll | ||
scalable-vector-array.ll | ||
scalable-vector-struct.ll | ||
scalable-vectors-core-ir.ll | ||
scc-deleted-printer.ll | ||
scc-pass-printer.ll | ||
size-remarks.ll | ||
spir_cc.ll | ||
statistic.ll | ||
time-passes.ll | ||
unroll-sroa.ll | ||
writing-to-stdout.ll |