be_abi_put_ignore_regs returns now number of ignore registers as unsigned
[libfirm] / ir / be / ia32 / ia32_map_regs.h
index d287323..c732101 100644 (file)
@@ -1,21 +1,40 @@
-/**
- * General reqister mapping stuff.
- * @author Christian Wuerdig
- * $Id$
+/*
+ * 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 _IA32_MAP_REGS_H_
-#define _IA32_MAP_REGS_H_
+/**
+ * @file
+ * @brief       Register param constraints and some other register handling tools.
+ * @author      Christian Wuerdig
+ * @version     $Id$
+ */
+#ifndef FIRM_BE_IA32_IA32_MAP_REGS_H
+#define FIRM_BE_IA32_IA32_MAP_REGS_H
 
 #include "irnode.h"
+#include "irmode.h"
 #include "set.h"
 
-#include "../bearch.h"
-#include "ia32_nodes_attr.h"
+#include "../bearch_t.h"
 
 /**
- * Convenience macro to check if register <code>out<\code>
- * and register <code>in<\code> are equal.
+ * Convenience macro to check if register <code>out</code>
+ * and register <code>in</code> are equal.
  */
 #define REGS_ARE_EQUAL(out, in) \
        ((arch_register_get_class(out) == arch_register_get_class(in)) && \
@@ -76,10 +95,4 @@ int ia32_get_n_regparam_class(int n, ir_mode **modes, int *n_int, int *n_float);
  */
 const arch_register_t *ia32_get_RegParam_reg(int n, ir_mode **modes, long nr, unsigned cc);
 
-/**
- * Translates the projnum into a "real" argument position for register
- * requirements dependent on the predecessor.
- */
-long ia32_translate_proj_pos(const ir_node *proj);
-
-#endif /* _IA32_MAP_REGS_H_ */
+#endif /* FIRM_BE_IA32_IA32_MAP_REGS_H */