summaryrefslogtreecommitdiffhomepage
path: root/ir/be/betranshlp.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-05-06 15:17:45 +0200
committerMatthias Braun <matze@braunis.de>2013-05-06 17:43:22 +0200
commite670329aaf2437b3d620050f2708caa20d1e2280 (patch)
tree2d0250f84a7a9d73181f8433c5434a5948336eb0 /ir/be/betranshlp.h
parent1183e0e315375554bd1527008b067ddb9baac790 (diff)
use callbacks for proj transform functions
Diffstat (limited to 'ir/be/betranshlp.h')
-rw-r--r--ir/be/betranshlp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/be/betranshlp.h b/ir/be/betranshlp.h
index 55add85..225c6d0 100644
--- a/ir/be/betranshlp.h
+++ b/ir/be/betranshlp.h
@@ -56,6 +56,9 @@ void be_start_transform_setup(void);
/** register a transform function for a specific node type */
void be_set_transform_function(ir_op *op, be_transform_func func);
+/** register a transform function for a Proj attached to a specific node */
+void be_set_transform_proj_function(ir_op *pred_op, be_transform_func func);
+
/**
* Associate an old node with a transformed node. Uses link field.
*/