omp-low.h revision 1.1.1.1.4.1 1 1.1 mrg /* Header file for openMP lowering directives.
2 1.1.1.1.4.1 christos Copyright (C) 2013-2016 Free Software Foundation, Inc.
3 1.1 mrg
4 1.1 mrg This file is part of GCC.
5 1.1 mrg
6 1.1 mrg GCC is free software; you can redistribute it and/or modify it under
7 1.1 mrg the terms of the GNU General Public License as published by the Free
8 1.1 mrg Software Foundation; either version 3, or (at your option) any later
9 1.1 mrg version.
10 1.1 mrg
11 1.1 mrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 1.1 mrg WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 1.1 mrg FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 1.1 mrg for more details.
15 1.1 mrg
16 1.1 mrg You should have received a copy of the GNU General Public License
17 1.1 mrg along with GCC; see the file COPYING3. If not see
18 1.1 mrg <http://www.gnu.org/licenses/>. */
19 1.1 mrg
20 1.1 mrg #ifndef GCC_OMP_LOW_H
21 1.1 mrg #define GCC_OMP_LOW_H
22 1.1 mrg
23 1.1 mrg struct omp_region;
24 1.1 mrg
25 1.1 mrg extern tree find_omp_clause (tree, enum omp_clause_code);
26 1.1 mrg extern void omp_expand_local (basic_block);
27 1.1 mrg extern void free_omp_regions (void);
28 1.1.1.1.4.1 christos extern tree omp_reduction_init_op (location_t, enum tree_code, tree);
29 1.1 mrg extern tree omp_reduction_init (tree, tree);
30 1.1 mrg extern bool make_gimple_omp_edges (basic_block, struct omp_region **, int *);
31 1.1 mrg extern void omp_finish_file (void);
32 1.1.1.1.4.1 christos extern tree omp_member_access_dummy_var (tree);
33 1.1.1.1.4.1 christos extern void replace_oacc_fn_attrib (tree, tree);
34 1.1.1.1.4.1 christos extern tree build_oacc_routine_dims (tree);
35 1.1.1.1.4.1 christos extern tree get_oacc_fn_attrib (tree);
36 1.1.1.1.4.1 christos extern void set_oacc_fn_attrib (tree, tree, bool, vec<tree> *);
37 1.1.1.1.4.1 christos extern bool oacc_fn_attrib_kernels_p (tree);
38 1.1.1.1.4.1 christos extern int get_oacc_ifn_dim_arg (const gimple *);
39 1.1.1.1.4.1 christos extern int get_oacc_fn_dim_size (tree, int);
40 1.1 mrg
41 1.1 mrg extern GTY(()) vec<tree, va_gc> *offload_funcs;
42 1.1 mrg extern GTY(()) vec<tree, va_gc> *offload_vars;
43 1.1 mrg
44 1.1 mrg #endif /* GCC_OMP_LOW_H */
45