Enables the generation of a textual file that includes optimization transformation information.
Linux: | -qopt-report[=arg] |
Windows: | /Qopt-report[=arg] |
arg |
Determines the level of detail in the report. Possible values are:
|
OFF |
No optimization report is generated. |
This option enables the generation of a textual file that includes optimization transformation information.
The file provides the optimization information for the source file being compiled. For example:
ifx -fiopenmp -qopt-report foo.f90
This command will generate a file called foo.optrpt containing the optimization report messages.
When offloading is enabled, two optimization reports are generated:
A host-side optimization report named foo.optrpt, when there is only CPU compilation.
A device-side optimization report with the form foo-xxx-yyy.optrpt, where xxx is either "sycl" or "openmp" depending on the kind of offload, and "yyy" is the name of the offload target.
For example, if option -fopenmp-targets=spir64 is specified on the compile, the report is named foo-openmp-spir64.optrpt.
In releases prior to 2025.0, this option also produced a YAML-formatted optimization report containing LLVM community optimization remarks. Beginning with release 2025.0, the YAML file will no longer be produced by this option.
However, you can still produce the YAML report using the Clang option -fsave-optimization-record.
None