comparison gcc/omp-general.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* General types and functions that are uselful for processing of OpenMP, 1 /* General types and functions that are uselful for processing of OpenMP,
2 OpenACC and similar directivers at various stages of compilation. 2 OpenACC and similar directivers at various stages of compilation.
3 3
4 Copyright (C) 2005-2017 Free Software Foundation, Inc. 4 Copyright (C) 2005-2018 Free Software Foundation, Inc.
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free 9 the terms of the GNU General Public License as published by the Free
76 tree *n2); 76 tree *n2);
77 extern tree omp_get_for_step_from_incr (location_t loc, tree incr); 77 extern tree omp_get_for_step_from_incr (location_t loc, tree incr);
78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
79 struct omp_for_data_loop *loops); 79 struct omp_for_data_loop *loops);
80 extern gimple *omp_build_barrier (tree lhs); 80 extern gimple *omp_build_barrier (tree lhs);
81 extern int omp_max_vf (void); 81 extern poly_uint64 omp_max_vf (void);
82 extern int omp_max_simt_vf (void); 82 extern int omp_max_simt_vf (void);
83 extern tree oacc_launch_pack (unsigned code, tree device, unsigned op); 83 extern tree oacc_launch_pack (unsigned code, tree device, unsigned op);
84 extern void oacc_replace_fn_attrib (tree fn, tree dims); 84 extern void oacc_replace_fn_attrib (tree fn, tree dims);
85 extern void oacc_set_fn_attrib (tree fn, tree clauses, vec<tree> *args); 85 extern void oacc_set_fn_attrib (tree fn, tree clauses, vec<tree> *args);
86 extern tree oacc_build_routine_dims (tree clauses); 86 extern tree oacc_build_routine_dims (tree clauses);
87 extern tree oacc_get_fn_attrib (tree fn); 87 extern tree oacc_get_fn_attrib (tree fn);
88 extern bool offloading_function_p (tree fn);
88 extern int oacc_get_fn_dim_size (tree fn, int axis); 89 extern int oacc_get_fn_dim_size (tree fn, int axis);
89 extern int oacc_get_ifn_dim_arg (const gimple *stmt); 90 extern int oacc_get_ifn_dim_arg (const gimple *stmt);
90 91
91 #endif /* GCC_OMP_GENERAL_H */ 92 #endif /* GCC_OMP_GENERAL_H */