-qreport

Description

Instructs the compiler to produce transformation reports that show how program loops are parallelized and/or optimized and also on the procedures that are cloned for the architectures specified by -qipa=clonearch compiler option. The transformation reports are included as part of the compiler listing.

Syntax

Read syntax diagramSkip visual syntax diagram        .-noreport-.
>>- -q--+-report---+-------------------------------------------><

Notes

This option has no effect unless -qhot ,-qsmp or -qipa=clonearch are also in effect.

Specifying -qreport together with -qhot instructs the compiler to produce a pseudo-C code listing and summary showing how loops are transformed. You can use this information to tune the performance of loops in your program.

Specifying -qreport together with -qsmp instructs the compiler to also produce a report showing how the program deals with data and automatic parallelization of loops in your program. You can use this information to determine how loops in your program are or are not parallelized.

The pseudo-C code listing is not intended to be compilable. Do not include any of the pseudo-C code in your program, and do not explicitly call any of the internal routines whose names may appear in the pseudo-C code listing.

Example

To compile myprogram.C so the compiler listing includes a report showing how loops are optimized, enter:

xlc++_r -qhot -O3 -qreport myprogram.C

To compile myprogram.C so the compiler listing also includes a report showing how parallelized loops are transformed, enter:

xlc++_r -qsmp -O3 -qreport myprogram.C

Related information