summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-08-26 13:28:37 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2015-08-29 18:49:41 +0200
commit7670bd0d3e922613f4dd4ce070a79d1975c28943 (patch)
treeec18e8e366c7c1757d5a9917b5ef6c1be0623c27 /ir/be/benode.h
parentfeeff92a4bdcd3e8ce9f32200fdc9af7b0f3c2dc (diff)
be: Add and use be_new_Copy_before_reg().
Diffstat (limited to 'ir/be/benode.h')
-rw-r--r--ir/be/benode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/benode.h b/ir/be/benode.h
index d430d19..a3be1e2 100644
--- a/ir/be/benode.h
+++ b/ir/be/benode.h
@@ -80,6 +80,11 @@ ir_node *be_new_Copy(ir_node *block, ir_node *in);
ir_node *be_get_Copy_op(const ir_node *cpy);
/**
+ * Insert a Copy of @p val into @p reg before @p before.
+ */
+ir_node *be_new_Copy_before_reg(ir_node *val, ir_node *before, arch_register_t const *reg);
+
+/**
* Make a new Perm node.
*/
ir_node *be_new_Perm(arch_register_class_t const *cls, ir_node *block, int n,