llvm-project/clang/test/Profile/Inputs
Anton Bikineev 7b85e76500 [PGO] Consider parent context when weighing branches with likelyhood.
Generally, with PGO enabled the C++20 likelyhood attributes shall be
dropped assuming the profile has a good coverage. However, currently
this is not the case for the following code:

 if (always_false()) [[likely]] {
   ...
 }

The patch fixes this and drops the attribute, if the parent context was
executed in the profile. The patch still preserves the attribute, if the
parent context was not executed, e.g. to support the cases when the
profile has insufficient coverage.

Differential Revision: https://reviews.llvm.org/D134456
2022-10-08 23:49:27 +02:00
..
c-attributes.proftext
c-captured.proftext
c-counter-overflows.proftext
c-general.profdata.v1
c-general.profdata.v3
c-general.profdata.v5
c-general.proftext
c-outdated-data.proftext
c-unprofiled-blocks.proftext
c-unprofiled.proftext
cxx-class.proftext
cxx-hash-v2.profdata.v5
cxx-hash-v2.proftext
cxx-lambda.proftext
cxx-missing-bodies.proftext
cxx-never-executed-branch.proftext [PGO] Consider parent context when weighing branches with likelyhood. 2022-10-08 23:49:27 +02:00
cxx-rangefor.proftext
cxx-templates.proftext
cxx-throws.proftext
func-entry.proftext
gcc-flag-compatibility.proftext
gcc-flag-compatibility_IR.proftext
gcc-flag-compatibility_IR_entry.proftext
max-function-count.proftext
misexpect-branch-nonconst-expect-arg.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
misexpect-branch.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
misexpect-switch-default-only.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
misexpect-switch-default.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
misexpect-switch-nonconst.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
misexpect-switch.proftext [misexpect] Re-implement MisExpect Diagnostics 2022-04-19 21:23:48 +00:00
objc-general.proftext
profile-summary.proftext
profiled_header.h