Optimize and canonicalize an expression tree. Fiddle with double operators so that the rvalue is a pointer (this is needed by the 8086 code generator).
Handle OPddtor
Handle OPmsw.
Handle OPpair, OPrpair.
See if we can replace struct operations with simpler ones. For OPstreq and OPstrpar.
Do optimizations after bltailrecursion() and before common subexpressions.
Swap relational operators (like if we swapped the leaves).
Local optimizations of elem trees
Compiler implementation of the D programming language.
Does strength reduction optimizations on the elem trees, i.e. rewriting trees to less expensive trees.