X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fphiclass.h;h=44a5a264074fbf108511dd2c715260454de4f675;hb=d0d85962ef52c14950db90e5981a7bea36023ab3;hp=1e660422e85d4fd2c0c8641f4525d261d42ce225;hpb=8cedf9d2c38f2a21a910f6652921a9158727dc4b;p=libfirm diff --git a/ir/ana/phiclass.h b/ir/ana/phiclass.h index 1e660422e..44a5a2640 100644 --- a/ir/ana/phiclass.h +++ b/ir/ana/phiclass.h @@ -23,6 +23,14 @@ void phi_class_init(void); */ void phi_class_compute(ir_graph *irg); +/** + * Computes all phi classes of an irg. All phi nodes of this irg must be + * contained in @p all_phi_nodes. Otherwise the results may be wrong. + * @param all_phi_nodes All phi nodes of an irg. + * @return A set containing all phi classes as psets + */ +pset *phi_class_compute_by_phis(pset *all_phi_nodes); + /** * Throws away all allocated memory for phi classes of an irg. * @param irg The ir-graph to free recources for.