remove arch_irn_class_is macro as it hides usages of arch_irn_class_XXX from grep...
[libfirm] / ir / be / beutil.h
index 72a81fa..73502c8 100644 (file)
@@ -52,12 +52,6 @@ typedef unsigned long long ulong64;
 /* iterate over a list of ir_nodes linked by link field */
 #define foreach_linked_irns(head, iter) for ((iter) = (head); (iter); (iter) = get_irn_link((iter)))
 
-/**
- * Get an empty set.
- * This function always returns the same set.
- */
-pset *be_empty_set(void);
-
 /**
  * Convenient block getter.
  * Works also, if the given node is a block.
@@ -154,4 +148,10 @@ ir_node **be_get_cfgpostorder(ir_graph *irg);
  */
 FILE *be_ffopen(const char *base, const char *ext, const char *mode);
 
-#endif /* FIRM_BE_BEUTIL_H */
+/**
+ * convenience function to return the first successor block
+ * (it is often known that there is exactly 1 successor anyway)
+ */
+ir_node *get_first_block_succ(const ir_node *block);
+
+#endif