2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief Common functions for chordal register allocation.
9 * @author Sebastian Hack
13 #ifndef BECHORDAL_COMMON_H_
14 #define BECHORDAL_COMMON_H_
18 #include "bechordal.h"
22 * Annotate the register pressure to the nodes and compute
23 * the liveness intervals.
24 * @param block The block to do it for.
25 * @param env_ptr The environment.
27 void create_borders(ir_node *block, void *env_ptr);
31 * @param env The chordal environment.
32 * @param the_insn The current be_insn node.
33 * @return The new perm node.
35 ir_node *pre_process_constraints(be_chordal_env_t *_env, be_insn_t **the_insn);
37 #endif /* BECHORDAL_COMMON_H_ */