+ for (irn = sched_first(block); ! sched_is_end(irn); irn = next) {
+ ia32_code_gen_t *cg = env;
+ next = sched_next(irn);
+
+ if (is_ia32_irn(irn)) {
+ /* check if there is a sub which need to be transformed */
+ ia32_transform_sub_to_neg_add(irn, cg);
+
+ /* transform a LEA into an Add if possible */
+ ia32_transform_lea_to_add(irn, cg);
+
+ /* check for peephole optimization */
+ ia32_peephole_optimization(irn, cg);
+ }
+ }
+