Interprocedural Optimisation

Argument

Comment

-ip Single file interprocedural optimizations, including selective inlining, within the current source file.
-ipo[n] Permits inlining and other interprocedural optimizations among multiple source files. The optional argument n controls the maximum number of link-time compilations (or number of object files) spawned. Default for n is 0 (the compiler chooses).
-ipo-jobs[n] Specifies the number of commands (jobs) to be executed simultaneously during the link phase of Interprocedural Optimization (IPO). The default is 1 job
-finline-functions -finline-level=2 This option enables function inlining within the current source file at the compiler's discretion. This option is enabled by default at -O2 and -O3.
-finline-factor=n This option scales the total and maximum sizes of functions that can be inlined. The default value of n is 100, i.e., 100% or a scale factor of one

Supported By

File Browser Reference
Department FHERIS
University of Galway
HEA Logo