Developer Guide and Reference

Contents

Requesting Compiler Reports with the xi* Tools

The compiler options
qopt-report
(Linux* and
macOS*
) and
[Q]opt-report
(Windows*) generate optimization reports with different levels of detail. Related compiler options, listed under Optimization Report Options, allow you to specify the phase, direct output to a file (instead of
stderr
), and request reports from all routines with names containing a specific string as part of their name.
The xi* tools are used with inter-procedural optimization (IPO) during the final stage of IPO compilation. You can request compiler reports to be generated during the final IPO compilation by using certain options. The supported xi* tools are:
  • Linker tools:
    xilink
    (Windows*) and
    xild
    (Linux* and
    macOS*
    )
  • Library tools:
    xilib
    (Windows*),
    xiar
    (Linux* and
    macOS*
    ),
    xilibtool
    (
    macOS*
    )
The following tables lists the compiler report options that can be used with the xi* tools during the final IPO compilation.
Optimization Report Option
Description
-qopt-report
[=
n
] (Linux* and
macOS*
)
/Qopt-report
[:
n
] (Windows*)
Enables optimization report generation with different levels of detail. Valid values for
n
are 0 through 5. By default, when you specify this option without passing a value the compiler will generate a report with a medium level of detail. Higher numbers give greater levels of detail.
-qopt-report-file
=
filename
(Linux* and
macOS*
)
/Qopt-report-f