- Split bearch.h correctly into bearch.h and bearch_t.h
[libfirm] / ir / be / TEMPLATE / TEMPLATE_nodes_attr.h
1 #ifndef _TEMPLATE_NODES_ATTR_H_
2 #define _TEMPLATE_NODES_ATTR_H_
3
4 #include "../bearch_t.h"
5
6 typedef struct _TEMPLATE_attr_t {
7         arch_irn_flags_t flags;     /**< indicating if spillable, rematerializeable ... etc. */
8         int              n_res;     /**< number of results for this node */
9
10         const arch_register_req_t **in_req;  /**< register requirements for arguments */
11         const arch_register_req_t **out_req; /**< register requirements for results */
12
13         /* must be last, dynamically allocated */
14         const arch_register_t *slots[1];         /**< register slots for assigned registers */
15 } TEMPLATE_attr_t;
16
17 #endif /* _TEMPLATE_NODES_ATTR_H_ */