Mercurial > hg > CbC > CbC_gcc
annotate gcc/toplev.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
0 | 1 /* toplev.h - Various declarations for functions found in toplev.c |
145 | 2 Copyright (C) 1998-2020 Free Software Foundation, Inc. |
0 | 3 |
4 This file is part of GCC. | |
5 | |
6 GCC is free software; you can redistribute it and/or modify it under | |
7 the terms of the GNU General Public License as published by the Free | |
8 Software Foundation; either version 3, or (at your option) any later | |
9 version. | |
10 | |
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GCC; see the file COPYING3. If not see | |
18 <http://www.gnu.org/licenses/>. */ | |
19 | |
20 #ifndef GCC_TOPLEV_H | |
21 #define GCC_TOPLEV_H | |
22 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
23 /* Decoded options, and number of such options. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
24 extern struct cl_decoded_option *save_decoded_options; |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
25 extern unsigned int save_decoded_options_count; |
0 | 26 |
111 | 27 class timer; |
28 | |
29 /* Invoking the compiler. */ | |
30 class toplev | |
31 { | |
32 public: | |
33 toplev (timer *external_timer, | |
34 bool init_signals); | |
35 ~toplev (); | |
36 | |
37 int main (int argc, char **argv); | |
38 | |
39 void finalize (); | |
40 | |
41 private: | |
42 | |
43 void start_timevars (); | |
44 | |
45 void run_self_tests (); | |
46 | |
47 bool m_use_TV_TOTAL; | |
48 bool m_init_signals; | |
49 }; | |
50 | |
0 | 51 extern void rest_of_decl_compilation (tree, int, int); |
52 extern void rest_of_type_compilation (tree, int); | |
53 extern void init_optimization_passes (void); | |
54 extern bool enable_rtl_dump_file (void); | |
55 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
56 /* In except.c. Initialize exception handling. This is used by the Ada |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
57 and LTO front ends to initialize EH "on demand". See lto-streamer-in.c |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
58 and ada/gcc-interface/misc.c. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
59 extern void init_eh (void); |
0 | 60 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
61 extern void announce_function (tree); |
0 | 62 |
63 extern void wrapup_global_declaration_1 (tree); | |
64 extern bool wrapup_global_declaration_2 (tree); | |
65 extern bool wrapup_global_declarations (tree *, int); | |
111 | 66 |
67 extern void global_decl_processing (void); | |
0 | 68 |
145 | 69 extern void |
70 dump_memory_report (const char *); | |
111 | 71 extern void dump_profile_report (void); |
0 | 72 |
73 extern void target_reinit (void); | |
74 | |
75 /* A unique local time stamp, might be zero if none is available. */ | |
76 extern unsigned local_tick; | |
77 | |
78 /* See toplev.c. */ | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
79 extern int flag_rerun_cse_after_global_opts; |
0 | 80 |
111 | 81 extern void print_version (FILE *, const char *, bool); |
0 | 82 |
83 /* The hashtable, so that the C front ends can pass it to cpplib. */ | |
84 extern struct ht *ident_hash; | |
85 | |
86 /* Functions used to get and set GCC's notion of in what directory | |
87 compilation was started. */ | |
88 | |
89 extern const char *get_src_pwd (void); | |
90 extern bool set_src_pwd (const char *); | |
91 | |
92 /* Functions used to manipulate the random seed. */ | |
93 | |
111 | 94 extern HOST_WIDE_INT get_random_seed (bool); |
95 extern void set_random_seed (const char *); | |
96 | |
131 | 97 extern unsigned int min_align_loops_log; |
98 extern unsigned int min_align_jumps_log; | |
99 extern unsigned int min_align_labels_log; | |
100 extern unsigned int min_align_functions_log; | |
101 | |
102 extern void parse_alignment_opts (void); | |
103 | |
111 | 104 extern void initialize_rtl (void); |
0 | 105 |
106 #endif /* ! GCC_TOPLEV_H */ |