summaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-11 14:44:43 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-11 14:44:43 +0000
commit45844fba558d9cd2d3f302d6075d63341c22c477 (patch)
tree66574671f93758ef60b73e400bdf79190a95ce9f /gcc/tree-pass.h
parent29583316940d5e79244acf013fb8ce1f772d2c9e (diff)
downloadgcc-45844fba558d9cd2d3f302d6075d63341c22c477.tar.gz
2009-05-11 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r147379 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@147380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 78b239b3741..3ea9bf9ca11 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -94,17 +94,22 @@ extern const char *dump_file_name;
/* Return the dump_file_info for the given phase. */
extern struct dump_file_info *get_dump_file_info (int);
+/* Optimization pass type. */
+enum opt_pass_type
+{
+ GIMPLE_PASS,
+ RTL_PASS,
+ SIMPLE_IPA_PASS,
+ IPA_PASS
+};
+
/* Describe one pass; this is the common part shared across different pass
types. */
struct opt_pass
{
/* Optimization pass type. */
- enum opt_pass_type {
- GIMPLE_PASS,
- RTL_PASS,
- SIMPLE_IPA_PASS,
- IPA_PASS
- } type;
+ enum opt_pass_type type;
+
/* Terse name of the pass used as a fragment of the dump file
name. If the name starts with a star, no dump happens. */
const char *name;
@@ -210,9 +215,8 @@ struct dump_file_info
#define PROP_ssa (1 << 5)
#define PROP_no_crit_edges (1 << 6)
#define PROP_rtl (1 << 7)
-#define PROP_alias (1 << 8)
-#define PROP_gimple_lomp (1 << 9) /* lowered OpenMP directives */
-#define PROP_cfglayout (1 << 10) /* cfglayout mode on RTL */
+#define PROP_gimple_lomp (1 << 8) /* lowered OpenMP directives */
+#define PROP_cfglayout (1 << 9) /* cfglayout mode on RTL */
#define PROP_trees \
(PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)