Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

qopt-ra-region-strategy, Qopt-ra-region-strategy

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

Syntax

Linux:

-qopt-ra-region-strategy[=keyword]

macOS:

-qopt-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.

loop

Partitions each routine into one region per loop.

default

The compiler determines which method is used for partitioning.

Default

-qopt-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 (option O1 or higher).

IDE Equivalent

None

Alternate Options

None

See Also