summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 07:15:54 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 07:17:53 +0200
commitf1d0154c8a329e88394f24c39093f6566714d493 (patch)
tree50ba2c4f3a8adf629d8f0f6cde17d37c23915f99 /ir/be/bearch.h
parent89a5cac65f5e45b405217c7dc167eb2b27ed2206 (diff)
break arch_isa_if_t furhter apart by moving spilling related callbacks into an own struct
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index d109e26..02e734b 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -305,8 +305,6 @@ struct arch_isa_if_t {
arch_register_t const *registers; /**< register array */
unsigned n_register_classes; /**< number of register classes */
arch_register_class_t const *register_classes; /**< register classes */
- unsigned spill_cost; /**< cost for a spill node */
- unsigned reload_cost; /**< cost for a reload node */
/**
* Initializes the isa interface. This is necessary before calling any
@@ -342,31 +340,6 @@ struct arch_isa_if_t {
int (*is_valid_clobber)(const char *clobber);
/**
- * mark node as rematerialized
- */
- void (*mark_remat)(ir_node *node);
-
- /**
- * 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);
-
- /**
* Called directly after initialization. Backend should handle all
* intrinsics here.
*/