#define FIRM_ANA_INTERVAL_ANALYSIS_H
#include "firm_types.h"
+#include <stdio.h>
#include "begin.h"
-/** The ins of regions: regions are loops or blocks.
- *
- * @todo: we should make a type for the regions, or reuse loop_element.
- */
+/** The ins of regions: regions are loops or blocks. */
FIRM_API int get_region_n_ins(void *region);
FIRM_API void *get_region_in(void *region, int pos);
FIRM_API void add_region_in(void *region, void *in);
/** The algorithm to construct the interval graph.
*
* Constructs the cf loop tree and leaves a valid version of it.
- *
- * @todo: @@@ add flag that states correctness of interval analysis information
- * to irg.
- **/
+ */
FIRM_API void construct_intervals(ir_graph *irg);
/** frees interval information of all graphs. */
FIRM_API void free_intervals(void);
-/** dump a graph with the intervals. File name suffix "-interval". */
-FIRM_API void dump_interval_graph(ir_graph *irg, const char *suffix);
+/** dump a vcg graph with the intervals */
+FIRM_API void dump_interval_graph(FILE *out, ir_graph *irg);
#include "end.h"