1 #ifndef _IA32_TRANSFORM_H_
2 #define _IA32_TRANSFORM_H_
4 #include "firm_config.h"
5 #include "bearch_ia32_t.h"
8 * Transforms the given Firm node into one or more appropriate ia32 nodes.
10 void ia32_transform_node(ir_node *node, void *env);
13 * Transforms a Sub or fSub into Neg--Add iff OUT_REG == SRC2_REG.
14 * THIS FUNCTIONS MUST BE CALLED AFTER REGISTER ALLOCATION.
16 void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg);
19 * Transforms a LEA into an Add if possible
20 * THIS FUNCTIONS MUST BE CALLED AFTER REGISTER ALLOCATION.
22 void ia32_transform_lea_to_add(ir_node *irn, ia32_code_gen_t *cg);
26 * Prints the old node name on cg obst and returns a pointer to it.
28 const char *ia32_get_old_node_name(ia32_code_gen_t *cg, ir_node *irn);
31 #endif /* _IA32_TRANSFORM_H_ */