fnsplit, Qfnsplit

Enables function splitting.

IDE Equivalent

None

Architectures

/Qfnsplit[-]: IA-32, IntelŪ ItaniumŪ architecture

-[no-]fnsplit: ItaniumŪ architecture

Syntax

Linux: -fnsplit
-no-fnsplit
Mac OS: None
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 -no-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 -no-fnsplit or /Qfnsplit-.

Alternate Options

None

See Also

Optimizing Applications:
Basic PGO Options

Example of Profile-Guided Optimization