Next: Output-level (LLDS -> C) optimization options, Previous: Medium-level (HLDS -> LLDS) optimization options, Up: Optimization options [Contents][Index]
These optimizations are transformations that are applied to our low-level intermediate code before emitting C code.
--no-common-dataDisable optimization of common data structures.
--no-layout-common-dataDisable optimization of common subsequences in layout structures.
--no-llds-optimizeDisable the low-level optimization passes.
--no-optimize-peepDisable local peephole optimizations.
--no-optimize-jumpsDisable elimination of jumps to jumps.
--no-optimize-fulljumpsDisable elimination of jumps to ordinary code.
--pessimize-tailcallsDisable the optimization of tailcalls.
--checked-nondet-tailcallsConvert nondet calls into tail calls whenever possible, even when this requires a runtime check. This option tries to minimize stack consumption, possibly at the expense of speed.
--no-use-local-varsDisable the transformation to use local variables in C code blocks wherever possible.
--no-optimize-labelsDisable elimination of dead labels and code.
--optimize-dupsEnable elimination of duplicate code within procedures.
--optimize-proc-dupsEnable elimination of duplicate procedures.
--no-optimize-framesDisable stack frame optimizations.
--no-optimize-delay-slotDisable branch delay slot optimizations.
--optimize-reassignOptimize away assignments to locations that already hold the assigned value.
--optimize-repeat nIterate most optimizations at most n times (default: 3).
--layout-compression-limit nAttempt to compress the layout structures used by the debugger only as long as the arrays involved have at most n elements (default: 4000).