2 * Register allocation functions.
3 * @author Sebastian Hack
15 #include <libcore/lc_opts.h>
25 void (*register_options)(lc_opt_entry_t *grp);
27 void (*allocate)(const be_main_env_t *env, ir_graph *irg);
31 * Check, if two values interfere.
32 * @param a The first value.
33 * @param b The second value.
34 * @return 1, if @p a and @p b interfere, 0 if not.
36 int values_interfere(const ir_node *a, const ir_node *b);
39 * Check, if a value dominates the other one.
40 * Note, that this function also considers the schedule and does thus
41 * more than block_dominates().
44 * @param b The second value.
45 * @return 1 if a dominates b, 0 else.
47 int value_dominates(const ir_node *a, const ir_node *b);