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_irg_t *bi);
33 * Check, if two values interfere.
34 * @param a The first value.
35 * @param b The second value.
36 * @return 1, if @p a and @p b interfere, 0 if not.
38 int values_interfere(const ir_node *a, const ir_node *b);
41 * Check, if a value dominates the other one.
42 * Note, that this function also considers the schedule and does thus
43 * more than block_dominates().
46 * @param b The second value.
47 * @return 1 if a dominates b, 0 else.
49 int value_dominates(const ir_node *a, const ir_node *b);