Lines Matching defs:s2
15 struct s2 { short f0; };
16 struct s2 f2(void) {}
199 float32x4_t f35(int i, s35_with_align s1, s35_with_align s2) {
200 // CHECK: define <4 x float> @f35(i32 %i, float %s1.0, float %s1.1, float %s1.2, float %s1.3, float %s2.0, float %s2.1, float %s2.2, float %s2.3)
202 // CHECK: %s2 = alloca %struct.s35, align 16
205 // CHECK: %[[b:.*]] = bitcast %struct.s35* %s2 to <4 x float>*
208 *(float32x4_t *)&s2);
219 int32x4_t f36(int i, s36_with_align s1, s36_with_align s2) {
220 // CHECK: define <4 x i32> @f36(i32 %i, i128 %s1.coerce, i128 %s2.coerce)
222 // CHECK: %s2 = alloca %struct.s36, align 16
224 // CHECK: store i128 %s2.coerce, i128* %{{.*}}, align 1
227 // CHECK: %[[b:.*]] = bitcast %struct.s36* %s2 to <4 x i32>*
230 *(int32x4_t *)&s2);
240 int32x4_t f37(int i, s37_with_align s1, s37_with_align s2) {
241 // CHECK: define <4 x i32> @f37(i32 %i, %struct.s37* %s1, %struct.s37* %s2)
244 // CHECK: %[[b:.*]] = bitcast %struct.s37* %s2 to <4 x i32>*
247 *(int32x4_t *)&s2);
275 int f38(int i, s38_no_align s1, s38_no_align s2) {
276 // CHECK: define i32 @f38(i32 %i, i64 %s1.coerce, i64 %s2.coerce)
278 // CHECK: %s2 = alloca %struct.s38, align 8
280 // CHECK: store i64 %s2.coerce, i64* %{{.*}}, align 1
282 // CHECK: getelementptr inbounds %struct.s38* %s2, i32 0, i32 0
284 // CHECK: getelementptr inbounds %struct.s38* %s2, i32 0, i32 1
285 return s1.i + s2.i + i + s1.s + s2.s;
299 int i9, s38_no_align s1, s38_no_align s2) {
300 // CHECK: define i32 @f38_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, i64 %s1.coerce, i64 %s2.coerce)
302 // CHECK: %s2 = alloca %struct.s38, align 8
304 // CHECK: store i64 %s2.coerce, i64* %{{.*}}, align 1
306 // CHECK: getelementptr inbounds %struct.s38* %s2, i32 0, i32 0
308 // CHECK: getelementptr inbounds %struct.s38* %s2, i32 0, i32 1
309 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
328 int f39(int i, s39_with_align s1, s39_with_align s2) {
329 // CHECK: define i32 @f39(i32 %i, i128 %s1.coerce, i128 %s2.coerce)
331 // CHECK: %s2 = alloca %struct.s39, align 16
333 // CHECK: store i128 %s2.coerce, i128* %{{.*}}, align 1
335 // CHECK: getelementptr inbounds %struct.s39* %s2, i32 0, i32 0
337 // CHECK: getelementptr inbounds %struct.s39* %s2, i32 0, i32 1
338 return s1.i + s2.i + i + s1.s + s2.s;
352 int i9, s39_with_align s1, s39_with_align s2) {
353 // CHECK: define i32 @f39_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, i128 %s1.coerce, i128 %s2.coerce)
355 // CHECK: %s2 = alloca %struct.s39, align 16
357 // CHECK: store i128 %s2.coerce, i128* %{{.*}}, align 1
359 // CHECK: getelementptr inbounds %struct.s39* %s2, i32 0, i32 0
361 // CHECK: getelementptr inbounds %struct.s39* %s2, i32 0, i32 1
362 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
378 short s2;
383 int f40(int i, s40_no_align s1, s40_no_align s2) {
384 // CHECK: define i32 @f40(i32 %i, [2 x i64] %s1.coerce, [2 x i64] %s2.coerce)
386 // CHECK: %s2 = alloca %struct.s40, align 8
388 // CHECK: store [2 x i64] %s2.coerce, [2 x i64]* %{{.*}}, align 1
390 // CHECK: getelementptr inbounds %struct.s40* %s2, i32 0, i32 0
392 // CHECK: getelementptr inbounds %struct.s40* %s2, i32 0, i32 1
393 return s1.i + s2.i + i + s1.s + s2.s;
407 int i9, s40_no_align s1, s40_no_align s2) {
408 // CHECK: define i32 @f40_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, [2 x i64] %s1.coerce, [2 x i64] %s2.coerce)
410 // CHECK: %s2 = alloca %struct.s40, align 8
412 // CHECK: store [2 x i64] %s2.coerce, [2 x i64]* %{{.*}}, align 1
414 // CHECK: getelementptr inbounds %struct.s40* %s2, i32 0, i32 0
416 // CHECK: getelementptr inbounds %struct.s40* %s2, i32 0, i32 1
417 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
433 short s2;
438 int f41(int i, s41_with_align s1, s41_with_align s2) {
439 // CHECK: define i32 @f41(i32 %i, i128 %s1.coerce, i128 %s2.coerce)
441 // CHECK: %s2 = alloca %struct.s41, align 16
443 // CHECK: store i128 %s2.coerce, i128* %{{.*}}, align 1
445 // CHECK: getelementptr inbounds %struct.s41* %s2, i32 0, i32 0
447 // CHECK: getelementptr inbounds %struct.s41* %s2, i32 0, i32 1
448 return s1.i + s2.i + i + s1.s + s2.s;
462 int i9, s41_with_align s1, s41_with_align s2) {
463 // CHECK: define i32 @f41_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, i128 %s1.coerce, i128 %s2.coerce)
465 // CHECK: %s2 = alloca %struct.s41, align 16
467 // CHECK: store i128 %s2.coerce, i128* %{{.*}}, align 1
469 // CHECK: getelementptr inbounds %struct.s41* %s2, i32 0, i32 0
471 // CHECK: getelementptr inbounds %struct.s41* %s2, i32 0, i32 1
472 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
488 short s2;
495 int f42(int i, s42_no_align s1, s42_no_align s2) {
496 // CHECK: define i32 @f42(i32 %i, %struct.s42* %s1, %struct.s42* %s2)
498 // CHECK: getelementptr inbounds %struct.s42* %s2, i32 0, i32 0
500 // CHECK: getelementptr inbounds %struct.s42* %s2, i32 0, i32 1
501 return s1.i + s2.i + i + s1.s + s2.s;
519 int i9, s42_no_align s1, s42_no_align s2) {
520 // CHECK: define i32 @f42_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, %struct.s42* %s1, %struct.s42* %s2)
522 // CHECK: getelementptr inbounds %struct.s42* %s2, i32 0, i32 0
524 // CHECK: getelementptr inbounds %struct.s42* %s2, i32 0, i32 1
525 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
545 short s2;
552 int f43(int i, s43_with_align s1, s43_with_align s2) {
553 // CHECK: define i32 @f43(i32 %i, %struct.s43* %s1, %struct.s43* %s2)
555 // CHECK: getelementptr inbounds %struct.s43* %s2, i32 0, i32 0
557 // CHECK: getelementptr inbounds %struct.s43* %s2, i32 0, i32 1
558 return s1.i + s2.i + i + s1.s + s2.s;
576 int i9, s43_with_align s1, s43_with_align s2) {
577 // CHECK: define i32 @f43_stack(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, i32 %i8, i32 %i9, %struct.s43* %s1, %struct.s43* %s2)
579 // CHECK: getelementptr inbounds %struct.s43* %s2, i32 0, i32 0
581 // CHECK: getelementptr inbounds %struct.s43* %s2, i32 0, i32 1
582 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + s1.s + s2.s;
600 s40_no_align s1, s40_no_align s2) {
601 // CHECK: define i32 @f40_split(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, [1 x i32], [2 x i64] %s1.coerce, [2 x i64] %s2.coerce)
602 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + s1.s + s2.s;
612 s41_with_align s1, s41_with_align s2) {
613 // CHECK: define i32 @f41_split(i32 %i, i32 %i2, i32 %i3, i32 %i4, i32 %i5, i32 %i6, i32 %i7, [1 x i32], i128 %s1.coerce, i128 %s2.coerce)
614 return s1.i + s2.i + i + i2 + i3 + i4 + i5 + i6 + i7 + s1.s + s2.s;