*/
ir_node *be_duplicate_node(ir_node *node);
+/** clear transform functions and sets some virtual nodes like
+ * Start, Sync, Pin to the duplication transformer */
+void be_start_transform_setup(void);
+
+/** register a transform function for a specific node type */
+void be_set_transform_function(ir_op *op, be_transform_func func);
+
/**
* Associate an old node with a transformed node. Uses link field.
*/
*/
void be_transform_graph(ir_graph *irg, arch_pretrans_nodes *func);
+/**
+ * If Mux(sel, t, f) represents an Abs return 1, if it represents -Abs return
+ * -1, otherwise 0
+ */
+int be_mux_is_abs(ir_node *sel, ir_node *mux_true, ir_node *mux_false);
+
+ir_node *be_get_abs_op(ir_node *sel);
+
#endif