1 #ifndef _IA32_NEW_NODES_H_
2 #define _IA32_NEW_NODES_H_
5 * Function prototypes for the assembler ir node constructors.
6 * @author Christian Wuerdig
10 #include "ia32_nodes_attr.h"
12 asmop_attr *get_ia32_attr(const ir_node *node);
14 ir_node *get_ia32_old_ir(const ir_node *node);
16 const char *get_sc_name(ir_node *symc);
18 void set_ia32_Immop_attr(ir_node *node, ir_node *imm);
19 tarval *get_ia32_Immop_tarval(const ir_node *node);
20 void set_ia32_Immop_tarval(ir_node *node, tarval *tv);
22 void set_ia32_Const_attr(ir_node *ia32_cnst, ir_node *cnst);
23 void set_ia32_Const_type(ir_node *node, int type);
25 void set_ia32_AddrMode(ir_node *node);
26 int is_ia32_AddrMode(ir_node *node);
28 void set_ia32_pncode(ir_node *node, long code);
29 long get_ia32_pncode(const ir_node *node);
31 void set_ia32_offs(ir_node *node, tarval *offs);
32 tarval *get_ia32_offs(const ir_node *node);
33 void set_ia32_n_res(ir_node *node, int n_res);
34 int get_ia32_n_res(const ir_node *node);
36 void set_ia32_DivMod_flavour(ir_node *node, divmod_flavour_t dm_flav);
38 arch_irn_flags_t get_ia32_flags(const ir_node *node);
39 const arch_register_req_t **get_ia32_in_req(const ir_node *node);
40 const arch_register_req_t **get_ia32_out_req(const ir_node *node);
41 const arch_register_t **get_ia32_slots(const ir_node *node);
43 void set_ia32_regreq_out(ir_node *node, const arch_register_req_t *req, int pos);
44 void set_ia32_regreq_in(ir_node *node, const arch_register_req_t *req, int pos);
46 const char *get_ia32_out_reg_name(const ir_node *node, int pos);
47 int get_ia32_out_regnr(const ir_node *node, int pos);
48 const arch_register_t *get_ia32_out_reg(const ir_node *node, int pos);
50 int is_ia32_irn(const ir_node *node);
52 /* Include the generated headers */
53 #include "gen_ia32_new_nodes.h"
55 #endif /* _IA32_NEW_NODES_H_ */