opt-ra-region-strategy, Qopt-ra-region-strategy

Selects the method that the register allocator uses to partition each routine into regions.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture

Syntax

Linux and Mac OS X: -opt-ra-region-strategy[=keyword]
Windows: /Qopt-ra-region-strategy[:keyword]

Arguments

keyword Is the method used for partitioning. Possible values are:
  routine Creates a single region for each routine.
  block Partitions each routine into one region per basic block.
  trace Partitions each routine into one region per trace.
  region Partitions each routine into one region per loop.
  default The compiler determines which method is used for partitioning.

Default

-opt-ra-region-strategy=default or /Qopt-ra-region-strategy:default The compiler determines which method is used for partitioning. This is also the default if keyword is not specified.

Description

This option selects the method that the register allocator uses to partition each routine into regions.

When setting default is in effect, the compiler attempts to optimize the tradeoff between compile-time performance and generated code performance.

This option is only relevant when optimizations are enabled (O1 or higher).

Alternate Options

None

See Also

O compiler option