Moved insert_Perm_after to benode.c
[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 #include "obst.h"
11
12 #if 0
13 typedef struct _phase_t {
14         const char *name;
15         int id;
16 } phase_t;
17
18 int phase_register(phase_t *phase);
19 void phase_applied(const ir_graph *irg, const phase_t *phase);
20 int phase_depends_on(const ir_graph *irg, const phase_t *phase, int n, ...);
21 int phase_invalidates(const ir_graph *irg, const phase_t *phase, int n, ...);
22 #endif
23
24 typedef struct _be_main_env_t {
25   struct obstack obst;
26   struct _be_node_factory_t *node_factory;
27   struct _arch_env_t *arch_env;
28 } be_main_env_t;
29
30 typedef struct _be_main_session_env_t {
31   const be_main_env_t *main_env;
32   ir_graph *irg;
33   struct _dom_front_info_t *dom_front;
34 } be_main_session_env_t;
35
36 #endif