irdump: Remove the parameter bad from get_mode_name_ex().
[libfirm] / ir / ir / iropt_t.h
index 468b382..ebf8cad 100644 (file)
@@ -139,44 +139,10 @@ bool ir_is_optimizable_mux(const ir_node *sel, const ir_node *mux_false,
                            const ir_node *mux_true);
 
 /**
- * Set the default hash operation in an ir_op_ops.
- *
- * @param code   the opcode for the default operation
- * @param ops    the operations initialized
- */
-void firm_set_default_hash(unsigned code, ir_op_ops *ops);
-
-/**
- * Set the default computed_value evaluator in an ir_op_ops.
- *
- * @param code   the opcode for the default operation
- * @param ops    the operations initialized
- */
-void firm_set_default_computed_value(ir_opcode code, ir_op_ops *ops);
-
-/**
- * Sets the default equivalent node operation for an ir_op_ops.
- *
- * @param code   the opcode for the default operation
- * @param ops    the operations initialized
- */
-void firm_set_default_equivalent_node(ir_opcode code, ir_op_ops *ops);
-
-/**
- * Sets the default transform node operation for an ir_op_ops.
- *
- * @param code   the opcode for the default operation
- * @param ops    the operations initialized
- */
-void firm_set_default_transform_node(ir_opcode code, ir_op_ops *ops);
-
-/**
- * Set the default node attribute compare operation for an ir_op_ops.
- *
- * @param code   the opcode for the default operation
- * @param ops    the operations initialized
+ * Returns true if Conv_m0(Conv_m1( x_m2)) is equivalent to Conv_m0(x_m2)
  */
-void firm_set_default_node_cmp_attr(ir_opcode code, ir_op_ops *ops);
+bool may_leave_out_middle_conv(ir_mode *m0, ir_mode *m1, ir_mode *m2);
 
+void ir_register_opt_node_ops(void);
 
 #endif