4.5.12 -hoist_loop_invariants, -hli, (-hoist_loop_invariants=1)

The -hoist_loop_invariants switch controls code hoisting of loop-invariant expressions from loops. This switch is independent of the switches, -each_invariant_if_growth and -max_invariant_if_growth , that control the floating of invariant-IFs out of loops. The possible settings for -hoist_loop_invariants are the following:

If there is invariant code that is protected by an IF-structure and the hoisting value is less than 3, then KAP generates the following message in the output listing:

An invariant expression not hoisted because -hoist_loop_invariants < 3


Previous Page | Next Page | Contents | Index |
Command Line Switches