Home | History | Annotate | Download | only in OpenMP

Lines Matching refs:argc

101 template<class I, class C> int foomain(I argc, C **argv) {
107 for (int k = 0; k < argc; ++k) ++k;
109 for (int k = 0; k < argc; ++k) ++k;
111 for (int k = 0; k < argc; ++k) ++k;
113 for (int k = 0; k < argc; ++k) ++k;
115 for (int k = 0; k < argc; ++k) ++k;
117 for (int k = 0; k < argc; ++k) ++k;
119 for (int k = 0; k < argc; ++k) ++k;
120 #pragma omp simd linear (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
121 for (int k = 0; k < argc; ++k) ++k;
122 #pragma omp simd linear (val argc // expected-error {{use of undeclared identifier 'val'}} expected-error {{expected ')'}} expected-note {{to match this '('}}
123 for (int k = 0; k < argc; ++k) ++k;
124 #pragma omp simd linear (val(argc, // expected-error {{expected expression}} expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}}
125 for (int k = 0; k < argc; ++k) ++k;
126 #pragma omp simd linear (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
127 for (int k = 0; k < argc; ++k) ++k;
128 #pragma omp simd linear (argc : 5)
129 for (int k = 0; k < argc; ++k) ++k;
131 for (int k = 0; k < argc; ++k) ++k;
135 for (int k = 0; k < argc; ++k) ++k;
137 for (int k = 0; k < argc; ++k) ++k;
139 for (int k = 0; k < argc; ++k) ++k;
141 for (int k = 0; k < argc; ++k) ++k;
143 for (int k = 0; k < argc; ++k) ++k;
149 for (int k = 0; k < argc; ++k) { i = k; v += i; }
152 for (int k = 0; k < argc; ++k) ++k;
154 for (int k = 0; k < argc; ++k) ++k;
157 for (int k = 0; k < argc; ++k) { ++k; v += j; }
159 for (int k = 0; k < argc; ++k) ++k;
171 void linear_modifiers(int argc) {
172 int &f = argc;
174 for (int k = 0; k < argc; ++k) ++k;
176 for (int k = 0; k < argc; ++k) ++k;
178 for (int k = 0; k < argc; ++k) ++k;
180 for (int k = 0; k < argc; ++k) ++k;
182 for (int k = 0; k < argc; ++k) ++k;
186 int main(int argc, char **argv) {
198 for (int k = 0; k < argc; ++k) ++k;
200 for (int k = 0; k < argc; ++k) ++k;
202 for (int k = 0; k < argc; ++k) ++k;
204 for (int k = 0; k < argc; ++k) ++k;
206 for (int k = 0; k < argc; ++k) ++k;
208 for (int k = 0; k < argc; ++k) ++k;
210 for (int k = 0; k < argc; ++k) ++k;
211 #pragma omp simd linear (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
212 for (int k = 0; k < argc; ++k) ++k;
213 #pragma omp simd linear (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
214 for (int k = 0; k < argc; ++k) ++k;
215 #pragma omp simd linear (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
216 for (int k = 0; k < argc; ++k) ++k;
217 #pragma omp simd linear (argc)
218 for (int k = 0; k < argc; ++k) ++k;
220 for (int k = 0; k < argc; ++k) ++k;
224 for (int k = 0; k < argc; ++k) ++k;
226 for (int k = 0; k < argc; ++k) ++k;
230 for (int k = 0; k < argc; ++k) ++k;
232 for (int k = 0; k < argc; ++k) ++k;
237 for (int k = 0; k < argc; ++k) ++k;
239 for (int k = 0; k < argc; ++k) { ++k; i += 4; }
242 for (int k = 0; k < argc; ++k) ++k;
244 for (int k = 0; k < argc; ++k) ++k;
246 foomain<int,char>(argc,argv); // expected-note {{in instantiation of function template specialization 'foomain<int, char>' requested here}}