Mercurial > hg > CbC > CbC_gcc
comparison gcc/gensupport.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Declarations for rtx-reader support for gen* routines. | 1 /* Declarations for rtx-reader support for gen* routines. |
2 Copyright (C) 2000, 2002, 2003, 2004, 2007, 2008 | 2 Copyright (C) 2000, 2002, 2003, 2004, 2007, 2008, 2010 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
21 #ifndef GCC_GENSUPPORT_H | 21 #ifndef GCC_GENSUPPORT_H |
22 #define GCC_GENSUPPORT_H | 22 #define GCC_GENSUPPORT_H |
23 | 23 |
24 struct obstack; | 24 struct obstack; |
25 extern struct obstack *rtl_obstack; | 25 extern struct obstack *rtl_obstack; |
26 extern const char *in_fname; | |
27 | 26 |
28 extern int init_md_reader_args_cb (int, char **, bool (*)(const char *)); | 27 extern bool init_rtx_reader_args_cb (int, char **, bool (*)(const char *)); |
29 extern int init_md_reader_args (int, char **); | 28 extern bool init_rtx_reader_args (int, char **); |
30 extern rtx read_md_rtx (int *, int *); | 29 extern rtx read_md_rtx (int *, int *); |
31 | |
32 extern void message_with_line (int, const char *, ...) | |
33 ATTRIBUTE_PRINTF_2; | |
34 | 30 |
35 /* Set this to 0 to disable automatic elision of insn patterns which | 31 /* Set this to 0 to disable automatic elision of insn patterns which |
36 can never be used in this configuration. See genconditions.c. | 32 can never be used in this configuration. See genconditions.c. |
37 Must be set before calling init_md_reader. */ | 33 Must be set before calling init_md_reader. */ |
38 extern int insn_elision; | 34 extern int insn_elision; |
58 extern hashval_t hash_c_test (const void *); | 54 extern hashval_t hash_c_test (const void *); |
59 extern int cmp_c_test (const void *, const void *); | 55 extern int cmp_c_test (const void *, const void *); |
60 extern void traverse_c_tests (htab_trav, void *); | 56 extern void traverse_c_tests (htab_trav, void *); |
61 #endif | 57 #endif |
62 | 58 |
63 extern int n_comma_elts (const char *); | |
64 extern const char *scan_comma_elt (const char **); | |
65 | |
66 /* Predicate handling: helper functions and data structures. */ | 59 /* Predicate handling: helper functions and data structures. */ |
67 | 60 |
68 struct pred_data | 61 struct pred_data |
69 { | 62 { |
70 struct pred_data *next; /* for iterating over the set of all preds */ | 63 struct pred_data *next; /* for iterating over the set of all preds */ |
88 extern void add_predicate_code (struct pred_data *, enum rtx_code); | 81 extern void add_predicate_code (struct pred_data *, enum rtx_code); |
89 extern void add_predicate (struct pred_data *); | 82 extern void add_predicate (struct pred_data *); |
90 | 83 |
91 #define FOR_ALL_PREDICATES(p) for (p = first_predicate; p; p = p->next) | 84 #define FOR_ALL_PREDICATES(p) for (p = first_predicate; p; p = p->next) |
92 | 85 |
93 /* This callback will be invoked whenever an rtl include directive is | |
94 processed. To be used for creation of the dependency file. */ | |
95 extern void (*include_callback) (const char *); | |
96 | |
97 #endif /* GCC_GENSUPPORT_H */ | 86 #endif /* GCC_GENSUPPORT_H */ |