diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_opt_loop_invariants.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_opt_loop_invariants.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_opt_loop_invariants.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,27 +1,27 @@ - - - - - - - opt_loop_invariants - - - - -

opt_loop_invariants

-

Controls the use of loop invariant optimization.

-
Syntax
-

#pragma opt_loop_invariants on | off | reset -

-
Targets
- All platforms.
-
Remarks
-

If you enable this pragma, the compiler moves all computations that do not change inside a loop outside the loop, which then runs faster.

-

This pragma does not correspond to any panel setting. To check this setting, use __option (opt_loop_invariants), described in Checking Settings. This settings is related to the “global_optimizer” level.

-

- - - - - + + + + + + + opt_loop_invariants + + + + +

opt_loop_invariants

+

Controls the use of loop invariant optimization.

+
Syntax
+

#pragma opt_loop_invariants on | off | reset +

+
Targets
+ All platforms.
+
Remarks
+

If you enable this pragma, the compiler moves all computations that do not change inside a loop outside the loop, which then runs faster.

+

This pragma does not correspond to any panel setting. To check this setting, use __option (opt_loop_invariants), described in Checking Settings. This settings is related to the “global_optimizer” level.

+

+ + + + +