Linux and Mac OS X: -opt-report [n]
Windows: /Qopt-report[:n]
n Is the level of detail in the report. Possible values are:
0 Tells the compiler to generate no optimization report.
1 Tells the compiler to generate a report with the minimum level of detail.
2 Tells the compiler to generate a report with the medium level of detail.
3 Tells the compiler to generate a report with the maximum level of detail.
Linux and Mac OS X: -opt-report-phase[phase]
Windows: /Qopt-report-phase[:phase]
phase Is the phase to generate reports for. Some of the possible values are:
ipo The Interprocedural Optimizer phase
hlo The High Level Optimizer phase
hpo The High Performance Optimizer phase
ilo The Intermediate Language Scalar Optimizer phase
ecg The Code Generator phase (Windows and Linux systems using IA-64 architecture only)
ecg_swp The software pipelining component of the Code Generator phase (Windows and Linux systems using IA-64 architecture only)
pgo The Profile Guided Optimization phase
all All optimizer phases
Default
OFF No optimization reports are generated.