#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*/ debug(char *, ...);
int *malloc(int);
int main(void) {
  int i;
  int *A = malloc(sizeof(int) * (1024 * 1024 * 8));
  int *B = malloc(sizeof(int) * (1024 * 1024 * 8));
  int *C = malloc(sizeof(int) * (1024 * 1024 * 8));
  for (i = 0; i < (1024 * 1024 * 8); i++) {
    A[i] = i * 17 % 7;
    B[i] = i * 19 % 7;
    C[i] = 0;
  }
  int j;
  for (j = 0; j < 10; j++) {
    debug("loop %d\n", j);
    debug("\trunning parallel for schedule(static)\n");
#pragma omp parallel for schedule(static)
    for (i = 0; i < (1024 * 1024 * 8); i++) {
      C[i] = A[i] + B[i];
    }
    debug("\trunning parallel for schedule(runtime)\n");
#pragma omp parallel for schedule(runtime)
    for (i = 0; i < (1024 * 1024 * 8); i++) {
      C[i] = A[i] + B[i];
    }
    debug("\trunning parallel for schedule(dynamic)\n");
#pragma omp parallel for schedule(dynamic)
    for (i = 0; i < (1024 * 1024 * 8); i++) {
      C[i] = A[i] + B[i];
    }
    debug("\trunning parallel for schedule(guided)\n");
#pragma omp parallel for schedule(guided)
    for (i = 0; i < (1024 * 1024 * 8); i++) {
      C[i] = A[i] + B[i];
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x2000000,%edi
call   1040 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    $0x2000000,%edi
call   1040 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0x2000000,%edi
call   1040 <malloc@plt>
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x800000,-0x8(%rbp)
jge    11b8 <main+0x98>
imul   $0x11,-0x8(%rbp),%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
imul   $0x13,-0x8(%rbp),%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1160 <main+0x40>
movl   $0x0,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    1331 <main+0x211>
mov    -0x24(%rbp),%esi
lea    0xe2d(%rip),%rdi
mov    $0x0,%al
call   1030 <debug@plt>
lea    0xe28(%rip),%rdi
mov    $0x0,%al
call   1030 <debug@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800000,-0x8(%rbp)
jge    122b <main+0x10b>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
add    (%rax,%rcx,4),%edx
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11ef <main+0xcf>
lea    0xdff(%rip),%rdi
mov    $0x0,%al
call   1030 <debug@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800000,-0x8(%rbp)
jge    127c <main+0x15c>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
add    (%rax,%rcx,4),%edx
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1240 <main+0x120>
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1030 <debug@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800000,-0x8(%rbp)
jge    12cd <main+0x1ad>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
add    (%rax,%rcx,4),%edx
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1291 <main+0x171>
lea    0xdaf(%rip),%rdi
mov    $0x0,%al
call   1030 <debug@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800000,-0x8(%rbp)
jge    131e <main+0x1fe>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
add    (%rax,%rcx,4),%edx
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12e2 <main+0x1c2>
jmp    1323 <main+0x203>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11bf <main+0x9f>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x2000000,%edi
call   1050 <malloc@plt>
mov    %rax,%r14
mov    $0x2000000,%edi
call   1050 <malloc@plt>
mov    %rax,%r15
mov    $0x2000000,%edi
call   1050 <malloc@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
mov    $0x2000000,%edx
mov    %rax,%rdi
xor    %esi,%esi
call   1040 <memset@plt>
movdqa 0xe85(%rip),%xmm0
movdqa 0xe8d(%rip),%xmm1
movdqa 0xe94(%rip),%xmm8
movdqa 0xe9c(%rip),%xmm3
movdqa %xmm0,%xmm4
nopl   0x0(%rax,%rax,1)
movdqa %xmm0,%xmm5
pslld  $0x4,%xmm5
paddd  %xmm0,%xmm5
movdqa %xmm5,%xmm6
pmuludq %xmm1,%xmm6
pshufd $0xed,%xmm6,%xmm6
pshufd $0xf5,%xmm5,%xmm7
pmuludq %xmm1,%xmm7
pshufd $0xed,%xmm7,%xmm7
punpckldq %xmm7,%xmm6
movdqa %xmm5,%xmm7
psubd  %xmm6,%xmm7
psrld  $0x1,%xmm7
paddd  %xmm6,%xmm7
psrld  $0x2,%xmm7
movdqa %xmm7,%xmm6
pslld  $0x3,%xmm6
psubd  %xmm6,%xmm7
paddd  %xmm5,%xmm7
movdqu %xmm7,(%r14,%rbp,4)
movdqa %xmm4,%xmm5
pmuludq %xmm8,%xmm5
pshufd $0xe8,%xmm5,%xmm6
pshufd $0xf5,%xmm4,%xmm7
pmuludq %xmm8,%xmm7
pshufd $0xe8,%xmm7,%xmm2
punpckldq %xmm2,%xmm6
pmuludq %xmm1,%xmm5
pshufd $0xed,%xmm5,%xmm2
pmuludq %xmm1,%xmm7
pshufd $0xed,%xmm7,%xmm5
punpckldq %xmm5,%xmm2
movdqa %xmm6,%xmm5
psubd  %xmm2,%xmm5
psrld  $0x1,%xmm5
paddd  %xmm2,%xmm5
psrld  $0x2,%xmm5
movdqa %xmm5,%xmm2
pslld  $0x3,%xmm2
psubd  %xmm2,%xmm5
paddd  %xmm6,%xmm5
movdqu %xmm5,(%r15,%rbp,4)
add    $0x4,%rbp
paddd  %xmm3,%xmm0
paddd  %xmm3,%xmm4
cmp    $0x800000,%rbp
jne    11a0 <main+0x70>
lea    0xe1d(%rip),%r12
lea    0xe3f(%rip),%r13
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
lea    0xda9(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1030 <debug@plt>
lea    0xda2(%rip),%rdi
xor    %eax,%eax
call   1030 <debug@plt>
xor    %eax,%eax
movdqu (%r14,%rax,4),%xmm0
movdqu 0x10(%r14,%rax,4),%xmm1
movdqu (%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x10(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,(%rbx,%rax,4)
movdqu %xmm0,0x10(%rbx,%rax,4)
movdqu 0x20(%r14,%rax,4),%xmm0
movdqu 0x30(%r14,%rax,4),%xmm1
movdqu 0x20(%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x30(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,0x20(%rbx,%rax,4)
movdqu %xmm0,0x30(%rbx,%rax,4)
add    $0x10,%rax
cmp    $0x800000,%rax
jne    12b0 <main+0x180>
lea    0xd51(%rip),%rdi
xor    %eax,%eax
call   1030 <debug@plt>
xor    %eax,%eax
nopl   0x0(%rax)
movdqu (%r14,%rax,4),%xmm0
movdqu 0x10(%r14,%rax,4),%xmm1
movdqu (%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x10(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,(%rbx,%rax,4)
movdqu %xmm0,0x10(%rbx,%rax,4)
movdqu 0x20(%r14,%rax,4),%xmm0
movdqu 0x30(%r14,%rax,4),%xmm1
movdqu 0x20(%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x30(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,0x20(%rbx,%rax,4)
movdqu %xmm0,0x30(%rbx,%rax,4)
add    $0x10,%rax
cmp    $0x800000,%rax
jne    1330 <main+0x200>
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <debug@plt>
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nop
movdqu (%r14,%rax,4),%xmm0
movdqu 0x10(%r14,%rax,4),%xmm1
movdqu (%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x10(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,(%rbx,%rax,4)
movdqu %xmm0,0x10(%rbx,%rax,4)
movdqu 0x20(%r14,%rax,4),%xmm0
movdqu 0x30(%r14,%rax,4),%xmm1
movdqu 0x20(%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x30(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,0x20(%rbx,%rax,4)
movdqu %xmm0,0x30(%rbx,%rax,4)
add    $0x10,%rax
cmp    $0x800000,%rax
jne    13b0 <main+0x280>
mov    %r13,%rdi
xor    %eax,%eax
call   1030 <debug@plt>
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nop
movdqu (%r14,%rax,4),%xmm0
movdqu 0x10(%r14,%rax,4),%xmm1
movdqu (%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x10(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,(%rbx,%rax,4)
movdqu %xmm0,0x10(%rbx,%rax,4)
movdqu 0x20(%r14,%rax,4),%xmm0
movdqu 0x30(%r14,%rax,4),%xmm1
movdqu 0x20(%r15,%rax,4),%xmm2
paddd  %xmm0,%xmm2
movdqu 0x30(%r15,%rax,4),%xmm0
paddd  %xmm1,%xmm0
movdqu %xmm2,0x20(%rbx,%rax,4)
movdqu %xmm0,0x30(%rbx,%rax,4)
add    $0x10,%rax
cmp    $0x800000,%rax
jne    1430 <main+0x300>
add    $0x1,%ebp
cmp    $0xa,%ebp
jne    1290 <main+0x160>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"loop %d\0A\00"
@.str.1 = [40 x i8] c"\09running parallel for schedule(static)\0A\00"
@.str.2 = [41 x i8] c"\09running parallel for schedule(runtime)\0A\00"
@.str.3 = [41 x i8] c"\09running parallel for schedule(dynamic)\0A\00"
@.str.4 = [40 x i8] c"\09running parallel for schedule(guided)\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca i32
store i32 0, i32* %1
%7 = call i32* @malloc(i32 33554432)
store i32* %7, i32** %3
%8 = call i32* @malloc(i32 33554432)
store i32* %8, i32** %4
%9 = call i32* @malloc(i32 33554432)
store i32* %9, i32** %5
store i32 0, i32* %2
br label %10
10: ; preds = %32, %0
%11 = load i32, i32* %2
%12 = icmp slt i32 %11, 8388608
br i1 %12, label %13, label %35
13: ; preds = %10
%14 = load i32, i32* %2
%15 = mul nsw i32 %14, 17
%16 = srem i32 %15, 7
%17 = load i32*, i32** %3
%18 = load i32, i32* %2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, i32* %17, i64 %19
store i32 %16, i32* %20
%21 = load i32, i32* %2
%22 = mul nsw i32 %21, 19
%23 = srem i32 %22, 7
%24 = load i32*, i32** %4
%25 = load i32, i32* %2
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, i32* %24, i64 %26
store i32 %23, i32* %27
%28 = load i32*, i32** %5
%29 = load i32, i32* %2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, i32* %28, i64 %30
store i32 0, i32* %31
br label %32
32: ; preds = %13
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 1
store i32 %34, i32* %2
br label %10
35: ; preds = %10
store i32 0, i32* %6
br label %36
36: ; preds = %138, %35
%37 = load i32, i32* %6
%38 = icmp slt i32 %37, 10
br i1 %38, label %39, label %141
39: ; preds = %36
%40 = load i32, i32* %6
%41 = call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %40)
%42 = call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %2
br label %43
43: ; preds = %62, %39
%44 = load i32, i32* %2
%45 = icmp slt i32 %44, 8388608
br i1 %45, label %46, label %65
46: ; preds = %43
%47 = load i32*, i32** %3
%48 = load i32, i32* %2
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, i32* %47, i64 %49
%51 = load i32, i32* %50
%52 = load i32*, i32** %4
%53 = load i32, i32* %2
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, i32* %52, i64 %54
%56 = load i32, i32* %55
%57 = add nsw i32 %51, %56
%58 = load i32*, i32** %5
%59 = load i32, i32* %2
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, i32* %58, i64 %60
store i32 %57, i32* %61
br label %62
62: ; preds = %46
%63 = load i32, i32* %2
%64 = add nsw i32 %63, 1
store i32 %64, i32* %2
br label %43
65: ; preds = %43
%66 = call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %2
br label %67
67: ; preds = %86, %65
%68 = load i32, i32* %2
%69 = icmp slt i32 %68, 8388608
br i1 %69, label %70, label %89
70: ; preds = %67
%71 = load i32*, i32** %3
%72 = load i32, i32* %2
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, i32* %71, i64 %73
%75 = load i32, i32* %74
%76 = load i32*, i32** %4
%77 = load i32, i32* %2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, i32* %76, i64 %78
%80 = load i32, i32* %79
%81 = add nsw i32 %75, %80
%82 = load i32*, i32** %5
%83 = load i32, i32* %2
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, i32* %82, i64 %84
store i32 %81, i32* %85
br label %86
86: ; preds = %70
%87 = load i32, i32* %2
%88 = add nsw i32 %87, 1
store i32 %88, i32* %2
br label %67
89: ; preds = %67
%90 = call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %2
br label %91
91: ; preds = %110, %89
%92 = load i32, i32* %2
%93 = icmp slt i32 %92, 8388608
br i1 %93, label %94, label %113
94: ; preds = %91
%95 = load i32*, i32** %3
%96 = load i32, i32* %2
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, i32* %95, i64 %97
%99 = load i32, i32* %98
%100 = load i32*, i32** %4
%101 = load i32, i32* %2
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, i32* %100, i64 %102
%104 = load i32, i32* %103
%105 = add nsw i32 %99, %104
%106 = load i32*, i32** %5
%107 = load i32, i32* %2
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, i32* %106, i64 %108
store i32 %105, i32* %109
br label %110
110: ; preds = %94
%111 = load i32, i32* %2
%112 = add nsw i32 %111, 1
store i32 %112, i32* %2
br label %91
113: ; preds = %91
%114 = call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %2
br label %115
115: ; preds = %134, %113
%116 = load i32, i32* %2
%117 = icmp slt i32 %116, 8388608
br i1 %117, label %118, label %137
118: ; preds = %115
%119 = load i32*, i32** %3
%120 = load i32, i32* %2
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, i32* %119, i64 %121
%123 = load i32, i32* %122
%124 = load i32*, i32** %4
%125 = load i32, i32* %2
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, i32* %124, i64 %126
%128 = load i32, i32* %127
%129 = add nsw i32 %123, %128
%130 = load i32*, i32** %5
%131 = load i32, i32* %2
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, i32* %130, i64 %132
store i32 %129, i32* %133
br label %134
134: ; preds = %118
%135 = load i32, i32* %2
%136 = add nsw i32 %135, 1
store i32 %136, i32* %2
br label %115
137: ; preds = %115
br label %138
138: ; preds = %137
%139 = load i32, i32* %6
%140 = add nsw i32 %139, 1
store i32 %140, i32* %6
br label %36
141: ; preds = %36
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"loop %d\0A\00"
@.str.1 = [40 x i8] c"\09running parallel for schedule(static)\0A\00"
@.str.2 = [41 x i8] c"\09running parallel for schedule(runtime)\0A\00"
@.str.3 = [41 x i8] c"\09running parallel for schedule(dynamic)\0A\00"
@.str.4 = [40 x i8] c"\09running parallel for schedule(guided)\0A\00"
define i32 @main() {
%1 = tail call i32* @malloc(i32 33554432)
%2 = tail call i32* @malloc(i32 33554432)
%3 = tail call i32* @malloc(i32 33554432)
%4 = bitcast i32* %3 to i8*
br label %5
5: ; preds = %5, %0
%6 = phi i64 [ 0, %0 ], [ %17, %5 ]
%7 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %0 ], [ %18, %5 ]
%8 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %0 ], [ %19, %5 ]
%9 = mul <4 x i32> %7, <i32 17, i32 17, i32 17, i32 17>
%10 = urem <4 x i32> %9, <i32 7, i32 7, i32 7, i32 7>
%11 = getelementptr inbounds i32, i32* %1, i64 %6
%12 = bitcast i32* %11 to <4 x i32>*
store <4 x i32> %10, <4 x i32>* %12
%13 = mul <4 x i32> %8, <i32 19, i32 19, i32 19, i32 19>
%14 = urem <4 x i32> %13, <i32 7, i32 7, i32 7, i32 7>
%15 = getelementptr inbounds i32, i32* %2, i64 %6
%16 = bitcast i32* %15 to <4 x i32>*
store <4 x i32> %14, <4 x i32>* %16
%17 = add nuw i64 %6, 4
%18 = add <4 x i32> %7, <i32 4, i32 4, i32 4, i32 4>
%19 = add <4 x i32> %8, <i32 4, i32 4, i32 4, i32 4>
%20 = icmp eq i64 %17, 8388608
br i1 %20, label %21, label %5
21: ; preds = %5, %195
%22 = phi i32 [ %196, %195 ], [ 0, %5 ]
%23 = tail call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %22)
%24 = tail call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
br label %25
25: ; preds = %25, %21
%26 = phi i64 [ 0, %21 ], [ %64, %25 ]
%27 = getelementptr inbounds i32, i32* %1, i64 %26
%28 = bitcast i32* %27 to <4 x i32>*
%29 = load <4 x i32>, <4 x i32>* %28
%30 = getelementptr inbounds i32, i32* %27, i64 4
%31 = bitcast i32* %30 to <4 x i32>*
%32 = load <4 x i32>, <4 x i32>* %31
%33 = getelementptr inbounds i32, i32* %2, i64 %26
%34 = bitcast i32* %33 to <4 x i32>*
%35 = load <4 x i32>, <4 x i32>* %34
%36 = getelementptr inbounds i32, i32* %33, i64 4
%37 = bitcast i32* %36 to <4 x i32>*
%38 = load <4 x i32>, <4 x i32>* %37
%39 = add nsw <4 x i32> %35, %29
%40 = add nsw <4 x i32> %38, %32
%41 = getelementptr inbounds i32, i32* %3, i64 %26
%42 = bitcast i32* %41 to <4 x i32>*
store <4 x i32> %39, <4 x i32>* %42
%43 = getelementptr inbounds i32, i32* %41, i64 4
%44 = bitcast i32* %43 to <4 x i32>*
store <4 x i32> %40, <4 x i32>* %44
%45 = or i64 %26, 8
%46 = getelementptr inbounds i32, i32* %1, i64 %45
%47 = bitcast i32* %46 to <4 x i32>*
%48 = load <4 x i32>, <4 x i32>* %47
%49 = getelementptr inbounds i32, i32* %46, i64 4
%50 = bitcast i32* %49 to <4 x i32>*
%51 = load <4 x i32>, <4 x i32>* %50
%52 = getelementptr inbounds i32, i32* %2, i64 %45
%53 = bitcast i32* %52 to <4 x i32>*
%54 = load <4 x i32>, <4 x i32>* %53
%55 = getelementptr inbounds i32, i32* %52, i64 4
%56 = bitcast i32* %55 to <4 x i32>*
%57 = load <4 x i32>, <4 x i32>* %56
%58 = add nsw <4 x i32> %54, %48
%59 = add nsw <4 x i32> %57, %51
%60 = getelementptr inbounds i32, i32* %3, i64 %45
%61 = bitcast i32* %60 to <4 x i32>*
store <4 x i32> %58, <4 x i32>* %61
%62 = getelementptr inbounds i32, i32* %60, i64 4
%63 = bitcast i32* %62 to <4 x i32>*
store <4 x i32> %59, <4 x i32>* %63
%64 = add nuw nsw i64 %26, 16
%65 = icmp eq i64 %64, 8388608
br i1 %65, label %66, label %25
66: ; preds = %25
%67 = tail call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0))
br label %68
68: ; preds = %68, %66
%69 = phi i64 [ 0, %66 ], [ %107, %68 ]
%70 = getelementptr inbounds i32, i32* %1, i64 %69
%71 = bitcast i32* %70 to <4 x i32>*
%72 = load <4 x i32>, <4 x i32>* %71
%73 = getelementptr inbounds i32, i32* %70, i64 4
%74 = bitcast i32* %73 to <4 x i32>*
%75 = load <4 x i32>, <4 x i32>* %74
%76 = getelementptr inbounds i32, i32* %2, i64 %69
%77 = bitcast i32* %76 to <4 x i32>*
%78 = load <4 x i32>, <4 x i32>* %77
%79 = getelementptr inbounds i32, i32* %76, i64 4
%80 = bitcast i32* %79 to <4 x i32>*
%81 = load <4 x i32>, <4 x i32>* %80
%82 = add nsw <4 x i32> %78, %72
%83 = add nsw <4 x i32> %81, %75
%84 = getelementptr inbounds i32, i32* %3, i64 %69
%85 = bitcast i32* %84 to <4 x i32>*
store <4 x i32> %82, <4 x i32>* %85
%86 = getelementptr inbounds i32, i32* %84, i64 4
%87 = bitcast i32* %86 to <4 x i32>*
store <4 x i32> %83, <4 x i32>* %87
%88 = or i64 %69, 8
%89 = getelementptr inbounds i32, i32* %1, i64 %88
%90 = bitcast i32* %89 to <4 x i32>*
%91 = load <4 x i32>, <4 x i32>* %90
%92 = getelementptr inbounds i32, i32* %89, i64 4
%93 = bitcast i32* %92 to <4 x i32>*
%94 = load <4 x i32>, <4 x i32>* %93
%95 = getelementptr inbounds i32, i32* %2, i64 %88
%96 = bitcast i32* %95 to <4 x i32>*
%97 = load <4 x i32>, <4 x i32>* %96
%98 = getelementptr inbounds i32, i32* %95, i64 4
%99 = bitcast i32* %98 to <4 x i32>*
%100 = load <4 x i32>, <4 x i32>* %99
%101 = add nsw <4 x i32> %97, %91
%102 = add nsw <4 x i32> %100, %94
%103 = getelementptr inbounds i32, i32* %3, i64 %88
%104 = bitcast i32* %103 to <4 x i32>*
store <4 x i32> %101, <4 x i32>* %104
%105 = getelementptr inbounds i32, i32* %103, i64 4
%106 = bitcast i32* %105 to <4 x i32>*
store <4 x i32> %102, <4 x i32>* %106
%107 = add nuw nsw i64 %69, 16
%108 = icmp eq i64 %107, 8388608
br i1 %108, label %109, label %68
109: ; preds = %68
%110 = tail call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
br label %111
111: ; preds = %111, %109
%112 = phi i64 [ 0, %109 ], [ %150, %111 ]
%113 = getelementptr inbounds i32, i32* %1, i64 %112
%114 = bitcast i32* %113 to <4 x i32>*
%115 = load <4 x i32>, <4 x i32>* %114
%116 = getelementptr inbounds i32, i32* %113, i64 4
%117 = bitcast i32* %116 to <4 x i32>*
%118 = load <4 x i32>, <4 x i32>* %117
%119 = getelementptr inbounds i32, i32* %2, i64 %112
%120 = bitcast i32* %119 to <4 x i32>*
%121 = load <4 x i32>, <4 x i32>* %120
%122 = getelementptr inbounds i32, i32* %119, i64 4
%123 = bitcast i32* %122 to <4 x i32>*
%124 = load <4 x i32>, <4 x i32>* %123
%125 = add nsw <4 x i32> %121, %115
%126 = add nsw <4 x i32> %124, %118
%127 = getelementptr inbounds i32, i32* %3, i64 %112
%128 = bitcast i32* %127 to <4 x i32>*
store <4 x i32> %125, <4 x i32>* %128
%129 = getelementptr inbounds i32, i32* %127, i64 4
%130 = bitcast i32* %129 to <4 x i32>*
store <4 x i32> %126, <4 x i32>* %130
%131 = or i64 %112, 8
%132 = getelementptr inbounds i32, i32* %1, i64 %131
%133 = bitcast i32* %132 to <4 x i32>*
%134 = load <4 x i32>, <4 x i32>* %133
%135 = getelementptr inbounds i32, i32* %132, i64 4
%136 = bitcast i32* %135 to <4 x i32>*
%137 = load <4 x i32>, <4 x i32>* %136
%138 = getelementptr inbounds i32, i32* %2, i64 %131
%139 = bitcast i32* %138 to <4 x i32>*
%140 = load <4 x i32>, <4 x i32>* %139
%141 = getelementptr inbounds i32, i32* %138, i64 4
%142 = bitcast i32* %141 to <4 x i32>*
%143 = load <4 x i32>, <4 x i32>* %142
%144 = add nsw <4 x i32> %140, %134
%145 = add nsw <4 x i32> %143, %137
%146 = getelementptr inbounds i32, i32* %3, i64 %131
%147 = bitcast i32* %146 to <4 x i32>*
store <4 x i32> %144, <4 x i32>* %147
%148 = getelementptr inbounds i32, i32* %146, i64 4
%149 = bitcast i32* %148 to <4 x i32>*
store <4 x i32> %145, <4 x i32>* %149
%150 = add nuw nsw i64 %112, 16
%151 = icmp eq i64 %150, 8388608
br i1 %151, label %152, label %111
152: ; preds = %111
%153 = tail call i32 (i8*, ...) @debug(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
br label %154
154: ; preds = %154, %152
%155 = phi i64 [ 0, %152 ], [ %193, %154 ]
%156 = getelementptr inbounds i32, i32* %1, i64 %155
%157 = bitcast i32* %156 to <4 x i32>*
%158 = load <4 x i32>, <4 x i32>* %157
%159 = getelementptr inbounds i32, i32* %156, i64 4
%160 = bitcast i32* %159 to <4 x i32>*
%161 = load <4 x i32>, <4 x i32>* %160
%162 = getelementptr inbounds i32, i32* %2, i64 %155
%163 = bitcast i32* %162 to <4 x i32>*
%164 = load <4 x i32>, <4 x i32>* %163
%165 = getelementptr inbounds i32, i32* %162, i64 4
%166 = bitcast i32* %165 to <4 x i32>*
%167 = load <4 x i32>, <4 x i32>* %166
%168 = add nsw <4 x i32> %164, %158
%169 = add nsw <4 x i32> %167, %161
%170 = getelementptr inbounds i32, i32* %3, i64 %155
%171 = bitcast i32* %170 to <4 x i32>*
store <4 x i32> %168, <4 x i32>* %171
%172 = getelementptr inbounds i32, i32* %170, i64 4
%173 = bitcast i32* %172 to <4 x i32>*
store <4 x i32> %169, <4 x i32>* %173
%174 = or i64 %155, 8
%175 = getelementptr inbounds i32, i32* %1, i64 %174
%176 = bitcast i32* %175 to <4 x i32>*
%177 = load <4 x i32>, <4 x i32>* %176
%178 = getelementptr inbounds i32, i32* %175, i64 4
%179 = bitcast i32* %178 to <4 x i32>*
%180 = load <4 x i32>, <4 x i32>* %179
%181 = getelementptr inbounds i32, i32* %2, i64 %174
%182 = bitcast i32* %181 to <4 x i32>*
%183 = load <4 x i32>, <4 x i32>* %182
%184 = getelementptr inbounds i32, i32* %181, i64 4
%185 = bitcast i32* %184 to <4 x i32>*
%186 = load <4 x i32>, <4 x i32>* %185
%187 = add nsw <4 x i32> %183, %177
%188 = add nsw <4 x i32> %186, %180
%189 = getelementptr inbounds i32, i32* %3, i64 %174
%190 = bitcast i32* %189 to <4 x i32>*
store <4 x i32> %187, <4 x i32>* %190
%191 = getelementptr inbounds i32, i32* %189, i64 4
%192 = bitcast i32* %191 to <4 x i32>*
store <4 x i32> %188, <4 x i32>* %192
%193 = add nuw nsw i64 %155, 16
%194 = icmp eq i64 %193, 8388608
br i1 %194, label %195, label %154
195: ; preds = %154
%196 = add nuw nsw i32 %22, 1
%197 = icmp eq i32 %196, 10
br i1 %197, label %198, label %21
198: ; preds = %195
ret i32 0
}