X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2FTEMPLATE_new_nodes.h;h=b916262a35792be53ae9b9a89a00afd68e883a53;hb=b4cf865778f8aeb6acd2a7f98dc3817e942271cc;hp=12dac7242b4baab6f0d3711d649f1d85f1a1b6ce;hpb=4d5c3365a58cba59993045a9e08e686d8ae079a7;p=libfirm diff --git a/ir/be/TEMPLATE/TEMPLATE_new_nodes.h b/ir/be/TEMPLATE/TEMPLATE_new_nodes.h index 12dac7242..b916262a3 100644 --- a/ir/be/TEMPLATE/TEMPLATE_new_nodes.h +++ b/ir/be/TEMPLATE/TEMPLATE_new_nodes.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -17,13 +17,13 @@ * 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" @@ -41,7 +41,9 @@ /** * 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. @@ -73,48 +75,7 @@ void set_TEMPLATE_req_out(ir_node *node, const arch_register_req_t *req, int pos */ void set_TEMPLATE_req_in(ir_node *node, const arch_register_req_t *req, int pos); -/** - * Returns the register flag of an TEMPLATE node. - */ -arch_irn_flags_t get_TEMPLATE_flags(const ir_node *node); - -/** - * Sets the register flag of an TEMPLATE node. - */ -void set_TEMPLATE_flags(const ir_node *node, arch_irn_flags_t flags); - -/** - * Returns the result register slots of an TEMPLATE node. - */ -const arch_register_t **get_TEMPLATE_slots(const ir_node *node); - -/** - * Returns the name of the OUT register at position pos. - */ -const char *get_TEMPLATE_out_reg_name(const ir_node *node, int pos); - -/** - * Returns the index of the OUT register at position pos within its register class. - */ -int get_TEMPLATE_out_regnr(const ir_node *node, int pos); - -/** - * Returns the OUT register at position 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. - */ -int get_TEMPLATE_n_res(const ir_node *node); - - /* Include the generated headers */ #include "gen_TEMPLATE_new_nodes.h" -#endif /* _TEMPLATE_NEW_NODES_H_ */ +#endif