+ 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, const 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) && !is_Block(irn)) {
+ ir_node *prev = sched_prev(irn);
+ fprintf(F, "edge:{sourcename: ");
+ print_nodeid(F, irn);
+ fprintf(F, " targetname: ");
+ print_nodeid(F, prev);
+ fprintf(F, " color:magenta}\n");
+ }