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-data
Disable optimization of common data structures.
--no-layout-common-data
Disable optimization of common subsequences in layout structures.
--no-llds-optimize
Disable the low-level optimization passes.
--no-optimize-peep
Disable local peephole optimizations.
--no-optimize-jumps
Disable elimination of jumps to jumps.
--no-optimize-fulljumps
Disable elimination of jumps to ordinary code.
--pessimize-tailcalls
Disable the optimization of tailcalls.
--checked-nondet-tailcalls
Convert 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-vars
Disable the transformation to use local variables in C code blocks wherever possible.
--no-optimize-labels
Disable elimination of dead labels and code.
--optimize-dups
Enable elimination of duplicate code within procedures.
--optimize-proc-dups
Enable elimination of duplicate procedures.
--no-optimize-frames
Disable stack frame optimizations.
--no-optimize-delay-slot
Disable branch delay slot optimizations.
--optimize-reassign
Optimize away assignments to locations that already hold the assigned value.
--optimize-repeat n
Iterate most optimizations at most n times (default: 3).
--layout-compression-limit n
Attempt to compress the layout structures used by the debugger only as long as the arrays involved have at most n elements (default: 4000).