bolt/deps/llvm-18.1.8/clang/test/Profile
2025-02-14 19:21:04 +01:00
..
Inputs Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
branch-logical-mixed.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
branch-profdup.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-avoid-direct-call.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-captured.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-collision.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-counter-overflows.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-general.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-generate.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-indirect-call.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-linkage-available_externally.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-linkage.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-mcdc-class.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-mcdc-logicalop-ternary.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-mcdc-nested-ternary.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-mcdc-not.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-mcdc.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-outdated-data.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-ternary.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-unprofiled-blocks.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-unprofiled.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
c-unreachable-after-switch.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
coverage-prefix-map.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-abc-deleting-dtor.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-class.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-hash-v2.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-implicit.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-indirect-call.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-lambda.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-linkage.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-missing-bodies.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-never-executed-branch.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-rangefor.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-stmt-initializers.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-structors.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-templates.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-throws.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cxx-virtual-destructor-calls.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
def-assignop.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
def-ctors.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
def-dtors.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
func-entry.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
gcc-flag-compatibility-aix.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
gcc-flag-compatibility.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-branch-cold.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-branch-nonconst-expected-val.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-branch-unpredictable.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-branch.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-switch-default.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-switch-nonconst.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-switch-only-default-case.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
misexpect-switch.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
objc-general.m Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
profile-does-not-exist-ir.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
profile-does-not-exist.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
profile-summary.c Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
README Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00

These are tests for instrumentation based profiling.  This specifically means
the -fprofile-instr-generate and -fprofile-instr-use driver flags.

Tests in this directory should usually test both:

  - the generation of instrumentation (-fprofile-instr-generate), and
  - the use of profile data from instrumented runs (-fprofile-instr-use).

In order to test -fprofile-instr-use without actually running an instrumented
program, .profdata files are checked into Inputs/.

The input source files must include a main function such that building with
-fprofile-instr-generate and running the resulting program generates the same
.profdata file that is consumed by the tests for -fprofile-instr-use.  Even
tests that only check -fprofile-instr-use should include such a main function,
so that profile data can be regenerated as the .profdata file format evolves.