void test_vsetQ_lanep16 (void) { poly16x8_t out_poly16x8_t; poly16_t arg0_poly16_t; poly16x8_t arg1_poly16x8_t; out_poly16x8_t = vsetq_lane_p16 (arg0_poly16_t, arg1_poly16x8_t, 1); }
poly16x8_t test_vsetq_lane_p16(poly16_t v1, poly16x8_t v2) { // CHECK: test_vsetq_lane_p16 return vsetq_lane_p16(v1, v2, 2); // CHECK: ins {{v[0-9]+}}.h[2], {{w[0-9]+}} }
poly16x8_t test_vsetq_lane_p16(poly16_t a, poly16x8_t b) { // CHECK-LABEL: test_vsetq_lane_p16: // CHECK-NEXT: ins.h v0[7], w0 // CHECK-NEXT: ret return vsetq_lane_p16(a, b, 7); }
// CHECK-LABEL: define <8 x i16> @test_vsetq_lane_p16(i16 %a, <8 x i16> %b) #0 { // CHECK: [[TMP0:%.*]] = bitcast <8 x i16> %b to <16 x i8> // CHECK: [[TMP1:%.*]] = bitcast <16 x i8> [[TMP0]] to <8 x i16> // CHECK: [[VSET_LANE:%.*]] = insertelement <8 x i16> [[TMP1]], i16 %a, i32 7 // CHECK: ret <8 x i16> [[VSET_LANE]] poly16x8_t test_vsetq_lane_p16(poly16_t a, poly16x8_t b) { return vsetq_lane_p16(a, b, 7); }