-ir_node *new_Copy(const be_node_factory_t *factory,
- const arch_register_class_t *cls,
- ir_graph *irg, ir_node *block, ir_node *in);
-
-ir_node *be_spill(
- const be_node_factory_t *factory,
- const arch_env_t *arch_env,
- ir_node *irn);
-
-ir_node *be_reload(
- const be_node_factory_t *factory,
- const arch_env_t *arch_env,
- const arch_register_class_t *cls,
- ir_node *irn, int pos, ir_mode *mode, ir_node *spill);
-
-int is_Spill(const be_node_factory_t *f, const ir_node *irn);
-
-ir_node *insert_Perm_after(const be_main_session_env_t *env,
- const arch_register_class_t *cls, ir_node *pos);
+/**
+ * Modify the output register requirements of a Perm.
+ * This function incur register constraints to an output value of a Perm.
+ * This is used when handling register constraints in general,
+ * see beconstrperm.c
+ * @param irn The perm node.
+ * @param pos The position.
+ * @param req The requirements to set to.
+ * @param negate_limited When the requirements are limited, inverse the set of admissible registers.
+ */
+void be_set_Perm_out_req(ir_node *irn, int pos, const arch_register_req_t *req, unsigned negate_limited);