global_optimizer

Controls whether the Frontend IR Optimizer is invoked by the compiler.

Syntax
#pragma global_optimizer on | off | reset
  
Remarks

In most compilers, this #pragma determines whether the Frontend IR Optimizer is invoked. If disabled, only simple optimizations and back-end optimizations are performed.

Note: This is not the same as #pragmaoptimization_level . The Frontend IR Optimizer is invoked even at optimization_level0 if #pragmaglobal_optimizer is enabled.

This pragma does not correspond to any panel setting. By default, this setting is on .

Related information
ipa
ipa_inline_max_auto_size
ipa_not_complete
load_store_elimination
opt_common_subs
opt_dead_assignments
opt_dead_code
opt_lifetimes
opt_loop_invariants
opt_propagation
opt_strength_reduction
opt_strength_reduction_strict
opt_unroll_loops
opt_vectorize_loops
optimization_level
optimize_for_size
optimizewithasm
pack
strictheaderchecking