1 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
3 define <8 x i8> @vqshls8(ptr %A, ptr %B) nounwind {
6 %tmp1 = load <8 x i8>, ptr %A
7 %tmp2 = load <8 x i8>, ptr %B
8 %tmp3 = call <8 x i8> @llvm.arm.neon.vqshifts.v8i8(<8 x i8> %tmp1, <8 x i8> %tmp2)
12 define <4 x i16> @vqshls16(ptr %A, ptr %B) nounwind {
13 ;CHECK-LABEL: vqshls16:
15 %tmp1 = load <4 x i16>, ptr %A
16 %tmp2 = load <4 x i16>, ptr %B
17 %tmp3 = call <4 x i16> @llvm.arm.neon.vqshifts.v4i16(<4 x i16> %tmp1, <4 x i16> %tmp2)
21 define <2 x i32> @vqshls32(ptr %A, ptr %B) nounwind {
22 ;CHECK-LABEL: vqshls32:
24 %tmp1 = load <2 x i32>, ptr %A
25 %tmp2 = load <2 x i32>, ptr %B
26 %tmp3 = call <2 x i32> @llvm.arm.neon.vqshifts.v2i32(<2 x i32> %tmp1, <2 x i32> %tmp2)
30 define <1 x i64> @vqshls64(ptr %A, ptr %B) nounwind {
31 ;CHECK-LABEL: vqshls64:
33 %tmp1 = load <1 x i64>, ptr %A
34 %tmp2 = load <1 x i64>, ptr %B
35 %tmp3 = call <1 x i64> @llvm.arm.neon.vqshifts.v1i64(<1 x i64> %tmp1, <1 x i64> %tmp2)
39 define <8 x i8> @vqshlu8(ptr %A, ptr %B) nounwind {
40 ;CHECK-LABEL: vqshlu8:
42 %tmp1 = load <8 x i8>, ptr %A
43 %tmp2 = load <8 x i8>, ptr %B
44 %tmp3 = call <8 x i8> @llvm.arm.neon.vqshiftu.v8i8(<8 x i8> %tmp1, <8 x i8> %tmp2)
48 define <4 x i16> @vqshlu16(ptr %A, ptr %B) nounwind {
49 ;CHECK-LABEL: vqshlu16:
51 %tmp1 = load <4 x i16>, ptr %A
52 %tmp2 = load <4 x i16>, ptr %B
53 %tmp3 = call <4 x i16> @llvm.arm.neon.vqshiftu.v4i16(<4 x i16> %tmp1, <4 x i16> %tmp2)
57 define <2 x i32> @vqshlu32(ptr %A, ptr %B) nounwind {
58 ;CHECK-LABEL: vqshlu32:
60 %tmp1 = load <2 x i32>, ptr %A
61 %tmp2 = load <2 x i32>, ptr %B
62 %tmp3 = call <2 x i32> @llvm.arm.neon.vqshiftu.v2i32(<2 x i32> %tmp1, <2 x i32> %tmp2)
66 define <1 x i64> @vqshlu64(ptr %A, ptr %B) nounwind {
67 ;CHECK-LABEL: vqshlu64:
69 %tmp1 = load <1 x i64>, ptr %A
70 %tmp2 = load <1 x i64>, ptr %B
71 %tmp3 = call <1 x i64> @llvm.arm.neon.vqshiftu.v1i64(<1 x i64> %tmp1, <1 x i64> %tmp2)
75 define <16 x i8> @vqshlQs8(ptr %A, ptr %B) nounwind {
76 ;CHECK-LABEL: vqshlQs8:
78 %tmp1 = load <16 x i8>, ptr %A
79 %tmp2 = load <16 x i8>, ptr %B
80 %tmp3 = call <16 x i8> @llvm.arm.neon.vqshifts.v16i8(<16 x i8> %tmp1, <16 x i8> %tmp2)
84 define <8 x i16> @vqshlQs16(ptr %A, ptr %B) nounwind {
85 ;CHECK-LABEL: vqshlQs16:
87 %tmp1 = load <8 x i16>, ptr %A
88 %tmp2 = load <8 x i16>, ptr %B
89 %tmp3 = call <8 x i16> @llvm.arm.neon.vqshifts.v8i16(<8 x i16> %tmp1, <8 x i16> %tmp2)
93 define <4 x i32> @vqshlQs32(ptr %A, ptr %B) nounwind {
94 ;CHECK-LABEL: vqshlQs32:
96 %tmp1 = load <4 x i32>, ptr %A
97 %tmp2 = load <4 x i32>, ptr %B
98 %tmp3 = call <4 x i32> @llvm.arm.neon.vqshifts.v4i32(<4 x i32> %tmp1, <4 x i32> %tmp2)
102 define <2 x i64> @vqshlQs64(ptr %A, ptr %B) nounwind {
103 ;CHECK-LABEL: vqshlQs64:
105 %tmp1 = load <2 x i64>, ptr %A
106 %tmp2 = load <2 x i64>, ptr %B
107 %tmp3 = call <2 x i64> @llvm.arm.neon.vqshifts.v2i64(<2 x i64> %tmp1, <2 x i64> %tmp2)
111 define <16 x i8> @vqshlQu8(ptr %A, ptr %B) nounwind {
112 ;CHECK-LABEL: vqshlQu8:
114 %tmp1 = load <16 x i8>, ptr %A
115 %tmp2 = load <16 x i8>, ptr %B
116 %tmp3 = call <16 x i8> @llvm.arm.neon.vqshiftu.v16i8(<16 x i8> %tmp1, <16 x i8> %tmp2)
120 define <8 x i16> @vqshlQu16(ptr %A, ptr %B) nounwind {
121 ;CHECK-LABEL: vqshlQu16:
123 %tmp1 = load <8 x i16>, ptr %A
124 %tmp2 = load <8 x i16>, ptr %B
125 %tmp3 = call <8 x i16> @llvm.arm.neon.vqshiftu.v8i16(<8 x i16> %tmp1, <8 x i16> %tmp2)
129 define <4 x i32> @vqshlQu32(ptr %A, ptr %B) nounwind {
130 ;CHECK-LABEL: vqshlQu32:
132 %tmp1 = load <4 x i32>, ptr %A
133 %tmp2 = load <4 x i32>, ptr %B
134 %tmp3 = call <4 x i32> @llvm.arm.neon.vqshiftu.v4i32(<4 x i32> %tmp1, <4 x i32> %tmp2)
138 define <2 x i64> @vqshlQu64(ptr %A, ptr %B) nounwind {
139 ;CHECK-LABEL: vqshlQu64:
141 %tmp1 = load <2 x i64>, ptr %A
142 %tmp2 = load <2 x i64>, ptr %B
143 %tmp3 = call <2 x i64> @llvm.arm.neon.vqshiftu.v2i64(<2 x i64> %tmp1, <2 x i64> %tmp2)
147 define <8 x i8> @vqshls_n8(ptr %A) nounwind {
148 ;CHECK-LABEL: vqshls_n8:
149 ;CHECK: vqshl.s8{{.*#7}}
150 %tmp1 = load <8 x i8>, ptr %A
151 %tmp2 = call <8 x i8> @llvm.arm.neon.vqshifts.v8i8(<8 x i8> %tmp1, <8 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
155 define <4 x i16> @vqshls_n16(ptr %A) nounwind {
156 ;CHECK-LABEL: vqshls_n16:
157 ;CHECK: vqshl.s16{{.*#15}}
158 %tmp1 = load <4 x i16>, ptr %A
159 %tmp2 = call <4 x i16> @llvm.arm.neon.vqshifts.v4i16(<4 x i16> %tmp1, <4 x i16> < i16 15, i16 15, i16 15, i16 15 >)
163 define <2 x i32> @vqshls_n32(ptr %A) nounwind {
164 ;CHECK-LABEL: vqshls_n32:
165 ;CHECK: vqshl.s32{{.*#31}}
166 %tmp1 = load <2 x i32>, ptr %A
167 %tmp2 = call <2 x i32> @llvm.arm.neon.vqshifts.v2i32(<2 x i32> %tmp1, <2 x i32> < i32 31, i32 31 >)
171 define <1 x i64> @vqshls_n64(ptr %A) nounwind {
172 ;CHECK-LABEL: vqshls_n64:
173 ;CHECK: vqshl.s64{{.*#63}}
174 %tmp1 = load <1 x i64>, ptr %A
175 %tmp2 = call <1 x i64> @llvm.arm.neon.vqshifts.v1i64(<1 x i64> %tmp1, <1 x i64> < i64 63 >)
179 define <8 x i8> @vqshlu_n8(ptr %A) nounwind {
180 ;CHECK-LABEL: vqshlu_n8:
181 ;CHECK: vqshl.u8{{.*#7}}
182 %tmp1 = load <8 x i8>, ptr %A
183 %tmp2 = call <8 x i8> @llvm.arm.neon.vqshiftu.v8i8(<8 x i8> %tmp1, <8 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
187 define <4 x i16> @vqshlu_n16(ptr %A) nounwind {
188 ;CHECK-LABEL: vqshlu_n16:
189 ;CHECK: vqshl.u16{{.*#15}}
190 %tmp1 = load <4 x i16>, ptr %A
191 %tmp2 = call <4 x i16> @llvm.arm.neon.vqshiftu.v4i16(<4 x i16> %tmp1, <4 x i16> < i16 15, i16 15, i16 15, i16 15 >)
195 define <2 x i32> @vqshlu_n32(ptr %A) nounwind {
196 ;CHECK-LABEL: vqshlu_n32:
197 ;CHECK: vqshl.u32{{.*#31}}
198 %tmp1 = load <2 x i32>, ptr %A
199 %tmp2 = call <2 x i32> @llvm.arm.neon.vqshiftu.v2i32(<2 x i32> %tmp1, <2 x i32> < i32 31, i32 31 >)
203 define <1 x i64> @vqshlu_n64(ptr %A) nounwind {
204 ;CHECK-LABEL: vqshlu_n64:
205 ;CHECK: vqshl.u64{{.*#63}}
206 %tmp1 = load <1 x i64>, ptr %A
207 %tmp2 = call <1 x i64> @llvm.arm.neon.vqshiftu.v1i64(<1 x i64> %tmp1, <1 x i64> < i64 63 >)
211 define <8 x i8> @vqshlsu_n8(ptr %A) nounwind {
212 ;CHECK-LABEL: vqshlsu_n8:
214 %tmp1 = load <8 x i8>, ptr %A
215 %tmp2 = call <8 x i8> @llvm.arm.neon.vqshiftsu.v8i8(<8 x i8> %tmp1, <8 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
219 define <4 x i16> @vqshlsu_n16(ptr %A) nounwind {
220 ;CHECK-LABEL: vqshlsu_n16:
222 %tmp1 = load <4 x i16>, ptr %A
223 %tmp2 = call <4 x i16> @llvm.arm.neon.vqshiftsu.v4i16(<4 x i16> %tmp1, <4 x i16> < i16 15, i16 15, i16 15, i16 15 >)
227 define <2 x i32> @vqshlsu_n32(ptr %A) nounwind {
228 ;CHECK-LABEL: vqshlsu_n32:
230 %tmp1 = load <2 x i32>, ptr %A
231 %tmp2 = call <2 x i32> @llvm.arm.neon.vqshiftsu.v2i32(<2 x i32> %tmp1, <2 x i32> < i32 31, i32 31 >)
235 define <1 x i64> @vqshlsu_n64(ptr %A) nounwind {
236 ;CHECK-LABEL: vqshlsu_n64:
238 %tmp1 = load <1 x i64>, ptr %A
239 %tmp2 = call <1 x i64> @llvm.arm.neon.vqshiftsu.v1i64(<1 x i64> %tmp1, <1 x i64> < i64 63 >)
243 define <16 x i8> @vqshlQs_n8(ptr %A) nounwind {
244 ;CHECK-LABEL: vqshlQs_n8:
245 ;CHECK: vqshl.s8{{.*#7}}
246 %tmp1 = load <16 x i8>, ptr %A
247 %tmp2 = call <16 x i8> @llvm.arm.neon.vqshifts.v16i8(<16 x i8> %tmp1, <16 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
251 define <8 x i16> @vqshlQs_n16(ptr %A) nounwind {
252 ;CHECK-LABEL: vqshlQs_n16:
253 ;CHECK: vqshl.s16{{.*#15}}
254 %tmp1 = load <8 x i16>, ptr %A
255 %tmp2 = call <8 x i16> @llvm.arm.neon.vqshifts.v8i16(<8 x i16> %tmp1, <8 x i16> < i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15 >)
259 define <4 x i32> @vqshlQs_n32(ptr %A) nounwind {
260 ;CHECK-LABEL: vqshlQs_n32:
261 ;CHECK: vqshl.s32{{.*#31}}
262 %tmp1 = load <4 x i32>, ptr %A
263 %tmp2 = call <4 x i32> @llvm.arm.neon.vqshifts.v4i32(<4 x i32> %tmp1, <4 x i32> < i32 31, i32 31, i32 31, i32 31 >)
267 define <2 x i64> @vqshlQs_n64(ptr %A) nounwind {
268 ;CHECK-LABEL: vqshlQs_n64:
269 ;CHECK: vqshl.s64{{.*#63}}
270 %tmp1 = load <2 x i64>, ptr %A
271 %tmp2 = call <2 x i64> @llvm.arm.neon.vqshifts.v2i64(<2 x i64> %tmp1, <2 x i64> < i64 63, i64 63 >)
275 define <16 x i8> @vqshlQu_n8(ptr %A) nounwind {
276 ;CHECK-LABEL: vqshlQu_n8:
277 ;CHECK: vqshl.u8{{.*#7}}
278 %tmp1 = load <16 x i8>, ptr %A
279 %tmp2 = call <16 x i8> @llvm.arm.neon.vqshiftu.v16i8(<16 x i8> %tmp1, <16 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
283 define <8 x i16> @vqshlQu_n16(ptr %A) nounwind {
284 ;CHECK-LABEL: vqshlQu_n16:
285 ;CHECK: vqshl.u16{{.*#15}}
286 %tmp1 = load <8 x i16>, ptr %A
287 %tmp2 = call <8 x i16> @llvm.arm.neon.vqshiftu.v8i16(<8 x i16> %tmp1, <8 x i16> < i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15 >)
291 define <4 x i32> @vqshlQu_n32(ptr %A) nounwind {
292 ;CHECK-LABEL: vqshlQu_n32:
293 ;CHECK: vqshl.u32{{.*#31}}
294 %tmp1 = load <4 x i32>, ptr %A
295 %tmp2 = call <4 x i32> @llvm.arm.neon.vqshiftu.v4i32(<4 x i32> %tmp1, <4 x i32> < i32 31, i32 31, i32 31, i32 31 >)
299 define <2 x i64> @vqshlQu_n64(ptr %A) nounwind {
300 ;CHECK-LABEL: vqshlQu_n64:
301 ;CHECK: vqshl.u64{{.*#63}}
302 %tmp1 = load <2 x i64>, ptr %A
303 %tmp2 = call <2 x i64> @llvm.arm.neon.vqshiftu.v2i64(<2 x i64> %tmp1, <2 x i64> < i64 63, i64 63 >)
307 define <16 x i8> @vqshlQsu_n8(ptr %A) nounwind {
308 ;CHECK-LABEL: vqshlQsu_n8:
310 %tmp1 = load <16 x i8>, ptr %A
311 %tmp2 = call <16 x i8> @llvm.arm.neon.vqshiftsu.v16i8(<16 x i8> %tmp1, <16 x i8> < i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7 >)
315 define <8 x i16> @vqshlQsu_n16(ptr %A) nounwind {
316 ;CHECK-LABEL: vqshlQsu_n16:
318 %tmp1 = load <8 x i16>, ptr %A
319 %tmp2 = call <8 x i16> @llvm.arm.neon.vqshiftsu.v8i16(<8 x i16> %tmp1, <8 x i16> < i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15 >)
323 define <4 x i32> @vqshlQsu_n32(ptr %A) nounwind {
324 ;CHECK-LABEL: vqshlQsu_n32:
326 %tmp1 = load <4 x i32>, ptr %A
327 %tmp2 = call <4 x i32> @llvm.arm.neon.vqshiftsu.v4i32(<4 x i32> %tmp1, <4 x i32> < i32 31, i32 31, i32 31, i32 31 >)
331 define <2 x i64> @vqshlQsu_n64(ptr %A) nounwind {
332 ;CHECK-LABEL: vqshlQsu_n64:
334 %tmp1 = load <2 x i64>, ptr %A
335 %tmp2 = call <2 x i64> @llvm.arm.neon.vqshiftsu.v2i64(<2 x i64> %tmp1, <2 x i64> < i64 63, i64 63 >)
339 declare <8 x i8> @llvm.arm.neon.vqshifts.v8i8(<8 x i8>, <8 x i8>) nounwind readnone
340 declare <4 x i16> @llvm.arm.neon.vqshifts.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
341 declare <2 x i32> @llvm.arm.neon.vqshifts.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
342 declare <1 x i64> @llvm.arm.neon.vqshifts.v1i64(<1 x i64>, <1 x i64>) nounwind readnone
344 declare <8 x i8> @llvm.arm.neon.vqshiftu.v8i8(<8 x i8>, <8 x i8>) nounwind readnone
345 declare <4 x i16> @llvm.arm.neon.vqshiftu.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
346 declare <2 x i32> @llvm.arm.neon.vqshiftu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
347 declare <1 x i64> @llvm.arm.neon.vqshiftu.v1i64(<1 x i64>, <1 x i64>) nounwind readnone
349 declare <8 x i8> @llvm.arm.neon.vqshiftsu.v8i8(<8 x i8>, <8 x i8>) nounwind readnone
350 declare <4 x i16> @llvm.arm.neon.vqshiftsu.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
351 declare <2 x i32> @llvm.arm.neon.vqshiftsu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
352 declare <1 x i64> @llvm.arm.neon.vqshiftsu.v1i64(<1 x i64>, <1 x i64>) nounwind readnone
354 declare <16 x i8> @llvm.arm.neon.vqshifts.v16i8(<16 x i8>, <16 x i8>) nounwind readnone
355 declare <8 x i16> @llvm.arm.neon.vqshifts.v8i16(<8 x i16>, <8 x i16>) nounwind readnone
356 declare <4 x i32> @llvm.arm.neon.vqshifts.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
357 declare <2 x i64> @llvm.arm.neon.vqshifts.v2i64(<2 x i64>, <2 x i64>) nounwind readnone
359 declare <16 x i8> @llvm.arm.neon.vqshiftu.v16i8(<16 x i8>, <16 x i8>) nounwind readnone
360 declare <8 x i16> @llvm.arm.neon.vqshiftu.v8i16(<8 x i16>, <8 x i16>) nounwind readnone
361 declare <4 x i32> @llvm.arm.neon.vqshiftu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
362 declare <2 x i64> @llvm.arm.neon.vqshiftu.v2i64(<2 x i64>, <2 x i64>) nounwind readnone
364 declare <16 x i8> @llvm.arm.neon.vqshiftsu.v16i8(<16 x i8>, <16 x i8>) nounwind readnone
365 declare <8 x i16> @llvm.arm.neon.vqshiftsu.v8i16(<8 x i16>, <8 x i16>) nounwind readnone
366 declare <4 x i32> @llvm.arm.neon.vqshiftsu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
367 declare <2 x i64> @llvm.arm.neon.vqshiftsu.v2i64(<2 x i64>, <2 x i64>) nounwind readnone
369 define <8 x i8> @vqrshls8(ptr %A, ptr %B) nounwind {
370 ;CHECK-LABEL: vqrshls8:
372 %tmp1 = load <8 x i8>, ptr %A
373 %tmp2 = load <8 x i8>, ptr %B
374 %tmp3 = call <8 x i8> @llvm.arm.neon.vqrshifts.v8i8(<8 x i8> %tmp1, <8 x i8> %tmp2)
378 define <4 x i16> @vqrshls16(ptr %A, ptr %B) nounwind {
379 ;CHECK-LABEL: vqrshls16:
381 %tmp1 = load <4 x i16>, ptr %A
382 %tmp2 = load <4 x i16>, ptr %B
383 %tmp3 = call <4 x i16> @llvm.arm.neon.vqrshifts.v4i16(<4 x i16> %tmp1, <4 x i16> %tmp2)
387 define <2 x i32> @vqrshls32(ptr %A, ptr %B) nounwind {
388 ;CHECK-LABEL: vqrshls32:
390 %tmp1 = load <2 x i32>, ptr %A
391 %tmp2 = load <2 x i32>, ptr %B
392 %tmp3 = call <2 x i32> @llvm.arm.neon.vqrshifts.v2i32(<2 x i32> %tmp1, <2 x i32> %tmp2)
396 define <1 x i64> @vqrshls64(ptr %A, ptr %B) nounwind {
397 ;CHECK-LABEL: vqrshls64:
399 %tmp1 = load <1 x i64>, ptr %A
400 %tmp2 = load <1 x i64>, ptr %B
401 %tmp3 = call <1 x i64> @llvm.arm.neon.vqrshifts.v1i64(<1 x i64> %tmp1, <1 x i64> %tmp2)
405 define <8 x i8> @vqrshlu8(ptr %A, ptr %B) nounwind {
406 ;CHECK-LABEL: vqrshlu8:
408 %tmp1 = load <8 x i8>, ptr %A
409 %tmp2 = load <8 x i8>, ptr %B
410 %tmp3 = call <8 x i8> @llvm.arm.neon.vqrshiftu.v8i8(<8 x i8> %tmp1, <8 x i8> %tmp2)
414 define <4 x i16> @vqrshlu16(ptr %A, ptr %B) nounwind {
415 ;CHECK-LABEL: vqrshlu16:
417 %tmp1 = load <4 x i16>, ptr %A
418 %tmp2 = load <4 x i16>, ptr %B
419 %tmp3 = call <4 x i16> @llvm.arm.neon.vqrshiftu.v4i16(<4 x i16> %tmp1, <4 x i16> %tmp2)
423 define <2 x i32> @vqrshlu32(ptr %A, ptr %B) nounwind {
424 ;CHECK-LABEL: vqrshlu32:
426 %tmp1 = load <2 x i32>, ptr %A
427 %tmp2 = load <2 x i32>, ptr %B
428 %tmp3 = call <2 x i32> @llvm.arm.neon.vqrshiftu.v2i32(<2 x i32> %tmp1, <2 x i32> %tmp2)
432 define <1 x i64> @vqrshlu64(ptr %A, ptr %B) nounwind {
433 ;CHECK-LABEL: vqrshlu64:
435 %tmp1 = load <1 x i64>, ptr %A
436 %tmp2 = load <1 x i64>, ptr %B
437 %tmp3 = call <1 x i64> @llvm.arm.neon.vqrshiftu.v1i64(<1 x i64> %tmp1, <1 x i64> %tmp2)
441 define <16 x i8> @vqrshlQs8(ptr %A, ptr %B) nounwind {
442 ;CHECK-LABEL: vqrshlQs8:
444 %tmp1 = load <16 x i8>, ptr %A
445 %tmp2 = load <16 x i8>, ptr %B
446 %tmp3 = call <16 x i8> @llvm.arm.neon.vqrshifts.v16i8(<16 x i8> %tmp1, <16 x i8> %tmp2)
450 define <8 x i16> @vqrshlQs16(ptr %A, ptr %B) nounwind {
451 ;CHECK-LABEL: vqrshlQs16:
453 %tmp1 = load <8 x i16>, ptr %A
454 %tmp2 = load <8 x i16>, ptr %B
455 %tmp3 = call <8 x i16> @llvm.arm.neon.vqrshifts.v8i16(<8 x i16> %tmp1, <8 x i16> %tmp2)
459 define <4 x i32> @vqrshlQs32(ptr %A, ptr %B) nounwind {
460 ;CHECK-LABEL: vqrshlQs32:
462 %tmp1 = load <4 x i32>, ptr %A
463 %tmp2 = load <4 x i32>, ptr %B
464 %tmp3 = call <4 x i32> @llvm.arm.neon.vqrshifts.v4i32(<4 x i32> %tmp1, <4 x i32> %tmp2)
468 define <2 x i64> @vqrshlQs64(ptr %A, ptr %B) nounwind {
469 ;CHECK-LABEL: vqrshlQs64:
471 %tmp1 = load <2 x i64>, ptr %A
472 %tmp2 = load <2 x i64>, ptr %B
473 %tmp3 = call <2 x i64> @llvm.arm.neon.vqrshifts.v2i64(<2 x i64> %tmp1, <2 x i64> %tmp2)
477 define <16 x i8> @vqrshlQu8(ptr %A, ptr %B) nounwind {
478 ;CHECK-LABEL: vqrshlQu8:
480 %tmp1 = load <16 x i8>, ptr %A
481 %tmp2 = load <16 x i8>, ptr %B
482 %tmp3 = call <16 x i8> @llvm.arm.neon.vqrshiftu.v16i8(<16 x i8> %tmp1, <16 x i8> %tmp2)
486 define <8 x i16> @vqrshlQu16(ptr %A, ptr %B) nounwind {
487 ;CHECK-LABEL: vqrshlQu16:
489 %tmp1 = load <8 x i16>, ptr %A
490 %tmp2 = load <8 x i16>, ptr %B
491 %tmp3 = call <8 x i16> @llvm.arm.neon.vqrshiftu.v8i16(<8 x i16> %tmp1, <8 x i16> %tmp2)
495 define <4 x i32> @vqrshlQu32(ptr %A, ptr %B) nounwind {
496 ;CHECK-LABEL: vqrshlQu32:
498 %tmp1 = load <4 x i32>, ptr %A
499 %tmp2 = load <4 x i32>, ptr %B
500 %tmp3 = call <4 x i32> @llvm.arm.neon.vqrshiftu.v4i32(<4 x i32> %tmp1, <4 x i32> %tmp2)
504 define <2 x i64> @vqrshlQu64(ptr %A, ptr %B) nounwind {
505 ;CHECK-LABEL: vqrshlQu64:
507 %tmp1 = load <2 x i64>, ptr %A
508 %tmp2 = load <2 x i64>, ptr %B
509 %tmp3 = call <2 x i64> @llvm.arm.neon.vqrshiftu.v2i64(<2 x i64> %tmp1, <2 x i64> %tmp2)
513 declare <8 x i8> @llvm.arm.neon.vqrshifts.v8i8(<8 x i8>, <8 x i8>) nounwind readnone
514 declare <4 x i16> @llvm.arm.neon.vqrshifts.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
515 declare <2 x i32> @llvm.arm.neon.vqrshifts.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
516 declare <1 x i64> @llvm.arm.neon.vqrshifts.v1i64(<1 x i64>, <1 x i64>) nounwind readnone
518 declare <8 x i8> @llvm.arm.neon.vqrshiftu.v8i8(<8 x i8>, <8 x i8>) nounwind readnone
519 declare <4 x i16> @llvm.arm.neon.vqrshiftu.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
520 declare <2 x i32> @llvm.arm.neon.vqrshiftu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
521 declare <1 x i64> @llvm.arm.neon.vqrshiftu.v1i64(<1 x i64>, <1 x i64>) nounwind readnone
523 declare <16 x i8> @llvm.arm.neon.vqrshifts.v16i8(<16 x i8>, <16 x i8>) nounwind readnone
524 declare <8 x i16> @llvm.arm.neon.vqrshifts.v8i16(<8 x i16>, <8 x i16>) nounwind readnone
525 declare <4 x i32> @llvm.arm.neon.vqrshifts.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
526 declare <2 x i64> @llvm.arm.neon.vqrshifts.v2i64(<2 x i64>, <2 x i64>) nounwind readnone
528 declare <16 x i8> @llvm.arm.neon.vqrshiftu.v16i8(<16 x i8>, <16 x i8>) nounwind readnone
529 declare <8 x i16> @llvm.arm.neon.vqrshiftu.v8i16(<8 x i16>, <8 x i16>) nounwind readnone
530 declare <4 x i32> @llvm.arm.neon.vqrshiftu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
531 declare <2 x i64> @llvm.arm.neon.vqrshiftu.v2i64(<2 x i64>, <2 x i64>) nounwind readnone