Interprocedural Optimization (IPO) Quick Reference

IPO is a two step process: compile and link. See Using IPO.

Linux* and Mac OS* X

Windows*

Description

-ipo

or

-ipoN

/Qipo

or

/QipoN

Enables interprocedural optimization for multi-file compilations.

Normally, multi-file compilations result in a single object file only. Passing an integer value for N allows you to specify number of true object files to generate; the default value is 0, which means the compiler determines the appropriate number of object files to generate. (See IPO for Large Programs.)

-ipo-separate

/Qipo-separate

Instructs the compiler to generate a separate, real object file for each mock object file. Using this option overrides any integer value passed for ipoN. (See IPO for Large Programs for specifics.)

-ip

/Qip

Enables interprocedural optimizations for single file compilations. Instructs the compiler to generate a separate, real object file for each source file.

Additionally, the compiler supports options that provide support for compiler-directed or developer-directed inline function expansion.

Refer to Quick Reference Lists for a complete listing of the quick reference topics.