Visible to Intel only — GUID: GUID-A6C58E86-4E58-422F-A4D1-9EAA3DAAF07C
Visible to Intel only — GUID: GUID-A6C58E86-4E58-422F-A4D1-9EAA3DAAF07C
fprofile-sample-use
Enables the compiler and linker to use information for Hardware Profile-Guided Optimization (HWPGO). This is an experimental feature.
Syntax
Linux: |
-fprofile-sample-use=profile-file -fno-profile-sample-use |
Windows: |
/fprofile-sample-use:profile-file /fno-profile-sample-use |
Arguments
profile-file |
Is the profile data file generated by llvm-profgen. |
Default
fno-profile-sample-use |
Profiling information is not used during optimization. |
Description
This option enables the compiler and linker to use information for Hardware Profile-Guided Optimization (HWPGO). It is an experimental feature.
On Windows, do not specify option /Ob0 or /Ob1 with option /fprofile-sample-use or /fprofile-sample-generate because it will disable inlining.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None