/* Set the ARM machine node attributes to default values. */
void init_arm_attributes(ir_node *node, int flags, const arm_register_req_t ** in_reqs,
- const arm_register_req_t ** out_reqs, int n_res) {
+ const arm_register_req_t ** out_reqs, int n_res, unsigned latency) {
arm_attr_t *attr = get_arm_attr(node);
attr->in_req = in_reqs;
attr->out_req = out_reqs;
flags |= arch_irn_flags_rematerializable; /* op can be easily recalculated */
/* init node attributes */
- init_arm_attributes(res, flags, _in_req_arm_StoreStackM4Inc, NULL, 0);
+ init_arm_attributes(res, flags, _in_req_arm_StoreStackM4Inc, NULL, 0, 1);
res = optimize_node(res);
irn_vrfy_irg(res, irg);
* Set the ARM machine node attributes to default values.
*/
void init_arm_attributes(ir_node *node, int flags, const arm_register_req_t ** in_reqs,
- const arm_register_req_t ** out_reqs, int n_res);
+ const arm_register_req_t ** out_reqs, int n_res, unsigned latency);
/**
* Returns the tarval
* Initializes the nodes attributes.
*/
void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const mips_register_req_t **in_reqs,
- const mips_register_req_t **out_reqs, int n_res)
+ const mips_register_req_t **out_reqs, int n_res, unsigned latency)
{
mips_attr_t *attr = get_mips_attr(node);
* Initializes the nodes attributes.
*/
void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const mips_register_req_t **in_reqs,
- const mips_register_req_t **out_reqs, int n_res);
+ const mips_register_req_t **out_reqs, int n_res, unsigned latency);
/**
* Initialize transform ops for the mips opcodes
* Initializes ppc specific node attributes
*/
void init_ppc32_attributes(ir_node *node, int flags,
- const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res) {
+ const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res, unsigned latency) {
ppc32_attr_t *attr = get_ppc32_attr(node);
attr->flags = flags;
ppc32_attr_offset_mode get_ppc32_offset_mode(const ir_node *node);
void init_ppc32_attributes(ir_node *node, int flags,
- const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res);
+ const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res, unsigned latency);
void ppc32_register_additional_opcodes(int opcode_num);