#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*/ free(double *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  const int LENGTH = 2000;
  printf("Allocating arrays of size %d elements.\n", LENGTH);
  double *a = (double *)malloc(sizeof(double) * LENGTH);
  double *b = (double *)malloc(sizeof(double) * LENGTH);
  double *c = (double *)malloc(sizeof(double) * LENGTH);
  printf("Done allocating arrays.\n");
  int i;
  for (i = 0; i < LENGTH; ++i) {
    a[i] = i;
    b[i] = LENGTH - i;
    c[i] = 0;
  }
  printf("Perfoming the fast_c compute loop...\n");
#pragma omp parallel for
  for (i = 0; i < LENGTH; ++i) {
    c[i] = 2.0 * a[i] + 1.5 * b[i];
  }
  double sum = 0;
  for (i = 0; i < LENGTH; ++i) {
    sum += c[i];
  }
  printf("Sum of arrays is: %f\n", sum);
  printf("Freeing arrays...\n");
  free(a);
  free(b);
  free(c);
  printf("Done.\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x7d0,-0x14(%rbp)
lea    0xeb4(%rip),%rdi
mov    $0x7d0,%esi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x3e80,%edi
call   1050 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0x3e80,%edi
call   1050 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0x3e80,%edi
call   1050 <malloc@plt>
mov    %rax,-0x30(%rbp)
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x7d0,-0x34(%rbp)
jge    11f5 <main+0xc5>
cvtsi2sdl -0x34(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    $0x7d0,%eax
sub    -0x34(%rbp),%eax
cvtsi2sd %eax,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    119f <main+0x6f>
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x7d0,-0x34(%rbp)
jge    125c <main+0x12c>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  0xdcc(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    120a <main+0xda>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x7d0,-0x34(%rbp)
jge    129d <main+0x16d>
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    126b <main+0x13b>
movsd  -0x40(%rbp),%xmm0
lea    0xdc6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xdce(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
lea    0xdb8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xf16(%rip),%rdi
mov    $0x7d0,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x3e80,%edi
call   1060 <malloc@plt>
mov    %rax,%r14
mov    $0x3e80,%edi
call   1060 <malloc@plt>
mov    %rax,%r15
mov    $0x3e80,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
lea    0xf1a(%rip),%rdi
call   1040 <puts@plt>
lea    0x3e80(%r14),%rbp
lea    0x3e80(%r15),%r13
lea    0x3e80(%rbx),%r12
cmp    %r13,%r14
setb   %r8b
cmp    %rbp,%r15
setb   %dl
cmp    %r12,%r14
setb   %cl
cmp    %rbp,%rbx
setb   %dil
cmp    %r12,%r15
setb   %al
cmp    %r13,%rbx
setb   %sil
test   %dl,%r8b
jne    1281 <main+0x141>
and    %dil,%cl
jne    1281 <main+0x141>
and    %sil,%al
jne    1281 <main+0x141>
movdqa 0xe10(%rip),%xmm0
mov    $0x2,%eax
movdqa 0xe12(%rip),%xmm8
movdqa 0xe1a(%rip),%xmm2
movdqa 0xe22(%rip),%xmm3
xorpd  %xmm4,%xmm4
movdqa 0xe26(%rip),%xmm5
movdqa %xmm0,%xmm6
xchg   %ax,%ax
movdqa %xmm0,%xmm7
paddd  %xmm8,%xmm7
cvtdq2pd %xmm0,%xmm1
cvtdq2pd %xmm7,%xmm7
movups %xmm1,-0x10(%r14,%rax,8)
movups %xmm7,(%r14,%rax,8)
movdqa %xmm2,%xmm1
psubd  %xmm6,%xmm1
movdqa %xmm3,%xmm7
psubd  %xmm6,%xmm7
cvtdq2pd %xmm1,%xmm1
cvtdq2pd %xmm7,%xmm7
movupd %xmm1,-0x10(%r15,%rax,8)
movups %xmm7,(%r15,%rax,8)
movupd %xmm4,-0x10(%rbx,%rax,8)
movupd %xmm4,(%rbx,%rax,8)
paddd  %xmm5,%xmm0
paddd  %xmm5,%xmm6
add    $0x4,%rax
cmp    $0x7d2,%rax
jne    1220 <main+0xe0>
jmp    12ed <main+0x1ad>
mov    $0x7cf,%eax
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,(%r14,%rcx,8)
lea    0x1(%rax),%edx
xorps  %xmm0,%xmm0
cvtsi2sd %edx,%xmm0
movsd  %xmm0,(%r15,%rcx,8)
movq   $0x0,(%rbx,%rcx,8)
lea    0x1(%rcx),%edx
xorps  %xmm0,%xmm0
cvtsi2sd %edx,%xmm0
movsd  %xmm0,0x8(%r14,%rcx,8)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x8(%r15,%rcx,8)
movq   $0x0,0x8(%rbx,%rcx,8)
add    $0xfffffffe,%eax
add    $0x2,%rcx
cmp    $0x7d0,%rcx
jne    1290 <main+0x150>
lea    0xdca(%rip),%rdi
call   1040 <puts@plt>
cmp    %rbp,%rbx
setb   %dl
cmp    %r12,%r14
setb   %cl
cmp    %r13,%rbx
setb   %al
cmp    %r12,%r15
setb   %sil
test   %cl,%dl
jne    13bf <main+0x27f>
and    %sil,%al
jne    13bf <main+0x27f>
mov    $0x6,%eax
movapd 0xd20(%rip),%xmm0
movupd -0x30(%r14,%rax,8),%xmm1
movupd -0x20(%r14,%rax,8),%xmm2
movupd -0x30(%r15,%rax,8),%xmm3
movupd -0x20(%r15,%rax,8),%xmm4
mulpd  %xmm0,%xmm3
mulpd  %xmm0,%xmm4
addpd  %xmm1,%xmm1
addpd  %xmm3,%xmm1
addpd  %xmm2,%xmm2
addpd  %xmm4,%xmm2
movupd %xmm1,-0x30(%rbx,%rax,8)
movupd %xmm2,-0x20(%rbx,%rax,8)
movupd -0x10(%r14,%rax,8),%xmm1
movupd (%r14,%rax,8),%xmm2
movupd -0x10(%r15,%rax,8),%xmm3
movupd (%r15,%rax,8),%xmm4
mulpd  %xmm0,%xmm3
mulpd  %xmm0,%xmm4
addpd  %xmm1,%xmm1
addpd  %xmm3,%xmm1
addpd  %xmm2,%xmm2
addpd  %xmm4,%xmm2
movupd %xmm1,-0x10(%rbx,%rax,8)
movupd %xmm2,(%rbx,%rax,8)
add    $0x8,%rax
cmp    $0x7d6,%rax
jne    1330 <main+0x1f0>
jmp    1419 <main+0x2d9>
mov    $0x1,%eax
movsd  0xc94(%rip),%xmm0
nopl   0x0(%rax)
movsd  -0x8(%r14,%rax,8),%xmm1
movsd  -0x8(%r15,%rax,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm1
addsd  %xmm2,%xmm1
movsd  %xmm1,-0x8(%rbx,%rax,8)
movsd  (%r14,%rax,8),%xmm1
movsd  (%r15,%rax,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm1
addsd  %xmm2,%xmm1
movsd  %xmm1,(%rbx,%rax,8)
add    $0x2,%rax
cmp    $0x7d1,%rax
jne    13d0 <main+0x290>
xorpd  %xmm0,%xmm0
mov    $0x7,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
addsd  -0x38(%rbx,%rax,8),%xmm0
addsd  -0x30(%rbx,%rax,8),%xmm0
addsd  -0x28(%rbx,%rax,8),%xmm0
addsd  -0x20(%rbx,%rax,8),%xmm0
addsd  -0x18(%rbx,%rax,8),%xmm0
addsd  -0x10(%rbx,%rax,8),%xmm0
addsd  -0x8(%rbx,%rax,8),%xmm0
addsd  (%rbx,%rax,8),%xmm0
add    $0x8,%rax
cmp    $0x7d7,%rax
jne    1430 <main+0x2f0>
lea    0xc1e(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
lea    0xc63(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xc51(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [40 x i8] c"Allocating arrays of size %d elements.\0A\00"
@.str.1 = [25 x i8] c"Done allocating arrays.\0A\00"
@.str.2 = [38 x i8] c"Perfoming the fast_c compute loop...\0A\00"
@.str.3 = [22 x i8] c"Sum of arrays is: %f\0A\00"
@.str.4 = [19 x i8] c"Freeing arrays...\0A\00"
@.str.5 = [7 x i8] c"Done.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca double*
%8 = alloca double*
%9 = alloca double*
%10 = alloca i32
%11 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 2000, i32* %6
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0), i32 2000)
%13 = call i64 @malloc(i32 16000)
%14 = inttoptr i64 %13 to double*
store double* %14, double** %7
%15 = call i64 @malloc(i32 16000)
%16 = inttoptr i64 %15 to double*
store double* %16, double** %8
%17 = call i64 @malloc(i32 16000)
%18 = inttoptr i64 %17 to double*
store double* %18, double** %9
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %10
br label %20
20: ; preds = %41, %2
%21 = load i32, i32* %10
%22 = icmp slt i32 %21, 2000
br i1 %22, label %23, label %44
23: ; preds = %20
%24 = load i32, i32* %10
%25 = sitofp i32 %24 to double
%26 = load double*, double** %7
%27 = load i32, i32* %10
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, double* %26, i64 %28
store double %25, double* %29
%30 = load i32, i32* %10
%31 = sub nsw i32 2000, %30
%32 = sitofp i32 %31 to double
%33 = load double*, double** %8
%34 = load i32, i32* %10
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, double* %33, i64 %35
store double %32, double* %36
%37 = load double*, double** %9
%38 = load i32, i32* %10
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, double* %37, i64 %39
store double 0.000000e+00, double* %40
br label %41
41: ; preds = %23
%42 = load i32, i32* %10
%43 = add nsw i32 %42, 1
store i32 %43, i32* %10
br label %20
44: ; preds = %20
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %10
br label %46
46: ; preds = %66, %44
%47 = load i32, i32* %10
%48 = icmp slt i32 %47, 2000
br i1 %48, label %49, label %69
49: ; preds = %46
%50 = load double*, double** %7
%51 = load i32, i32* %10
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, double* %50, i64 %52
%54 = load double, double* %53
%55 = load double*, double** %8
%56 = load i32, i32* %10
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, double* %55, i64 %57
%59 = load double, double* %58
%60 = fmul double 1.500000e+00, %59
%61 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %54, double %60)
%62 = load double*, double** %9
%63 = load i32, i32* %10
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, double* %62, i64 %64
store double %61, double* %65
br label %66
66: ; preds = %49
%67 = load i32, i32* %10
%68 = add nsw i32 %67, 1
store i32 %68, i32* %10
br label %46
69: ; preds = %46
store double 0.000000e+00, double* %11
store i32 0, i32* %10
br label %70
70: ; preds = %81, %69
%71 = load i32, i32* %10
%72 = icmp slt i32 %71, 2000
br i1 %72, label %73, label %84
73: ; preds = %70
%74 = load double*, double** %9
%75 = load i32, i32* %10
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %74, i64 %76
%78 = load double, double* %77
%79 = load double, double* %11
%80 = fadd double %79, %78
store double %80, double* %11
br label %81
81: ; preds = %73
%82 = load i32, i32* %10
%83 = add nsw i32 %82, 1
store i32 %83, i32* %10
br label %70
84: ; preds = %70
%85 = load double, double* %11
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), double %85)
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
%88 = load double*, double** %7
%89 = call i32 @free(double* %88)
%90 = load double*, double** %8
%91 = call i32 @free(double* %90)
%92 = load double*, double** %9
%93 = call i32 @free(double* %92)
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%95 = load i32, i32* %3
ret i32 %95
}

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