From f743cb4e81d242871e932c83f0255e78003a8956 Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Thu, 22 Nov 2007 12:02:51 +0000 Subject: [PATCH] Added two missing files [r16821] --- ir/ir/irphaselist.h | 14 ++++++++++++++ ir/ir/irphases_t.h | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 ir/ir/irphaselist.h create mode 100644 ir/ir/irphases_t.h diff --git a/ir/ir/irphaselist.h b/ir/ir/irphaselist.h new file mode 100644 index 000000000..a43af0248 --- /dev/null +++ b/ir/ir/irphaselist.h @@ -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 index 000000000..584985357 --- /dev/null +++ b/ir/ir/irphases_t.h @@ -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 */ -- 2.20.1