English
Language : 

AN3350 Datasheet, PDF (49/185 Pages) STMicroelectronics – eTPU compiler tools
AN3350
Command-line options for optimization
8
Command-line options for optimization
8.1
-inline
Specifies inline options. Default settings are smart, noauto.
Syntax
-inline keyword
The options for keyword are:
off | none
Turns off inlining.
on | smart
Turns on inlining for functions declared with the inline qualifier. This is the default.
auto
Attempts to inline small functions even if they are declared with inline.
noauto
Does not auto-inline. This is the default auto-inline setting.
deferred
Refrains from inlining until a file has been translated. This allows inlining of functions in both
directions.
level=n
Inlines functions up to n levels deep. Level 0 is the same as -inline on. For n, enter 1 to
8 levels. This argument is case-sensitive.
all
Turns on aggressive inlining. This option is the same as -inline on, -inline auto.
8.2
-O
Sets optimization settings to -opt level=2.
Syntax
-O
Remarks
Provided for backwards compatibility.
8.3
-O+
Controls optimization settings.
Doc ID 018512 Rev 2
49/185