STAT_OPT_TUPLE, /**< Tuple optimization */
STAT_OPT_ID, /**< ID optimization */
STAT_OPT_CONST_EVAL, /**< constant evaluation */
+ STAT_OPT_CSE, /**< common subexpression elimination */
STAT_OPT_STRENGTH_RED, /**< strenght reduction */
+ STAT_OPT_ARCH_DEP, /**< architecture dependant optimization */
STAT_LOWERED, /**< lowered */
STAT_OPT_MAX
*/
void stat_dead_node_elim_stop(ir_graph *irg);
+/**
+ * A multiply was replaced by a series of Shifts/Adds/Subs
+ */
+void stat_arch_dep_replace_mul_with_shifts(ir_node *mul);
+
+/**
+ * A division was replaced by a series of Shifts/Muls
+ */
+void stat_arch_dep_replace_div_by_const(ir_node *div);
+
+/**
+ * A modulo was replaced by a series of Shifts/Muls
+ */
+void stat_arch_dep_replace_mod_by_const(ir_node *mod);
+
+/**
+ * A Divod was replaced by a series of Shifts/Muls
+ */
+void stat_arch_dep_replace_DivMod_by_const(ir_node *divmod);
+
/**
* helper: get an ir_op from an opcode
*
#define stat_strength_red(irg, strong, cmp)
#define stat_dead_node_elim_start(irg)
#define stat_dead_node_elim_stop(irg)
+#define stat_arch_dep_replace_mul_with_shifts(irn)
+#define stat_arch_dep_replace_div_by_const(irn)
+#define stat_arch_dep_replace_mod_by_const(irn)
+#define stat_arch_dep_replace_DivMod_by_const(irn)
#endif