#include "bearch.h"
-#ifdef _MSC_VER
-typedef __int64 long64;
-typedef unsigned __int64 ulong64;
-
-#define LL_FMT "i64"
-#define ULL_FMT "ui64"
-
-#else
-typedef long long long64;
-typedef unsigned long long ulong64;
-
-#define LL_FMT "ll"
-#define ULL_FMT "llu"
-
-#endif /* _MSC_VER */
-
/* 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.
*/
void be_clear_links(ir_graph *irg);
-/**
- * Dump a graph with schedule edges.
- * @param irg The graph.
- * @param suffix A suffix to its file name.
- */
-void dump_ir_block_graph_sched(ir_graph *irg, const char *suffix);
-
-/**
- * Dump a extended block graph with schedule edges.
- * @param irg The graph.
- * @param suffix A suffix to its file name.
- */
-void dump_ir_extblock_graph_sched(ir_graph *irg, const char *suffix);
-
-/**
- * Dumps a graph and numbers all dumps.
- * @param irg The graph
- * @param suffix A suffix to its file name.
- * @param dumper The dump function
- */
-void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const char *));
-
/**
* Returns the number of reachable nodes in an irg.
* @param irg The irg.
ir_node **be_get_cfgpostorder(ir_graph *irg);
/**
- * Opens a file named base.ext with the mode mode.
+ * convenience function to return the first successor block
+ * (it is often known that there is exactly 1 successor anyway)
*/
-FILE *be_ffopen(const char *base, const char *ext, const char *mode);
+ir_node *get_first_block_succ(const ir_node *block);
-#endif /* FIRM_BE_BEUTIL_H */
+#endif