xref: /dragonfly/contrib/gcc-8.0/gcc/omp-expand.h (revision d8082429)
1 /* Expansion pass for OMP directives.  Outlines regions of certain OMP
2    directives to separate functions, converts others into explicit calls to the
3    runtime library (libgomp) and so forth
4 
5 Copyright (C) 2005-2018 Free Software Foundation, Inc.
6 
7 This file is part of GCC.
8 
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 3, or (at your option) any later
12 version.
13 
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17 for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING3.  If not see
21 <http://www.gnu.org/licenses/>.  */
22 
23 #ifndef GCC_OMP_EXPAND_H
24 #define GCC_OMP_EXPAND_H
25 
26 struct omp_region;
27 extern void omp_expand_local (basic_block head);
28 extern void omp_free_regions (void);
29 extern bool omp_make_gimple_edges (basic_block bb, struct omp_region **region,
30 				   int *region_idx);
31 
32 #endif /* GCC_OMP_EXPAND_H */
33