Macrofy the peephole optimizations.