]>
Commit | Line | Data |
---|---|---|
820cc88f | 1 | /* This file contains the definitions for the tree structure |
b8698a0f | 2 | enumeration used in GCC. |
820cc88f | 3 | |
8d9254fc | 4 | Copyright (C) 2005-2020 Free Software Foundation, Inc. |
820cc88f DB |
5 | |
6 | This file is part of GCC. | |
7 | ||
8 | GCC is free software; you can redistribute it and/or modify it under | |
9 | the terms of the GNU General Public License as published by the Free | |
9dcd6f09 | 10 | Software Foundation; either version 3, or (at your option) any later |
820cc88f DB |
11 | version. |
12 | ||
13 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
14 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 | for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
9dcd6f09 NC |
19 | along with GCC; see the file COPYING3. If not see |
20 | <http://www.gnu.org/licenses/>. */ | |
820cc88f | 21 | |
b8698a0f | 22 | /* The format of this file is |
d251bfca | 23 | |
820cc88f | 24 | DEFTREESTRUCT(enumeration value, printable name). |
d251bfca DN |
25 | |
26 | Each enumeration value should correspond with a single member of | |
b8698a0f | 27 | union tree_node. |
d251bfca DN |
28 | |
29 | These enumerator values are used in order to distinguish members of | |
30 | union tree_node for garbage collection purposes, as well as | |
31 | specifying what structures contain what other structures in the | |
32 | tree_contains_struct array. */ | |
07beea0d | 33 | DEFTREESTRUCT(TS_BASE, "base") |
648a616b | 34 | DEFTREESTRUCT(TS_TYPED, "typed") |
820cc88f DB |
35 | DEFTREESTRUCT(TS_COMMON, "common") |
36 | DEFTREESTRUCT(TS_INT_CST, "integer cst") | |
36fd6408 | 37 | DEFTREESTRUCT(TS_POLY_INT_CST, "poly_int_cst") |
820cc88f | 38 | DEFTREESTRUCT(TS_REAL_CST, "real cst") |
325217ed | 39 | DEFTREESTRUCT(TS_FIXED_CST, "fixed cst") |
820cc88f DB |
40 | DEFTREESTRUCT(TS_VECTOR, "vector") |
41 | DEFTREESTRUCT(TS_STRING, "string") | |
42 | DEFTREESTRUCT(TS_COMPLEX, "complex") | |
4dad0aca | 43 | DEFTREESTRUCT(TS_IDENTIFIER, "identifier") |
820cc88f DB |
44 | DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal") |
45 | DEFTREESTRUCT(TS_DECL_COMMON, "decl common") | |
46 | DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL") | |
47 | DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common") | |
48 | DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility") | |
49 | DEFTREESTRUCT(TS_FIELD_DECL, "field decl") | |
50 | DEFTREESTRUCT(TS_VAR_DECL, "var decl") | |
51 | DEFTREESTRUCT(TS_PARM_DECL, "parm decl") | |
52 | DEFTREESTRUCT(TS_LABEL_DECL, "label decl") | |
53 | DEFTREESTRUCT(TS_RESULT_DECL, "result decl") | |
54 | DEFTREESTRUCT(TS_CONST_DECL, "const decl") | |
df17530a | 55 | DEFTREESTRUCT(TS_TYPE_DECL, "type decl") |
820cc88f | 56 | DEFTREESTRUCT(TS_FUNCTION_DECL, "function decl") |
6be14c0e | 57 | DEFTREESTRUCT(TS_TRANSLATION_UNIT_DECL, "translation-unit decl") |
51545682 NF |
58 | DEFTREESTRUCT(TS_TYPE_COMMON, "type common") |
59 | DEFTREESTRUCT(TS_TYPE_WITH_LANG_SPECIFIC, "type with lang-specific") | |
60 | DEFTREESTRUCT(TS_TYPE_NON_COMMON, "type non-common") | |
820cc88f DB |
61 | DEFTREESTRUCT(TS_LIST, "list") |
62 | DEFTREESTRUCT(TS_VEC, "vec") | |
63 | DEFTREESTRUCT(TS_EXP, "exp") | |
64 | DEFTREESTRUCT(TS_SSA_NAME, "ssa name") | |
820cc88f DB |
65 | DEFTREESTRUCT(TS_BLOCK, "block") |
66 | DEFTREESTRUCT(TS_BINFO, "binfo") | |
67 | DEFTREESTRUCT(TS_STATEMENT_LIST, "statement list") | |
4038c495 | 68 | DEFTREESTRUCT(TS_CONSTRUCTOR, "constructor") |
aaf46ef9 | 69 | DEFTREESTRUCT(TS_OMP_CLAUSE, "omp clause") |
ab442df7 MM |
70 | DEFTREESTRUCT(TS_OPTIMIZATION, "optimization options") |
71 | DEFTREESTRUCT(TS_TARGET_OPTION, "target options") |