#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 test_linear() {
  int a[100], aa[100];
  int i, error = 0;
  for (i = 0; i < 100; i++)
    aa[i] = a[i] = -1;
  int l = 0;
#pragma omp target map(tofrom : a [0:100])
  {
#pragma omp teams distribute simd num_teams(1) linear(l : 2)
    for (int k = 0; k < 100; k++) {
      l = 2 * k;
      a[k] = l;
    }
  }
  for (i = 0; i < 100; i++)
    aa[i] = 2 * i;
  for (i = 0; i < 100; i++) {
    if (a[i] != aa[i])
      printf("%d: a %d != %d (error %d)\n", i, a[i], aa[i], ++error);
    if (error > 10) {
      printf("abort\n");
      return error;
      ;
    }
  }
  return error;
}


x86 assembly (clang, -O0):
<test_linear>:
push   %rbp
mov    %rsp,%rbp
sub    $0x340,%rsp
movl   $0x0,-0x338(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1174 <test_linear+0x64>
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    112f <test_linear+0x1f>
movl   $0x0,-0x33c(%rbp)
movl   $0x0,-0x340(%rbp)
cmpl   $0x64,-0x340(%rbp)
jge    11cc <test_linear+0xbc>
mov    -0x340(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x33c(%rbp)
mov    -0x33c(%rbp),%ecx
movslq -0x340(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    1188 <test_linear+0x78>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    120e <test_linear+0xfe>
mov    -0x334(%rbp),%ecx
shl    $0x1,%ecx
movslq -0x334(%rbp),%rax
mov    %ecx,-0x330(%rbp,%rax,4)
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    11d6 <test_linear+0xc6>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    12cb <test_linear+0x1bb>
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
movslq -0x334(%rbp),%rcx
cmp    -0x330(%rbp,%rcx,4),%eax
je     1289 <test_linear+0x179>
mov    -0x334(%rbp),%esi
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%edx
movslq -0x334(%rbp),%rax
mov    -0x330(%rbp,%rax,4),%ecx
mov    -0x338(%rbp),%r8d
add    $0x1,%r8d
mov    %r8d,-0x338(%rbp)
lea    0xd7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa,-0x338(%rbp)
jle    12b2 <test_linear+0x1a2>
lea    0xd7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    12d4 <test_linear+0x1c4>
jmp    12b7 <test_linear+0x1a7>
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1218 <test_linear+0x108>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x340,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_linear>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x328,%rsp
lea    0x190(%rsp),%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1050 <memset@plt>
mov    %rsp,%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1050 <memset@plt>
movaps 0xe93(%rip),%xmm0
movaps %xmm0,0x190(%rsp)
movaps %xmm0,(%rsp)
movaps 0xe90(%rip),%xmm0
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x10(%rsp)
movaps 0xe8c(%rip),%xmm0
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x20(%rsp)
movaps 0xe88(%rip),%xmm0
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x30(%rsp)
movaps 0xe84(%rip),%xmm0
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x40(%rsp)
movaps 0xe80(%rip),%xmm0
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x50(%rsp)
movaps 0xe7c(%rip),%xmm0
movaps %xmm0,0x1f0(%rsp)
movaps %xmm0,0x60(%rsp)
movaps 0xe78(%rip),%xmm0
movaps %xmm0,0x200(%rsp)
movaps %xmm0,0x70(%rsp)
movaps 0xe74(%rip),%xmm0
movaps %xmm0,0x210(%rsp)
movaps %xmm0,0x80(%rsp)
movaps 0xe6d(%rip),%xmm0
movaps %xmm0,0x220(%rsp)
movaps %xmm0,0x90(%rsp)
movaps 0xe66(%rip),%xmm0
movaps %xmm0,0x230(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,0x240(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps 0xe58(%rip),%xmm0
movaps %xmm0,0x250(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps 0xe51(%rip),%xmm0
movaps %xmm0,0x260(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps 0xe4a(%rip),%xmm0
movaps %xmm0,0x270(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps 0xe43(%rip),%xmm0
movaps %xmm0,0x280(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps 0xe3c(%rip),%xmm0
movaps %xmm0,0x290(%rsp)
movaps %xmm0,0x100(%rsp)
movaps 0xe35(%rip),%xmm0
movaps %xmm0,0x2a0(%rsp)
movaps %xmm0,0x110(%rsp)
movaps 0xe2e(%rip),%xmm0
movaps %xmm0,0x2b0(%rsp)
movaps %xmm0,0x120(%rsp)
movaps 0xe27(%rip),%xmm0
movaps %xmm0,0x2c0(%rsp)
movaps %xmm0,0x130(%rsp)
movaps 0xe20(%rip),%xmm0
movaps %xmm0,0x2d0(%rsp)
movaps %xmm0,0x140(%rsp)
movaps 0xe19(%rip),%xmm0
movaps %xmm0,0x2e0(%rsp)
movaps %xmm0,0x150(%rsp)
movaps 0xe12(%rip),%xmm0
movaps %xmm0,0x2f0(%rsp)
movaps %xmm0,0x160(%rsp)
movaps 0xe0b(%rip),%xmm0
movaps %xmm0,0x300(%rsp)
movaps %xmm0,0x170(%rsp)
movaps 0xe04(%rip),%xmm0
movaps %xmm0,0x310(%rsp)
movaps %xmm0,0x180(%rsp)
lea    0xdfd(%rip),%r14
xor    %ebx,%ebx
xor    %r15d,%r15d
jmp    13aa <test_linear+0x27a>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbx
cmp    $0x64,%rbx
je     13e6 <test_linear+0x2b6>
mov    0x190(%rsp,%rbx,4),%edx
mov    (%rsp,%rbx,4),%ecx
cmp    %ecx,%edx
je     13a0 <test_linear+0x270>
lea    0x1(%r15),%ebp
mov    %r14,%rdi
mov    %ebx,%esi
mov    %ebp,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xa,%r15d
mov    %ebp,%r15d
jl     13a0 <test_linear+0x270>
lea    0xdd0(%rip),%rdi
call   1030 <puts@plt>
mov    $0xb,%r15d
mov    %r15d,%eax
add    $0x328,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [27 x i8] c"%d: a %d != %d (error %d)\0A\00"
@.str.1 = [7 x i8] c"abort\0A\00"
define i32 @test_linear() {
%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
store i32 0, i32* %5
store i32 0, i32* %4
br label %8
8: ; preds = %18, %0
%9 = load i32, i32* %4
%10 = icmp slt i32 %9, 100
br i1 %10, label %11, label %21
11: ; preds = %8
%12 = load i32, i32* %4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %13
store i32 -1, i32* %14
%15 = load i32, i32* %4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %16
store i32 -1, i32* %17
br label %18
18: ; preds = %11
%19 = load i32, i32* %4
%20 = add nsw i32 %19, 1
store i32 %20, i32* %4
br label %8
21: ; preds = %8
store i32 0, i32* %6
store i32 0, i32* %7
br label %22
22: ; preds = %32, %21
%23 = load i32, i32* %7
%24 = icmp slt i32 %23, 100
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i32, i32* %7
%27 = mul nsw i32 2, %26
store i32 %27, i32* %6
%28 = load i32, i32* %6
%29 = load i32, i32* %7
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %30
store i32 %28, i32* %31
br label %32
32: ; preds = %25
%33 = load i32, i32* %7
%34 = add nsw i32 %33, 1
store i32 %34, i32* %7
br label %22
35: ; preds = %22
store i32 0, i32* %4
br label %36
36: ; preds = %45, %35
%37 = load i32, i32* %4
%38 = icmp slt i32 %37, 100
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load i32, i32* %4
%41 = mul nsw i32 2, %40
%42 = load i32, i32* %4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %43
store i32 %41, i32* %44
br label %45
45: ; preds = %39
%46 = load i32, i32* %4
%47 = add nsw i32 %46, 1
store i32 %47, i32* %4
br label %36
48: ; preds = %36
store i32 0, i32* %4
br label %49
49: ; preds = %82, %48
%50 = load i32, i32* %4
%51 = icmp slt i32 %50, 100
br i1 %51, label %52, label %85
52: ; preds = %49
%53 = load i32, i32* %4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %54
%56 = load i32, i32* %55
%57 = load i32, i32* %4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %58
%60 = load i32, i32* %59
%61 = icmp ne i32 %56, %60
br i1 %61, label %62, label %75
62: ; preds = %52
%63 = load i32, i32* %4
%64 = load i32, i32* %4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %65
%67 = load i32, i32* %66
%68 = load i32, i32* %4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = load i32, i32* %5
%73 = add nsw i32 %72, 1
store i32 %73, i32* %5
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %63, i32 %67, i32 %71, i32 %73)
br label %75
75: ; preds = %62, %52
%76 = load i32, i32* %5
%77 = icmp sgt i32 %76, 10
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%80 = load i32, i32* %5
store i32 %80, i32* %1
br label %87
81: ; preds = %75
br label %82
82: ; preds = %81
%83 = load i32, i32* %4
%84 = add nsw i32 %83, 1
store i32 %84, i32* %4
br label %49
85: ; preds = %49
%86 = load i32, i32* %5
store i32 %86, i32* %1
br label %87
87: ; preds = %85, %78
%88 = load i32, i32* %1
ret i32 %88
}

LLVM IR (-O2):
@.str = [27 x i8] c"%d: a %d != %d (error %d)\0A\00"
@str = [6 x i8] c"abort\00"
define i32 @test_linear() {
%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 2, i32 4, i32 6>, <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 8, i32 10, i32 12, i32 14>, <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 16, i32 18, i32 20, i32 22>, <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 24, i32 26, i32 28, i32 30>, <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 32, i32 34, i32 36, i32 38>, <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 40, i32 42, i32 44, i32 46>, <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 48, i32 50, i32 52, i32 54>, <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 56, i32 58, i32 60, i32 62>, <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 64, i32 66, i32 68, i32 70>, <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 72, i32 74, i32 76, i32 78>, <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 80, i32 82, i32 84, i32 86>, <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 88, i32 90, i32 92, i32 94>, <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 96, i32 98, i32 100, i32 102>, <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 104, i32 106, i32 108, i32 110>, <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 112, i32 114, i32 116, i32 118>, <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 120, i32 122, i32 124, i32 126>, <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 128, i32 130, i32 132, i32 134>, <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 136, i32 138, i32 140, i32 142>, <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 144, i32 146, i32 148, i32 150>, <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 152, i32 154, i32 156, i32 158>, <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 160, i32 162, i32 164, i32 166>, <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 168, i32 170, i32 172, i32 174>, <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 176, i32 178, i32 180, i32 182>, <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 184, i32 186, i32 188, i32 190>, <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 192, i32 194, i32 196, i32 198>, <4 x i32>* %53
%54 = bitcast [100 x i32]* %3 to <4 x i32>*
store <4 x i32> <i32 0, i32 2, i32 4, i32 6>, <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 8, i32 10, i32 12, i32 14>, <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 16, i32 18, i32 20, i32 22>, <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 24, i32 26, i32 28, i32 30>, <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 32, i32 34, i32 36, i32 38>, <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 40, i32 42, i32 44, i32 46>, <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 48, i32 50, i32 52, i32 54>, <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 56, i32 58, i32 60, i32 62>, <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 64, i32 66, i32 68, i32 70>, <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 72, i32 74, i32 76, i32 78>, <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 80, i32 82, i32 84, i32 86>, <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 88, i32 90, i32 92, i32 94>, <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 96, i32 98, i32 100, i32 102>, <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 104, i32 106, i32 108, i32 110>, <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 112, i32 114, i32 116, i32 118>, <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 120, i32 122, i32 124, i32 126>, <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 128, i32 130, i32 132, i32 134>, <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 136, i32 138, i32 140, i32 142>, <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 144, i32 146, i32 148, i32 150>, <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 152, i32 154, i32 156, i32 158>, <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 160, i32 162, i32 164, i32 166>, <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 168, i32 170, i32 172, i32 174>, <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 176, i32 178, i32 180, i32 182>, <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 184, i32 186, i32 188, i32 190>, <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 192, i32 194, i32 196, i32 198>, <4 x i32>* %102
br label %103
103: ; preds = %0, %118
%104 = phi i64 [ %120, %118 ], [ 0, %0 ]
%105 = phi i32 [ %119, %118 ], [ 0, %0 ]
%106 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %104
%107 = load i32, i32* %106
%108 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %104
%109 = load i32, i32* %108
%110 = icmp eq i32 %107, %109
br i1 %110, label %118, label %111
111: ; preds = %103
%112 = add nsw i32 %105, 1
%113 = trunc i64 %104 to i32
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %113, i32 %107, i32 %109, i32 %112)
%115 = icmp sgt i32 %105, 9
br i1 %115, label %116, label %118
116: ; preds = %111
%117 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
br label %122
118: ; preds = %103, %111
%119 = phi i32 [ %112, %111 ], [ %105, %103 ]
%120 = add nuw nsw i64 %104, 1
%121 = icmp eq i64 %120, 100
br i1 %121, label %122, label %103
122: ; preds = %118, %116
%123 = phi i32 [ 11, %116 ], [ %119, %118 ]
ret i32 %123
}