llvm-project/clang/lib/Driver
Ellis Hoag af58684f27 [InstrProf] Add options to profile function groups
Add two options, `-fprofile-function-groups=N` and `-fprofile-selected-function-group=i` used to partition functions into `N` groups and only instrument the functions in group `i`. Similar options were added to xray in https://reviews.llvm.org/D87953 and the goal is the same; to reduce instrumented size overhead by spreading the overhead across multiple builds. Raw profiles from different groups can be added like normal using the `llvm-profdata merge` command.

Reviewed By: ianlevesque

Differential Revision: https://reviews.llvm.org/D129594
2022-07-14 11:41:30 -07:00
..
ToolChains [InstrProf] Add options to profile function groups 2022-07-14 11:41:30 -07:00
Action.cpp [Clang] Introduce clang-offload-packager tool to bundle device files 2022-05-11 09:39:13 -04:00
CMakeLists.txt [HLSL][clang][Driver] Support target profile command line option. 2022-04-15 14:18:18 -05:00
Compilation.cpp [clang][driver] Introduce new -fdriver-only flag 2022-06-13 13:30:56 +02:00
Distro.cpp Add support of the next Ubuntu (Ubuntu 22.10 - Kinetic Kudu) 2022-05-23 13:49:34 +02:00
Driver.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
DriverOptions.cpp
Job.cpp [Clang] Own the CommandLineArgs in CodeGenOptions 2021-12-21 17:41:35 -05:00
Multilib.cpp [clang] Use llvm::erase_if (NFC) 2021-10-17 13:50:29 -07:00
OptionUtils.cpp
Phases.cpp
SanitizerArgs.cpp [ubsan] Using metadata instead of prologue data for function sanitizer 2022-06-27 12:09:13 -07:00
Tool.cpp [clang][driver] NFC: Move InputInfo.h from lib to include 2021-07-27 09:17:39 +02:00
ToolChain.cpp [Clang][Driver] Fix include paths for `--sysroot /` on Linux 2022-05-27 16:51:36 +01:00
Types.cpp [flang][driver] Add support for consuming LLVM IR/BC files 2022-05-05 15:11:50 +00:00
XRayArgs.cpp Reapply [xray] add support for hexagon 2021-12-10 05:32:28 -08:00