X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fsparc%2Fsparc_new_nodes.h;h=303053306ab9f8e65b6110fa1fd39532ce0dd16f;hb=b7a0d752833eb7fb294ce90a27cbe01d06bbbc50;hp=89af0eebf0b1f33f7e33d2460189a716904460bc;hpb=f89fe6bdc4d0f139557986320adfa37ea02d32b3;p=libfirm diff --git a/ir/be/sparc/sparc_new_nodes.h b/ir/be/sparc/sparc_new_nodes.h index 89af0eebf..303053306 100644 --- a/ir/be/sparc/sparc_new_nodes.h +++ b/ir/be/sparc/sparc_new_nodes.h @@ -20,11 +20,13 @@ /** * @file * @brief Function prototypes for the assembler ir node constructors. + * @author Hannes Rapp, Matthias Braun * @version $Id$ */ #ifndef FIRM_BE_SPARC_SPARC_NEW_NODES_H #define FIRM_BE_SPARC_SPARC_NEW_NODES_H +#include #include "sparc_nodes_attr.h" /** @@ -33,20 +35,15 @@ sparc_attr_t *get_sparc_attr(ir_node *node); const sparc_attr_t *get_sparc_attr_const(const ir_node *node); +bool sparc_has_load_store_attr(const ir_node *node); sparc_load_store_attr_t *get_sparc_load_store_attr(ir_node *node); const sparc_load_store_attr_t *get_sparc_load_store_attr_const(const ir_node *node); -sparc_symconst_attr_t *get_sparc_symconst_attr(ir_node *node); -const sparc_symconst_attr_t *get_sparc_symconst_attr_const(const ir_node *node); - sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr(ir_node *node); const sparc_jmp_cond_attr_t *get_sparc_jmp_cond_attr_const(const ir_node *node); -sparc_jmp_switch_attr_t *get_sparc_jmp_switch_attr(ir_node *node); -const sparc_jmp_switch_attr_t *get_sparc_jmp_switch_attr_const(const ir_node *node); - -sparc_save_attr_t *get_sparc_save_attr(ir_node *node); -const sparc_save_attr_t *get_sparc_save_attr_const(const ir_node *node); +sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr(ir_node *node); +const sparc_switch_jmp_attr_t *get_sparc_switch_jmp_attr_const(const ir_node *node); sparc_fp_attr_t *get_sparc_fp_attr(ir_node *node); const sparc_fp_attr_t *get_sparc_fp_attr_const(const ir_node *node); @@ -54,43 +51,6 @@ const sparc_fp_attr_t *get_sparc_fp_attr_const(const ir_node *node); sparc_fp_conv_attr_t *get_sparc_fp_conv_attr(ir_node *node); const sparc_fp_conv_attr_t *get_sparc_fp_conv_attr_const(const ir_node *node); -/** - * Returns the argument register requirements of an sparc node. - */ -const arch_register_req_t **get_sparc_in_req_all(const ir_node *node); - -void set_sparc_in_req_all(ir_node *node, const arch_register_req_t **reqs); - -/** - * Returns the argument register requirements of an sparc node. - */ -const arch_register_req_t *get_sparc_in_req(const ir_node *node, int pos); - -/** - * Sets the IN register requirements at position pos. - */ -void set_sparc_req_in(ir_node *node, const arch_register_req_t *req, int pos); - -/** - * Returns the number of projs of a SwitchJmp. - */ -int get_sparc_jmp_switch_n_projs(const ir_node *node); - -/** - * Sets the number of projs of a SwitchJmp. - */ -void set_sparc_jmp_switch_n_projs(ir_node *node, int n_projs); - -/** - * Returns the default_proj_num. - */ -long get_sparc_jmp_switch_default_proj_num(const ir_node *node); - -/** - * Sets the default_proj_num. - */ -void set_sparc_jmp_switch_default_proj_num(ir_node *node, long default_proj_num); - /* Include the generated headers */ #include "gen_sparc_new_nodes.h"