#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 */
struct timeval {
  double tv_sec;
  double tv_usec;
};

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ free2D(double **, int, int);
int /*<<< orphan*/ gettimeofday(struct timeval *, int /*<<< orphan*/ *);
int /*<<< orphan*/ init2D(double **, int, int);
double **malloc2D(int, int);
int /*<<< orphan*/ print2DFile(double **, int, int, char *);
int /*<<< orphan*/ printf(char *, int, double);
int main(int argc, char *argv[]) {
  int i, j, k;
  double l;
  double total_time;
  struct timeval ts, tf;
  int X = atoi(argv[1]);
  int Y = X;
  double **A = malloc2D(X, Y);
  double *Ak, *Ai;
  init2D(A, X, Y);
  gettimeofday(&ts, NULL);
  for (k = 0; k < X - 1; k++) {
#pragma omp parallel private(Ak)
    {
      Ak = A[k];
#pragma omp for schedule(static) private(l, j, Ai)
      for (i = k + 1; i < X; i++) {
        Ai = A[i];
        l = Ai[k] / Ak[k];
        for (j = k; j < Y; j++)
          Ai[j] -= l * Ak[j];
      }
    }
  }
  gettimeofday(&tf, NULL);
  total_time = (tf.tv_sec - ts.tv_sec) + (tf.tv_usec - ts.tv_usec) * 0.000001;
  printf("LU-OpenMP\t%d\t%.3lf\n", X, total_time);
  char *filename = "output_omp";
  print2DFile(A, X, Y, filename);
  free2D(A, X, Y);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x58(%rbp),%esi
call   1090 <malloc2D@plt>
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x58(%rbp),%edx
call   1050 <init2D@plt>
lea    -0x40(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <gettimeofday@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x54(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    12bf <main+0x14f>
mov    -0x60(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x68(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x54(%rbp),%eax
jge    12ac <main+0x13c>
mov    -0x60(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x68(%rbp),%rax
movslq -0x1c(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1299 <main+0x129>
movsd  -0x28(%rbp),%xmm0
mov    -0x68(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x70(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    123c <main+0xcc>
jmp    129e <main+0x12e>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11fb <main+0x8b>
jmp    12b1 <main+0x141>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11d1 <main+0x61>
lea    -0x50(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <gettimeofday@plt>
movsd  -0x50(%rbp),%xmm1
subsd  -0x40(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
movsd  0xd18(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x54(%rbp),%esi
movsd  -0x30(%rbp),%xmm0
lea    0xd04(%rip),%rdi
call   1030 <printf@plt>
lea    0xd0c(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    -0x60(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x58(%rbp),%edx
mov    -0x78(%rbp),%rcx
call   1060 <print2DFile@plt>
mov    -0x60(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x58(%rbp),%edx
call   1080 <free2D@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    0x8(%rsi),%rdi
call   1070 <atoi@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
call   1090 <malloc2D@plt>
mov    %rax,%r12
mov    %rax,%rdi
mov    %ebx,%esi
mov    %ebx,%edx
call   1050 <init2D@plt>
lea    0x78(%rsp),%rdi
xor    %esi,%esi
call   1040 <gettimeofday@plt>
mov    %ebx,0xc(%rsp)
cmp    $0x2,%ebx
jl     14ab <main+0x33b>
mov    0xc(%rsp),%eax
mov    %eax,%r9d
add    $0xffffffff,%eax
mov    %rax,0x20(%rsp)
mov    %r9,%r8
neg    %r8
lea    -0x5(%r9),%rax
mov    %rax,0x18(%rsp)
mov    $0x1,%esi
mov    $0x7,%eax
mov    %rax,0x10(%rsp)
xor    %ecx,%ecx
movapd 0xe0c(%rip),%xmm0
mov    %r12,0x38(%rsp)
jmp    1220 <main+0xb0>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rsi
addq   $0x1,0x10(%rsp)
addq   $0xffffffffffffffff,0x18(%rsp)
mov    0x30(%rsp),%rcx
cmp    0x20(%rsp),%rcx
je     14ab <main+0x33b>
lea    0x1(%rcx),%rax
mov    %rax,0x30(%rsp)
cmp    %r9,%rax
jae    1200 <main+0x90>
mov    0x18(%rsp),%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x28(%rsp)
mov    %rcx,%r13
not    %r13
lea    (%r9,%r13,1),%rax
add    $0xfffffffffffffffc,%rax
add    %r9,%r13
mov    %rax,0x58(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rax,0x50(%rsp)
mov    (%r12,%rcx,8),%rdx
lea    (%rdx,%rsi,8),%rax
mov    %rax,0x60(%rsp)
lea    (%rdx,%r9,8),%r11
lea    0x1(%rcx),%r15
mov    %r13,%rax
and    $0xfffffffffffffffc,%rax
mov    %rax,0x48(%rsp)
add    %rcx,%rax
add    $0x1,%rax
mov    %rax,0x40(%rsp)
mov    0x10(%rsp),%rax
lea    (%rdx,%rax,8),%r14
mov    %rsi,%rdi
jmp    12bd <main+0x14d>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rdi
cmp    %r9,%rdi
je     1200 <main+0x90>
mov    (%r12,%rdi,8),%r10
movsd  (%rdx,%rcx,8),%xmm2
movsd  (%r10,%rcx,8),%xmm3
movapd %xmm3,%xmm1
xorpd  %xmm0,%xmm1
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm2
addsd  %xmm3,%xmm2
movsd  %xmm2,(%r10,%rcx,8)
cmp    %r9,%r15
je     12b0 <main+0x140>
mov    %r15,%rbx
cmp    $0x4,%r13
jb     1430 <main+0x2c0>
lea    (%r10,%rsi,8),%rbp
cmp    %r11,%rbp
jae    1313 <main+0x1a3>
lea    (%r10,%r9,8),%rbp
mov    %r15,%rbx
cmp    %rbp,0x60(%rsp)
jb     1430 <main+0x2c0>
mov    %r11,%rbp
mov    %r8,%rax
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
cmpq   $0x4,0x58(%rsp)
jae    1331 <main+0x1c1>
xor    %r12d,%r12d
jmp    13cb <main+0x25b>
mov    0x10(%rsp),%rbx
lea    (%r10,%rbx,8),%r8
mov    0x28(%rsp),%r11
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x30(%r14,%r12,8),%xmm3
movupd -0x20(%r14,%r12,8),%xmm4
mulpd  %xmm2,%xmm3
movupd -0x30(%r8,%r12,8),%xmm5
addpd  %xmm3,%xmm5
movupd -0x20(%r8,%r12,8),%xmm3
movupd -0x10(%r8,%r12,8),%xmm6
movupd (%r8,%r12,8),%xmm7
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm5,-0x30(%r8,%r12,8)
movupd %xmm4,-0x20(%r8,%r12,8)
movupd -0x10(%r14,%r12,8),%xmm3
movupd (%r14,%r12,8),%xmm4
mulpd  %xmm2,%xmm3
addpd  %xmm6,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm3,-0x10(%r8,%r12,8)
movupd %xmm4,(%r8,%r12,8)
add    $0x8,%r12
add    $0xfffffffffffffffe,%r11
jne    1350 <main+0x1e0>
testb  $0x1,0x50(%rsp)
mov    %rax,%r8
mov    %rbp,%r11
je     1412 <main+0x2a2>
add    %r15,%r12
movupd (%rdx,%r12,8),%xmm3
movupd 0x10(%rdx,%r12,8),%xmm4
movupd (%r10,%r12,8),%xmm5
movupd 0x10(%r10,%r12,8),%xmm6
mulpd  %xmm2,%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm6,%xmm4
movupd %xmm3,(%r10,%r12,8)
movupd %xmm4,0x10(%r10,%r12,8)
mov    0x40(%rsp),%rbx
cmp    0x48(%rsp),%r13
mov    0x38(%rsp),%r12
je     12b0 <main+0x140>
nopw   0x0(%rax,%rax,1)
mov    %r9d,%eax
sub    %ebx,%eax
mov    %rbx,%rbp
test   $0x1,%al
je     1455 <main+0x2e5>
movsd  (%rdx,%rbx,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%r10,%rbx,8),%xmm2
movsd  %xmm2,(%r10,%rbx,8)
lea    0x1(%rbx),%rbp
not    %rbx
cmp    %r8,%rbx
je     12b0 <main+0x140>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rdx,%rbp,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%r10,%rbp,8),%xmm2
movsd  %xmm2,(%r10,%rbp,8)
movsd  0x8(%rdx,%rbp,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  0x8(%r10,%rbp,8),%xmm2
movsd  %xmm2,0x8(%r10,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%r9
jne    1470 <main+0x300>
jmp    12b0 <main+0x140>
lea    0x68(%rsp),%rdi
xor    %esi,%esi
call   1040 <gettimeofday@plt>
movsd  0x68(%rsp),%xmm1
movsd  0x70(%rsp),%xmm0
subsd  0x78(%rsp),%xmm1
subsd  0x80(%rsp),%xmm0
mulsd  0xb36(%rip),%xmm0
addsd  %xmm1,%xmm0
lea    0xb33(%rip),%rdi
mov    0xc(%rsp),%ebx
mov    %ebx,%esi
call   1030 <printf@plt>
lea    0xb35(%rip),%rcx
mov    %r12,%rdi
mov    %ebx,%esi
mov    %ebx,%edx
call   1060 <print2DFile@plt>
mov    %r12,%rdi
mov    %ebx,%esi
mov    %ebx,%edx
call   1080 <free2D@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
%struct.timeval = type { double, double }
@.str = [20 x i8] c"LU-OpenMP\09%d\09%.3lf\0A\00"
@.str.1 = [11 x i8] c"output_omp\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.timeval
%4 = alloca %struct.timeval
%5 = bitcast %struct.timeval* %3 to i8*
%6 = bitcast %struct.timeval* %4 to i8*
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 @atoi(i8* %8)
%10 = tail call double** @malloc2D(i32 %9, i32 %9)
%11 = tail call i32 @init2D(double** %10, i32 %9, i32 %9)
%12 = call i32 @gettimeofday(%struct.timeval* %3, i32* null)
%13 = icmp sgt i32 %9, 1
br i1 %13, label %14, label %173
14: ; preds = %2
%15 = add nsw i32 %9, -1
%16 = zext i32 %9 to i64
%17 = zext i32 %15 to i64
%18 = zext i32 %9 to i64
%19 = sub nsw i64 0, %18
br label %23
20: ; preds = %170, %23
%21 = add nuw nsw i64 %24, 1
%22 = icmp eq i64 %35, %17
br i1 %22, label %173, label %23
23: ; preds = %14, %20
%24 = phi i64 [ 1, %14 ], [ %21, %20 ]
%25 = phi i64 [ 0, %14 ], [ %35, %20 ]
%26 = xor i64 %25, -1
%27 = add nsw i64 %26, %18
%28 = add i64 %27, -4
%29 = lshr i64 %28, 2
%30 = add nuw nsw i64 %29, 1
%31 = xor i64 %25, -1
%32 = add nsw i64 %31, %18
%33 = getelementptr inbounds double*, double** %10, i64 %25
%34 = load double*, double** %33
%35 = add nuw nsw i64 %25, 1
%36 = icmp ult i64 %35, %16
br i1 %36, label %37, label %20
37: ; preds = %23
%38 = getelementptr inbounds double, double* %34, i64 %25
%39 = getelementptr double, double* %34, i64 %24
%40 = getelementptr double, double* %34, i64 %18
%41 = add nuw nsw i64 %25, 1
%42 = icmp eq i64 %41, %18
%43 = icmp ult i64 %32, 4
%44 = and i64 %32, -4
%45 = add i64 %41, %44
%46 = and i64 %30, 1
%47 = icmp ult i64 %28, 4
%48 = and i64 %30, 9223372036854775806
%49 = icmp eq i64 %46, 0
%50 = icmp eq i64 %32, %44
br label %51
51: ; preds = %170, %37
%52 = phi i64 [ %24, %37 ], [ %171, %170 ]
%53 = getelementptr inbounds double*, double** %10, i64 %52
%54 = load double*, double** %53
%55 = load double, double* %38
%56 = getelementptr inbounds double, double* %54, i64 %25
%57 = load double, double* %56
%58 = fneg double %57
%59 = fdiv double %58, %55
%60 = getelementptr inbounds double, double* %54, i64 %25
%61 = tail call double @llvm.fmuladd.f64(double %59, double %55, double %57)
store double %61, double* %60
br i1 %42, label %170, label %62
62: ; preds = %51
br i1 %43, label %136, label %63
63: ; preds = %62
%64 = getelementptr double, double* %54, i64 %24
%65 = getelementptr double, double* %54, i64 %18
%66 = icmp ult double* %64, %40
%67 = icmp ult double* %39, %65
%68 = and i1 %66, %67
br i1 %68, label %136, label %69
69: ; preds = %63
%70 = insertelement <2 x double> poison, double %59, i64 0
%71 = shufflevector <2 x double> %70, <2 x double> poison, <2 x i32> zeroinitializer
%72 = insertelement <2 x double> poison, double %59, i64 0
%73 = shufflevector <2 x double> %72, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %47, label %115, label %74
74: ; preds = %69, %74
%75 = phi i64 [ %112, %74 ], [ 0, %69 ]
%76 = phi i64 [ %113, %74 ], [ 0, %69 ]
%77 = add i64 %41, %75
%78 = getelementptr inbounds double, double* %34, i64 %77
%79 = bitcast double* %78 to <2 x double>*
%80 = load <2 x double>, <2 x double>* %79
%81 = getelementptr inbounds double, double* %78, i64 2
%82 = bitcast double* %81 to <2 x double>*
%83 = load <2 x double>, <2 x double>* %82
%84 = getelementptr inbounds double, double* %54, i64 %77
%85 = bitcast double* %84 to <2 x double>*
%86 = load <2 x double>, <2 x double>* %85
%87 = getelementptr inbounds double, double* %84, i64 2
%88 = bitcast double* %87 to <2 x double>*
%89 = load <2 x double>, <2 x double>* %88
%90 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %71, <2 x double> %80, <2 x double> %86)
%91 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %73, <2 x double> %83, <2 x double> %89)
%92 = bitcast double* %84 to <2 x double>*
store <2 x double> %90, <2 x double>* %92
%93 = bitcast double* %87 to <2 x double>*
store <2 x double> %91, <2 x double>* %93
%94 = or i64 %75, 4
%95 = add i64 %41, %94
%96 = getelementptr inbounds double, double* %34, 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* %54, 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 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %71, <2 x double> %98, <2 x double> %104)
%109 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %73, <2 x double> %101, <2 x double> %107)
%110 = bitcast double* %102 to <2 x double>*
store <2 x double> %108, <2 x double>* %110
%111 = bitcast double* %105 to <2 x double>*
store <2 x double> %109, <2 x double>* %111
%112 = add nuw i64 %75, 8
%113 = add i64 %76, 2
%114 = icmp eq i64 %113, %48
br i1 %114, label %115, label %74
115: ; preds = %74, %69
%116 = phi i64 [ 0, %69 ], [ %112, %74 ]
br i1 %49, label %135, label %117
117: ; preds = %115
%118 = add i64 %41, %116
%119 = getelementptr inbounds double, double* %34, i64 %118
%120 = bitcast double* %119 to <2 x double>*
%121 = load <2 x double>, <2 x double>* %120
%122 = getelementptr inbounds double, double* %119, i64 2
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %54, i64 %118
%126 = bitcast double* %125 to <2 x double>*
%127 = load <2 x double>, <2 x double>* %126
%128 = getelementptr inbounds double, double* %125, i64 2
%129 = bitcast double* %128 to <2 x double>*
%130 = load <2 x double>, <2 x double>* %129
%131 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %71, <2 x double> %121, <2 x double> %127)
%132 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %73, <2 x double> %124, <2 x double> %130)
%133 = bitcast double* %125 to <2 x double>*
store <2 x double> %131, <2 x double>* %133
%134 = bitcast double* %128 to <2 x double>*
store <2 x double> %132, <2 x double>* %134
br label %135
135: ; preds = %115, %117
br i1 %50, label %170, label %136
136: ; preds = %63, %62, %135
%137 = phi i64 [ %41, %63 ], [ %41, %62 ], [ %45, %135 ]
%138 = sub i64 %18, %137
%139 = xor i64 %137, -1
%140 = and i64 %138, 1
%141 = icmp eq i64 %140, 0
br i1 %141, label %150, label %142
142: ; preds = %136
%143 = getelementptr inbounds double, double* %34, i64 %137
%144 = load double, double* %143
%145 = getelementptr inbounds double, double* %54, i64 %137
%146 = load double, double* %145
%147 = getelementptr inbounds double, double* %54, i64 %137
%148 = tail call double @llvm.fmuladd.f64(double %59, double %144, double %146)
store double %148, double* %147
%149 = add nuw nsw i64 %137, 1
br label %150
150: ; preds = %142, %136
%151 = phi i64 [ %137, %136 ], [ %149, %142 ]
%152 = icmp eq i64 %139, %19
br i1 %152, label %170, label %153
153: ; preds = %150, %153
%154 = phi i64 [ %168, %153 ], [ %151, %150 ]
%155 = getelementptr inbounds double, double* %34, i64 %154
%156 = load double, double* %155
%157 = getelementptr inbounds double, double* %54, i64 %154
%158 = load double, double* %157
%159 = getelementptr inbounds double, double* %54, i64 %154
%160 = tail call double @llvm.fmuladd.f64(double %59, double %156, double %158)
store double %160, double* %159
%161 = add nuw nsw i64 %154, 1
%162 = getelementptr inbounds double, double* %34, i64 %161
%163 = load double, double* %162
%164 = getelementptr inbounds double, double* %54, i64 %161
%165 = load double, double* %164
%166 = getelementptr inbounds double, double* %54, i64 %161
%167 = tail call double @llvm.fmuladd.f64(double %59, double %163, double %165)
store double %167, double* %166
%168 = add nuw nsw i64 %154, 2
%169 = icmp eq i64 %168, %18
br i1 %169, label %170, label %153
170: ; preds = %150, %153, %135, %51
%171 = add nuw nsw i64 %52, 1
%172 = icmp eq i64 %171, %18
br i1 %172, label %20, label %51
173: ; preds = %20, %2
%174 = call i32 @gettimeofday(%struct.timeval* %4, i32* null)
%175 = getelementptr inbounds %struct.timeval, %struct.timeval* %4, i64 0, i32 0
%176 = load double, double* %175
%177 = getelementptr inbounds %struct.timeval, %struct.timeval* %3, i64 0, i32 0
%178 = load double, double* %177
%179 = fsub double %176, %178
%180 = getelementptr inbounds %struct.timeval, %struct.timeval* %4, i64 0, i32 1
%181 = load double, double* %180
%182 = getelementptr inbounds %struct.timeval, %struct.timeval* %3, i64 0, i32 1
%183 = load double, double* %182
%184 = fsub double %181, %183
%185 = tail call double @llvm.fmuladd.f64(double %184, double 0x3EB0C6F7A0B5ED8D, double %179)
%186 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %9, double %185)
%187 = tail call i32 @print2DFile(double** %10, i32 %9, i32 %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%188 = tail call i32 @free2D(double** %10, i32 %9, i32 %9)
ret i32 0
}