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

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-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 Mac OS X) 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 compiler option -opt-report (Linux and Mac OS X) or /Qopt-report (Windows).

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

Caution iconCaution

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


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.