Octave Optimizer

Contents

The Octave Optimizer implements several optimization on Octave code. The optimizations are implemented as source-to-source transformation, similar to the optimization described in the following paper,

The latest sources of the Octave Optimizer can be found at

Optimizations

Constant Folding

Constant Propagation

Dead Code Elimination

Loop optimizations

Besides the previously mentioned optimizations, the Stratego Octave Compiler has some experimental support for loop optimizations. Remko van Beusekom is implementing these optimization as part of his Master thesis project. The loop optimizations are a variant to the optimizations described in the following book,

  • Ken Kennedy and John R. Allen. Optimizing compilers for modern architectures: a dependence-based approach. 2002. Morgan Kaufmann Publishers Inc. (bib).

Loop vectorization