Developer Guide and Reference

Contents

qopt-mem-layout-trans, Qopt-mem-layout-trans

Controls the level of memory layout transformations performed by the compiler.

Syntax

Linux and macOS:
-qopt-mem-layout-trans
[
=
n
]
-qno-opt-mem-layout-trans
Windows:
/Qopt-mem-layout-trans
[
:
n
]
/Qopt-mem-layout-trans-
Arguments
n
Is the level of memory layout transformations. Possible values are:
0
Disables memory layout transformations. This is the same as specifying
-qno-opt-mem-layout-trans
(Linux* and
macOS*
) or
/Qopt-mem-layout-trans-
(Windows*).
1
Enables basic memory layout transformations.
2
Enables more memory layout transformations. This is the same as specifying
[q or Q]opt-mem-layout-trans
with no argument.
3
Enables more memory layout transformations like copy-in/copy-out of structures for a region of code. You should only use this setting if your system has more than 4GB of physical memory per core.
4
Enables more aggressive memory layout transformations. You should only use this setting if your system has more than 4GB of physical memory per core.