Specifies the maximum number of times the inliner may inline into a particular routine.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -inline-max-per-routine=n -no-inline-max-per-routine |
Windows: | /Qinline-max-per-routine=n /Qinline-max-per-routine- |
n | Is a positive integer that specifies the maximum number of times the inliner may inline into a particular routine. |
-no-inline-max-per-routine or |
The compiler uses default heuristics for inline routine expansion. |
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) 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) 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).
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.
None
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