2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief Function prototypes for the assembler ir node constructors.
9 * @author Hannes Rapp, Matthias Braun
11 #ifndef FIRM_BE_SPARC_SPARC_NEW_NODES_H
12 #define FIRM_BE_SPARC_SPARC_NEW_NODES_H
15 #include "sparc_nodes_attr.h"
18 * Returns the attributes of an sparc node.
20 sparc_attr_t *get_sparc_attr(ir_node *node);
21 const sparc_attr_t *get_sparc_attr_const(const ir_node *node);
23 bool sparc_has_load_store_attr(const ir_node *node);
24 sparc_load_store_attr_t *get_sparc_load_store_attr(ir_node *node);
25 const sparc_load_store_attr_t *get_sparc_load_store_attr_const(const ir_node *node);
27 sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr(ir_node *node);
28 const sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr_const(const ir_node *node);
30 sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr(ir_node *node);
31 const sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr_const(const ir_node *node);
33 sparc_fp_attr_t *get_sparc_fp_attr(ir_node *node);
34 const sparc_fp_attr_t *get_sparc_fp_attr_const(const ir_node *node);
36 sparc_fp_conv_attr_t *get_sparc_fp_conv_attr(ir_node *node);
37 const sparc_fp_conv_attr_t *get_sparc_fp_conv_attr_const(const ir_node *node);
39 /* Include the generated headers */
40 #include "gen_sparc_new_nodes.h"