requested, the optimization is given priority so the debugging func-
tionality may be limited. See
page
1-37, and
Procedural optimizations for speed and space (
enabled in C/C++ source using the pragma
optimize_{for_speed|for_space}
mation on optimization pragmas).
• Automatic Inlining
The compiler automatically inlines C/C++ functions which are not
necessarily declared as inline in the source code. It does this when
it has determined that doing so will reduce execution time. How
aggressively the compiler performs automatic inlining is controlled
using the
switch and additionally enables Procedural Optimizations (
Refer to
"-O" on page 1-37
• Interprocedural optimizations (IPA)
The compiler performs advanced, aggressive optimization over the
whole program, in addition to the per-file optimizations in proce-
dural optimization. IPA is enabled using the
additionally enables Procedural Optimizations (
See
"-ipa" on page 1-30
information.
Interprocedural Analysis
The compiler has an optimization capability called Interprocedural Analysis
(IPA) that allows the compiler to optimize across translation units instead
of within individual translation units. This capability allows the compiler
to see all of the source files used in a final link at compilation time and to
use that information while optimizing.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
"-Ov num" on page
switch. Automatic inlining is enabled using the
-Ov
"-Oa" on page
1-37,
for more information.
and
"-O" on page
1-37,
1-38.
-O
(see
on page 1-125
"-Ov num" on page
-ipa
"-O" on page 1-37
Compiler
"-Os" on
and
) can be
-Os
more infor-
-Oa
).
-O
1-38, and
switch and
).
-O
for more
1-57
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?