Table of Contents

Name

bore - do miscellaneous code transformations

Synopsis

bore [ options ] infile outfile { infile outfile }*

Description

The bore program does miscellaneous code transformations. The distinguishing feature of bore compared to other transformation programs such as porky is that bore does not build expression trees. Instead it maintains the lowlevel instruction ordering.

Options

-spill-instr-ops
This causes all instruction operands (the structure of expression trees) to be spilled to variables.

-build-instr-ops
This causes instruction operands to replace singledef, single-use variables wherever possible, more or less undoing the results of the -spill-instr-ops pass and allowing expression trees to be built by later passes.
-spill-prefix pref
This causes the -spill-instr-ops pass to use pref as the prefix for spill variables it creates. The new variables will use pref followed by a positive decimal integer as their names. The default prefix is ``_spill''.

History

This program was written by Chris Wilson.


Table of Contents