2 * Register allocation functions.
3 * @author Sebastian Hack
10 #include "firm_config.h"
13 #include <libcore/lc_opts.h>
16 #include "firm_types.h"
22 void (*register_options)(lc_opt_entry_t *grp);
24 void (*allocate)(const be_irg_t *bi);
30 * Check, if two values interfere.
31 * @param a The first value.
32 * @param b The second value.
33 * @return 1, if @p a and @p b interfere, 0 if not.
35 int values_interfere(const ir_node *a, const ir_node *b);
38 * Check, if a value dominates the other one.
39 * Note, that this function also considers the schedule and does thus
40 * more than block_dominates().
43 * @param b The second value.
44 * @return 1 if a dominates b, 0 else.
46 int value_dominates(const ir_node *a, const ir_node *b);