inline-max-size, Qinline-max-size

Specifies the lower limit for the size of what the inliner considers to be a large routine.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -inline-max-size=n
-no-inline-max-size
Windows:  /Qinline-max-size=n
/Qinline-max-size-

Arguments

n Is a positive integer that specifies the minimum size of what the inliner considers to be a large routine.

Default

OFF The compiler uses default heuristics for inline routine expansion.

Description

This option specifies the lower limit for the size of what the inliner considers to be a large routine (a function or subroutine). The inliner classifies routines as small, medium, or large. This option specifies the boundary between what the inliner considers to be medium and large-size routines.

The inliner prefers to inline small routines. It has a preference against inlining large routines. So, any large routine is highly unlikely to be inlined.

If you specify -no-inline-max-size (Linux and Mac OS) or /Qinline-max-size- (Windows), there are no large routines. Every routine is either a small or medium routine.

To see compiler values for important inlining limits, specify compiler option -opt-report (Linux and Mac OS) or /Qopt-report (Windows).

To see compiler values for important inlining limits, specify compiler option -opt-report (Linux and Mac OS) or /Qopt-report (Windows).

Caution

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

See Also

inline-min-size, Qinline-min-size compiler option

inline-factor, Qinline-factor compiler option

opt-report, Qopt-report compiler option

Optimizing Applications:
Compiler Directed Inline Expansion of User Functions

Developer Directed Inline Expansion of User Functions