Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-family/c-pragma.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 /* Pragma related interfaces. | 1 /* Pragma related interfaces. |
2 Copyright (C) 1995-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1995-2018 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 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 | 7 the terms of the GNU General Public License as published by the Free |
65 PRAGMA_OMP_TASKWAIT, | 65 PRAGMA_OMP_TASKWAIT, |
66 PRAGMA_OMP_TASKYIELD, | 66 PRAGMA_OMP_TASKYIELD, |
67 PRAGMA_OMP_THREADPRIVATE, | 67 PRAGMA_OMP_THREADPRIVATE, |
68 PRAGMA_OMP_TEAMS, | 68 PRAGMA_OMP_TEAMS, |
69 | 69 |
70 /* Top level clause to handle all Cilk Plus pragma simd clauses. */ | |
71 PRAGMA_CILK_SIMD, | |
72 | |
73 /* This pragma handles setting of grainsize for a _Cilk_for. */ | |
74 PRAGMA_CILK_GRAINSIZE, | |
75 | |
76 PRAGMA_GCC_PCH_PREPROCESS, | 70 PRAGMA_GCC_PCH_PREPROCESS, |
77 PRAGMA_IVDEP, | 71 PRAGMA_IVDEP, |
72 PRAGMA_UNROLL, | |
78 | 73 |
79 PRAGMA_FIRST_EXTERNAL | 74 PRAGMA_FIRST_EXTERNAL |
80 }; | 75 }; |
81 | 76 |
82 | 77 |
132 PRAGMA_OMP_CLAUSE_TO, | 127 PRAGMA_OMP_CLAUSE_TO, |
133 PRAGMA_OMP_CLAUSE_UNIFORM, | 128 PRAGMA_OMP_CLAUSE_UNIFORM, |
134 PRAGMA_OMP_CLAUSE_UNTIED, | 129 PRAGMA_OMP_CLAUSE_UNTIED, |
135 PRAGMA_OMP_CLAUSE_USE_DEVICE_PTR, | 130 PRAGMA_OMP_CLAUSE_USE_DEVICE_PTR, |
136 | 131 |
137 /* Clauses for Cilk Plus SIMD-enabled function. */ | |
138 PRAGMA_CILK_CLAUSE_NOMASK, | |
139 PRAGMA_CILK_CLAUSE_MASK, | |
140 PRAGMA_CILK_CLAUSE_VECTORLENGTH, | |
141 PRAGMA_CILK_CLAUSE_NONE = PRAGMA_OMP_CLAUSE_NONE, | |
142 PRAGMA_CILK_CLAUSE_LINEAR = PRAGMA_OMP_CLAUSE_LINEAR, | |
143 PRAGMA_CILK_CLAUSE_PRIVATE = PRAGMA_OMP_CLAUSE_PRIVATE, | |
144 PRAGMA_CILK_CLAUSE_FIRSTPRIVATE = PRAGMA_OMP_CLAUSE_FIRSTPRIVATE, | |
145 PRAGMA_CILK_CLAUSE_LASTPRIVATE = PRAGMA_OMP_CLAUSE_LASTPRIVATE, | |
146 PRAGMA_CILK_CLAUSE_REDUCTION = PRAGMA_OMP_CLAUSE_REDUCTION, | |
147 PRAGMA_CILK_CLAUSE_UNIFORM = PRAGMA_OMP_CLAUSE_UNIFORM, | |
148 | |
149 /* Clauses for OpenACC. */ | 132 /* Clauses for OpenACC. */ |
150 PRAGMA_OACC_CLAUSE_ASYNC = PRAGMA_CILK_CLAUSE_VECTORLENGTH + 1, | 133 PRAGMA_OACC_CLAUSE_ASYNC, |
151 PRAGMA_OACC_CLAUSE_AUTO, | 134 PRAGMA_OACC_CLAUSE_AUTO, |
152 PRAGMA_OACC_CLAUSE_COPY, | 135 PRAGMA_OACC_CLAUSE_COPY, |
153 PRAGMA_OACC_CLAUSE_COPYOUT, | 136 PRAGMA_OACC_CLAUSE_COPYOUT, |
154 PRAGMA_OACC_CLAUSE_CREATE, | 137 PRAGMA_OACC_CLAUSE_CREATE, |
155 PRAGMA_OACC_CLAUSE_DELETE, | 138 PRAGMA_OACC_CLAUSE_DELETE, |
156 PRAGMA_OACC_CLAUSE_DEVICEPTR, | 139 PRAGMA_OACC_CLAUSE_DEVICEPTR, |
157 PRAGMA_OACC_CLAUSE_DEVICE_RESIDENT, | 140 PRAGMA_OACC_CLAUSE_DEVICE_RESIDENT, |
141 PRAGMA_OACC_CLAUSE_FINALIZE, | |
158 PRAGMA_OACC_CLAUSE_GANG, | 142 PRAGMA_OACC_CLAUSE_GANG, |
159 PRAGMA_OACC_CLAUSE_HOST, | 143 PRAGMA_OACC_CLAUSE_HOST, |
160 PRAGMA_OACC_CLAUSE_INDEPENDENT, | 144 PRAGMA_OACC_CLAUSE_INDEPENDENT, |
161 PRAGMA_OACC_CLAUSE_NUM_GANGS, | 145 PRAGMA_OACC_CLAUSE_NUM_GANGS, |
162 PRAGMA_OACC_CLAUSE_NUM_WORKERS, | 146 PRAGMA_OACC_CLAUSE_NUM_WORKERS, |
163 PRAGMA_OACC_CLAUSE_PRESENT, | 147 PRAGMA_OACC_CLAUSE_PRESENT, |
164 PRAGMA_OACC_CLAUSE_PRESENT_OR_COPY, | |
165 PRAGMA_OACC_CLAUSE_PRESENT_OR_COPYIN, | |
166 PRAGMA_OACC_CLAUSE_PRESENT_OR_COPYOUT, | |
167 PRAGMA_OACC_CLAUSE_PRESENT_OR_CREATE, | |
168 PRAGMA_OACC_CLAUSE_SELF, | 148 PRAGMA_OACC_CLAUSE_SELF, |
169 PRAGMA_OACC_CLAUSE_SEQ, | 149 PRAGMA_OACC_CLAUSE_SEQ, |
170 PRAGMA_OACC_CLAUSE_TILE, | 150 PRAGMA_OACC_CLAUSE_TILE, |
171 PRAGMA_OACC_CLAUSE_USE_DEVICE, | 151 PRAGMA_OACC_CLAUSE_USE_DEVICE, |
172 PRAGMA_OACC_CLAUSE_VECTOR, | 152 PRAGMA_OACC_CLAUSE_VECTOR, |
173 PRAGMA_OACC_CLAUSE_VECTOR_LENGTH, | 153 PRAGMA_OACC_CLAUSE_VECTOR_LENGTH, |
174 PRAGMA_OACC_CLAUSE_WAIT, | 154 PRAGMA_OACC_CLAUSE_WAIT, |
175 PRAGMA_OACC_CLAUSE_WORKER, | 155 PRAGMA_OACC_CLAUSE_WORKER, |
156 PRAGMA_OACC_CLAUSE_IF_PRESENT, | |
176 PRAGMA_OACC_CLAUSE_COLLAPSE = PRAGMA_OMP_CLAUSE_COLLAPSE, | 157 PRAGMA_OACC_CLAUSE_COLLAPSE = PRAGMA_OMP_CLAUSE_COLLAPSE, |
177 PRAGMA_OACC_CLAUSE_COPYIN = PRAGMA_OMP_CLAUSE_COPYIN, | 158 PRAGMA_OACC_CLAUSE_COPYIN = PRAGMA_OMP_CLAUSE_COPYIN, |
178 PRAGMA_OACC_CLAUSE_DEVICE = PRAGMA_OMP_CLAUSE_DEVICE, | 159 PRAGMA_OACC_CLAUSE_DEVICE = PRAGMA_OMP_CLAUSE_DEVICE, |
179 PRAGMA_OACC_CLAUSE_DEFAULT = PRAGMA_OMP_CLAUSE_DEFAULT, | 160 PRAGMA_OACC_CLAUSE_DEFAULT = PRAGMA_OMP_CLAUSE_DEFAULT, |
180 PRAGMA_OACC_CLAUSE_FIRSTPRIVATE = PRAGMA_OMP_CLAUSE_FIRSTPRIVATE, | 161 PRAGMA_OACC_CLAUSE_FIRSTPRIVATE = PRAGMA_OMP_CLAUSE_FIRSTPRIVATE, |