inline_bottom_up_once. NXP CodeWarrior Development Studio
Reklama
Reklama
Chapter 29 Pragmas for C++
If you enable this pragma, the compiler calculates inline depth from the last function in the call chain up to the first function that starts the call chain. The number of functions the compiler inlines from the bottom depends on the values of inline_depth
, inline_max_size
, and inline_max_total_size
. This method generates faster and smaller source code for some (but not all) programs with many nested inline function calls.
If you disable this pragma, top-down inlining is selected, and the inline_depth
setting determines the limits for top-down inlining. The inline_max_size
and inline_max_total_size pragmas do not affect the compiler in top-down mode.
29.22 inline_bottom_up_once
Performs a single bottom-up function inlining operation.
Syntax
#pragma inline_bottom_up_once on | off | reset
Remarks
By default, this pragma is off
.
29.23 inline_depth
Controls how many passes are used to expand inline function calls.
Syntax
#pragma inline_depth(
n )
#pragma inline_depth(smart)
Parameters
n
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
443
Stiahnuť
Reklama