+ op_Phi->ops.copy_attr = new_phi_copy_attr;
+ initialized = true;
+
+ /* phis have register and register requirements now which we want to dump */
+ assert(op_Phi->ops.dump_node == NULL);
+ op_Phi->ops.dump_node = be_dump_phi_reg_reqs;
+}
+
+/**
+ * Edge hook to dump the schedule edges.
+ */
+static void sched_edge_hook(FILE *F, ir_node *irn)
+{
+ if (is_Proj(irn))
+ return;
+ if (get_irn_irg(irn)->be_data == NULL)
+ return;
+
+ if (sched_is_scheduled(irn) && sched_has_prev(irn)) {
+ ir_node *prev = sched_prev(irn);
+ fprintf(F, "edge:{sourcename:\"");
+ PRINT_NODEID(irn);
+ fprintf(F, "\" targetname:\"");
+ PRINT_NODEID(prev);
+ fprintf(F, "\" color:magenta}\n");
+ }