summaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 2f340a9c7c4..29877180b7d 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -26,9 +26,13 @@ Boston, MA 02111-1307, USA. */
/* Global variables used to communicate with passes. */
extern FILE *dump_file;
extern int dump_flags;
+extern const char *dump_file_name;
extern struct bitmap_head_def *vars_to_rename;
+/* Return the dump_file_info for the given phase. */
+extern struct dump_file_info *get_dump_file_info (enum tree_dump_index);
+
/* Describe one pass. */
struct tree_opt_pass
{
@@ -64,6 +68,20 @@ struct tree_opt_pass
/* Flags indicating common sets things to do before and after. */
unsigned int todo_flags_start;
unsigned int todo_flags_finish;
+
+ /* Letter for RTL dumps. */
+ char letter;
+};
+
+/* Define a tree dump switch. */
+struct dump_file_info
+{
+ const char *suffix; /* suffix to give output file. */
+ const char *swtch; /* command line switch */
+ int flags; /* user flags */
+ int state; /* state of play */
+ int num; /* dump file number */
+ int letter; /* enabling letter for RTL dumps */
};
/* Pass properties. */