hanchenye-llvm-project/clang/test/Frontend
Wei Wang 93dc1b5b8c [Remarks][2/2] Expand remarks hotness threshold option support in more tools
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
2020-11-30 21:55:50 -08:00
..
Inputs [Remarks][2/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:50 -08:00
Weverything.c
Wno-everything.c
aarch64-target-cpu.c
absolute-paths-symlinks.c
absolute-paths-windows.test
absolute-paths.c
aix-unsupported.c
ast-codegen.c
ast-main.c
ast-main.cpp
backend-diagnostic.c
cc1-return-codes.c
clang-abi-compat.cpp
compiler-options-dump.cpp
cpp-output.c
darwin-eabi.c
darwin-version.c
dependency-gen-escaping.c
dependency-gen-extradeps-phony.c
dependency-gen-has-include.c
dependency-gen-symlink.c
dependency-gen.c
dependency-generation-crash.c
diagnostics-option-names.c
diagnostics-order.c
disable-output.c
embed-bitcode-noopt.c [clang]Test ensuring -fembed-bitcode passed to cc1 captures pre-opt bitcode. 2020-09-23 09:35:28 -07:00
embed-bitcode-noopt.ll Add REQUIRES to embed-bitcode-noopt.ll 2020-09-23 10:13:09 -07:00
embed-bitcode.ll Set alignment of .llvmbc and .llvmcmd to 1 2020-08-29 18:27:34 -07:00
exceptions.c
fixed_point_add.c [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. 2020-08-24 14:37:07 +02:00
fixed_point_add_const.c Refactor most of the fixed-point tests. 2020-08-20 10:30:05 +02:00
fixed_point_bit_widths.c
fixed_point_comparisons.c
fixed_point_compound.c [Fixed Point] Add codegen for fixed-point shifts. 2020-08-24 14:37:16 +02:00
fixed_point_conversions.c Refactor fixed point conversion test. 2020-10-09 10:27:42 +02:00
fixed_point_conversions_const.c [Fixed Point] Add fixed-point to floating point cast types and consteval. 2020-10-13 13:26:56 +02:00
fixed_point_crash.c [AST] Fix certain consteval assignment and comma operator issues with fixed-point types. 2020-06-26 13:38:11 +02:00
fixed_point_declarations.c
fixed_point_div.c [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. 2020-08-24 14:37:07 +02:00
fixed_point_div_const.c Refactor most of the fixed-point tests. 2020-08-20 10:30:05 +02:00
fixed_point_errors.c [Fixed Point] Add fixed-point to floating point cast types and consteval. 2020-10-13 13:26:56 +02:00
fixed_point_errors.cpp
fixed_point_mul.c [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. 2020-08-24 14:37:07 +02:00
fixed_point_mul_const.c Refactor most of the fixed-point tests. 2020-08-20 10:30:05 +02:00
fixed_point_not_enabled.c
fixed_point_same_fbits.c
fixed_point_shift.c [Fixed Point] Add codegen for fixed-point shifts. 2020-08-24 14:37:16 +02:00
fixed_point_shift_const.c [Fixed Point] Add codegen for fixed-point shifts. 2020-08-24 14:37:16 +02:00
fixed_point_sub.c [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. 2020-08-24 14:37:07 +02:00
fixed_point_sub_const.c Add triples to fixed-point tests which lacked them. 2020-08-20 15:36:15 +02:00
fixed_point_to_bool.c
fixed_point_unary.c [ConstantFold] Fold more operations to poison 2020-11-29 21:19:48 +09:00
fixed_point_unknown_conversions.c [Fixed Point] Add fixed-point to floating point cast types and consteval. 2020-10-13 13:26:56 +02:00
force-include-not-found.c
ftime-report-template-decl.cpp
gnu-inline.c
gnu-mcount.c [test] Clean up test/Frontend/gnu-mcount.c and fix unused check prefixes 2020-10-31 21:33:46 -07:00
hexagon-target-basic.c
iframework.c
include-duplicate-removal.c
int128.cpp
invalid-o-level.c
ir-support-codegen.ll
ir-support-errors.ll
ir-support.c
lit.local.cfg
macro_defined_type.cpp
macros.c
mfpmath.c
minimize_source_to_dependency_directives.c
mips-long-double.c
noderef.c Ignore noderef attribute in unevaluated context 2020-11-23 08:10:35 -05:00
noderef.cpp Ignore noderef attribute in unevaluated context 2020-11-23 08:10:35 -05:00
noderef_on_non_pointers.m
noderef_templates.cpp
nostdlib-for-asmpp.s
objc-bool-is-bool.m
opencl.cl [OpenCL] Reject block arguments 2020-06-29 14:13:12 +01:00
optimization-remark-analysis.c
optimization-remark-extra-analysis.c
optimization-remark-line-directive.c [llvm][inliner] Reuse the inliner pass to implement 'always inliner' 2020-11-30 12:03:39 -08:00
optimization-remark-new-pm.c [llvm][inliner] Reuse the inliner pass to implement 'always inliner' 2020-11-30 12:03:39 -08:00
optimization-remark-options.c
optimization-remark-with-hotness-new-pm.c [llvm][inliner] Reuse the inliner pass to implement 'always inliner' 2020-11-30 12:03:39 -08:00
optimization-remark-with-hotness.c [Remarks] Add callsite locations to inline remarks 2020-06-20 23:32:10 -07:00
optimization-remark.c [llvm][inliner] Reuse the inliner pass to implement 'always inliner' 2020-11-30 12:03:39 -08:00
output-failures.c
plugin-annotate-functions.c
plugin-attribute.cpp
plugin-call-super.cpp Add a call super attribute plugin example 2020-11-20 08:51:12 -05:00
plugin-delayed-template.cpp
plugin-unknown.c
plugin-vs-debug-info.cpp
plugins.c
pp-only-no-editor-placeholders.c
preprocessed-input.i
preprocessed-output-macro-first-token.c
print-header-includes.c
profile-sample-use-loc-tracking.c
region-pragmas.c
remarks-hotness.cpp [Remarks][2/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:50 -08:00
remove-file-on-signal.c
rewrite-includes-bom.c
rewrite-includes-cli-include.c
rewrite-includes-conditions.c
rewrite-includes-eof.c
rewrite-includes-filenotfound.c
rewrite-includes-header-cmd-line.c
rewrite-includes-invalid-hasinclude.c
rewrite-includes-line-markers.c
rewrite-includes-messages.c
rewrite-includes-missing.c
rewrite-includes-modules.c
rewrite-includes-warnings.c
rewrite-includes.c
rewrite-macros.c
source-col-map.c
stats-file.c
stdin-input.c
stdin.c
stdlang.c [OpenCL] Make Clang recognize -cl-std=1.0 as a value argument 2020-11-11 17:01:57 +03:00
sycl-aux-triple.cpp
system-header-line-directive-ms-lineendings.c
system-header-line-directive.c
system-header-prefix.c
trigraphs.cpp [SystemZ][z/OS] enable trigraphs by default on z/OS 2020-08-13 16:02:07 -04:00
undef.c
unknown-arg.c
unknown-pragmas.c
verify-any-file.c
verify-any-file.h
verify-directive.h
verify-fatal.c
verify-ignore-unexpected.c
verify-marker.c
verify-marker.h
verify-prefixes.c
verify-unknown-arg.c
verify.c
verify2.c
verify2.h
verify3.c
warn-device-init-fun.cu
warning-mapping-1.c
warning-mapping-2.c
warning-mapping-3.c
warning-mapping-4.c
warning-mapping-5.c
warning-mapping-6.c
warning-options.cpp [Sema] Special case -Werror-implicit-function-declaration and reject other -Werror- 2020-11-05 10:25:30 -08:00
warning-poison-system-directories.c
windows-exceptions.cpp
windows-nul.c
x86-embed-bitcode.ll Set alignment of .llvmbc and .llvmcmd to 1 2020-08-29 18:27:34 -07:00
x86-target-cpu.c
x86_64-nacl-types.cpp