1 #ifndef _PPC32_NODES_ATTR_H_
2 #define _PPC32_NODES_ATTR_H_
6 typedef struct _ppc32_register_req_t {
7 const arch_register_req_t req;
8 int same_pos; /**< in case of "should be same" we need to remember the pos to get the irn */
9 int different_pos; /**< in case of "should be different" we need to remember the pos to get the irn */
10 } ppc32_register_req_t;
28 } ppc32_attr_content_type;
31 ppc32_ao_None, ppc32_ao_Lo16, ppc32_ao_Hi16, ppc32_ao_Ha16, ppc32_ao_Illegal
32 } ppc32_attr_offset_mode;
34 typedef struct _ppc32_attr_t {
35 arch_irn_flags_t flags; /**< indicating if spillable, rematerializeable ... etc. */
36 int n_res; /**< number of results for this node */
38 const ppc32_register_req_t **in_req; /**< register requirements for arguments */
39 const ppc32_register_req_t **out_req; /**< register requirements for results */
41 ppc32_attr_content_type content_type;
42 ppc32_attr_offset_mode offset_mode;
44 tarval *constant_tarval;
45 ident *symconst_ident;
47 rlwimi_const_t rlwimi_const;
53 /* must be last, dynamically allocated */
54 const arch_register_t *slots[1]; /**< register slots for assigned registers */
57 #endif /* _PPC32_NODES_ATTR_H_ */