Remove entity_usage_state attribute
[libfirm] / include / libfirm / irnode.h
index 99cc27d..959403f 100644 (file)
@@ -420,12 +420,6 @@ FIRM_API ir_node *get_Call_param(const ir_node *node, int pos);
 /** Sets the call parameter at position pos. */
 FIRM_API void     set_Call_param(ir_node *node, int pos, ir_node *param);
 
-/**
- * Returns non-zero if a Call is surely a self-recursive Call.
- * Beware: if this functions returns 0, the call might be self-recursive!
- */
-FIRM_API int is_self_recursive_Call(const ir_node *call);
-
 /** Set, get and remove the callee information for a Call node.
  *
  *  The callee information lists all method entities that can be called
@@ -478,6 +472,27 @@ FIRM_API void     set_binop_left(ir_node *node, ir_node *left);
 FIRM_API ir_node *get_binop_right(const ir_node *node);
 FIRM_API void     set_binop_right(ir_node *node, ir_node *right);
 
+/**
+ * Test wether a node is the X_except Proj of a fragile operation
+ */
+FIRM_API int      is_x_except_Proj(const ir_node *node);
+
+/**
+ * Test wether a node is the X_regular Proj of a fragile operation
+ */
+FIRM_API int      is_x_regular_Proj(const ir_node *node);
+
+/**
+ * Set throws exception attribute of a fragile node
+ * @p throws_exception must be 0 or 1
+ */
+FIRM_API void     ir_set_throws_exception(ir_node *node, int throws_exception);
+
+/**
+ * Returns throws_exception attribute of a fragile node
+ */
+FIRM_API int      ir_throws_exception(const ir_node *node);
+
 /** returns the name of an ir_relation */
 FIRM_API const char *get_relation_string(ir_relation relation);