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;
21 ppc32_ac_None, ppc32_ac_Const, ppc32_ac_SymConst, ppc32_ac_FrameEntity, ppc32_ac_RlwimiConst, ppc32_ac_BranchProj,
23 } ppc32_attr_content_type;
26 ppc32_ao_None, ppc32_ao_Lo16, ppc32_ao_Hi16, ppc32_ao_Ha16, ppc32_ao_Illegal
27 } ppc32_attr_offset_mode;
29 typedef struct _ppc32_attr_t {
30 arch_irn_flags_t flags; /**<< indicating if spillable, rematerializeable ... etc. */
31 int n_res; /**<< number of results for this node */
33 const ppc32_register_req_t **in_req; /**<< register requirements for arguments */
34 const ppc32_register_req_t **out_req; /**<< register requirements for results */
36 const arch_register_t **slots; /**<< register slots for assigned registers */
38 ppc32_attr_content_type content_type;
39 ppc32_attr_offset_mode offset_mode;
41 tarval *constant_tarval;
42 ident *symconst_ident;
44 rlwimi_const_t rlwimi_const;
52 #endif /* _PPC32_NODES_ATTR_H_ */