updated header
[libfirm] / ir / be / mips / mips_new_nodes.h
index b54530d..10c949d 100644 (file)
@@ -1,3 +1,22 @@
+/*
+ * 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 _mips_NEW_NODES_H_
 #define _mips_NEW_NODES_H_
 
@@ -27,32 +46,32 @@ mips_attr_t *get_mips_attr(const ir_node *node);
 /**
  * Returns the argument register requirements of an mips node.
  */
-const mips_register_req_t **get_mips_in_req_all(const ir_node *node);
+const arch_register_req_t **get_mips_in_req_all(const ir_node *node);
 
 /**
  * Returns the result register requirements of an mips node.
  */
-const mips_register_req_t **get_mips_out_req_all(const ir_node *node);
+const arch_register_req_t **get_mips_out_req_all(const ir_node *node);
 
 /**
  * Returns the argument register requirements of an mips node.
  */
-const mips_register_req_t *get_mips_in_req(const ir_node *node, int pos);
+const arch_register_req_t *get_mips_in_req(const ir_node *node, int pos);
 
 /**
  * Returns the result register requirements of an mips node.
  */
-const mips_register_req_t *get_mips_out_req(const ir_node *node, int pos);
+const arch_register_req_t *get_mips_out_req(const ir_node *node, int pos);
 
 /**
  * Sets the OUT register requirements at position pos.
  */
-void set_mips_req_out(ir_node *node, const mips_register_req_t *req, int pos);
+void set_mips_req_out(ir_node *node, const arch_register_req_t *req, int pos);
 
 /**
  * Sets the IN register requirements at position pos.
  */
-void set_mips_req_in(ir_node *node, const mips_register_req_t *req, int pos);
+void set_mips_req_in(ir_node *node, const arch_register_req_t *req, int pos);
 
 /**
  * Returns the register flag of an mips node.
@@ -98,8 +117,8 @@ int get_mips_n_res(const ir_node *node);
 /**
  * Initializes the nodes attributes.
  */
-void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const mips_register_req_t **in_reqs,
-        const mips_register_req_t **out_reqs, int n_res);
+void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const arch_register_req_t **in_reqs,
+        const arch_register_req_t **out_reqs, const be_execution_unit_t ***execution_units, int n_res, unsigned latency);
 
 /**
  * Initialize transform ops for the mips opcodes