-
- /**
- * Checks if the given register is callee/caller saved.
- * @deprecated, only necessary if backend still uses beabi functions
- */
- int (*register_saved_by)(const arch_register_t *reg, int callee);
-
- /**
- * Create a spill instruction. We assume that spill instructions
- * do not need any additional registers and do not affect cpu-flags in any
- * way.
- * Construct a sequence of instructions after @p after (the resulting nodes
- * are already scheduled).
- * Returns a mode_M value which is used as input for a reload instruction.
- */
- ir_node *(*new_spill)(ir_node *value, ir_node *after);
-
- /**
- * Create a reload instruction. We assume that reload instructions do not
- * need any additional registers and do not affect cpu-flags in any way.
- * Constructs a sequence of instruction before @p before (the resulting
- * nodes are already scheduled). A rewiring of users is not performed in
- * this function.
- * Returns a value representing the restored value.
- */
- ir_node *(*new_reload)(ir_node *value, ir_node *spilled_value,
- ir_node *before);