-/**
- * 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;
/**
* 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