INSTALL_HEADERS = irprog.h irgraph.h irnode.h irmode.h irop.h ircons.h \
irflag.h irvrfy.h irgwalk.h irgmod.h iropt.h irdump.h \
irgopt.h ircgcons.h ircgopt.h irreflect.h irarch.h irprintf.h irphase.h \
- pseudo_irg.h irhooks.h iredges.h
+ pseudo_irg.h irhooks.h iredges.h iredgekinds.h
SOURCES = $(INSTALL_HEADERS)
--- /dev/null
+/**
+ * @file iredgekinds.h
+ * @date 29.08.2006
+ * @author Sebastian Hack
+ *
+ * Copyright (C) 2006 Universitaet Karlsruhe
+ * Released under the GPL
+ */
+
+#ifndef _IREDGEKINDS_H
+#define _IREDGEKINDS_H
+
+enum _ir_edge_kind_t {
+ EDGE_KIND_NORMAL,
+ EDGE_KIND_BLOCK,
+ EDGE_KIND_DEP,
+ EDGE_KIND_LAST
+};
+
+typedef enum _ir_edge_kind_t ir_edge_kind_t;
+
+/*
+ * It's ugly but we need this forward ref.
+ */
+
+void edges_notify_edge_kind(ir_node *src, int pos, ir_node *tgt, ir_node *old_tgt, ir_edge_kind_t kind, ir_graph *irg);
+
+#endif /* _IREDGEKINDS_H */