treestruct.def 2.8 KB

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