REPORT | NOREPORT

Category

Listings, messages, and compiler information

Pragma equivalent

None.

Purpose

Produces pseudo-C code listing files that show how sections of code have been optimized with HOT, IPA compile, and IPA link. You can use this information to understand your application code and to tune your code for better performance.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-NOREPORT-.   
>>-+-REPORT---+------------------------------------------------><

Defaults

NOREPORT

Usage

For REPORT to generate a pseudo-C code listing, you need to specify the LIST option. In addition, you must also specify one of the following options on the command line:
  • HOT
  • IPA

When SPLITLIST is specified, the pseudo-C listing will precede the pseudo-assembly listing in the same listing file.

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.

Note: The REPORT option cannot be specified with the METAL option.

Predefined macros

None.

Examples

The following example generates a pseudo-C code listing at IPA compile step:
xlc -qipa -qlist -qreport -c hello.c
The following example generates a pseudo-C code listing at IPA link step:
xlc -qipa -qlist -qreport -o hello.o

Related information

For more information on related compiler options, see: