remove old be_get_IncSP_mem, improve be node dumping
[libfirm] / ir / be / bearch.h
index a041ebc..48b247b 100644 (file)
@@ -1,5 +1,30 @@
-#ifndef FIRM_BEARCH_H
-#define FIRM_BEARCH_H
+/*
+ * 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       Processor architecture specification.
+ * @author      Sebastian Hack
+ * @version     $Id$
+ */
+#ifndef FIRM_BE_BEARCH_H
+#define FIRM_BE_BEARCH_H
 
 #include "firm_types.h"
 #include "bitset.h"
@@ -84,10 +109,9 @@ typedef enum arch_irn_class_t {
        arch_irn_class_perm       = 1 << 4,
        arch_irn_class_branch     = 1 << 5,
        arch_irn_class_call       = 1 << 6,
-       arch_irn_class_const      = 1 << 7,
-       arch_irn_class_load       = 1 << 8,
-       arch_irn_class_store      = 1 << 9,
-       arch_irn_class_stackparam = 1 << 10,
+       arch_irn_class_load       = 1 << 7,
+       arch_irn_class_store      = 1 << 8,
+       arch_irn_class_stackparam = 1 << 9,
 } arch_irn_class_t;
 
 /**
@@ -115,7 +139,7 @@ extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env,
 
 extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
 
-extern ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn);
+extern ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn);
 extern void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, ir_entity *ent);
 extern int arch_get_sp_bias(const arch_env_t *env, ir_node *irn);
 
@@ -268,4 +292,4 @@ extern const arch_irn_handler_t *arch_env_pop_irn_handler(arch_env_t *env);
  */
 void be_register_isa_if(const char *name, const arch_isa_if_t *isa);
 
-#endif
+#endif /* FIRM_BE_BEARCH_H */