Lard Toolkit User Guide

lopt - Lard Optimiser

Name

lopt - Optimise intermediate language program.

Synopsis

lopt [options] source > output

Description

lopt optimises an intermediate language program through peephole search and replace operations.

Options

-all

Enable all optimisations.

-v

Be verbose about how many optimisations have been applied.

Other options

Other options enable and disable individual optimisation rules. These options are not described here.