Added two missing files
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Thu, 22 Nov 2007 12:02:51 +0000 (12:02 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Thu, 22 Nov 2007 12:02:51 +0000 (12:02 +0000)
[r16821]

ir/ir/irphaselist.h [new file with mode: 0644]
ir/ir/irphases_t.h [new file with mode: 0644]

diff --git a/ir/ir/irphaselist.h b/ir/ir/irphaselist.h
new file mode 100644 (file)
index 0000000..a43af02
--- /dev/null
@@ -0,0 +1,14 @@
+/* Do not delete! */
+PH(NOT_IRG_MANAGED,               "A phase not managed by an IRG")
+
+/* BEGIN Enter your phases here */
+/* The name of the phase,          A description                       */
+
+PH(BE_ARCH,                       "Backend architecture abstraction")
+PH(BE_SCHED,                      "Scheduler")
+PH(BE_REG_ALLOC,                  "Register allocation")
+
+/* END Enter your phases here */
+
+/* Do not delete! */
+PH(LAST,                          "The last phase")
diff --git a/ir/ir/irphases_t.h b/ir/ir/irphases_t.h
new file mode 100644 (file)
index 0000000..5849853
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ * @file   irphases_t.h
+ * @date   18.11.2007
+ * @author Sebastian Hack
+ *
+ * Copyright (C) 2007 Inria Rhone-Alpes
+ * Released under the GPL
+ */
+
+#ifndef _IRPHASES_T_H
+#define _IRPHASES_T_H
+
+enum _ir_phase_id {
+#define PH(name, description)  PHASE_ ## name,
+#include "irphaselist.h"
+#undef PH
+};
+
+typedef enum _ir_phase_id ir_phase_id;
+
+#endif /* _IRPHASES_T_H */