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