6 #ifndef _BEPHICONGR_T_H
7 #define _BEPHICONGR_T_H
12 typedef struct _phi_info_t {
13 ir_node *phi; /* only set in args of phi nodes (which could be a phi itslef). Points to a phi node or NULL */
14 pset *phi_class; /* only set in phi nodes. A set containing the members of the phi congruence class this phi node belongs to */
17 extern size_t phi_irn_data_offset;
20 * Setting this to 0 will treat const nodes like
21 * all other nodes when computing phi congruence classes.
22 * A non zero value results in splitting phi congruence
23 * classes at all const nodes (except they do share
24 * some non-const nodes too)
26 #define CONSTS_SPLIT_PHI_CLASSES 0
27 #define get_irn_phi_info(irn) get_irn_data(irn, phi_info_t, phi_irn_data_offset)
28 #define get_phi_class(irn) get_irn_phi_info(irn)->phi_class /* Only for phi nodes */
30 void be_phi_congr_class_init(void);
31 pset *be_phi_congr_classes(pset *all_phi_nodes);