| 1 |
\section{Back End Optimizations} |
| 2 |
|
| 3 |
Once MLRisc trees have been generated, they are passed into a module |
| 4 |
that generates a flowgraph of target machine instructions. Again, |
| 5 |
this module and all subsequent optimization phases have been |
| 6 |
specialized to the front end. |
| 7 |
\image{Back end optimizations}{pictures/png/optimization.png}{align=right} |
| 8 |
Nearly all |
| 9 |
instruction selection modules provided by MLRISC use a simple tree |
| 10 |
pattern matching algorithm rather than the more heavy weight BURG |
| 11 |
tools --- including the x86 \begin{color}{#580000} It is important to |
| 12 |
emphasis that all optimizations are performed on the flowgraph of |
| 13 |
target machine instructions and \emph{not} MLRisc |
| 14 |
immediate IR. \end{color} There is complete flexibility in the order, |
| 15 |
and nature of the optimizations performed. |