Added prototype for phi_ops_interfere
[libfirm] / ir / be / bephicongr.h
1 /**
2  * Analysis to compute phi congruence classes.
3  * @author Daniel Grund
4  * @date 15.01.2005
5  */
6
7 #ifndef _BEPHICONGR_H
8 #define _BEPHICONGR_H
9
10 #include "pset.h"
11 #include "irgraph.h"
12 #include "irnode.h"
13
14 /**
15  * Initialize data structures
16  */
17 void be_phi_congr_class_init(void);
18
19 /**
20  * Computes all phi classes of an irg.
21  * @param irg The ir-graph to compute the classes for.
22  * @return Sets the internal data structures.
23  */
24 void be_phi_congr_class_compute(ir_graph *irg);
25
26 /**
27  * @param irn A node to get the phi class for
28  * @return A pset containing all members of the phi class @p irn belongs to.
29  *         If @p irn is not member of a phi class NULL is returned.
30  */
31 pset *get_phi_class(const ir_node *irn);
32
33 #endif