projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- C99 features removed
[libfirm]
/
ir
/
be
/
TEMPLATE
/
TEMPLATE_new_nodes.h
diff --git
a/ir/be/TEMPLATE/TEMPLATE_new_nodes.h
b/ir/be/TEMPLATE/TEMPLATE_new_nodes.h
index
12dac72
..
e35d5b7
100644
(file)
--- a/
ir/be/TEMPLATE/TEMPLATE_new_nodes.h
+++ b/
ir/be/TEMPLATE/TEMPLATE_new_nodes.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-17,13
+17,13
@@
* PURPOSE.
*/
* PURPOSE.
*/
-#ifndef _TEMPLATE_NEW_NODES_H_
-#define _TEMPLATE_NEW_NODES_H_
-
/**
/**
- * Function prototypes for the assembler ir node constructors.
- * $Id$
+ * @file
+ * @brief Function prototypes for the assembler ir node constructors.
+ * @version $Id$
*/
*/
+#ifndef FIRM_BE_TEMPALTE_TEMPLATE_NEW_NODES_H
+#define FIRM_BE_TEMPLATE_TEMPLATE_NEW_NODES_H
#include "TEMPLATE_nodes_attr.h"
#include "TEMPLATE_nodes_attr.h"
@@
-41,7
+41,9
@@
/**
* Returns the attributes of an TEMPLATE node.
*/
/**
* Returns the attributes of an TEMPLATE node.
*/
-TEMPLATE_attr_t *get_TEMPLATE_attr(const ir_node *node);
+TEMPLATE_attr_t *get_TEMPLATE_attr(ir_node *node);
+
+const TEMPLATE_attr_t *get_TEMPLATE_attr_const(const ir_node *node);
/**
* Returns the argument register requirements of an TEMPLATE node.
/**
* Returns the argument register requirements of an TEMPLATE node.
@@
-81,12
+83,14
@@
arch_irn_flags_t get_TEMPLATE_flags(const ir_node *node);
/**
* Sets the register flag of an TEMPLATE node.
*/
/**
* Sets the register flag of an TEMPLATE node.
*/
-void set_TEMPLATE_flags(
const
ir_node *node, arch_irn_flags_t flags);
+void set_TEMPLATE_flags(ir_node *node, arch_irn_flags_t flags);
/**
* Returns the result register slots of an TEMPLATE node.
*/
/**
* Returns the result register slots of an TEMPLATE node.
*/
-const arch_register_t **get_TEMPLATE_slots(const ir_node *node);
+const arch_register_t **get_TEMPLATE_slots(ir_node *node);
+
+const arch_register_t * const *get_TEMPLATE_slots_const(const ir_node *node);
/**
* Returns the name of the OUT register at position pos.
/**
* Returns the name of the OUT register at position pos.
@@
-103,11
+107,6
@@
int get_TEMPLATE_out_regnr(const ir_node *node, int pos);
*/
const arch_register_t *get_TEMPLATE_out_reg(const ir_node *node, int pos);
*/
const arch_register_t *get_TEMPLATE_out_reg(const ir_node *node, int pos);
-/**
- * Sets the number of results.
- */
-void set_TEMPLATE_n_res(ir_node *node, int n_res);
-
/**
* Returns the number of results.
*/
/**
* Returns the number of results.
*/
@@
-117,4
+116,4
@@
int get_TEMPLATE_n_res(const ir_node *node);
/* Include the generated headers */
#include "gen_TEMPLATE_new_nodes.h"
/* Include the generated headers */
#include "gen_TEMPLATE_new_nodes.h"
-#endif
/* _TEMPLATE_NEW_NODES_H_ */
+#endif