arch_irn_class_branch
} arch_irn_class_t;
+
/*
* Some words about positions and indices:
*
*/
arch_irn_class_t (*classify)(const arch_irn_ops_t *self, const ir_node *irn);
+
};
/**
*/
const arch_register_class_t *(*get_reg_class)(int i);
+ /**
+ * Prepare a graph.
+ * This function is called each time, the backend starts running over
+ * a graph.
+ * @param irg The graph.
+ */
+ void (*prepare_graph)(ir_graph *irg);
};
#define ARCH_MAX_HANDLERS 8