4.4.1 -inline, -inl, (off) -noinline, -ninl, -ipa, -ipa, (off), -noipa, -nipa

The -inline switch provides KAP with a list of routines to inline. The -ipa switch provides KAP with a list of routines to analyze. Additionally, -ipa causes KAP to give information in the annotated listing about appropriate settings for the -ind , -inll , and -ipall switches on a loop-by-loop basis.

If you specify either the -inline or the -ipa switch without an argument list, KAP will try to inline/analyze all the called subroutines and functions in the inlining or IPA universe specified by the -inline_from... (-ipa_from... ) switches, subject to restrictions imposed by the -inline_depth and -inline_looplevel (-ipa_looplevel ) switches.

To permit KAP to inline routines that contain static SAVE or DATA variables use the -aggressive=c switch with -inline . The -aggressive=c switch promotes the static variables to members of a COMMON that is introduced into the program. See Section 4.5.1 for more information.

If you include a list of names, for example: - inline=mkcoef,yval , then just the routines named will be inlined or analyzed.

A list of routines must be included with -noinline or -noipa . All routines in the inlining/IPA universe are candidates for inlining except the listed ones.

The -[no]inline and -[no]ipa command switches can be overridden by the C*$* [no]inline and C*$* [no]ipa directives. (See Chapter 5 and Chapter 7 for more information about these directives.)


Previous Page | Next Page | Contents | Index |
Command Line Switches