Developer Guide and Reference

Contents

inline-min-size, Qinline-min-size

Specifies the upper limit for the size of what the inliner considers to be a small routine.

Syntax

Linux and macOS:
-inline-min-size
=
n
-no-inline-min-size
Windows:
/Qinline-min-size
=
n
/Qinline-min-size-
Arguments
n
Is a positive integer that specifies the maximum size of what the inliner considers to be a small routine.
Default
-no-inline-min-size
or
/Qinline-min-size-
The compiler uses default heuristics for inline routine expansion.
Description
This option specifies the upper limit for the size of what the inliner considers to be a small routine (
a function
). The inliner classifies routines as small, medium, or large. This option specifies the boundary between what the inliner considers to be small and medium-size routines.
The inliner has a preference to inline small routines. So, when a routine is smaller than or equal to the specified size, it is very likely to be inlined.
If you specify
-no-inline-min-size
(Linux* and
macOS*
) or
/Qinline-min-size-
(Windows*), there is no limit to the size of small routines. Every routine is a small routine; there are no medium or large routines.
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