#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, int, ...);
int main() {
  int a[100], aa[100];
  int i, error = 0;
  for (i = 0; i < 100; i++)
    aa[i] = a[i] = -1;
#pragma omp target map(tofrom : a [0:100])
  {
    int k;
#pragma omp simd
    for (k = 0; k < 100; k++)
      a[k] = k;
  }
  for (i = 0; i < 100; i++)
    aa[i] = i;
  int first = -1;
  int last = -1;
  for (i = 0; i < 100; i++) {
    if (a[i] != aa[i]) {
      if (first == -1)
        first = i;
      last = i;
      ++error;
    }
  }
  if (error) {
    if (error == 1)
      printf("one mismatch: [index:%d]: a %d != %d\n", first, a[first],
             aa[first]);
    else {
      printf("first mismatch: [index:%d]: a %d != %d (total errors: %d)\n",
             first, a[first], aa[first], error);
      printf("last mismatch: [index:%d]: a %d != %d (total errors %d)\n", last,
             a[last], aa[last], error);
    }
    return 0;
  }
  printf("Done with %d errors\n", error);
  return error;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x350,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x338(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    117b <main+0x6b>
movslq -0x334(%rbp),%rax
movl   $0xffffffff,-0x1a0(%rbp,%rax,4)
ff ff ff ff
movslq -0x334(%rbp),%rax
movl   $0xffffffff,-0x330(%rbp,%rax,4)
ff ff ff ff
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1136 <main+0x26>
movl   $0x0,-0x33c(%rbp)
cmpl   $0x64,-0x33c(%rbp)
jge    11ba <main+0xaa>
mov    -0x33c(%rbp),%ecx
movslq -0x33c(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    1185 <main+0x75>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    11f9 <main+0xe9>
mov    -0x334(%rbp),%ecx
movslq -0x334(%rbp),%rax
mov    %ecx,-0x330(%rbp,%rax,4)
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    11c4 <main+0xb4>
movl   $0xffffffff,-0x340(%rbp)
movl   $0xffffffff,-0x344(%rbp)
ff ff ff
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1293 <main+0x183>
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
movslq -0x334(%rbp),%rcx
cmp    -0x330(%rbp,%rcx,4),%eax
je     127a <main+0x16a>
cmpl   $0xffffffff,-0x340(%rbp)
jne    125f <main+0x14f>
mov    -0x334(%rbp),%eax
mov    %eax,-0x340(%rbp)
mov    -0x334(%rbp),%eax
mov    %eax,-0x344(%rbp)
mov    -0x338(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x338(%rbp)
jmp    127f <main+0x16f>
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1217 <main+0x107>
cmpl   $0x0,-0x338(%rbp)
je     135c <main+0x24c>
cmpl   $0x1,-0x338(%rbp)
jne    12e2 <main+0x1d2>
mov    -0x340(%rbp),%esi
movslq -0x340(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%edx
movslq -0x340(%rbp),%rax
mov    -0x330(%rbp,%rax,4),%ecx
lea    0xd2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1350 <main+0x240>
mov    -0x340(%rbp),%esi
movslq -0x340(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%edx
movslq -0x340(%rbp),%rax
mov    -0x330(%rbp,%rax,4),%ecx
mov    -0x338(%rbp),%r8d
lea    0xd14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x344(%rbp),%esi
movslq -0x344(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%edx
movslq -0x344(%rbp),%rax
mov    -0x330(%rbp,%rax,4),%ecx
mov    -0x338(%rbp),%r8d
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1379 <main+0x269>
mov    -0x338(%rbp),%esi
lea    0xd31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x350,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x320,%rsp
lea    0x190(%rsp),%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1040 <memset@plt>
mov    %rsp,%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1040 <memset@plt>
movaps 0xea5(%rip),%xmm0
movaps %xmm0,0x190(%rsp)
movaps %xmm0,(%rsp)
movaps 0xea2(%rip),%xmm0
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x10(%rsp)
movaps 0xe9e(%rip),%xmm0
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x20(%rsp)
movaps 0xe9a(%rip),%xmm0
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x30(%rsp)
movaps 0xe96(%rip),%xmm0
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x40(%rsp)
movaps 0xe92(%rip),%xmm0
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x50(%rsp)
movaps 0xe8e(%rip),%xmm0
movaps %xmm0,0x1f0(%rsp)
movaps %xmm0,0x60(%rsp)
movaps 0xe8a(%rip),%xmm0
movaps %xmm0,0x200(%rsp)
movaps %xmm0,0x70(%rsp)
movaps 0xe86(%rip),%xmm0
movaps %xmm0,0x210(%rsp)
movaps %xmm0,0x80(%rsp)
movaps 0xe7f(%rip),%xmm0
movaps %xmm0,0x220(%rsp)
movaps %xmm0,0x90(%rsp)
movaps 0xe78(%rip),%xmm0
movaps %xmm0,0x230(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps 0xe71(%rip),%xmm0
movaps %xmm0,0x240(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps 0xe6a(%rip),%xmm0
movaps %xmm0,0x250(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps 0xe63(%rip),%xmm0
movaps %xmm0,0x260(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps 0xe5c(%rip),%xmm0
movaps %xmm0,0x270(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps 0xe55(%rip),%xmm0
movaps %xmm0,0x280(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps 0xe4e(%rip),%xmm0
movaps %xmm0,0x290(%rsp)
movaps %xmm0,0x100(%rsp)
movaps 0xe47(%rip),%xmm0
movaps %xmm0,0x2a0(%rsp)
movaps %xmm0,0x110(%rsp)
movaps 0xe40(%rip),%xmm0
movaps %xmm0,0x2b0(%rsp)
movaps %xmm0,0x120(%rsp)
movaps 0xe39(%rip),%xmm0
movaps %xmm0,0x2c0(%rsp)
movaps %xmm0,0x130(%rsp)
movaps 0xe32(%rip),%xmm0
movaps %xmm0,0x2d0(%rsp)
movaps %xmm0,0x140(%rsp)
movaps 0xe2b(%rip),%xmm0
movaps %xmm0,0x2e0(%rsp)
movaps %xmm0,0x150(%rsp)
movaps 0xe24(%rip),%xmm0
movaps %xmm0,0x2f0(%rsp)
movaps %xmm0,0x160(%rsp)
movaps 0xe1d(%rip),%xmm0
movaps %xmm0,0x300(%rsp)
movaps %xmm0,0x170(%rsp)
movaps 0xe16(%rip),%xmm0
movaps %xmm0,0x310(%rsp)
movaps %xmm0,0x180(%rsp)
xor    %eax,%eax
mov    $0xffffffff,%ebp
mov    $0xffffffff,%esi
xor    %r14d,%r14d
jmp    13b3 <main+0x293>
nopl   0x0(%rax,%rax,1)
mov    0x194(%rsp,%rax,4),%edi
xor    %ebx,%ebx
cmp    0x4(%rsp,%rax,4),%edi
cmove  %ecx,%esi
cmovne %edx,%ebp
setne  %bl
add    %ebx,%r14d
add    $0x2,%rax
cmp    $0x64,%rax
je     13e3 <main+0x2c3>
mov    %eax,%ecx
cmp    $0xffffffff,%esi
je     13bc <main+0x29c>
mov    %esi,%ecx
mov    0x190(%rsp,%rax,4),%edx
xor    %edi,%edi
cmp    (%rsp,%rax,4),%edx
cmove  %esi,%ecx
cmovne %eax,%ebp
setne  %dil
add    %edi,%r14d
lea    0x1(%rax),%edx
mov    %edx,%esi
cmp    $0xffffffff,%ecx
je     1390 <main+0x270>
mov    %ecx,%esi
jmp    1390 <main+0x270>
test   %r14d,%r14d
je     140b <main+0x2eb>
cmp    $0x1,%r14d
jne    141d <main+0x2fd>
movslq %esi,%rsi
mov    0x190(%rsp,%rsi,4),%edx
mov    (%rsp,%rsi,4),%ecx
lea    0xd8e(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1459 <main+0x339>
lea    0xe18(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1459 <main+0x339>
movslq %esi,%rax
mov    0x190(%rsp,%rax,4),%edx
mov    (%rsp,%rax,4),%ecx
lea    0xd85(%rip),%rdi
mov    %r14d,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
movslq %ebp,%rsi
mov    0x190(%rsp,%rsi,4),%edx
mov    (%rsp,%rsi,4),%ecx
lea    0xda2(%rip),%rdi
mov    %r14d,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x320,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [38 x i8] c"one mismatch: [index:%d]: a %d != %d\0A\00"
@.str.1 = [59 x i8] c"first mismatch: [index:%d]: a %d != %d (total errors: %d)\0A\00"
@.str.2 = [57 x i8] c"last mismatch: [index:%d]: a %d != %d (total errors %d)\0A\00"
@.str.3 = [21 x i8] c"Done with %d errors\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [100 x i32]
%3 = alloca [100 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %5
store i32 0, i32* %4
br label %9
9: ; preds = %19, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 100
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, i32* %4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %14
store i32 -1, i32* %15
%16 = load i32, i32* %4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %17
store i32 -1, i32* %18
br label %19
19: ; preds = %12
%20 = load i32, i32* %4
%21 = add nsw i32 %20, 1
store i32 %21, i32* %4
br label %9
22: ; preds = %9
store i32 0, i32* %6
br label %23
23: ; preds = %31, %22
%24 = load i32, i32* %6
%25 = icmp slt i32 %24, 100
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load i32, i32* %6
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %29
store i32 %27, i32* %30
br label %31
31: ; preds = %26
%32 = load i32, i32* %6
%33 = add nsw i32 %32, 1
store i32 %33, i32* %6
br label %23
34: ; preds = %23
store i32 0, i32* %4
br label %35
35: ; preds = %43, %34
%36 = load i32, i32* %4
%37 = icmp slt i32 %36, 100
br i1 %37, label %38, label %46
38: ; preds = %35
%39 = load i32, i32* %4
%40 = load i32, i32* %4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %41
store i32 %39, i32* %42
br label %43
43: ; preds = %38
%44 = load i32, i32* %4
%45 = add nsw i32 %44, 1
store i32 %45, i32* %4
br label %35
46: ; preds = %35
store i32 -1, i32* %7
store i32 -1, i32* %8
store i32 0, i32* %4
br label %47
47: ; preds = %70, %46
%48 = load i32, i32* %4
%49 = icmp slt i32 %48, 100
br i1 %49, label %50, label %73
50: ; preds = %47
%51 = load i32, i32* %4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = load i32, i32* %4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %56
%58 = load i32, i32* %57
%59 = icmp ne i32 %54, %58
br i1 %59, label %60, label %69
60: ; preds = %50
%61 = load i32, i32* %7
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = load i32, i32* %4
store i32 %64, i32* %7
br label %65
65: ; preds = %63, %60
%66 = load i32, i32* %4
store i32 %66, i32* %8
%67 = load i32, i32* %5
%68 = add nsw i32 %67, 1
store i32 %68, i32* %5
br label %69
69: ; preds = %65, %50
br label %70
70: ; preds = %69
%71 = load i32, i32* %4
%72 = add nsw i32 %71, 1
store i32 %72, i32* %4
br label %47
73: ; preds = %47
%74 = load i32, i32* %5
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %114
76: ; preds = %73
%77 = load i32, i32* %5
%78 = icmp eq i32 %77, 1
br i1 %78, label %79, label %90
79: ; preds = %76
%80 = load i32, i32* %7
%81 = load i32, i32* %7
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = load i32, i32* %7
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %86
%88 = load i32, i32* %87
%89 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i32 %80, i32 %84, i32 %88)
br label %113
90: ; preds = %76
%91 = load i32, i32* %7
%92 = load i32, i32* %7
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %93
%95 = load i32, i32* %94
%96 = load i32, i32* %7
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %97
%99 = load i32, i32* %98
%100 = load i32, i32* %5
%101 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0), i32 %91, i32 %95, i32 %99, i32 %100)
%102 = load i32, i32* %8
%103 = load i32, i32* %8
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %104
%106 = load i32, i32* %105
%107 = load i32, i32* %8
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %108
%110 = load i32, i32* %109
%111 = load i32, i32* %5
%112 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0), i32 %102, i32 %106, i32 %110, i32 %111)
br label %113
113: ; preds = %90, %79
store i32 0, i32* %1
br label %118
114: ; preds = %73
%115 = load i32, i32* %5
%116 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %115)
%117 = load i32, i32* %5
store i32 %117, i32* %1
br label %118
118: ; preds = %114, %113
%119 = load i32, i32* %1
ret i32 %119
}

LLVM IR (-O2):
@.str = [38 x i8] c"one mismatch: [index:%d]: a %d != %d\0A\00"
@.str.1 = [59 x i8] c"first mismatch: [index:%d]: a %d != %d (total errors: %d)\0A\00"
@.str.2 = [57 x i8] c"last mismatch: [index:%d]: a %d != %d (total errors %d)\0A\00"
@.str.3 = [21 x i8] c"Done with %d errors\0A\00"
define i32 @main() {
%1 = alloca [100 x i32]
%2 = bitcast [100 x i32]* %1 to i8*
%3 = alloca [100 x i32]
%4 = bitcast [100 x i32]* %3 to i8*
%5 = bitcast [100 x i32]* %1 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %5
%6 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 4
%7 = bitcast i32* %6 to <4 x i32>*
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, <4 x i32>* %7
%8 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 8
%9 = bitcast i32* %8 to <4 x i32>*
store <4 x i32> <i32 8, i32 9, i32 10, i32 11>, <4 x i32>* %9
%10 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 12
%11 = bitcast i32* %10 to <4 x i32>*
store <4 x i32> <i32 12, i32 13, i32 14, i32 15>, <4 x i32>* %11
%12 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 16
%13 = bitcast i32* %12 to <4 x i32>*
store <4 x i32> <i32 16, i32 17, i32 18, i32 19>, <4 x i32>* %13
%14 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 20
%15 = bitcast i32* %14 to <4 x i32>*
store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, <4 x i32>* %15
%16 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 24
%17 = bitcast i32* %16 to <4 x i32>*
store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, <4 x i32>* %17
%18 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 28
%19 = bitcast i32* %18 to <4 x i32>*
store <4 x i32> <i32 28, i32 29, i32 30, i32 31>, <4 x i32>* %19
%20 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 32
%21 = bitcast i32* %20 to <4 x i32>*
store <4 x i32> <i32 32, i32 33, i32 34, i32 35>, <4 x i32>* %21
%22 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 36
%23 = bitcast i32* %22 to <4 x i32>*
store <4 x i32> <i32 36, i32 37, i32 38, i32 39>, <4 x i32>* %23
%24 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 40
%25 = bitcast i32* %24 to <4 x i32>*
store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, <4 x i32>* %25
%26 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 44
%27 = bitcast i32* %26 to <4 x i32>*
store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, <4 x i32>* %27
%28 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 48
%29 = bitcast i32* %28 to <4 x i32>*
store <4 x i32> <i32 48, i32 49, i32 50, i32 51>, <4 x i32>* %29
%30 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 52
%31 = bitcast i32* %30 to <4 x i32>*
store <4 x i32> <i32 52, i32 53, i32 54, i32 55>, <4 x i32>* %31
%32 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 56
%33 = bitcast i32* %32 to <4 x i32>*
store <4 x i32> <i32 56, i32 57, i32 58, i32 59>, <4 x i32>* %33
%34 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 60
%35 = bitcast i32* %34 to <4 x i32>*
store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, <4 x i32>* %35
%36 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 64
%37 = bitcast i32* %36 to <4 x i32>*
store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, <4 x i32>* %37
%38 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 68
%39 = bitcast i32* %38 to <4 x i32>*
store <4 x i32> <i32 68, i32 69, i32 70, i32 71>, <4 x i32>* %39
%40 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 72
%41 = bitcast i32* %40 to <4 x i32>*
store <4 x i32> <i32 72, i32 73, i32 74, i32 75>, <4 x i32>* %41
%42 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 76
%43 = bitcast i32* %42 to <4 x i32>*
store <4 x i32> <i32 76, i32 77, i32 78, i32 79>, <4 x i32>* %43
%44 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 80
%45 = bitcast i32* %44 to <4 x i32>*
store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, <4 x i32>* %45
%46 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 84
%47 = bitcast i32* %46 to <4 x i32>*
store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, <4 x i32>* %47
%48 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 88
%49 = bitcast i32* %48 to <4 x i32>*
store <4 x i32> <i32 88, i32 89, i32 90, i32 91>, <4 x i32>* %49
%50 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 92
%51 = bitcast i32* %50 to <4 x i32>*
store <4 x i32> <i32 92, i32 93, i32 94, i32 95>, <4 x i32>* %51
%52 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 96
%53 = bitcast i32* %52 to <4 x i32>*
store <4 x i32> <i32 96, i32 97, i32 98, i32 99>, <4 x i32>* %53
%54 = bitcast [100 x i32]* %3 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %54
%55 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 4
%56 = bitcast i32* %55 to <4 x i32>*
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, <4 x i32>* %56
%57 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 8
%58 = bitcast i32* %57 to <4 x i32>*
store <4 x i32> <i32 8, i32 9, i32 10, i32 11>, <4 x i32>* %58
%59 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 12
%60 = bitcast i32* %59 to <4 x i32>*
store <4 x i32> <i32 12, i32 13, i32 14, i32 15>, <4 x i32>* %60
%61 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 16
%62 = bitcast i32* %61 to <4 x i32>*
store <4 x i32> <i32 16, i32 17, i32 18, i32 19>, <4 x i32>* %62
%63 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 20
%64 = bitcast i32* %63 to <4 x i32>*
store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, <4 x i32>* %64
%65 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 24
%66 = bitcast i32* %65 to <4 x i32>*
store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, <4 x i32>* %66
%67 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 28
%68 = bitcast i32* %67 to <4 x i32>*
store <4 x i32> <i32 28, i32 29, i32 30, i32 31>, <4 x i32>* %68
%69 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 32
%70 = bitcast i32* %69 to <4 x i32>*
store <4 x i32> <i32 32, i32 33, i32 34, i32 35>, <4 x i32>* %70
%71 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 36
%72 = bitcast i32* %71 to <4 x i32>*
store <4 x i32> <i32 36, i32 37, i32 38, i32 39>, <4 x i32>* %72
%73 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 40
%74 = bitcast i32* %73 to <4 x i32>*
store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, <4 x i32>* %74
%75 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 44
%76 = bitcast i32* %75 to <4 x i32>*
store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, <4 x i32>* %76
%77 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 48
%78 = bitcast i32* %77 to <4 x i32>*
store <4 x i32> <i32 48, i32 49, i32 50, i32 51>, <4 x i32>* %78
%79 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 52
%80 = bitcast i32* %79 to <4 x i32>*
store <4 x i32> <i32 52, i32 53, i32 54, i32 55>, <4 x i32>* %80
%81 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 56
%82 = bitcast i32* %81 to <4 x i32>*
store <4 x i32> <i32 56, i32 57, i32 58, i32 59>, <4 x i32>* %82
%83 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 60
%84 = bitcast i32* %83 to <4 x i32>*
store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, <4 x i32>* %84
%85 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 64
%86 = bitcast i32* %85 to <4 x i32>*
store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, <4 x i32>* %86
%87 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 68
%88 = bitcast i32* %87 to <4 x i32>*
store <4 x i32> <i32 68, i32 69, i32 70, i32 71>, <4 x i32>* %88
%89 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 72
%90 = bitcast i32* %89 to <4 x i32>*
store <4 x i32> <i32 72, i32 73, i32 74, i32 75>, <4 x i32>* %90
%91 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 76
%92 = bitcast i32* %91 to <4 x i32>*
store <4 x i32> <i32 76, i32 77, i32 78, i32 79>, <4 x i32>* %92
%93 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 80
%94 = bitcast i32* %93 to <4 x i32>*
store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, <4 x i32>* %94
%95 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 84
%96 = bitcast i32* %95 to <4 x i32>*
store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, <4 x i32>* %96
%97 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 88
%98 = bitcast i32* %97 to <4 x i32>*
store <4 x i32> <i32 88, i32 89, i32 90, i32 91>, <4 x i32>* %98
%99 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 92
%100 = bitcast i32* %99 to <4 x i32>*
store <4 x i32> <i32 92, i32 93, i32 94, i32 95>, <4 x i32>* %100
%101 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 96
%102 = bitcast i32* %101 to <4 x i32>*
store <4 x i32> <i32 96, i32 97, i32 98, i32 99>, <4 x i32>* %102
br label %103
103: ; preds = %103, %0
%104 = phi i64 [ 0, %0 ], [ %135, %103 ]
%105 = phi i32 [ -1, %0 ], [ %134, %103 ]
%106 = phi i32 [ -1, %0 ], [ %133, %103 ]
%107 = phi i32 [ 0, %0 ], [ %132, %103 ]
%108 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %104
%109 = load i32, i32* %108
%110 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %104
%111 = load i32, i32* %110
%112 = icmp eq i32 %109, %111
%113 = icmp eq i32 %106, -1
%114 = trunc i64 %104 to i32
%115 = select i1 %113, i32 %114, i32 %106
%116 = xor i1 %112, true
%117 = zext i1 %116 to i32
%118 = add nuw nsw i32 %107, %117
%119 = select i1 %112, i32 %106, i32 %115
%120 = select i1 %112, i32 %105, i32 %114
%121 = or i64 %104, 1
%122 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %121
%123 = load i32, i32* %122
%124 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %121
%125 = load i32, i32* %124
%126 = icmp eq i32 %123, %125
%127 = icmp eq i32 %119, -1
%128 = trunc i64 %121 to i32
%129 = select i1 %127, i32 %128, i32 %119
%130 = xor i1 %126, true
%131 = zext i1 %130 to i32
%132 = add nuw nsw i32 %118, %131
%133 = select i1 %126, i32 %119, i32 %129
%134 = select i1 %126, i32 %120, i32 %128
%135 = add nuw nsw i64 %104, 2
%136 = icmp eq i64 %135, 100
br i1 %136, label %137, label %103
137: ; preds = %103
switch i32 %132, label %145 [
i32 0, label %158
i32 1, label %138
]
138: ; preds = %137
%139 = sext i32 %133 to i64
%140 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %139
%141 = load i32, i32* %140
%142 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %139
%143 = load i32, i32* %142
%144 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0), i32 %133, i32 %141, i32 %143)
br label %160
145: ; preds = %137
%146 = sext i32 %133 to i64
%147 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %146
%148 = load i32, i32* %147
%149 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %146
%150 = load i32, i32* %149
%151 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0), i32 %133, i32 %148, i32 %150, i32 %132)
%152 = sext i32 %134 to i64
%153 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %152
%154 = load i32, i32* %153
%155 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %152
%156 = load i32, i32* %155
%157 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0), i32 %134, i32 %154, i32 %156, i32 %132)
br label %160
158: ; preds = %137
%159 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 0)
br label %160
160: ; preds = %138, %145, %158
ret i32 0
}