needed include added
[libfirm] / ir / be / ia32 / ia32_new_nodes.h
1 #ifndef _IA32_NEW_NODES_H_
2 #define _IA32_NEW_NODES_H_
3
4 /**
5  * Function prototypes for the assembler ir node constructors.
6  * @author Christian Wuerdig
7  * $Id$
8  */
9
10 #include "ia32_nodes_attr.h"
11
12 asmop_attr *get_ia32_attr(const ir_node *node);
13
14 ir_node *get_ia32_old_ir(const ir_node *node);
15
16 void    set_ia32_Immop_attr(ir_node *node, ir_node *imm);
17 tarval *get_ia32_Immop_tarval(const ir_node *node);
18 void    set_ia32_Immop_tarval(ir_node *node, tarval *tv);
19
20 void set_ia32_Const_attr(ir_node *ia32_cnst, ir_node *cnst);
21 void set_ia32_Const_type(ir_node *node, int type);
22
23 void    set_ia32_offs(ir_node *node, tarval *offs);
24 tarval *get_ia32_offs(const ir_node *node);
25 void    set_ia32_n_res(ir_node *node, int n_res);
26 int     get_ia32_n_res(const ir_node *node);
27
28 void set_ia32_DivMod_flavour(ir_node *node, divmod_flavour_t dm_flav);
29
30 arch_irn_flags_t            get_ia32_flags(const ir_node *node);
31 const arch_register_req_t **get_ia32_in_req(const ir_node *node);
32 const arch_register_req_t **get_ia32_out_req(const ir_node *node);
33 const arch_register_t     **get_ia32_slots(const ir_node *node);
34
35 const char *get_ia32_in_reg_name(const ir_node *node, int pos);
36 const char *get_ia32_out_reg_name(const ir_node *node, int pos);
37
38 int get_ia32_in_regnr(const ir_node *node, int pos);
39 int get_ia32_out_regnr(const ir_node *node, int pos);
40
41 int is_ia32_irn(const ir_node *node);
42
43 /* Inlcude the generated headers */
44 #include "gen_ia32_new_nodes.h.inl"
45
46 #endif /* _IA32_NEW_NODES_H_ */