Developer Guide and Reference

Contents

inline-max-per-routine, Qinline-max-per-routine

Specifies the maximum number of times the inliner may inline into a particular routine.

Syntax

Linux and macOS:
-inline-max-per-routine
=
n
-no-inline-max-per-routine
Windows:
/Qinline-max-per-routine
=
n
/Qinline-max-per-routine-
Arguments
n
Is a positive integer that specifies the maximum number of times the inliner may inline into a particular routine.
Default
-no-inline-max-per-routine
or
/Qinline-max-per-routine-
The compiler uses default heuristics for inline routine expansion.
Description
This option specifies the maximum number of times the inliner may inline into a particular routine. It limits the number of times that inlining can be applied to any routine.
If you specify
-no-inline-max-per-routine
(Linux* and
macOS*
) or
/Qinline-max-per-routine-
(Windows*), there is no limit to the number of times some routine may be inlined into a particular routine.
To see compiler values for important inlining limits, specify option
[q or Q]opt-report
.
When you use this option to increase the default limit, the compiler may do so much additional inlining that it runs out of memory and terminates with an "out of memory" message.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804