gcc/cp/
[official-gcc.git] / gcc / treestruct.def
blobcdf52704ebdcda9f25439aa1c342212a2106098e
1 /* This file contains the definitions for the tree structure
2 enumeration used in GCC.
4 Copyright (C) 2005, 2007 Free Software Foundation, Inc.
6 This file is part of GCC.
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
10 Software Foundation; either version 3, or (at your option) any later
11 version.
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.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
22 /* The format of this file is
23 DEFTREESTRUCT(enumeration value, printable name).
24 Each enumeration value should correspond with a single member of union
25 tree_node.
26 These enumerator values are used in order to distinguish members of union
27 tree_node for garbage collection purposes, as well as specifying what structures
28 contain what other structures in the tree_contains_struct array. */
30 DEFTREESTRUCT(TS_BASE, "base")
31 DEFTREESTRUCT(TS_COMMON, "common")
32 DEFTREESTRUCT(TS_INT_CST, "integer cst")
33 DEFTREESTRUCT(TS_REAL_CST, "real cst")
34 DEFTREESTRUCT(TS_FIXED_CST, "fixed cst")
35 DEFTREESTRUCT(TS_VECTOR, "vector")
36 DEFTREESTRUCT(TS_STRING, "string")
37 DEFTREESTRUCT(TS_COMPLEX, "complex")
38 DEFTREESTRUCT(TS_IDENTIFIER, "identifier")
39 DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal")
40 DEFTREESTRUCT(TS_DECL_COMMON, "decl common")
41 DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL")
42 DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common")
43 DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility")
44 DEFTREESTRUCT(TS_FIELD_DECL, "field decl")
45 DEFTREESTRUCT(TS_VAR_DECL, "var decl")
46 DEFTREESTRUCT(TS_PARM_DECL, "parm decl")
47 DEFTREESTRUCT(TS_LABEL_DECL, "label decl")
48 DEFTREESTRUCT(TS_RESULT_DECL, "result decl")
49 DEFTREESTRUCT(TS_CONST_DECL, "const decl")
50 DEFTREESTRUCT(TS_TYPE_DECL, "label decl")
51 DEFTREESTRUCT(TS_FUNCTION_DECL, "function decl")
52 DEFTREESTRUCT(TS_TYPE, "type")
53 DEFTREESTRUCT(TS_LIST, "list")
54 DEFTREESTRUCT(TS_VEC, "vec")
55 DEFTREESTRUCT(TS_EXP, "exp")
56 DEFTREESTRUCT(TS_SSA_NAME, "ssa name")
57 DEFTREESTRUCT(TS_PHI_NODE, "phi node")
58 DEFTREESTRUCT(TS_BLOCK, "block")
59 DEFTREESTRUCT(TS_BINFO, "binfo")
60 DEFTREESTRUCT(TS_STATEMENT_LIST, "statement list")
61 DEFTREESTRUCT(TS_GIMPLE_STATEMENT, "gimple statement")
62 DEFTREESTRUCT(TS_CONSTRUCTOR, "constructor")
63 DEFTREESTRUCT(TS_MEMORY_TAG, "memory tag")
64 DEFTREESTRUCT(TS_OMP_CLAUSE, "omp clause")
65 DEFTREESTRUCT(TS_MEMORY_PARTITION_TAG, "memory partition tag")