fixed debug output of unary x87 nodes
[libfirm] / ir / be / benode_t.h
index 721fe8b..aa426e6 100644 (file)
@@ -143,6 +143,9 @@ void be_set_Copy_op(ir_node *cpy, ir_node *op);
  * Make a new Perm node.
  */
 ir_node *be_new_Perm(const arch_register_class_t *cls, ir_graph *irg, ir_node *bl, int arity, ir_node *in[]);
+/**
+ * Create a new MemPerm node.
+ */
 ir_node *be_new_MemPerm(const arch_env_t *arch_env, ir_graph *irg, ir_node *bl, int n, ir_node *in[]);
 ir_node *be_new_Keep(const arch_register_class_t *cls, ir_graph *irg, ir_node *bl, int arity, ir_node *in[]);
 
@@ -338,15 +341,11 @@ int be_is_FrameStore(const ir_node *irn);
 int be_is_Barrier(const ir_node *irn);
 
 /**
- * Get the entity on the stack frame the given node uses.
- * @param irn The node.
- * @return The entity on the stack frame used by the node or NULL,
- *         if the node does not access the stack frame or is no back-end node.
+ * Try to avoid this function and better call arch_get_frame_entity!
  *
+ * Returns the frame entity used by the be node
  */
-entity *be_get_frame_entity(const ir_node *irn);
-
-void be_set_frame_entity(const ir_node *irn, entity* ent);
+entity* be_get_frame_entity(const ir_node *irn);
 
 ir_node* be_get_Reload_mem(const ir_node *irn);
 ir_node* be_get_Reload_frame(const ir_node* irn);
@@ -357,6 +356,8 @@ 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);
+
 /**
  * Impose a register constraint on a backend node.
  * @param irn The node.