Intel® C++ Compiler 16.0 User and Reference Guide

ip, Qip

Determines whether additional interprocedural optimizations for single-file compilation are enabled.

Syntax

Linux and OS X:

-ip

-no-ip

Windows:

/Qip

/Qip-

Arguments

None

Default

OFF

Some limited interprocedural optimizations occur, including inline function expansion for calls to functions defined within the current source file. These optimizations are a subset of full intra-file interprocedural optimizations. Note that this setting is not the same as -no-ip (Linux* OS and OS X*) or /Qip- (Windows* OS).

Description

This option determines whether additional interprocedural optimizations for single-file compilation are enabled.

The [Q]ip option enables additional interprocedural optimizations for single-file compilation.

Options -no-ip (Linux OS and OS X) and /Qip- (Windows OS) may not disable inlining. To ensure that inlining of user-defined functions is disabled, specify -inline-level=0or -fno-inline (Linux OS and OS X), or specify /Ob0 (Windows OS). To ensure that inliningof compiler intrinsic functions is disabled, specify -fno-builtin (Linux OS and OS X) or /Oi- (Windows OS).

IDE Equivalent

Visual Studio: Optimization > Interprocedural Optimization

Eclipse: Optimization > Enable Interprocedural Optimizations for Single File Compilation

Xcode: Optimization > Enable Interprocedural Optimization for Single File Compilation

Alternate Options

None

See Also