Remove assert in get_def_bb_for_const
[official-gcc.git] / gcc / omp-low.h
blobb1f7885da0e00bdbd65b5408183c3e87acc875de
1 /* Header file for openMP lowering directives.
2 Copyright (C) 2013-2016 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_op (location_t, enum tree_code, tree);
29 extern tree omp_reduction_init (tree, tree);
30 extern bool make_gimple_omp_edges (basic_block, struct omp_region **, int *);
31 extern void omp_finish_file (void);
32 extern tree omp_member_access_dummy_var (tree);
33 extern void replace_oacc_fn_attrib (tree, tree);
34 extern tree build_oacc_routine_dims (tree);
35 extern tree get_oacc_fn_attrib (tree);
36 extern void set_oacc_fn_attrib (tree, tree, bool, vec<tree> *);
37 extern bool oacc_fn_attrib_kernels_p (tree);
38 extern int get_oacc_ifn_dim_arg (const gimple *);
39 extern int get_oacc_fn_dim_size (tree, int);
41 extern GTY(()) vec<tree, va_gc> *offload_funcs;
42 extern GTY(()) vec<tree, va_gc> *offload_vars;
44 #endif /* GCC_OMP_LOW_H */