• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4 
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
10 #ifndef HEADER
11 #define HEADER
12 
13 void add_1(float *d);
14 
15 #pragma omp declare simd linear(d : 8)
16 #pragma omp declare simd inbranch simdlen(32)
17 #pragma omp declare simd notinbranch
18 void add_1(float *d);
19 
20 #pragma omp declare simd linear(d : 8)
21 #pragma omp declare simd inbranch simdlen(32)
22 #pragma omp declare simd notinbranch
add_1(float * d)23 void add_1(float *d) {}
24 
25 void add_1(float *d);
26 
27 #pragma omp declare simd linear(d : 8)
28 #pragma omp declare simd inbranch simdlen(32)
29 #pragma omp declare simd notinbranch
30 void add_2(float *d);
31 
32 #pragma omp declare simd aligned(hp, hp2)
33 template <class C>
h(C * hp,C * hp2,C * hq,C * lin)34 void h(C *hp, C *hp2, C *hq, C *lin) {
35   add_2(0);
36 }
37 
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)
41 template <>
h(int * hp,int * hp2,int * hq,int * lin)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);
47 }
48 
49 class VV {
50 public:
51 #pragma omp declare simd uniform(this, a) linear(val(b) : a)
add(int a,int b)52   int add(int a, int b) __attribute__((cold)) { return a + b; }
53 
54 #pragma omp declare simd aligned(b : 4) aligned(a) linear(ref(b) : 4) linear(this, a)
taddpf(float * a,float * & b)55   float taddpf(float *a, float *&b) { return *a + *b; }
56 
57 #pragma omp declare simd linear(uval(c) : 8)
58 #pragma omp declare simd aligned(b : 8)
tadd(int (& b)[],int & c)59   int tadd(int (&b)[], int &c) { return x[b[0]] + b[0]; }
60 
61 private:
62   int x[10];
63 } vv;
64 
65 template <int X, typename T>
66 class TVV {
67 public:
68 #pragma omp declare simd simdlen(X)
tadd(int a,int b)69   int tadd(int a, int b) { return a + b; }
70 
71 #pragma omp declare simd aligned(a : X * 2) aligned(b) linear(ref(b) : X)
taddpf(float * a,T * & b)72   float taddpf(float *a, T *&b) { return *a + *b; }
73 
74 #pragma omp declare simd
75 #pragma omp declare simd uniform(this, b)
tadd(int b)76   int tadd(int b) { return x[b] + b; }
77 
78 private:
79   int x[X];
80 };
81 
82 #pragma omp declare simd simdlen(N) aligned(b : N * 2) linear(uval(c) : N)
83 template <int N>
foo(int (& b)[N],float * & c)84 void foo(int (&b)[N], float *&c) {}
85 
86 TVV<16, float> t16;
87 
f(int (& g)[])88 void f(int (&g)[]) {
89   float a = 1.0f, b = 2.0f;
90   float *p = &b;
91   float r = t16.taddpf(&a, p);
92   int res = t16.tadd(b);
93   int c[64];
94   vv.add(res, res);
95   vv.taddpf(p, p);
96   vv.tadd(g, res);
97   foo(c, p);
98 }
99 
100 #pragma omp declare simd
101 #pragma omp declare simd notinbranch aligned(a : 32)
bar(VV v,float * a)102 int bar(VV v, float *a) { return 0; }
103 #pragma omp declare simd
104 #pragma omp declare simd notinbranch aligned(a)
baz(VV v,int a[])105 float baz(VV v, int a[]) { return 0; }
106 #pragma omp declare simd
107 #pragma omp declare simd notinbranch aligned(a)
bay(VV v,double * & a)108 double bay(VV v, double *&a) { return 0; }
109 #pragma omp declare simd
110 #pragma omp declare simd inbranch linear(a : b) uniform(v, b)
bax(VV v,double * a,int b)111 void bax(VV v, double *a, int b) {}
112 #pragma omp declare simd uniform(q) aligned(q : 16) linear(k : 1)
foo(float * q,float x,int k)113 float foo(float *q, float x, int k) { return 0; }
114 #pragma omp declare simd notinbranch
foo(double x)115 double foo(double x) { return 0; }
116 
117 #pragma omp declare simd notinbranch linear(i)
constlinear(const int i)118 double constlinear(const int i) { return 0.0; }
119 
120 // CHECK-DAG: define {{.+}}@_Z5add_1Pf(
121 // CHECK-DAG: define {{.+}}@_Z1hIiEvPT_S1_S1_S1_(
122 // CHECK-DAG: define {{.+}}@_Z1hIfEvPT_S1_S1_S1_(
123 // CHECK-DAG: define {{.+}}@_ZN2VV3addEii(
124 // CHECK-DAG: define {{.+}}@_ZN2VV6taddpfEPfRS0_(
125 // CHECK-DAG: define {{.+}}@_ZN2VV4taddERA_iRi(
126 // CHECK-DAG: define {{.+}}@_Z1fRA_i(
127 // CHECK-DAG: define {{.+}}@_ZN3TVVILi16EfE6taddpfEPfRS1_(
128 // CHECK-DAG: define {{.+}}@_ZN3TVVILi16EfE4taddEi(
129 // CHECK-DAG: define {{.+}}@_Z3fooILi64EEvRAT__iRPf(
130 // CHECK-DAG: define {{.+}}@_Z3bar2VVPf(
131 // CHECK-DAG: define {{.+}}@_Z3baz2VVPi(
132 // CHECK-DAG: define {{.+}}@_Z3bay2VVRPd(
133 // CHECK-DAG: define {{.+}}@_Z3bax2VVPdi(
134 // CHECK-DAG: define {{.+}}@_Z3fooPffi(
135 // CHECK-DAG: define {{.+}}@_Z3food(
136 // CHECK-DAG: declare {{.+}}@_Z5add_2Pf(
137 // CHECK-DAG: define {{.+}}@_Z11constlineari(
138 
139 // CHECK-DAG: "_ZGVbM4l32__Z5add_1Pf"
140 // CHECK-DAG: "_ZGVbN4l32__Z5add_1Pf"
141 // CHECK-DAG: "_ZGVcM8l32__Z5add_1Pf"
142 // CHECK-DAG: "_ZGVcN8l32__Z5add_1Pf"
143 // CHECK-DAG: "_ZGVdM8l32__Z5add_1Pf"
144 // CHECK-DAG: "_ZGVdN8l32__Z5add_1Pf"
145 // CHECK-DAG: "_ZGVeM16l32__Z5add_1Pf"
146 // CHECK-DAG: "_ZGVeN16l32__Z5add_1Pf"
147 // CHECK-DAG: "_ZGVbM32v__Z5add_1Pf"
148 // CHECK-DAG: "_ZGVcM32v__Z5add_1Pf"
149 // CHECK-DAG: "_ZGVdM32v__Z5add_1Pf"
150 // CHECK-DAG: "_ZGVeM32v__Z5add_1Pf"
151 // CHECK-DAG: "_ZGVbN2v__Z5add_1Pf"
152 // CHECK-DAG: "_ZGVcN4v__Z5add_1Pf"
153 // CHECK-DAG: "_ZGVdN4v__Z5add_1Pf"
154 // CHECK-DAG: "_ZGVeN8v__Z5add_1Pf"
155 
156 // CHECK-DAG: "_ZGVbM2va16va16vv__Z1hIiEvPT_S1_S1_S1_"
157 // CHECK-DAG: "_ZGVbN2va16va16vv__Z1hIiEvPT_S1_S1_S1_"
158 // CHECK-DAG: "_ZGVcM4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
159 // CHECK-DAG: "_ZGVcN4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
160 // CHECK-DAG: "_ZGVdM4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
161 // CHECK-DAG: "_ZGVdN4va16va16vv__Z1hIiEvPT_S1_S1_S1_"
162 // CHECK-DAG: "_ZGVeM8va16va16vv__Z1hIiEvPT_S1_S1_S1_"
163 // CHECK-DAG: "_ZGVeN8va16va16vv__Z1hIiEvPT_S1_S1_S1_"
164 
165 // CHECK-DAG: "_ZGVbM2va16va16vv__Z1hIfEvPT_S1_S1_S1_"
166 // CHECK-DAG: "_ZGVbN2va16va16vv__Z1hIfEvPT_S1_S1_S1_"
167 // CHECK-DAG: "_ZGVcM4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
168 // CHECK-DAG: "_ZGVcN4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
169 // CHECK-DAG: "_ZGVdM4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
170 // CHECK-DAG: "_ZGVdN4va16va16vv__Z1hIfEvPT_S1_S1_S1_"
171 // CHECK-DAG: "_ZGVeM8va16va16vv__Z1hIfEvPT_S1_S1_S1_"
172 // CHECK-DAG: "_ZGVeN8va16va16vv__Z1hIfEvPT_S1_S1_S1_"
173 
174 // CHECK-DAG: "_ZGVbM4uus1__ZN2VV3addEii"
175 // CHECK-DAG: "_ZGVbN4uus1__ZN2VV3addEii"
176 // CHECK-DAG: "_ZGVcM8uus1__ZN2VV3addEii"
177 // CHECK-DAG: "_ZGVcN8uus1__ZN2VV3addEii"
178 // CHECK-DAG: "_ZGVdM8uus1__ZN2VV3addEii"
179 // CHECK-DAG: "_ZGVdN8uus1__ZN2VV3addEii"
180 // CHECK-DAG: "_ZGVeM16uus1__ZN2VV3addEii"
181 // CHECK-DAG: "_ZGVeN16uus1__ZN2VV3addEii"
182 
183 // CHECK-DAG: "_ZGVbM4ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
184 // CHECK-DAG: "_ZGVbN4ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
185 // CHECK-DAG: "_ZGVcM8ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
186 // CHECK-DAG: "_ZGVcN8ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
187 // CHECK-DAG: "_ZGVdM8ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
188 // CHECK-DAG: "_ZGVdN8ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
189 // CHECK-DAG: "_ZGVeM16ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
190 // CHECK-DAG: "_ZGVeN16ll4a16l4a4__ZN2VV6taddpfEPfRS0_"
191 
192 // CHECK-DAG: "_ZGVbM4vvl8__ZN2VV4taddERA_iRi"
193 // CHECK-DAG: "_ZGVbN4vvl8__ZN2VV4taddERA_iRi"
194 // CHECK-DAG: "_ZGVcM8vvl8__ZN2VV4taddERA_iRi"
195 // CHECK-DAG: "_ZGVcN8vvl8__ZN2VV4taddERA_iRi"
196 // CHECK-DAG: "_ZGVdM8vvl8__ZN2VV4taddERA_iRi"
197 // CHECK-DAG: "_ZGVdN8vvl8__ZN2VV4taddERA_iRi"
198 // CHECK-DAG: "_ZGVeM16vvl8__ZN2VV4taddERA_iRi"
199 // CHECK-DAG: "_ZGVeN16vvl8__ZN2VV4taddERA_iRi"
200 // CHECK-DAG: "_ZGVbM4vva8v__ZN2VV4taddERA_iRi"
201 // CHECK-DAG: "_ZGVbN4vva8v__ZN2VV4taddERA_iRi"
202 // CHECK-DAG: "_ZGVcM8vva8v__ZN2VV4taddERA_iRi"
203 // CHECK-DAG: "_ZGVcN8vva8v__ZN2VV4taddERA_iRi"
204 // CHECK-DAG: "_ZGVdM8vva8v__ZN2VV4taddERA_iRi"
205 // CHECK-DAG: "_ZGVdN8vva8v__ZN2VV4taddERA_iRi"
206 // CHECK-DAG: "_ZGVeM16vva8v__ZN2VV4taddERA_iRi"
207 // CHECK-DAG: "_ZGVeN16vva8v__ZN2VV4taddERA_iRi"
208 
209 // CHECK-DAG: "_ZGVbM4vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
210 // CHECK-DAG: "_ZGVbN4vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
211 // CHECK-DAG: "_ZGVcM8vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
212 // CHECK-DAG: "_ZGVcN8vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
213 // CHECK-DAG: "_ZGVdM8vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
214 // CHECK-DAG: "_ZGVdN8vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
215 // CHECK-DAG: "_ZGVeM16vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
216 // CHECK-DAG: "_ZGVeN16vva32l16a16__ZN3TVVILi16EfE6taddpfEPfRS1_"
217 
218 // CHECK-DAG: "_ZGVbM4uu__ZN3TVVILi16EfE4taddEi"
219 // CHECK-DAG: "_ZGVbN4uu__ZN3TVVILi16EfE4taddEi"
220 // CHECK-DAG: "_ZGVcM8uu__ZN3TVVILi16EfE4taddEi"
221 // CHECK-DAG: "_ZGVcN8uu__ZN3TVVILi16EfE4taddEi"
222 // CHECK-DAG: "_ZGVdM8uu__ZN3TVVILi16EfE4taddEi"
223 // CHECK-DAG: "_ZGVdN8uu__ZN3TVVILi16EfE4taddEi"
224 // CHECK-DAG: "_ZGVeM16uu__ZN3TVVILi16EfE4taddEi"
225 // CHECK-DAG: "_ZGVeN16uu__ZN3TVVILi16EfE4taddEi"
226 // CHECK-DAG: "_ZGVbM4vv__ZN3TVVILi16EfE4taddEi"
227 // CHECK-DAG: "_ZGVbN4vv__ZN3TVVILi16EfE4taddEi"
228 // CHECK-DAG: "_ZGVcM8vv__ZN3TVVILi16EfE4taddEi"
229 // CHECK-DAG: "_ZGVcN8vv__ZN3TVVILi16EfE4taddEi"
230 // CHECK-DAG: "_ZGVdM8vv__ZN3TVVILi16EfE4taddEi"
231 // CHECK-DAG: "_ZGVdN8vv__ZN3TVVILi16EfE4taddEi"
232 // CHECK-DAG: "_ZGVeM16vv__ZN3TVVILi16EfE4taddEi"
233 // CHECK-DAG: "_ZGVeN16vv__ZN3TVVILi16EfE4taddEi"
234 
235 // CHECK-DAG: "_ZGVbM64va128l64__Z3fooILi64EEvRAT__iRPf"
236 // CHECK-DAG: "_ZGVbN64va128l64__Z3fooILi64EEvRAT__iRPf"
237 // CHECK-DAG: "_ZGVcM64va128l64__Z3fooILi64EEvRAT__iRPf"
238 // CHECK-DAG: "_ZGVcN64va128l64__Z3fooILi64EEvRAT__iRPf"
239 // CHECK-DAG: "_ZGVdM64va128l64__Z3fooILi64EEvRAT__iRPf"
240 // CHECK-DAG: "_ZGVdN64va128l64__Z3fooILi64EEvRAT__iRPf"
241 // CHECK-DAG: "_ZGVeM64va128l64__Z3fooILi64EEvRAT__iRPf"
242 // CHECK-DAG: "_ZGVeN64va128l64__Z3fooILi64EEvRAT__iRPf"
243 
244 // CHECK-DAG: "_ZGVbM4vv__Z3bar2VVPf"
245 // CHECK-DAG: "_ZGVbN4vv__Z3bar2VVPf"
246 // CHECK-DAG: "_ZGVcM8vv__Z3bar2VVPf"
247 // CHECK-DAG: "_ZGVcN8vv__Z3bar2VVPf"
248 // CHECK-DAG: "_ZGVdM8vv__Z3bar2VVPf"
249 // CHECK-DAG: "_ZGVdN8vv__Z3bar2VVPf"
250 // CHECK-DAG: "_ZGVeM16vv__Z3bar2VVPf"
251 // CHECK-DAG: "_ZGVeN16vv__Z3bar2VVPf"
252 // CHECK-DAG: "_ZGVbN4vva32__Z3bar2VVPf"
253 // CHECK-DAG: "_ZGVcN8vva32__Z3bar2VVPf"
254 // CHECK-DAG: "_ZGVdN8vva32__Z3bar2VVPf"
255 // CHECK-DAG: "_ZGVeN16vva32__Z3bar2VVPf"
256 
257 // CHECK-DAG: "_ZGVbM4vv__Z3baz2VVPi"
258 // CHECK-DAG: "_ZGVbN4vv__Z3baz2VVPi"
259 // CHECK-DAG: "_ZGVcM8vv__Z3baz2VVPi"
260 // CHECK-DAG: "_ZGVcN8vv__Z3baz2VVPi"
261 // CHECK-DAG: "_ZGVdM8vv__Z3baz2VVPi"
262 // CHECK-DAG: "_ZGVdN8vv__Z3baz2VVPi"
263 // CHECK-DAG: "_ZGVeM16vv__Z3baz2VVPi"
264 // CHECK-DAG: "_ZGVeN16vv__Z3baz2VVPi"
265 // CHECK-DAG: "_ZGVbN4vva16__Z3baz2VVPi"
266 // CHECK-DAG: "_ZGVcN8vva16__Z3baz2VVPi"
267 // CHECK-DAG: "_ZGVdN8vva16__Z3baz2VVPi"
268 // CHECK-DAG: "_ZGVeN16vva16__Z3baz2VVPi"
269 
270 // CHECK-DAG: "_ZGVbM2vv__Z3bay2VVRPd"
271 // CHECK-DAG: "_ZGVbN2vv__Z3bay2VVRPd"
272 // CHECK-DAG: "_ZGVcM4vv__Z3bay2VVRPd"
273 // CHECK-DAG: "_ZGVcN4vv__Z3bay2VVRPd"
274 // CHECK-DAG: "_ZGVdM4vv__Z3bay2VVRPd"
275 // CHECK-DAG: "_ZGVdN4vv__Z3bay2VVRPd"
276 // CHECK-DAG: "_ZGVeM8vv__Z3bay2VVRPd"
277 // CHECK-DAG: "_ZGVeN8vv__Z3bay2VVRPd"
278 // CHECK-DAG: "_ZGVbN2vva16__Z3bay2VVRPd"
279 // CHECK-DAG: "_ZGVcN4vva16__Z3bay2VVRPd"
280 // CHECK-DAG: "_ZGVdN4vva16__Z3bay2VVRPd"
281 // CHECK-DAG: "_ZGVeN8vva16__Z3bay2VVRPd"
282 
283 // CHECK-DAG: "_ZGVbM4us2u__Z3bax2VVPdi"
284 // CHECK-DAG: "_ZGVcM8us2u__Z3bax2VVPdi"
285 // CHECK-DAG: "_ZGVdM8us2u__Z3bax2VVPdi"
286 // CHECK-DAG: "_ZGVeM16us2u__Z3bax2VVPdi"
287 // CHECK-DAG: "_ZGVbM4vvv__Z3bax2VVPdi"
288 // CHECK-DAG: "_ZGVbN4vvv__Z3bax2VVPdi"
289 // CHECK-DAG: "_ZGVcM8vvv__Z3bax2VVPdi"
290 // CHECK-DAG: "_ZGVcN8vvv__Z3bax2VVPdi"
291 // CHECK-DAG: "_ZGVdM8vvv__Z3bax2VVPdi"
292 // CHECK-DAG: "_ZGVdN8vvv__Z3bax2VVPdi"
293 // CHECK-DAG: "_ZGVeM16vvv__Z3bax2VVPdi"
294 // CHECK-DAG: "_ZGVeN16vvv__Z3bax2VVPdi"
295 
296 // CHECK-DAG: "_ZGVbM4ua16vl__Z3fooPffi"
297 // CHECK-DAG: "_ZGVbN4ua16vl__Z3fooPffi"
298 // CHECK-DAG: "_ZGVcM8ua16vl__Z3fooPffi"
299 // CHECK-DAG: "_ZGVcN8ua16vl__Z3fooPffi"
300 // CHECK-DAG: "_ZGVdM8ua16vl__Z3fooPffi"
301 // CHECK-DAG: "_ZGVdN8ua16vl__Z3fooPffi"
302 // CHECK-DAG: "_ZGVeM16ua16vl__Z3fooPffi"
303 // CHECK-DAG: "_ZGVeN16ua16vl__Z3fooPffi"
304 
305 // CHECK-DAG: "_ZGVbM4l32__Z5add_2Pf"
306 // CHECK-DAG: "_ZGVbN4l32__Z5add_2Pf"
307 // CHECK-DAG: "_ZGVcM8l32__Z5add_2Pf"
308 // CHECK-DAG: "_ZGVcN8l32__Z5add_2Pf"
309 // CHECK-DAG: "_ZGVdM8l32__Z5add_2Pf"
310 // CHECK-DAG: "_ZGVdN8l32__Z5add_2Pf"
311 // CHECK-DAG: "_ZGVeM16l32__Z5add_2Pf"
312 // CHECK-DAG: "_ZGVeN16l32__Z5add_2Pf"
313 // CHECK-DAG: "_ZGVbM32v__Z5add_2Pf"
314 // CHECK-DAG: "_ZGVcM32v__Z5add_2Pf"
315 // CHECK-DAG: "_ZGVdM32v__Z5add_2Pf"
316 // CHECK-DAG: "_ZGVeM32v__Z5add_2Pf"
317 // CHECK-DAG: "_ZGVbN2v__Z5add_2Pf"
318 // CHECK-DAG: "_ZGVcN4v__Z5add_2Pf"
319 // CHECK-DAG: "_ZGVdN4v__Z5add_2Pf"
320 // CHECK-DAG: "_ZGVeN8v__Z5add_2Pf"
321 
322 // CHECK-DAG: "_ZGVbN2v__Z3food"
323 // CHECK-DAG: "_ZGVcN4v__Z3food"
324 // CHECK-DAG: "_ZGVdN4v__Z3food"
325 // CHECK-DAG: "_ZGVeN8v__Z3food"
326 
327 // CHECK-DAG: "_ZGVbN2l__Z11constlineari"
328 // CHECK-DAG: "_ZGVcN4l__Z11constlineari"
329 // CHECK-DAG: "_ZGVdN4l__Z11constlineari"
330 // CHECK-DAG: "_ZGVeN8l__Z11constlineari"
331 
332 // CHECK-NOT: "_ZGV{{.+}}__Z1fRA_i
333 
334 #endif
335