llvm-project/clang/test/Frontend/Inputs
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
..
NextIncludes actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
SystemHeaderPrefix
TestFramework.framework/Headers
resource_dir_with_sanitizer_blacklist/share [clang][test][NFC] Use more widely supported sanitizer for file dependency tests 2020-01-14 12:55:11 -08:00
sysroot_x86_64_cross_linux_tree Reland r371785: Add -Wpoison-system-directories warning 2019-09-13 18:00:51 +00:00
absolute-paths.h
empty.h
line-directive.h
optimization-remark-with-hotness-sample.proftext
optimization-remark-with-hotness.proftext
profile-sample-use-loc-tracking.prof
remarks-hotness.prof [Remarks][2/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:50 -08:00
rewrite-includes-bom.h
rewrite-includes-messages.h
rewrite-includes1.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes2.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes3.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes4.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes5.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes6.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes7.h actually also compile output in tests for -frewrite-includes 2019-09-18 19:12:14 +00:00
rewrite-includes8.h
rewrite-includes9.h
test.h
test2.h
test3.h