summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 07:27:01 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 07:27:01 +0200
commit2109a91a5fe049e0b11a99b4bb070a9d20498292 (patch)
treeee94848082a8ef9852bbc529c2aedca103f2ba47 /ir/be/bera.h
parentf1d0154c8a329e88394f24c39093f6566714d493 (diff)
move perform_memory_operand callbcack from arch_irn_ops to regalloc_if
Diffstat (limited to 'ir/be/bera.h')
-rw-r--r--ir/be/bera.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/bera.h b/ir/be/bera.h
index f1d0779..8f130e1 100644
--- a/ir/be/bera.h
+++ b/ir/be/bera.h
@@ -41,6 +41,12 @@ struct regalloc_if_t {
*/
ir_node *(*new_reload)(ir_node *value, ir_node *spilled_value,
ir_node *before);
+
+ /**
+ * Ask the backend to fold a reload at operand @p i of @p irn. This can
+ * be done by targets that support memory addressing modes.
+ */
+ void (*perform_memory_operand)(ir_node *irn, unsigned i);
};
/**