• Home
  • Raw
  • Download

Lines Matching refs:element

5 ; Test v16i8 insertion into the first element.
6 define <16 x i8> @f1(<16 x i8> %val, i8 %element) {
10 %ret = insertelement <16 x i8> %val, i8 %element, i32 0
14 ; Test v16i8 insertion into the last element.
15 define <16 x i8> @f2(<16 x i8> %val, i8 %element) {
19 %ret = insertelement <16 x i8> %val, i8 %element, i32 15
23 ; Test v16i8 insertion into a variable element.
24 define <16 x i8> @f3(<16 x i8> %val, i8 %element, i32 %index) {
28 %ret = insertelement <16 x i8> %val, i8 %element, i32 %index
32 ; Test v8i16 insertion into the first element.
33 define <8 x i16> @f4(<8 x i16> %val, i16 %element) {
37 %ret = insertelement <8 x i16> %val, i16 %element, i32 0
41 ; Test v8i16 insertion into the last element.
42 define <8 x i16> @f5(<8 x i16> %val, i16 %element) {
46 %ret = insertelement <8 x i16> %val, i16 %element, i32 7
50 ; Test v8i16 insertion into a variable element.
51 define <8 x i16> @f6(<8 x i16> %val, i16 %element, i32 %index) {
55 %ret = insertelement <8 x i16> %val, i16 %element, i32 %index
59 ; Test v4i32 insertion into the first element.
60 define <4 x i32> @f7(<4 x i32> %val, i32 %element) {
64 %ret = insertelement <4 x i32> %val, i32 %element, i32 0
68 ; Test v4i32 insertion into the last element.
69 define <4 x i32> @f8(<4 x i32> %val, i32 %element) {
73 %ret = insertelement <4 x i32> %val, i32 %element, i32 3
77 ; Test v4i32 insertion into a variable element.
78 define <4 x i32> @f9(<4 x i32> %val, i32 %element, i32 %index) {
82 %ret = insertelement <4 x i32> %val, i32 %element, i32 %index
86 ; Test v2i64 insertion into the first element.
87 define <2 x i64> @f10(<2 x i64> %val, i64 %element) {
91 %ret = insertelement <2 x i64> %val, i64 %element, i32 0
95 ; Test v2i64 insertion into the last element.
96 define <2 x i64> @f11(<2 x i64> %val, i64 %element) {
100 %ret = insertelement <2 x i64> %val, i64 %element, i32 1
104 ; Test v2i64 insertion into a variable element.
105 define <2 x i64> @f12(<2 x i64> %val, i64 %element, i32 %index) {
109 %ret = insertelement <2 x i64> %val, i64 %element, i32 %index
113 ; Test v4f32 insertion into the first element.
114 define <4 x float> @f13(<4 x float> %val, float %element) {
119 %ret = insertelement <4 x float> %val, float %element, i32 0
123 ; Test v4f32 insertion into the last element.
124 define <4 x float> @f14(<4 x float> %val, float %element) {
129 %ret = insertelement <4 x float> %val, float %element, i32 3
133 ; Test v4f32 insertion into a variable element.
134 define <4 x float> @f15(<4 x float> %val, float %element, i32 %index) {
139 %ret = insertelement <4 x float> %val, float %element, i32 %index
143 ; Test v2f64 insertion into the first element.
144 define <2 x double> @f16(<2 x double> %val, double %element) {
148 %ret = insertelement <2 x double> %val, double %element, i32 0
152 ; Test v2f64 insertion into the last element.
153 define <2 x double> @f17(<2 x double> %val, double %element) {
157 %ret = insertelement <2 x double> %val, double %element, i32 1
161 ; Test v2f64 insertion into a variable element.
162 define <2 x double> @f18(<2 x double> %val, double %element, i32 %index) {
167 %ret = insertelement <2 x double> %val, double %element, i32 %index
171 ; Test v16i8 insertion into a variable element plus one.
172 define <16 x i8> @f19(<16 x i8> %val, i8 %element, i32 %index) {
177 %ret = insertelement <16 x i8> %val, i8 %element, i32 %add