You can use the -qlistfmt option to generate a compiler report in XML or HTML format that indicates some of the details of how your program was optimized. You can also use the genhtml tool to convert an existing XML report to HTML format. This information can be used to understand your application code and to tune your code for better performance.
The compiler report in XML format can be viewed in a browser that supports XSLT. If you compile with the stylesheet suboption, -qlistfmt=xml=all:stylesheet=xlstyle.xsl, the report contains a link to a stylesheet that renders the XML readable and provides you with opportunities to improve the optimization of your code. You can also create tools to parse this information.
By default, the name of the report is a.html in HTML format; and a.xml in XML format. You can use the -qlistfmt=filename option to override the default name.
If compiled with -qinline and one of -qlistfmt=xml=inlines, -qlistfmt=html=inlines, -qlistfmt=xml or -qlistfmt=html, the compiler report that is generated includes a list of inline attempts during the compilation. The report also specifies the type of attempt and its outcome.
For a complete list of the possible explanations, see the Inline optimization types section of the XML schema help file called XMLContent.html in the /opt/IBM/xlf/15.1.0/listings/ directory, which also includes its Japanese and Chinese version, XMLContent-Japanese.utf8.html and XMLContent-Chinese.utf8.html.
For a complete list of the possible transformation problems, see the Loop transformation types section of the XML schema help file called XMLContent.html in the /opt/IBM/xlf/15.1.0/listings/ directory, which also includes its Japanese and Chinese version, XMLContent-Japanese.utf8.html and XMLContent-Chinese.utf8.html.
For each of these reorganizations, the report contains details about the name of the data, file names, line numbers, and the region names.