4.4.3 -inline_create, -incr, (off), -ipa_create, -ipacr, (off)

These switches instruct KAP to build a library file containing partially analyzed routines for later inlining. The library created is used with the -inline_from_libraries (-ipa_from_libraries ) switch.

Libraries created with -inline_create can be used with either inlining or IPA, since they contain essentially complete descriptions of the subroutines and functions included. Libraries created with -ipa_create can be used only with IPA, since they do not have the complete text of the routines, just the data relationship information.

You can use any name for the created library. However, for maximum compatibility with the -inline_from_libraries and -ipa_from_libraries switches, Digital recommends that you use the extension .klib .

4.4.4 -inline_depth, -ind, (-inline_depth=2), -ipa_depth, -ipad, (-ipa_depth=2)

The -inline_depth and -ipa_depth switches set the maximum level of subprogram nesting that KAP will attempt to inline. Higher values instruct KAP to trace CALLs and function references further. The values and their meanings are as follows:

Chapter 7 has examples of recursive inlining with different values of -inline_depth .

The C*$* [no]inline and C*$* [no]ipa directives, when enabled, are not affected by the -inline_depth or -ipa_depth restrictions.


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