bechordal: Remove the write-only attribute pressure from struct border_t.
[libfirm] / ir / be / bechordal_common.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief       Common functions for chordal register allocation.
9  * @author      Sebastian Hack
10  * @date        08.12.2004
11  */
12
13 #ifndef BECHORDAL_COMMON_H_
14 #define BECHORDAL_COMMON_H_
15
16 #include "config.h"
17
18 #include "bechordal.h"
19 #include "beinsn_t.h"
20
21 /**
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.
26  */
27 void create_borders(ir_node *block, void *env_ptr);
28
29 /**
30  * Insert perm nodes
31  * @param env The chordal environment.
32  * @param the_insn The current be_insn node.
33  * @return The new perm node.
34  */
35 ir_node *pre_process_constraints(be_chordal_env_t *_env, be_insn_t **the_insn);
36
37 #endif /* BECHORDAL_COMMON_H_ */