gsstruct.def 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* This file contains the definitions for the gimple IR structure
  2. enumeration used in GCC.
  3. Copyright (C) 2007-2019 Free Software Foundation, Inc.
  4. Contributed by Aldy Hernandez <aldyh@redhat.com>
  5. This file is part of GCC.
  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. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  13. for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with GCC; see the file COPYING3. If not see
  16. <http://www.gnu.org/licenses/>. */
  17. /* The format of this file is
  18. DEFGSSTRUCT(GSS enumeration value, structure name, has-tree-operands).
  19. Each enum value should correspond with a single member of the union
  20. gimple_statement_d. */
  21. DEFGSSTRUCT(GSS_BASE, gimple, false)
  22. DEFGSSTRUCT(GSS_WITH_OPS, gimple_statement_with_ops, true)
  23. DEFGSSTRUCT(GSS_WITH_MEM_OPS_BASE, gimple_statement_with_memory_ops_base, false)
  24. DEFGSSTRUCT(GSS_WITH_MEM_OPS, gimple_statement_with_memory_ops, true)
  25. DEFGSSTRUCT(GSS_CALL, gcall, true)
  26. DEFGSSTRUCT(GSS_ASM, gasm, true)
  27. DEFGSSTRUCT(GSS_BIND, gbind, false)
  28. DEFGSSTRUCT(GSS_PHI, gphi, false)
  29. DEFGSSTRUCT(GSS_TRY, gtry, false)
  30. DEFGSSTRUCT(GSS_CATCH, gcatch, false)
  31. DEFGSSTRUCT(GSS_EH_FILTER, geh_filter, false)
  32. DEFGSSTRUCT(GSS_EH_MNT, geh_mnt, false)
  33. DEFGSSTRUCT(GSS_EH_CTRL, gimple_statement_eh_ctrl, false)
  34. DEFGSSTRUCT(GSS_EH_ELSE, geh_else, false)
  35. DEFGSSTRUCT(GSS_WCE, gimple_statement_wce, false)
  36. DEFGSSTRUCT(GSS_OMP, gimple_statement_omp, false)
  37. DEFGSSTRUCT(GSS_OMP_CRITICAL, gomp_critical, false)
  38. DEFGSSTRUCT(GSS_OMP_FOR, gomp_for, false)
  39. DEFGSSTRUCT(GSS_OMP_PARALLEL_LAYOUT, gimple_statement_omp_parallel_layout, false)
  40. DEFGSSTRUCT(GSS_OMP_TASK, gomp_task, false)
  41. DEFGSSTRUCT(GSS_OMP_SECTIONS, gomp_sections, false)
  42. DEFGSSTRUCT(GSS_OMP_SINGLE_LAYOUT, gimple_statement_omp_single_layout, false)
  43. DEFGSSTRUCT(GSS_OMP_CONTINUE, gomp_continue, false)
  44. DEFGSSTRUCT(GSS_OMP_ATOMIC_LOAD, gomp_atomic_load, false)
  45. DEFGSSTRUCT(GSS_OMP_ATOMIC_STORE_LAYOUT, gomp_atomic_store, false)
  46. DEFGSSTRUCT(GSS_TRANSACTION, gtransaction, false)