/** Applies optimizations to a stage. The return value indicates which
stage should be optimized next. */
OptimizeResult optimize(Stage &);
/** Applies optimizations to a stage. The return value indicates which
stage should be optimized next. */
OptimizeResult optimize(Stage &);