3 * Chordal register allocation.
4 * @author Sebastian Hack
16 typedef struct _be_chordal_env_t be_chordal_env_t;
19 * Allocate registers for an ir graph.
20 * @param irg The graph.
21 * @return Some internal data to be freed with be_ra_chordal_done().
23 be_chordal_env_t *be_ra_chordal(ir_graph *irg,
24 const arch_env_t *arch_env,
25 const arch_register_class_t *cls);
28 * Free data from the chordal register allocation.
29 * @param irg The graph.
31 void be_ra_chordal_done(be_chordal_env_t *info);
34 * Init some things for the chordal register allocator.
35 * This must be called before Firm is inited.
37 void be_ra_chordal_init(void);