Lines Matching refs:scalar
1 ; Test replications of a scalar register value, represented as splats.
6 define <16 x i8> @f1(i8 %scalar) {
11 %val = insertelement <16 x i8> undef, i8 %scalar, i32 0
18 define <16 x i8> @f2(i8 %scalar) {
23 %val = insertelement <16 x i8> undef, i8 %scalar, i32 15
34 define <16 x i8> @f3(i8 %scalar) {
39 %val = insertelement <16 x i8> undef, i8 %scalar, i32 4
49 define <8 x i16> @f4(i16 %scalar) {
54 %val = insertelement <8 x i16> undef, i16 %scalar, i32 0
61 define <8 x i16> @f5(i16 %scalar) {
66 %val = insertelement <8 x i16> undef, i16 %scalar, i32 7
75 define <8 x i16> @f6(i16 %scalar) {
80 %val = insertelement <8 x i16> undef, i16 %scalar, i32 2
88 define <4 x i32> @f7(i32 %scalar) {
93 %val = insertelement <4 x i32> undef, i32 %scalar, i32 0
100 define <4 x i32> @f8(i32 %scalar) {
105 %val = insertelement <4 x i32> undef, i32 %scalar, i32 3
113 define <4 x i32> @f9(i32 %scalar) {
118 %val = insertelement <4 x i32> undef, i32 %scalar, i32 1
125 define <2 x i64> @f10(i64 %scalar) {
129 %val = insertelement <2 x i64> undef, i64 %scalar, i32 0
136 define <2 x i64> @f11(i64 %scalar) {
140 %val = insertelement <2 x i64> undef, i64 %scalar, i32 1
147 define <4 x float> @f12(float %scalar) {
151 %val = insertelement <4 x float> undef, float %scalar, i32 0
158 define <4 x float> @f13(float %scalar) {
162 %val = insertelement <4 x float> undef, float %scalar, i32 3
170 define <4 x float> @f14(float %scalar) {
174 %val = insertelement <4 x float> undef, float %scalar, i32 1
181 define <2 x double> @f15(double %scalar) {
185 %val = insertelement <2 x double> undef, double %scalar, i32 0
192 define <2 x double> @f16(double %scalar) {
196 %val = insertelement <2 x double> undef, double %scalar, i32 1