+/*
+ * 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.
+ */
+
/**
* @file
* @brief
* This file contains the following IRG modifications for be routines:
- * - SSA construction for a set of nodes
* - insertion of Perm nodes
* - empty block elimination
* - a simple dead node elimination (set inputs of unreachable nodes to BAD)
#ifndef _FIRM_BE_IRGMOD_H_
#define _FIRM_BE_IRGMOD_H_
-#include "firm_types.h"
-#include "pset.h"
-#include "irnodeset.h"
-
-#include "bedomfront.h"
-#include "belive.h"
+#include "irnode.h"
+#include "beirg.h"
+#if 0
/**
* Introduce several copies for one node.
*
/** @deprecated */
void be_ssa_constr_set_ignore(const be_dom_front_info_t *info, be_lv_t *lv,
pset *nodes, pset *ignores);
+#endif
/**
* Insert a Perm which permutes all (non-ignore) live values of a given register class
* after a certain instruction.
- * @param arch_env The architecture environment.
* @param lv Liveness Information.
- * @param cls The register class.
- * @param dom_front Dominance frontier information.
* @param irn The node to insert the Perm after.
* @return The Perm or NULL if nothing was live before @p irn.
*/
-ir_node *insert_Perm_after(const arch_env_t *arch_env,
- be_lv_t *lv,
- const arch_register_class_t *cls,
- be_dom_front_info_t *dom_front,
+ir_node *insert_Perm_after(be_irg_t *birg, const arch_register_class_t *cls,
ir_node *irn);
/**