- add support for opcode specific hash function
[libfirm] / ir / be / mips / bearch_mips.h
index bf4ba47..cce772c 100644 (file)
@@ -1,9 +1,34 @@
-#ifndef _BEARCH_MIPS_H_
-#define _BEARCH_MIPS_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 the mips backend
+ * @author  Matthias Braun, Mehdi
+ * @version $Id$
+ */
+#ifndef FIRM_BE_MIPS_BEARCH_MIPS_H
+#define FIRM_BE_MIPS_BEARCH_MIPS_H
 
 #include "../bearch_t.h"
 
-typedef struct _mips_code_gen_t mips_code_gen_t;
+typedef struct mips_code_gen_t  mips_code_gen_t;
 
 extern const arch_isa_if_t mips_isa_if;
 
@@ -19,4 +44,7 @@ void mips_set_block_sched_nr(ir_node *block, int nr);
 /** get a block schedule number */
 int mips_get_block_sched_nr(ir_node *block);
 
-#endif /* _BEARCH_MIPS_H_ */
+int mips_is_Load(const ir_node *node);
+int mips_is_Store(const ir_node *node);
+
+#endif