summaryrefslogtreecommitdiffhomepage
path: root/ir/be/betranshlp.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-09-27 19:10:46 +0200
committerMatthias Braun <matze@braunis.de>2012-10-29 17:48:55 +0100
commit792661421a71bcfa9b64da8c6b655e826e94d2c1 (patch)
tree3355fe33338a8337e809fbd1379ca110708b7b93 /ir/be/betranshlp.h
parent5321abc11ece720bd14dbccfaef5838389656d4c (diff)
share common phi code, fix missing phi input reqs
Diffstat (limited to 'ir/be/betranshlp.h')
-rw-r--r--ir/be/betranshlp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/betranshlp.h b/ir/be/betranshlp.h
index 96a9c04..7e4622f 100644
--- a/ir/be/betranshlp.h
+++ b/ir/be/betranshlp.h
@@ -48,6 +48,12 @@ ir_node *be_pre_transform_node(ir_node *place);
ir_node *be_transform_node(ir_node *node);
/**
+ * Creates a new phi (needs some special handling since we can't transform
+ * all predecessors yet).
+ */
+ir_node *be_transform_phi(ir_node *node, const arch_register_req_t *req);
+
+/**
* Duplicate all dependency edges of a node.
*/
void be_duplicate_deps(ir_node *old_node, ir_node *new_node);