#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 */
typedef scalar_t__ clock_t;

/* Variables and functions */
double CLOCKS_PER_SEC;
int EXIT_SUCCESS;
double *calloc(int, int);
scalar_t__ clock();
int /*<<< orphan*/ free(double *);
int /*<<< orphan*/ printf(char *, int, ...);
int main(int argc, char *argv[]) {
  double *matrix_a, *matrix_b, *matrix_c;
  matrix_a = calloc(100 * 100, sizeof(double));
  matrix_b = calloc(100 * 100, sizeof(double));
  matrix_c = calloc(100 * 100, sizeof(double));
  int i, j, k;
  for (i = 0; i < 100; i++)
    for (j = 0; j < 100; j++)
      matrix_a[i * 100 + j] = i + j;
  for (i = 0; i < 100; i++)
    for (j = 0; j < 100; j++)
      matrix_b[i * 100 + j] = i * j;
  clock_t time_start, time_end;
  time_start = clock();
  printf("time_start: %f\n", (double)time_start);
  for (k = 0; k < 100; k++) {
    for (i = 0; i < 100; i++) {
      matrix_c[i * 100 + k] = 0.0;
      for (j = 0; j < 100; j++) {
        matrix_c[i * 100 + k] += matrix_a[i * 100 + j] * matrix_b[j * 100 + k];
      }
    }
  }
  time_end = clock();
  printf("time_end: %f\n", (double)time_end);
  printf("Execution time (s) for (%d x %d) * (%d x %d) = %f\n\n", 100, 100, 100,
         100, (double)(time_end - time_start) / CLOCKS_PER_SEC);
  free(matrix_a);
  free(matrix_b);
  free(matrix_c);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x64,-0x2c(%rbp)
jge    11ef <main+0xaf>
movl   $0x0,-0x30(%rbp)
cmpl   $0x64,-0x30(%rbp)
jge    11dc <main+0x9c>
mov    -0x2c(%rbp),%eax
add    -0x30(%rbp),%eax
cvtsi2sd %eax,%xmm0
mov    -0x18(%rbp),%rax
imul   $0x64,-0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    11a7 <main+0x67>
jmp    11e1 <main+0xa1>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1196 <main+0x56>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x64,-0x2c(%rbp)
jge    1250 <main+0x110>
movl   $0x0,-0x30(%rbp)
cmpl   $0x64,-0x30(%rbp)
jge    123d <main+0xfd>
mov    -0x2c(%rbp),%eax
imul   -0x30(%rbp),%eax
cvtsi2sd %eax,%xmm0
mov    -0x20(%rbp),%rax
imul   $0x64,-0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1207 <main+0xc7>
jmp    1242 <main+0x102>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11f6 <main+0xb6>
mov    $0x0,%al
call   1040 <clock@plt>
mov    %rax,-0x40(%rbp)
cvtsi2sdq -0x40(%rbp),%xmm0
cvttsd2si %xmm0,%esi
lea    0xd94(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x64,-0x34(%rbp)
jge    1336 <main+0x1f6>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x64,-0x2c(%rbp)
jge    1323 <main+0x1e3>
mov    -0x28(%rbp),%rax
imul   $0x64,-0x2c(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x30(%rbp)
cmpl   $0x64,-0x30(%rbp)
jge    1310 <main+0x1d0>
mov    -0x18(%rbp),%rax
imul   $0x64,-0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
imul   $0x64,-0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x28(%rbp),%rax
imul   $0x64,-0x2c(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12b2 <main+0x172>
jmp    1315 <main+0x1d5>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    128b <main+0x14b>
jmp    1328 <main+0x1e8>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    127a <main+0x13a>
mov    $0x0,%al
call   1040 <clock@plt>
mov    %rax,-0x48(%rbp)
cvtsi2sdq -0x48(%rbp),%xmm0
cvttsd2si %xmm0,%esi
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%rax
sub    -0x40(%rbp),%rax
cvtsi2sd %rax,%xmm0
mov    0x2c7b(%rip),%rax
divsd  (%rax),%xmm0
lea    0xca6(%rip),%rdi
mov    $0x64,%r8d
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r8d,%ecx
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    0x2c28(%rip),%rax
mov    (%rax),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,%r15
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,%rbp
mov    $0x2710,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,%r14
xor    %eax,%eax
movdqa 0xe75(%rip),%xmm2
movdqa 0xe7d(%rip),%xmm0
movdqa 0xe85(%rip),%xmm1
mov    %r15,%rcx
xchg   %ax,%ax
movq   %rax,%xmm3
pshufd $0x44,%xmm3,%xmm3
mov    $0x2,%edx
movdqa %xmm2,%xmm4
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movdqa %xmm4,%xmm5
paddq  %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm6
cvtdq2pd %xmm6,%xmm6
movups %xmm6,-0x10(%rcx,%rdx,8)
paddq  %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
movups %xmm5,(%rcx,%rdx,8)
paddq  %xmm1,%xmm4
add    $0x4,%rdx
cmp    $0x66,%rdx
jne    11c0 <main+0x80>
add    $0x1,%rax
add    $0x320,%rcx
cmp    $0x64,%rax
jne    11a0 <main+0x60>
xor    %eax,%eax
movdqa 0xdf0(%rip),%xmm2
mov    %rbp,%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movq   %rax,%xmm3
pshufd $0x44,%xmm3,%xmm3
mov    $0x2,%edx
movdqa %xmm2,%xmm4
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movdqa %xmm4,%xmm5
pmuludq %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
movups %xmm5,-0x10(%rcx,%rdx,8)
movdqa %xmm4,%xmm5
paddq  %xmm0,%xmm5
pmuludq %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
movups %xmm5,(%rcx,%rdx,8)
paddq  %xmm1,%xmm4
add    $0x4,%rdx
cmp    $0x66,%rdx
jne    1240 <main+0x100>
add    $0x1,%rax
add    $0x320,%rcx
cmp    $0x64,%rax
jne    1220 <main+0xe0>
xor    %ebx,%ebx
xor    %eax,%eax
call   1040 <clock@plt>
mov    %rax,%r12
lea    0xd8f(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,(%rsp)
nop
mov    %r15,%rcx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nop
imul   $0x64,%rdx,%rsi
add    %rbx,%rsi
pxor   %xmm0,%xmm0
mov    $0x1,%edi
mov    %rbp,%rax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  -0x8(%rcx,%rdi,8),%xmm1
mulsd  (%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  (%rcx,%rdi,8),%xmm0
mulsd  0x320(%rax),%xmm0
addsd  %xmm1,%xmm0
add    $0x2,%rdi
add    $0x640,%rax
cmp    $0x65,%rdi
jne    12e0 <main+0x1a0>
movsd  %xmm0,(%r14,%rsi,8)
add    $0x1,%rdx
add    $0x320,%rcx
cmp    $0x64,%rdx
jne    12c0 <main+0x180>
add    $0x1,%rbx
add    $0x8,%rbp
cmp    $0x64,%rbx
jne    12b0 <main+0x170>
xor    %eax,%eax
call   1040 <clock@plt>
mov    %rax,%r13
lea    0xcf7(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
sub    %r12,%r13
xorps  %xmm0,%xmm0
cvtsi2sd %r13,%xmm0
mov    0x2c83(%rip),%rax
divsd  (%rax),%xmm0
lea    0xcde(%rip),%rdi
mov    $0x64,%esi
mov    $0x64,%edx
mov    $0x64,%ecx
mov    $0x64,%r8d
mov    $0x1,%al
call   1050 <printf@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    0x2c2c(%rip),%rax
mov    (%rax),%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [16 x i8] c"time_start: %f\0A\00"
@.str.1 = [14 x i8] c"time_end: %f\0A\00"
@.str.2 = [52 x i8] c"Execution time (s) for (%d x %d) * (%d x %d) = %f\0A\0A\00"
@CLOCKS_PER_SEC = global double 0.000000e+00
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call double* @calloc(i32 10000, i32 8)
%4 = tail call double* @calloc(i32 10000, i32 8)
%5 = tail call double* @calloc(i32 10000, i32 8)
br label %6
6: ; preds = %2, %31
%7 = phi i64 [ 0, %2 ], [ %32, %31 ]
%8 = mul nuw nsw i64 %7, 100
%9 = insertelement <2 x i64> poison, i64 %7, i64 0
%10 = shufflevector <2 x i64> %9, <2 x i64> poison, <2 x i32> zeroinitializer
br label %11
11: ; preds = %11, %6
%12 = phi i64 [ 0, %6 ], [ %28, %11 ]
%13 = phi <2 x i64> [ <i64 0, i64 1>, %6 ], [ %29, %11 ]
%14 = add nuw nsw <2 x i64> %13, %10
%15 = trunc <2 x i64> %14 to <2 x i32>
%16 = sitofp <2 x i32> %15 to <2 x double>
%17 = add nuw nsw i64 %12, %8
%18 = getelementptr inbounds double, double* %3, i64 %17
%19 = bitcast double* %18 to <2 x double>*
store <2 x double> %16, <2 x double>* %19
%20 = or i64 %12, 2
%21 = add <2 x i64> %13, <i64 2, i64 2>
%22 = add nuw nsw <2 x i64> %21, %10
%23 = trunc <2 x i64> %22 to <2 x i32>
%24 = sitofp <2 x i32> %23 to <2 x double>
%25 = add nuw nsw i64 %20, %8
%26 = getelementptr inbounds double, double* %3, i64 %25
%27 = bitcast double* %26 to <2 x double>*
store <2 x double> %24, <2 x double>* %27
%28 = add nuw nsw i64 %12, 4
%29 = add <2 x i64> %13, <i64 4, i64 4>
%30 = icmp eq i64 %28, 100
br i1 %30, label %31, label %11
31: ; preds = %11
%32 = add nuw nsw i64 %7, 1
%33 = icmp eq i64 %32, 100
br i1 %33, label %34, label %6
34: ; preds = %31, %59
%35 = phi i64 [ %60, %59 ], [ 0, %31 ]
%36 = mul nuw nsw i64 %35, 100
%37 = insertelement <2 x i64> poison, i64 %35, i64 0
%38 = shufflevector <2 x i64> %37, <2 x i64> poison, <2 x i32> zeroinitializer
br label %39
39: ; preds = %39, %34
%40 = phi i64 [ 0, %34 ], [ %56, %39 ]
%41 = phi <2 x i64> [ <i64 0, i64 1>, %34 ], [ %57, %39 ]
%42 = mul nuw nsw <2 x i64> %41, %38
%43 = trunc <2 x i64> %42 to <2 x i32>
%44 = sitofp <2 x i32> %43 to <2 x double>
%45 = add nuw nsw i64 %40, %36
%46 = getelementptr inbounds double, double* %4, i64 %45
%47 = bitcast double* %46 to <2 x double>*
store <2 x double> %44, <2 x double>* %47
%48 = or i64 %40, 2
%49 = add <2 x i64> %41, <i64 2, i64 2>
%50 = mul nuw nsw <2 x i64> %49, %38
%51 = trunc <2 x i64> %50 to <2 x i32>
%52 = sitofp <2 x i32> %51 to <2 x double>
%53 = add nuw nsw i64 %48, %36
%54 = getelementptr inbounds double, double* %4, i64 %53
%55 = bitcast double* %54 to <2 x double>*
store <2 x double> %52, <2 x double>* %55
%56 = add nuw nsw i64 %40, 4
%57 = add <2 x i64> %41, <i64 4, i64 4>
%58 = icmp eq i64 %56, 100
br i1 %58, label %59, label %39
59: ; preds = %39
%60 = add nuw nsw i64 %35, 1
%61 = icmp eq i64 %60, 100
br i1 %61, label %62, label %34
62: ; preds = %59
%63 = tail call i64 (...) @clock()
%64 = trunc i64 %63 to i32
%65 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %64)
br label %66
66: ; preds = %62, %98
%67 = phi i64 [ 0, %62 ], [ %99, %98 ]
br label %68
68: ; preds = %66, %95
%69 = phi i64 [ 0, %66 ], [ %96, %95 ]
%70 = mul nuw nsw i64 %69, 100
%71 = add nuw nsw i64 %70, %67
%72 = getelementptr inbounds double, double* %5, i64 %71
br label %73
73: ; preds = %73, %68
%74 = phi i64 [ 0, %68 ], [ %93, %73 ]
%75 = phi double [ 0.000000e+00, %68 ], [ %92, %73 ]
%76 = add nuw nsw i64 %74, %70
%77 = getelementptr inbounds double, double* %3, i64 %76
%78 = load double, double* %77
%79 = mul nuw nsw i64 %74, 100
%80 = add nuw nsw i64 %79, %67
%81 = getelementptr inbounds double, double* %4, i64 %80
%82 = load double, double* %81
%83 = tail call double @llvm.fmuladd.f64(double %78, double %82, double %75)
%84 = or i64 %74, 1
%85 = add nuw nsw i64 %84, %70
%86 = getelementptr inbounds double, double* %3, i64 %85
%87 = load double, double* %86
%88 = mul nuw nsw i64 %84, 100
%89 = add nuw nsw i64 %88, %67
%90 = getelementptr inbounds double, double* %4, i64 %89
%91 = load double, double* %90
%92 = tail call double @llvm.fmuladd.f64(double %87, double %91, double %83)
%93 = add nuw nsw i64 %74, 2
%94 = icmp eq i64 %93, 100
br i1 %94, label %95, label %73
95: ; preds = %73
store double %92, double* %72
%96 = add nuw nsw i64 %69, 1
%97 = icmp eq i64 %96, 100
br i1 %97, label %98, label %68
98: ; preds = %95
%99 = add nuw nsw i64 %67, 1
%100 = icmp eq i64 %99, 100
br i1 %100, label %101, label %66
101: ; preds = %98
%102 = tail call i64 (...) @clock()
%103 = trunc i64 %102 to i32
%104 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %103)
%105 = sub nsw i64 %102, %63
%106 = sitofp i64 %105 to double
%107 = load double, double* @CLOCKS_PER_SEC
%108 = fdiv double %106, %107
%109 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0), i32 100, i32 100, i32 100, i32 100, double %108)
%110 = tail call i32 @free(double* %3)
%111 = tail call i32 @free(double* %4)
%112 = tail call i32 @free(double* %5)
%113 = load i32, i32* @EXIT_SUCCESS
ret i32 %113
}