1 // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -x c++ -emit-llvm %s -o - -femit-all-decls | FileCheck %s
2 // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-pch -o %t %s
3 // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llvm -o - -femit-all-decls | FileCheck %s
5 // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp-simd -x c++ -emit-llvm %s -o - -femit-all-decls | FileCheck --check-prefix SIMD-ONLY0 %s
6 // RUN: %clang_cc1 -fopenmp-simd -x c++ -triple x86_64-apple-darwin10 -emit-pch -o %t %s
7 // RUN: %clang_cc1 -fopenmp-simd -x c++ -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llvm -o - -femit-all-decls | FileCheck --check-prefix SIMD-ONLY0 %s
8 // SIMD-ONLY0-NOT: {{__kmpc|__tgt}}
9 // expected-no-diagnostics
15 #pragma omp declare simd linear(d : 8)
16 #pragma omp declare simd inbranch simdlen(32)
17 #pragma omp declare simd notinbranch
20 #pragma omp declare simd linear(d : 8)
21 #pragma omp declare simd inbranch simdlen(32)
22 #pragma omp declare simd notinbranch
23 void add_1(float *d
) {}
27 #pragma omp declare simd linear(d : 8)
28 #pragma omp declare simd inbranch simdlen(32)
29 #pragma omp declare simd notinbranch
32 #pragma omp declare simd aligned(hp, hp2)
34 void h(C
*hp
, C
*hp2
, C
*hq
, C
*lin
) {
38 // Explicit specialization with <C=int>.
39 // Pragmas need to be same, otherwise standard says that's undefined behavior.
40 #pragma omp declare simd aligned(hp, hp2)
42 void h(int *hp
, int *hp2
, int *hq
, int *lin
) {
43 // Implicit specialization with <C=float>.
44 // This is special case where the directive is stored by Sema and is
45 // generated together with the (pending) function instatiation.
46 h((float *)hp
, (float *)hp2
, (float *)hq
, (float *)lin
);
51 #pragma omp declare simd uniform(this, a) linear(val(b) : a)
52 int add(int a
, int b
) __attribute__((cold
)) { return a
+ b
; }
54 #pragma omp declare simd aligned(b : 4) aligned(a) linear(ref(b) : 4) linear(this, a)
55 float taddpf(float *a
, float *&b
) { return *a
+ *b
; }
57 #pragma omp declare simd linear(uval(c) : 8)
58 #pragma omp declare simd aligned(b : 8)
59 int tadd(int (&b
)[], int &c
) { return x
[b
[0]] + b
[0]; }
65 template <int X
, typename T
>
68 #pragma omp declare simd simdlen(X)
69 int tadd(int a
, int b
) { return a
+ b
; }
71 #pragma omp declare simd aligned(a : X * 2) aligned(b) linear(ref(b) : X)
72 float taddpf(float *a
, T
*&b
) { return *a
+ *b
; }
74 #pragma omp declare simd
75 #pragma omp declare simd uniform(this, b)
76 int tadd(int b
) { return x
[b
] + b
; }
82 #pragma omp declare simd simdlen(N) aligned(b : N * 2) linear(uval(c) : N)
84 void foo(int (&b
)[N
], float *&c
) {}
89 float a
= 1.0f
, b
= 2.0f
;
91 float r
= t16
.taddpf(&a
, p
);
92 int res
= t16
.tadd(b
);
101 #pragma omp declare simd linear(a:X)
102 template<int X
, typename T
>
103 T
infunc(T a
) { return a
* 2; }
105 template<int Y
, typename U
>
109 #pragma omp declare simd linear(a:Y)
110 template<int Y
, typename U
>
111 U
A::outfunc(U
*a
) { return *a
* 2; }
113 void test_member_template()
118 int t
= a
.infunc
<8, int>(i
);
119 float u
= a
.outfunc
<4, float>(&f
);
122 #pragma omp declare simd
123 #pragma omp declare simd notinbranch aligned(a : 32)
124 int bar(VV v
, float *a
) { return 0; }
125 #pragma omp declare simd
126 #pragma omp declare simd notinbranch aligned(a)
127 float baz(VV v
, int a
[]) { return 0; }
128 #pragma omp declare simd
129 #pragma omp declare simd notinbranch aligned(a)
130 double bay(VV v
, double *&a
) { return 0; }
131 #pragma omp declare simd
132 #pragma omp declare simd inbranch linear(a : b) uniform(v, b)
133 void bax(VV v
, double *a
, int b
) {}
134 #pragma omp declare simd uniform(q) aligned(q : 16) linear(k : 1)
135 float foo(float *q
, float x
, int k
) { return 0; }
136 #pragma omp declare simd notinbranch
137 double foo(double x
) { return 0; }
139 #pragma omp declare simd notinbranch linear(i)
140 double constlinear(const int i
) { return 0.0; }
142 // Test linear modifiers
144 #pragma omp declare simd simdlen(4) linear(a:2) linear(b:4) linear(c:8) \
146 double One(int &a
, int *b
, int c
, int &d
, int *e
, int f
) {
150 // linear(val(x)) cases
151 #pragma omp declare simd simdlen(4) linear(val(a):2) linear(val(b):4) \
152 linear(val(c):8) linear(val(d,e,f))
153 double Two(int &a
, int *b
, int c
, int &d
, int *e
, int f
) {
157 // linear(uval(x) case
158 #pragma omp declare simd simdlen(4) linear(uval(a):2) linear(uval(b))
159 double Three(int &a
, int &b
) {
163 // linear(ref(x) case
164 #pragma omp declare simd simdlen(4) linear(ref(a):2) linear(ref(b))
165 double Four(int& a
, int &b
) {
169 // Test reference parameters with variable stride.
170 #pragma omp declare simd simdlen(4) uniform(a) \
171 linear(b:2) linear(c:a) \
172 linear(val(d):4) linear(val(e):a) \
173 linear(uval(f):8) linear(uval(g):a) \
174 linear(ref(h):16) linear(ref(i):a)
175 double Five(int a
, short &b
, short &c
, short &d
, short &e
, short &f
, short &g
,
176 short &h
, short &i
) {
180 // Test negative strides
181 #pragma omp declare simd simdlen(4) linear(a:-2) linear(b:-8) \
182 linear(uval(c):-4) linear(ref(d):-16) \
183 linear(e:-1) linear(f:-1) linear(g:0)
184 double Six(int a
, float *b
, int &c
, int *&d
, char e
, char *f
, short g
) {
185 return a
+ int(*b
) + c
+ *d
+ e
+ *f
+ g
;
188 // CHECK-DAG: define {{.+}}@_Z5add_1Pf(
189 // CHECK-DAG: define {{.+}}@_Z1hIiEvPT_S1_S1_S1_(
190 // CHECK-DAG: define {{.+}}@_Z1hIfEvPT_S1_S1_S1_(
191 // CHECK-DAG: define {{.+}}@_ZN2VV3addEii(
192 // CHECK-DAG: define {{.+}}@_ZN2VV6taddpfEPfRS0_(
193 // CHECK-DAG: define {{.+}}@_ZN2VV4taddERA_iRi(
194 // CHECK-DAG: define {{.+}}@_Z1fRA_i(
195 // CHECK-DAG: define {{.+}}@_ZN3TVVILi16EfE6taddpfEPfRS1_(
196 // CHECK-DAG: define {{.+}}@_ZN3TVVILi16EfE4taddEi(
197 // CHECK-DAG: define {{.+}}@_Z3fooILi64EEvRAT__iRPf(
198 // CHECK-DAG: define {{.+}}@_ZN1A6infuncILi8EiEET0_S1_
199 // CHECK-DAG: define {{.+}}@_ZN1A7outfuncILi4EfEET0_PS1_
200 // CHECK-DAG: define {{.+}}@_Z3bar2VVPf(
201 // CHECK-DAG: define {{.+}}@_Z3baz2VVPi(
202 // CHECK-DAG: define {{.+}}@_Z3bay2VVRPd(
203 // CHECK-DAG: define {{.+}}@_Z3bax2VVPdi(
204 // CHECK-DAG: define {{.+}}@_Z3fooPffi(
205 // CHECK-DAG: define {{.+}}@_Z3food(
206 // CHECK-DAG: declare {{.+}}@_Z5add_2Pf(
207 // CHECK-DAG: define {{.+}}@_Z11constlineari(
208 // CHECK-DAG: define {{.+}}@_Z3OneRiPiiS_S0_i
209 // CHECK-DAG: define {{.+}}@_Z3TwoRiPiiS_S0_i
210 // CHECK-DAG: define {{.+}}@_Z5ThreeRiS_
211 // CHECK-DAG: define {{.+}}@_Z4FourRiS_
212 // CHECK-DAG: define {{.+}}@_Z4FiveiRsS_S_S_S_S_S_S_
213 // CHECK-DAG: define {{.+}}@_Z3SixiPfRiRPicPcs
215 // CHECK-DAG: "_ZGVbM4l32__Z5add_1Pf"
216 // CHECK-DAG: "_ZGVbN4l32__Z5add_1Pf"
217 // CHECK-DAG: "_ZGVcM8l32__Z5add_1Pf"
218 // CHECK-DAG: "_ZGVcN8l32__Z5add_1Pf"
219 // CHECK-DAG: "_ZGVdM8l32__Z5add_1Pf"
220 // CHECK-DAG: "_ZGVdN8l32__Z5add_1Pf"
221 // CHECK-DAG: "_ZGVeM16l32__Z5add_1Pf"
222 // CHECK-DAG: "_ZGVeN16l32__Z5add_1Pf"
223 // CHECK-DAG: "_ZGVbM32v__Z5add_1Pf"
224 // CHECK-DAG: "_ZGVcM32v__Z5add_1Pf"
225 // CHECK-DAG: "_ZGVdM32v__Z5add_1Pf"
226 // CHECK-DAG: "_ZGVeM32v__Z5add_1Pf"
227 // CHECK-DAG: "_ZGVbN2v__Z5add_1Pf"
228 // CHECK-DAG: "_ZGVcN4v__Z5add_1Pf"
229 // CHECK-DAG: "_ZGVdN4v__Z5add_1Pf"
230 // CHECK-DAG: "_ZGVeN8v__Z5add_1Pf"
232 // CHECK-NOT: _ZGVbN2vv__Z5add_1Pf
233 // CHECK-NOT: _ZGVcN4vv__Z5add_1Pf
234 // CHECK-NOT: _ZGVdN4vv__Z5add_1Pf
235 // CHECK-NOT: _ZGVeN8vv__Z5add_1Pf
236 // CHECK-NOT: _ZGVbM32vv__Z5add_1Pf
237 // CHECK-NOT: _ZGVcM32vv__Z5add_1Pf
238 // CHECK-NOT: _ZGVdM32vv__Z5add_1Pf
239 // CHECK-NOT: _ZGVeM32vv__Z5add_1Pf
240 // CHECK-NOT: _ZGVbN4l32v__Z5add_1Pf
241 // CHECK-NOT: _ZGVcN8l32v__Z5add_1Pf
242 // CHECK-NOT: _ZGVdN8l32v__Z5add_1Pf
243 // CHECK-NOT: _ZGVeN16l32v__Z5add_1Pf
244 // CHECK-NOT: _ZGVbM4l32v__Z5add_1Pf
245 // CHECK-NOT: _ZGVcM8l32v__Z5add_1Pf
246 // CHECK-NOT: _ZGVdM8l32v__Z5add_1Pf
247 // CHECK-NOT: _ZGVeM16l32v__Z5add_1Pf
249 // CHECK-DAG: "_ZGVbM2va16va16vv__Z1hIiEvPT_S1_S1_S1_"
250 // CHECK-DAG: "_ZGVbN2va16va16vv__Z1hIiEvPT_S1_S1_S1_"
251 // CHECK-DAG: "_ZGVcM4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
252 // CHECK-DAG: "_ZGVcN4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
253 // CHECK-DAG: "_ZGVdM4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
254 // CHECK-DAG: "_ZGVdN4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
255 // CHECK-DAG: "_ZGVeM8va16va16vv__Z1hIiEvPT_S1_S1_S1_"
256 // CHECK-DAG: "_ZGVeN8va16va16vv__Z1hIiEvPT_S1_S1_S1_"
258 // CHECK-DAG: "_ZGVbM2va16va16vv__Z1hIfEvPT_S1_S1_S1_"
259 // CHECK-DAG: "_ZGVbN2va16va16vv__Z1hIfEvPT_S1_S1_S1_"
260 // CHECK-DAG: "_ZGVcM4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
261 // CHECK-DAG: "_ZGVcN4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
262 // CHECK-DAG: "_ZGVdM4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
263 // CHECK-DAG: "_ZGVdN4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
264 // CHECK-DAG: "_ZGVeM8va16va16vv__Z1hIfEvPT_S1_S1_S1_"
265 // CHECK-DAG: "_ZGVeN8va16va16vv__Z1hIfEvPT_S1_S1_S1_"
267 // CHECK-DAG: "_ZGVbM4uuls1__ZN2VV3addEii"
268 // CHECK-DAG: "_ZGVbN4uuls1__ZN2VV3addEii"
269 // CHECK-DAG: "_ZGVcM8uuls1__ZN2VV3addEii"
270 // CHECK-DAG: "_ZGVcN8uuls1__ZN2VV3addEii"
271 // CHECK-DAG: "_ZGVdM8uuls1__ZN2VV3addEii"
272 // CHECK-DAG: "_ZGVdN8uuls1__ZN2VV3addEii"
273 // CHECK-DAG: "_ZGVeM16uuls1__ZN2VV3addEii"
274 // CHECK-DAG: "_ZGVeN16uuls1__ZN2VV3addEii"
276 // CHECK-DAG: "_ZGVbM4l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
277 // CHECK-DAG: "_ZGVbN4l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
278 // CHECK-DAG: "_ZGVcM8l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
279 // CHECK-DAG: "_ZGVcN8l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
280 // CHECK-DAG: "_ZGVdM8l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
281 // CHECK-DAG: "_ZGVdN8l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
282 // CHECK-DAG: "_ZGVeM16l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
283 // CHECK-DAG: "_ZGVeN16l40l4a16R32a4__ZN2VV6taddpfEPfRS0_"
285 // CHECK-DAG: "_ZGVbM4vvU8__ZN2VV4taddERA_iRi"
286 // CHECK-DAG: "_ZGVbN4vvU8__ZN2VV4taddERA_iRi"
287 // CHECK-DAG: "_ZGVcM8vvU8__ZN2VV4taddERA_iRi"
288 // CHECK-DAG: "_ZGVcN8vvU8__ZN2VV4taddERA_iRi"
289 // CHECK-DAG: "_ZGVdM8vvU8__ZN2VV4taddERA_iRi"
290 // CHECK-DAG: "_ZGVdN8vvU8__ZN2VV4taddERA_iRi"
291 // CHECK-DAG: "_ZGVeM16vvU8__ZN2VV4taddERA_iRi"
292 // CHECK-DAG: "_ZGVeN16vvU8__ZN2VV4taddERA_iRi"
293 // CHECK-DAG: "_ZGVbM4vva8v__ZN2VV4taddERA_iRi"
294 // CHECK-DAG: "_ZGVbN4vva8v__ZN2VV4taddERA_iRi"
295 // CHECK-DAG: "_ZGVcM8vva8v__ZN2VV4taddERA_iRi"
296 // CHECK-DAG: "_ZGVcN8vva8v__ZN2VV4taddERA_iRi"
297 // CHECK-DAG: "_ZGVdM8vva8v__ZN2VV4taddERA_iRi"
298 // CHECK-DAG: "_ZGVdN8vva8v__ZN2VV4taddERA_iRi"
299 // CHECK-DAG: "_ZGVeM16vva8v__ZN2VV4taddERA_iRi"
300 // CHECK-DAG: "_ZGVeN16vva8v__ZN2VV4taddERA_iRi"
302 // CHECK-DAG: "_ZGVbM4vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
303 // CHECK-DAG: "_ZGVbN4vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
304 // CHECK-DAG: "_ZGVcM8vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
305 // CHECK-DAG: "_ZGVcN8vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
306 // CHECK-DAG: "_ZGVdM8vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
307 // CHECK-DAG: "_ZGVdN8vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
308 // CHECK-DAG: "_ZGVeM16vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
309 // CHECK-DAG: "_ZGVeN16vva32R128a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
311 // CHECK-DAG: "_ZGVbM4uu__ZN3TVVILi16EfE4taddEi"
312 // CHECK-DAG: "_ZGVbN4uu__ZN3TVVILi16EfE4taddEi"
313 // CHECK-DAG: "_ZGVcM8uu__ZN3TVVILi16EfE4taddEi"
314 // CHECK-DAG: "_ZGVcN8uu__ZN3TVVILi16EfE4taddEi"
315 // CHECK-DAG: "_ZGVdM8uu__ZN3TVVILi16EfE4taddEi"
316 // CHECK-DAG: "_ZGVdN8uu__ZN3TVVILi16EfE4taddEi"
317 // CHECK-DAG: "_ZGVeM16uu__ZN3TVVILi16EfE4taddEi"
318 // CHECK-DAG: "_ZGVeN16uu__ZN3TVVILi16EfE4taddEi"
319 // CHECK-DAG: "_ZGVbM4vv__ZN3TVVILi16EfE4taddEi"
320 // CHECK-DAG: "_ZGVbN4vv__ZN3TVVILi16EfE4taddEi"
321 // CHECK-DAG: "_ZGVcM8vv__ZN3TVVILi16EfE4taddEi"
322 // CHECK-DAG: "_ZGVcN8vv__ZN3TVVILi16EfE4taddEi"
323 // CHECK-DAG: "_ZGVdM8vv__ZN3TVVILi16EfE4taddEi"
324 // CHECK-DAG: "_ZGVdN8vv__ZN3TVVILi16EfE4taddEi"
325 // CHECK-DAG: "_ZGVeM16vv__ZN3TVVILi16EfE4taddEi"
326 // CHECK-DAG: "_ZGVeN16vv__ZN3TVVILi16EfE4taddEi"
328 // CHECK-DAG: "_ZGVbM64va128U64__Z3fooILi64EEvRAT__iRPf"
329 // CHECK-DAG: "_ZGVbN64va128U64__Z3fooILi64EEvRAT__iRPf"
330 // CHECK-DAG: "_ZGVcM64va128U64__Z3fooILi64EEvRAT__iRPf"
331 // CHECK-DAG: "_ZGVcN64va128U64__Z3fooILi64EEvRAT__iRPf"
332 // CHECK-DAG: "_ZGVdM64va128U64__Z3fooILi64EEvRAT__iRPf"
333 // CHECK-DAG: "_ZGVdN64va128U64__Z3fooILi64EEvRAT__iRPf"
334 // CHECK-DAG: "_ZGVeM64va128U64__Z3fooILi64EEvRAT__iRPf"
335 // CHECK-DAG: "_ZGVeN64va128U64__Z3fooILi64EEvRAT__iRPf"
337 // CHECK-DAG: "_ZGVbM4vl8__ZN1A6infuncILi8EiEET0_S1_"
338 // CHECK-DAG: "_ZGVbN4vl8__ZN1A6infuncILi8EiEET0_S1_"
339 // CHECK-DAG: "_ZGVcM8vl8__ZN1A6infuncILi8EiEET0_S1_"
340 // CHECK-DAG: "_ZGVcN8vl8__ZN1A6infuncILi8EiEET0_S1_"
341 // CHECK-DAG: "_ZGVdM8vl8__ZN1A6infuncILi8EiEET0_S1_"
342 // CHECK-DAG: "_ZGVdN8vl8__ZN1A6infuncILi8EiEET0_S1_"
343 // CHECK-DAG: "_ZGVeM16vl8__ZN1A6infuncILi8EiEET0_S1_"
344 // CHECK-DAG: "_ZGVeN16vl8__ZN1A6infuncILi8EiEET0_S1_"
346 // CHECK-DAG: "_ZGVbM4vl16__ZN1A7outfuncILi4EfEET0_PS1_"
347 // CHECK-DAG: "_ZGVbN4vl16__ZN1A7outfuncILi4EfEET0_PS1_"
348 // CHECK-DAG: "_ZGVcM8vl16__ZN1A7outfuncILi4EfEET0_PS1_"
349 // CHECK-DAG: "_ZGVcN8vl16__ZN1A7outfuncILi4EfEET0_PS1_"
350 // CHECK-DAG: "_ZGVdM8vl16__ZN1A7outfuncILi4EfEET0_PS1_"
351 // CHECK-DAG: "_ZGVdN8vl16__ZN1A7outfuncILi4EfEET0_PS1_"
352 // CHECK-DAG: "_ZGVeM16vl16__ZN1A7outfuncILi4EfEET0_PS1_"
353 // CHECK-DAG: "_ZGVeN16vl16__ZN1A7outfuncILi4EfEET0_PS1_"
355 // CHECK-DAG: "_ZGVbM4vv__Z3bar2VVPf"
356 // CHECK-DAG: "_ZGVbN4vv__Z3bar2VVPf"
357 // CHECK-DAG: "_ZGVcM8vv__Z3bar2VVPf"
358 // CHECK-DAG: "_ZGVcN8vv__Z3bar2VVPf"
359 // CHECK-DAG: "_ZGVdM8vv__Z3bar2VVPf"
360 // CHECK-DAG: "_ZGVdN8vv__Z3bar2VVPf"
361 // CHECK-DAG: "_ZGVeM16vv__Z3bar2VVPf"
362 // CHECK-DAG: "_ZGVeN16vv__Z3bar2VVPf"
363 // CHECK-DAG: "_ZGVbN4vva32__Z3bar2VVPf"
364 // CHECK-DAG: "_ZGVcN8vva32__Z3bar2VVPf"
365 // CHECK-DAG: "_ZGVdN8vva32__Z3bar2VVPf"
366 // CHECK-DAG: "_ZGVeN16vva32__Z3bar2VVPf"
368 // CHECK-DAG: "_ZGVbM4vv__Z3baz2VVPi"
369 // CHECK-DAG: "_ZGVbN4vv__Z3baz2VVPi"
370 // CHECK-DAG: "_ZGVcM8vv__Z3baz2VVPi"
371 // CHECK-DAG: "_ZGVcN8vv__Z3baz2VVPi"
372 // CHECK-DAG: "_ZGVdM8vv__Z3baz2VVPi"
373 // CHECK-DAG: "_ZGVdN8vv__Z3baz2VVPi"
374 // CHECK-DAG: "_ZGVeM16vv__Z3baz2VVPi"
375 // CHECK-DAG: "_ZGVeN16vv__Z3baz2VVPi"
376 // CHECK-DAG: "_ZGVbN4vva16__Z3baz2VVPi"
377 // CHECK-DAG: "_ZGVcN8vva16__Z3baz2VVPi"
378 // CHECK-DAG: "_ZGVdN8vva16__Z3baz2VVPi"
379 // CHECK-DAG: "_ZGVeN16vva16__Z3baz2VVPi"
381 // CHECK-DAG: "_ZGVbM2vv__Z3bay2VVRPd"
382 // CHECK-DAG: "_ZGVbN2vv__Z3bay2VVRPd"
383 // CHECK-DAG: "_ZGVcM4vv__Z3bay2VVRPd"
384 // CHECK-DAG: "_ZGVcN4vv__Z3bay2VVRPd"
385 // CHECK-DAG: "_ZGVdM4vv__Z3bay2VVRPd"
386 // CHECK-DAG: "_ZGVdN4vv__Z3bay2VVRPd"
387 // CHECK-DAG: "_ZGVeM8vv__Z3bay2VVRPd"
388 // CHECK-DAG: "_ZGVeN8vv__Z3bay2VVRPd"
389 // CHECK-DAG: "_ZGVbN2vva16__Z3bay2VVRPd"
390 // CHECK-DAG: "_ZGVcN4vva16__Z3bay2VVRPd"
391 // CHECK-DAG: "_ZGVdN4vva16__Z3bay2VVRPd"
392 // CHECK-DAG: "_ZGVeN8vva16__Z3bay2VVRPd"
394 // CHECK-DAG: "_ZGVbM4uls2u__Z3bax2VVPdi"
395 // CHECK-DAG: "_ZGVcM8uls2u__Z3bax2VVPdi"
396 // CHECK-DAG: "_ZGVdM8uls2u__Z3bax2VVPdi"
397 // CHECK-DAG: "_ZGVeM16uls2u__Z3bax2VVPdi"
398 // CHECK-DAG: "_ZGVbM4vvv__Z3bax2VVPdi"
399 // CHECK-DAG: "_ZGVbN4vvv__Z3bax2VVPdi"
400 // CHECK-DAG: "_ZGVcM8vvv__Z3bax2VVPdi"
401 // CHECK-DAG: "_ZGVcN8vvv__Z3bax2VVPdi"
402 // CHECK-DAG: "_ZGVdM8vvv__Z3bax2VVPdi"
403 // CHECK-DAG: "_ZGVdN8vvv__Z3bax2VVPdi"
404 // CHECK-DAG: "_ZGVeM16vvv__Z3bax2VVPdi"
405 // CHECK-DAG: "_ZGVeN16vvv__Z3bax2VVPdi"
407 // CHECK-DAG: "_ZGVbM4ua16vl__Z3fooPffi"
408 // CHECK-DAG: "_ZGVbN4ua16vl__Z3fooPffi"
409 // CHECK-DAG: "_ZGVcM8ua16vl__Z3fooPffi"
410 // CHECK-DAG: "_ZGVcN8ua16vl__Z3fooPffi"
411 // CHECK-DAG: "_ZGVdM8ua16vl__Z3fooPffi"
412 // CHECK-DAG: "_ZGVdN8ua16vl__Z3fooPffi"
413 // CHECK-DAG: "_ZGVeM16ua16vl__Z3fooPffi"
414 // CHECK-DAG: "_ZGVeN16ua16vl__Z3fooPffi"
416 // CHECK-DAG: "_ZGVbM4l32__Z5add_2Pf"
417 // CHECK-DAG: "_ZGVbN4l32__Z5add_2Pf"
418 // CHECK-DAG: "_ZGVcM8l32__Z5add_2Pf"
419 // CHECK-DAG: "_ZGVcN8l32__Z5add_2Pf"
420 // CHECK-DAG: "_ZGVdM8l32__Z5add_2Pf"
421 // CHECK-DAG: "_ZGVdN8l32__Z5add_2Pf"
422 // CHECK-DAG: "_ZGVeM16l32__Z5add_2Pf"
423 // CHECK-DAG: "_ZGVeN16l32__Z5add_2Pf"
424 // CHECK-DAG: "_ZGVbM32v__Z5add_2Pf"
425 // CHECK-DAG: "_ZGVcM32v__Z5add_2Pf"
426 // CHECK-DAG: "_ZGVdM32v__Z5add_2Pf"
427 // CHECK-DAG: "_ZGVeM32v__Z5add_2Pf"
428 // CHECK-DAG: "_ZGVbN2v__Z5add_2Pf"
429 // CHECK-DAG: "_ZGVcN4v__Z5add_2Pf"
430 // CHECK-DAG: "_ZGVdN4v__Z5add_2Pf"
431 // CHECK-DAG: "_ZGVeN8v__Z5add_2Pf"
433 // CHECK-DAG: "_ZGVbN2v__Z3food"
434 // CHECK-DAG: "_ZGVcN4v__Z3food"
435 // CHECK-DAG: "_ZGVdN4v__Z3food"
436 // CHECK-DAG: "_ZGVeN8v__Z3food"
438 // CHECK-DAG: "_ZGVbN2l__Z11constlineari"
439 // CHECK-DAG: "_ZGVcN4l__Z11constlineari"
440 // CHECK-DAG: "_ZGVdN4l__Z11constlineari"
441 // CHECK-DAG: "_ZGVeN8l__Z11constlineari"
443 // CHECK-DAG: "_ZGVbM4L2l16l8Ll4l__Z3OneRiPiiS_S0_i"
444 // CHECK-DAG: "_ZGVbN4L2l16l8Ll4l__Z3OneRiPiiS_S0_i"
445 // CHECK-DAG: "_ZGVbM4L2l16l8Ll4l__Z3TwoRiPiiS_S0_i"
446 // CHECK-DAG: "_ZGVbN4L2l16l8Ll4l__Z3TwoRiPiiS_S0_i"
447 // CHECK-DAG: "_ZGVbM4U2U__Z5ThreeRiS_"
448 // CHECK-DAG: "_ZGVbN4U2U__Z5ThreeRiS_"
449 // CHECK-DAG: "_ZGVbM4R8R4__Z4FourRiS_"
450 // CHECK-DAG: "_ZGVbN4R8R4__Z4FourRiS_"
451 // CHECK-DAG: "_ZGVbM4uL2Ls0L4Ls0U8Us0R32Rs0__Z4FiveiRsS_S_S_S_S_S_S_"
452 // CHECK-DAG: "_ZGVbN4uL2Ls0L4Ls0U8Us0R32Rs0__Z4FiveiRsS_S_S_S_S_S_S_"
453 // CHECK-DAG: "_ZGVbM4ln2ln32Un4Rn128ln1ln1l0__Z3SixiPfRiRPicPcs"
454 // CHECK-DAG: "_ZGVbN4ln2ln32Un4Rn128ln1ln1l0__Z3SixiPfRiRPicPcs"
456 // CHECK-NOT: "_ZGV{{.+}}__Z1fRA_i