beemit: Provide be_set_emitter() replacing identical functions in all backends.
[libfirm] / ir / be / arm / arm_map_regs.h
index 45b9ba5..7a8c3d1 100644 (file)
@@ -1,10 +1,34 @@
-#ifndef _arm_MAP_REGS_H_
-#define _arm_MAP_REGS_H_
+/*
+ * Copyright (C) 1995-2008 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  declarations for ARM register allocation
+ * @author Oliver Richter, Tobias Gneist, Michael Beck
+ */
+#ifndef FIRM_BE_ARM_ARM_MAP_REGS_H
+#define FIRM_BE_ARM_ARM_MAP_REGS_H
 
 #include "irnode.h"
 #include "set.h"
 
-#include "../bearch.h"
+#include "bearch.h"
 #include "arm_nodes_attr.h"
 
 const arch_register_t *arm_get_RegParam_reg(int n);
@@ -13,6 +37,4 @@ int  arm_cmp_irn_reg_assoc(const void *a, const void *b, size_t len);
 void arm_set_firm_reg(ir_node *irn, const arch_register_t *reg, set *reg_set);
 const arch_register_t *arm_get_firm_reg(const ir_node *irn, set *reg_set);
 
-long arm_translate_proj_pos(const ir_node *proj);
-
-#endif /* _arm_MAP_REGS_H_ */
+#endif