fnsplit, Qfnsplit

Enables function splitting.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -fnsplit
-fnsplit-
Windows:  /Qfnsplit
/Qfnsplit-

Arguments

None

Default

OFF Function splitting is not enabled unless -prof-use (Linux) or /Qprof-use (Windows) is also specified.

Description

This option enables function splitting if -prof-use (Linux) or /Qprof-use (Windows) is also specified. Otherwise, this option has no effect.

It is enabled automatically if you specify -prof-use or /Qprof-use. If you do not specify one of those options, the default is -fnsplit- (Linux) or /Qfnsplit- (Windows), which disables function splitting but leaves function grouping enabled.

To disable function splitting when you use -prof-use or /Qprof-use, specify -fnsplit- or /Qfnsplit-.

Alternate Options

None

See Also

Optimizing Applications:
Basic PGO Options

Example of Profile-Guided Optimization