Lines Matching refs:element
5 ; Test v16i8 extraction from the first element.
10 %element = extractelement <16 x i8> %val, i32 0
11 store i8 %element, i8 *%ptr
15 ; Test v16i8 extraction from the last element.
20 %element = extractelement <16 x i8> %val, i32 15
21 store i8 %element, i8 *%ptr
25 ; Test v16i8 extraction of an invalid element. This must compile,
31 %element = extractelement <16 x i8> %val, i32 16
32 store i8 %element, i8 *%ptr
42 %element = extractelement <16 x i8> %val, i32 10
43 store i8 %element, i8 *%ptr
54 %element = extractelement <16 x i8> %val, i32 5
55 store i8 %element, i8 *%ptr
59 ; Test v16i8 extraction from a variable element.
64 %element = extractelement <16 x i8> %val, i32 %index
65 store i8 %element, i8 *%ptr
69 ; Test v8i16 extraction from the first element.
74 %element = extractelement <8 x i16> %val, i32 0
75 store i16 %element, i16 *%ptr
79 ; Test v8i16 extraction from the last element.
84 %element = extractelement <8 x i16> %val, i32 7
85 store i16 %element, i16 *%ptr
89 ; Test v8i16 extraction of an invalid element. This must compile,
95 %element = extractelement <8 x i16> %val, i32 8
96 store i16 %element, i16 *%ptr
106 %element = extractelement <8 x i16> %val, i32 5
107 store i16 %element, i16 *%ptr
118 %element = extractelement <8 x i16> %val, i32 1
119 store i16 %element, i16 *%ptr
123 ; Test v8i16 extraction from a variable element.
128 %element = extractelement <8 x i16> %val, i32 %index
129 store i16 %element, i16 *%ptr
133 ; Test v4i32 extraction from the first element.
138 %element = extractelement <4 x i32> %val, i32 0
139 store i32 %element, i32 *%ptr
143 ; Test v4i32 extraction from the last element.
148 %element = extractelement <4 x i32> %val, i32 3
149 store i32 %element, i32 *%ptr
153 ; Test v4i32 extraction of an invalid element. This must compile,
159 %element = extractelement <4 x i32> %val, i32 4
160 store i32 %element, i32 *%ptr
170 %element = extractelement <4 x i32> %val, i32 2
171 store i32 %element, i32 *%ptr
182 %element = extractelement <4 x i32> %val, i32 1
183 store i32 %element, i32 *%ptr
187 ; Test v4i32 extraction from a variable element.
192 %element = extractelement <4 x i32> %val, i32 %index
193 store i32 %element, i32 *%ptr
197 ; Test v2i64 extraction from the first element.
202 %element = extractelement <2 x i64> %val, i32 0
203 store i64 %element, i64 *%ptr
207 ; Test v2i64 extraction from the last element.
212 %element = extractelement <2 x i64> %val, i32 1
213 store i64 %element, i64 *%ptr
217 ; Test v2i64 extraction of an invalid element. This must compile,
223 %element = extractelement <2 x i64> %val, i32 2
224 store i64 %element, i64 *%ptr
234 %element = extractelement <2 x i64> %val, i32 1
235 store i64 %element, i64 *%ptr
246 %element = extractelement <2 x i64> %val, i32 0
247 store i64 %element, i64 *%ptr
251 ; Test v2i64 extraction from a variable element.
256 %element = extractelement <2 x i64> %val, i32 %index
257 store i64 %element, i64 *%ptr
261 ; Test v4f32 extraction from the first element.
266 %element = extractelement <4 x float> %val, i32 0
267 store float %element, float *%ptr
271 ; Test v4f32 extraction from the last element.
276 %element = extractelement <4 x float> %val, i32 3
277 store float %element, float *%ptr
281 ; Test v4f32 extraction of an invalid element. This must compile,
287 %element = extractelement <4 x float> %val, i32 4
288 store float %element, float *%ptr
298 %element = extractelement <4 x float> %val, i32 2
299 store float %element, float *%ptr
310 %element = extractelement <4 x float> %val, i32 1
311 store float %element, float *%ptr
315 ; Test v4f32 extraction from a variable element.
320 %element = extractelement <4 x float> %val, i32 %index
321 store float %element, float *%ptr
325 ; Test v2f64 extraction from the first element.
330 %element = extractelement <2 x double> %val, i32 0
331 store double %element, double *%ptr
335 ; Test v2f64 extraction from the last element.
340 %element = extractelement <2 x double> %val, i32 1
341 store double %element, double *%ptr
351 %element = extractelement <2 x double> %val, i32 1
352 store double %element, double *%ptr
363 %element = extractelement <2 x double> %val, i32 0
364 store double %element, double *%ptr
368 ; Test v2f64 extraction from a variable element.
373 %element = extractelement <2 x double> %val, i32 %index
374 store double %element, double *%ptr
378 ; Test a v4i32 scatter of the first element.
387 %element = extractelement <4 x i32> %val, i32 0
388 store i32 %element, i32 *%ptr
392 ; Test a v4i32 scatter of the last element.
401 %element = extractelement <4 x i32> %val, i32 3
402 store i32 %element, i32 *%ptr
416 %element = extractelement <4 x i32> %val, i32 1
417 store i32 %element, i32 *%ptr
421 ; Test a v2i64 scatter of the first element.
429 %element = extractelement <2 x i64> %val, i32 0
430 store i64 %element, i64 *%ptr
434 ; Test a v2i64 scatter of the last element.
442 %element = extractelement <2 x i64> %val, i32 1
443 store i64 %element, i64 *%ptr
447 ; Test a v4f32 scatter of the first element.
456 %element = extractelement <4 x float> %val, i32 0
457 store float %element, float *%ptr
461 ; Test a v4f32 scatter of the last element.
470 %element = extractelement <4 x float> %val, i32 3
471 store float %element, float *%ptr
475 ; Test a v2f64 scatter of the first element.
483 %element = extractelement <2 x double> %val, i32 0
484 store double %element, double *%ptr
488 ; Test a v2f64 scatter of the last element.
496 %element = extractelement <2 x double> %val, i32 1
497 store double %element, double *%ptr