PR rtl-optimization/82913
[official-gcc.git] / gcc / omp-expand.h
blob04fcf65156deee2695658815b738998497097ee3
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
5 Copyright (C) 2005-2017 Free Software Foundation, Inc.
7 This file is part of GCC.
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.
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.
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/>. */
23 #ifndef GCC_OMP_EXPAND_H
24 #define GCC_OMP_EXPAND_H
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);
32 #endif /* GCC_OMP_EXPAND_H */