Added register allocator.
[libfirm] / ir / be / be_t.h
1 /**
2  * Internal backend global data structures.
3  * @author Sebastian Hack
4  * @date 8.12.2004
5  */
6
7 #ifndef _BE_T_H
8 #define _BE_T_H
9
10 typedef struct _phase_t {
11         const char *name;
12         int id;
13 } phase_t;
14
15 int phase_register(phase_t *phase);
16 void phase_applied(const ir_graph *irg, const phase_t *phase);
17 int phase_depends_on(const ir_graph *irg, const phase_t *phase, int n, ...);
18 int phase_invalidates(const ir_graph *irg, const phase_t *phase, int n, ...);
19
20 #endif