X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fphiclass.h;h=c7d0fb04b8057180fe05f1860d06b975a27a1e05;hb=95afc5aaefb484a67fb89f02b5e96cc302fe02ef;hp=c1195f368e8cc9c5dca8220eaf86a2960ccc66c0;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ana/phiclass.h b/ir/ana/phiclass.h index c1195f368..c7d0fb04b 100644 --- a/ir/ana/phiclass.h +++ b/ir/ana/phiclass.h @@ -1,16 +1,36 @@ -/** - * Analysis to compute phi congruence classes. - * @author Daniel Grund - * @cvsid $Id$ - * @date 15.01.2005 +/* + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ -#ifndef _PHICLASS_H_ -#define _PHICLASS_H_ +/** + * @file + * @brief Analysis to compute phi congruence classes. + * @author Daniel Grund + * @version $Id$ + * @date 15.01.2005 + */ +#ifndef FIRM_ANA_PHICLASS_H +#define FIRM_ANA_PHICLASS_H #include "pset.h" #include "irgraph.h" #include "irnode.h" +#include "irnodeset.h" typedef struct _phi_classes_t phi_classes_t; @@ -41,16 +61,16 @@ phi_classes_t *phi_class_new_from_irg(ir_graph *irg, int pure_phi_classes); /** * Builds all Phi classes for the given set of Phis. * @param irg The irg, the Phis are from - * @param all_phis A set containing all Phis nodes to build the classes for + * @param all_phis An ir_nodeset containing all Phis nodes to build the classes for * @param pure_phi_classes Set to one if Phi classes should only contain Phi nodes. * Beware: This might result in different (more) Phi classes as if not set * @return The Phis class object for @p all_phis. */ -phi_classes_t *phi_class_new_from_set(ir_graph *irg, pset *all_phis, int pure_phi_classes); +phi_classes_t *phi_class_new_from_set(ir_graph *irg, ir_nodeset_t *all_phis, int pure_phi_classes); /** * Free all allocated data. */ void phi_class_free(phi_classes_t *pc); -#endif /* _PHICLASS_H_ */ +#endif