/cp
[official-gcc.git] / gcc / omp-low.h
blob8a4052efcadadabea8820fd5575dc5e871eca3e9
1 /* Header file for openMP lowering directives.
2 Copyright (C) 2013-2015 Free Software Foundation, Inc.
4 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.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_OMP_LOW_H
21 #define GCC_OMP_LOW_H
23 struct omp_region;
25 extern tree find_omp_clause (tree, enum omp_clause_code);
26 extern void omp_expand_local (basic_block);
27 extern void free_omp_regions (void);
28 extern tree omp_reduction_init (tree, tree);
29 extern bool make_gimple_omp_edges (basic_block, struct omp_region **, int *);
30 extern void omp_finish_file (void);
32 extern GTY(()) vec<tree, va_gc> *offload_funcs;
33 extern GTY(()) vec<tree, va_gc> *offload_vars;
35 #endif /* GCC_OMP_LOW_H */