Re-checked it in.
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 29 Aug 2006 08:14:58 +0000 (08:14 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 29 Aug 2006 08:14:58 +0000 (08:14 +0000)
[r8138]

ir/ir/Makefile.in
ir/ir/iredgekinds.h [new file with mode: 0644]

index 890a0d6..2b729d6 100644 (file)
@@ -20,7 +20,7 @@ enable_libcore := @enable_libcore@
 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)
 
diff --git a/ir/ir/iredgekinds.h b/ir/ir/iredgekinds.h
new file mode 100644 (file)
index 0000000..7b46a2d
--- /dev/null
@@ -0,0 +1,28 @@
+/**
+ * @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 */