treestruct.def 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* This file contains the definitions for the tree structure
  2. enumeration used in GCC.
  3. Copyright (C) 2005-2015 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_REAL_CST, "real cst")
  29. DEFTREESTRUCT(TS_FIXED_CST, "fixed cst")
  30. DEFTREESTRUCT(TS_VECTOR, "vector")
  31. DEFTREESTRUCT(TS_STRING, "string")
  32. DEFTREESTRUCT(TS_COMPLEX, "complex")
  33. DEFTREESTRUCT(TS_IDENTIFIER, "identifier")
  34. DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal")
  35. DEFTREESTRUCT(TS_DECL_COMMON, "decl common")
  36. DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL")
  37. DEFTREESTRUCT(TS_DECL_NON_COMMON, "decl non-common")
  38. DEFTREESTRUCT(TS_DECL_WITH_VIS, "decl with visibility")
  39. DEFTREESTRUCT(TS_FIELD_DECL, "field decl")
  40. DEFTREESTRUCT(TS_VAR_DECL, "var decl")
  41. DEFTREESTRUCT(TS_PARM_DECL, "parm decl")
  42. DEFTREESTRUCT(TS_LABEL_DECL, "label decl")
  43. DEFTREESTRUCT(TS_RESULT_DECL, "result decl")
  44. DEFTREESTRUCT(TS_CONST_DECL, "const decl")
  45. DEFTREESTRUCT(TS_TYPE_DECL, "type decl")
  46. DEFTREESTRUCT(TS_FUNCTION_DECL, "function decl")
  47. DEFTREESTRUCT(TS_TRANSLATION_UNIT_DECL, "translation-unit decl")
  48. DEFTREESTRUCT(TS_TYPE_COMMON, "type common")
  49. DEFTREESTRUCT(TS_TYPE_WITH_LANG_SPECIFIC, "type with lang-specific")
  50. DEFTREESTRUCT(TS_TYPE_NON_COMMON, "type non-common")
  51. DEFTREESTRUCT(TS_LIST, "list")
  52. DEFTREESTRUCT(TS_VEC, "vec")
  53. DEFTREESTRUCT(TS_EXP, "exp")
  54. DEFTREESTRUCT(TS_SSA_NAME, "ssa name")
  55. DEFTREESTRUCT(TS_BLOCK, "block")
  56. DEFTREESTRUCT(TS_BINFO, "binfo")
  57. DEFTREESTRUCT(TS_STATEMENT_LIST, "statement list")
  58. DEFTREESTRUCT(TS_CONSTRUCTOR, "constructor")
  59. DEFTREESTRUCT(TS_OMP_CLAUSE, "omp clause")
  60. DEFTREESTRUCT(TS_OPTIMIZATION, "optimization options")
  61. DEFTREESTRUCT(TS_TARGET_OPTION, "target options")