summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-08 05:42:54 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-08 10:55:17 +0100
commite285173d1ce9c736b5cab701dbc0be8f7f07441c (patch)
treedb1c9452d021a9e1c721e49bed66a5c15ac61095 /ir/be/benode.h
parenta4699884a1478464db3c1a2970dfc11bac40b20f (diff)
belower: Remove be_Perm_reduce() and rewrite it at its only user.
Now the number of outputs is adjusted, too. This did not cause any problems, because the Perm is lowered right afterwards.
Diffstat (limited to 'ir/be/benode.h')
-rw-r--r--ir/be/benode.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/ir/be/benode.h b/ir/be/benode.h
index 174944a..b2bd6f8 100644
--- a/ir/be/benode.h
+++ b/ir/be/benode.h
@@ -74,22 +74,6 @@ ir_node *be_new_Perm(arch_register_class_t const *cls, ir_node *block, int n,
ir_node *const *in);
/**
- * Reduce a Perm.
- * Basically, we provide a map to remap the Perm's arguments. If an entry in the
- * map is -1, the argument gets deleted.
- * This function takes care, that the register data and the input array reflects
- * the changes described by the map.
- * This is needed by the Perm optimization/movement in belower.c, see
- * push_through_perm().
- * @param perm The perm node.
- * @param new_size The new number of arguments (must be smaller or equal to the
- * current one).
- * @param map A map assigning each operand a new index (or -1 to indicate
- * deletion).
- */
-void be_Perm_reduce(ir_node *perm, int new_size, int *map);
-
-/**
* Create a new MemPerm node.
* A MemPerm node exchanges the values of memory locations. (Typically entities
* used as spillslots). MemPerm nodes perform this operation without modifying