The compiler provides options for inlining user functions based on specific criteria without any other direction. See Criteria for Inline Function Expansion for more information.
The following options are useful in situations where an application can benefit from user function inlining but does not need specific direction about inlining limits. Except where noted, these options are supported on IA-32, IntelŪ EM64T, and IntelŪ ItaniumŪ architectures.
Windows* |
Linux* |
Effect |
---|---|---|
/Ob |
-Ob |
Specifies the level of inline function expansion. For more information, see the following topic:
|
/Qip-no-inlining |
-ip-no-inlining |
Useful if -ip (Linux*) or /Qip (Windows*) or -ipo (Linux) or /Qipo (Windows) is also specified. In such cases, this option disables inlining that would result from the -ip (Linux) or /Qip (Windows) or -Ob2 (Linux) or /Ob2 (Windows) IPO, but has no effect on other interprocedural optimizations. For more information, see the following topic:
|
/Qip-no-pinlining |
-ip-no-pinlining |
Disables partial inlining; can be used if -ip (Linux) or /Qip (Windows) or -ipo (Linux) or /Qipo (Windows) is also specified. NoteItanium-based systems: This option is not supported. For more information, see the following topic:
|
/Qinline-debug-info |
-inline-debug-info |
Keeps source information for inlined functions. The additional source code can be used by the Intel® Debugger to resolve issues. NoteMac OS*: This option is not supported. For more information, see the following topic:
|