-/**
- * Set the entities of a Reload to the ones of the Spill it is pointing to.
- * @param irg The graph.
- */
-void be_copy_entities_to_reloads(ir_graph *irg);
+void be_set_MemPerm_in_entity(const ir_node *irn, int n, entity* ent);
+entity *be_get_MemPerm_in_entity(const ir_node *irn, int n);
+
+void be_set_MemPerm_out_entity(const ir_node *irn, int n, entity* ent);
+entity *be_get_MemPerm_out_entity(const ir_node *irn, int n);
+
+int be_get_MemPerm_entity_arity(const ir_node *irn);