2 * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
4 * This file is part of libFirm.
6 * This file may be distributed and/or modified under the terms of the
7 * GNU General Public License version 2 as published by the Free Software
8 * Foundation and appearing in the file LICENSE.GPL included in the
9 * packaging of this file.
11 * Licensees holding valid libFirm Professional Edition licenses may use
12 * this file in accordance with the libFirm Commercial License.
13 * Agreement provided with the Software.
15 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * @brief Function prototypes for the assembler ir node constructors.
23 * @author Hannes Rapp, Matthias Braun
25 #ifndef FIRM_BE_SPARC_SPARC_NEW_NODES_H
26 #define FIRM_BE_SPARC_SPARC_NEW_NODES_H
29 #include "sparc_nodes_attr.h"
32 * Returns the attributes of an sparc node.
34 sparc_attr_t *get_sparc_attr(ir_node *node);
35 const sparc_attr_t *get_sparc_attr_const(const ir_node *node);
37 bool sparc_has_load_store_attr(const ir_node *node);
38 sparc_load_store_attr_t *get_sparc_load_store_attr(ir_node *node);
39 const sparc_load_store_attr_t *get_sparc_load_store_attr_const(const ir_node *node);
41 sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr(ir_node *node);
42 const sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr_const(const ir_node *node);
44 sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr(ir_node *node);
45 const sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr_const(const ir_node *node);
47 sparc_fp_attr_t *get_sparc_fp_attr(ir_node *node);
48 const sparc_fp_attr_t *get_sparc_fp_attr_const(const ir_node *node);
50 sparc_fp_conv_attr_t *get_sparc_fp_conv_attr(ir_node *node);
51 const sparc_fp_conv_attr_t *get_sparc_fp_conv_attr_const(const ir_node *node);
53 /* Include the generated headers */
54 #include "gen_sparc_new_nodes.h"