more warning fixes
[libfirm] / ir / ana / phiclass_t.h
1 /**
2  * Analysis to conmpute phi congruence classes.
3  * @author Daniel Grund
4  * @date 09.08.2005
5  */
6
7 #ifndef _BEPHICONGR_T_H
8 #define _BEPHICONGR_T_H
9
10 #include "phiclass.h"
11
12 typedef struct _phi_info_t {
13         pset *phi_class;        /**< A set containing all members of the
14                                                         phi congruence class of this irn */
15 } phi_info_t;
16
17 extern size_t phi_irn_data_offset;
18
19 #define get_irn_phi_info(irn)   get_irn_data(irn, phi_info_t, phi_irn_data_offset)
20 #define _get_phi_class(irn)     get_irn_phi_info(irn)->phi_class
21 #define _set_phi_class(irn,cls) get_irn_phi_info(irn)->phi_class = cls
22
23 #endif