#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 atoi(char *);
double dwalltime();
int /*<<< orphan*/ free(double *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
main(int argc, char *argv[]) {
  int N = 512;
  int i = 0, j = 0, k = 0;
  double *A, *B, *C;
  double timetick;
  N = atoi(argv[1]);
  A = (double *)malloc(sizeof(double) * N * N);
  B = (double *)malloc(sizeof(double) * N * N);
  C = (double *)malloc(sizeof(double) * N * N);
  printf("Incializando matrices...\n");
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      A[i * N + j] = 1;
      B[i * N + j] = 1;
    }
  }
  printf("Calculando While...\n");
  timetick = dwalltime();
  i = 0;
  while (i < N) {
    j = 0;
    while (j < N) {
      k = 0;
      while (k < N) {
        C[i * N + j] += A[i * N + k] * B[k + j * N];
        k++;
      }
      j++;
    }
    i++;
  }
  printf("Tiempo While en segundos %f \n", dwalltime() - timetick);
  printf("Calculando For...\n ");
  timetick = dwalltime();
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      for (k = 0; k < N; k++) {
        C[i * N + j] += A[i * N + k] * B[k + j * N];
      }
    }
  }
  printf("Tiempo For en segundos %f \n", dwalltime() - timetick);
  free(A);
  free(B);
  free(C);
}


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   $0x200,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x14(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
movslq -0x14(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
movslq -0x14(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x30(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
movslq -0x14(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x38(%rbp)
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1274 <main+0x124>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1261 <main+0x111>
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xdd0(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xdb2(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    120b <main+0xbb>
jmp    1266 <main+0x116>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11f8 <main+0xa8>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <dwalltime@plt>
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1342 <main+0x1f2>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1334 <main+0x1e4>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1326 <main+0x1d6>
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12bb <main+0x16b>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12a8 <main+0x158>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1295 <main+0x145>
mov    $0x0,%al
call   1050 <dwalltime@plt>
subsd  -0x40(%rbp),%xmm0
lea    0xce2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <dwalltime@plt>
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1434 <main+0x2e4>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1421 <main+0x2d1>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    140e <main+0x2be>
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    -0x1c(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    13a3 <main+0x253>
jmp    1413 <main+0x2c3>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1390 <main+0x240>
jmp    1426 <main+0x2d6>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    137d <main+0x22d>
mov    $0x0,%al
call   1050 <dwalltime@plt>
subsd  -0x40(%rbp),%xmm0
lea    0xc22(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@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
sub    $0x58,%rsp
mov    0x8(%rsi),%rdi
call   1080 <atoi@plt>
mov    %eax,%ebp
mov    %eax,%ebx
imul   %eax,%ebx
shl    $0x3,%ebx
mov    %ebx,%edi
call   1070 <malloc@plt>
mov    %rax,0x8(%rsp)
mov    %ebx,%edi
call   1070 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %ebx,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
lea    0xeb4(%rip),%rdi
call   1040 <puts@plt>
mov    %ebp,%r13d
mov    %ebp,%r12d
test   %ebp,%ebp
jle    1434 <main+0x2d4>
mov    %r13d,%eax
and    $0xfffffffc,%eax
mov    %rax,0x50(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x48(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %eax,%edx
and    $0x3,%edx
and    $0xfffffffffffffffc,%rax
mov    %rax,0x38(%rsp)
mov    %r13d,%edi
and    $0x3,%edi
mov    0x10(%rsp),%r15
lea    0x70(%r15),%rcx
lea    0x0(,%r13,8),%r8
mov    0x8(%rsp),%r14
lea    0x70(%r14),%rsi
lea    0x10(%r15),%rax
lea    0x10(%r14),%r10
mov    %rdx,0x40(%rsp)
shl    $0x5,%rdx
mov    %rdx,0x20(%rsp)
xor    %edx,%edx
movabs $0x3ff0000000000000,%r9
movapd 0xdcf(%rip),%xmm0
mov    %rdi,0x30(%rsp)
mov    %r8,0x28(%rsp)
jmp    1264 <main+0x104>
nopl   (%rax)
mov    0x18(%rsp),%rdx
add    $0x1,%rdx
add    %r8,%rcx
add    %r8,%rsi
add    %r8,%rax
add    %r8,%r10
add    %r8,%r15
add    %r8,%r14
cmp    %r13,%rdx
je     1434 <main+0x2d4>
cmp    $0x4,%r12d
mov    %rdx,0x18(%rsp)
jae    1280 <main+0x120>
xor    %r11d,%r11d
jmp    13c0 <main+0x260>
nopw   0x0(%rax,%rax,1)
mov    %r10,(%rsp)
imul   %r13,%rdx
lea    (%rdx,%r13,1),%rdi
mov    0x10(%rsp),%r8
lea    (%r8,%rdi,8),%r11
mov    0x8(%rsp),%r10
lea    (%r10,%rdx,8),%rbp
cmp    %r11,%rbp
jae    12d0 <main+0x170>
lea    (%r8,%rdx,8),%rdx
lea    (%r10,%rdi,8),%rdi
cmp    %rdi,%rdx
jae    12d0 <main+0x170>
xor    %r11d,%r11d
mov    0x30(%rsp),%rdi
mov    0x28(%rsp),%r8
mov    (%rsp),%r10
jmp    13c0 <main+0x260>
cs nopw 0x0(%rax,%rax,1)
cmpq   $0xc,0x48(%rsp)
jae    12e8 <main+0x188>
xor    %ebp,%ebp
mov    (%rsp),%r10
mov    0x20(%rsp),%r11
jmp    1368 <main+0x208>
mov    0x38(%rsp),%rdx
xor    %ebp,%ebp
mov    (%rsp),%r10
mov    0x20(%rsp),%r11
nopl   0x0(%rax,%rax,1)
movupd %xmm0,-0x70(%rsi,%rbp,8)
movupd %xmm0,-0x60(%rsi,%rbp,8)
movupd %xmm0,-0x70(%rcx,%rbp,8)
movupd %xmm0,-0x60(%rcx,%rbp,8)
movupd %xmm0,-0x50(%rsi,%rbp,8)
movupd %xmm0,-0x40(%rsi,%rbp,8)
movupd %xmm0,-0x50(%rcx,%rbp,8)
movupd %xmm0,-0x40(%rcx,%rbp,8)
movupd %xmm0,-0x30(%rsi,%rbp,8)
movupd %xmm0,-0x20(%rsi,%rbp,8)
movupd %xmm0,-0x30(%rcx,%rbp,8)
movupd %xmm0,-0x20(%rcx,%rbp,8)
movupd %xmm0,-0x10(%rsi,%rbp,8)
movupd %xmm0,(%rsi,%rbp,8)
movupd %xmm0,-0x10(%rcx,%rbp,8)
movupd %xmm0,(%rcx,%rbp,8)
add    $0x10,%rbp
add    $0xfffffffffffffffc,%rdx
jne    1300 <main+0x1a0>
cmpq   $0x0,0x40(%rsp)
mov    0x28(%rsp),%r8
je     13a0 <main+0x240>
lea    (%rax,%rbp,8),%rdx
lea    (%r10,%rbp,8),%rbp
xor    %edi,%edi
nop
movupd %xmm0,-0x10(%rbp,%rdi,1)
movupd %xmm0,0x0(%rbp,%rdi,1)
movupd %xmm0,-0x10(%rdx,%rdi,1)
movupd %xmm0,(%rdx,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%r11
jne    1380 <main+0x220>
mov    0x50(%rsp),%rdx
mov    %rdx,%r11
cmp    %r13,%rdx
mov    0x30(%rsp),%rdi
je     1240 <main+0xe0>
cs nopw 0x0(%rax,%rax,1)
mov    %r11,%rdx
not    %rdx
add    %r13,%rdx
test   %rdi,%rdi
je     13f2 <main+0x292>
mov    %rdi,%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r9,(%r14,%r11,8)
mov    %r9,(%r15,%r11,8)
add    $0x1,%r11
add    $0xffffffffffffffff,%rbp
jne    13e0 <main+0x280>
cmp    $0x3,%rdx
jb     1240 <main+0xe0>
nopl   0x0(%rax)
mov    %r9,(%r14,%r11,8)
mov    %r9,-0x10(%rax,%r11,8)
mov    %r9,0x8(%r14,%r11,8)
mov    %r9,-0x8(%rax,%r11,8)
mov    %r9,0x10(%r14,%r11,8)
mov    %r9,(%rax,%r11,8)
mov    %r9,0x18(%r14,%r11,8)
mov    %r9,0x8(%rax,%r11,8)
add    $0x4,%r11
cmp    %r11,%r13
jne    1400 <main+0x2a0>
jmp    1240 <main+0xe0>
lea    0xc3c(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1060 <dwalltime@plt>
movsd  %xmm0,(%rsp)
test   %r12d,%r12d
mov    0x8(%rsp),%rcx
mov    0x10(%rsp),%r15
jle    1549 <main+0x3e9>
mov    %r13d,%eax
and    $0xfffffffe,%eax
add    $0x8,%rcx
lea    0x0(,%r13,8),%r10
lea    0x8(%r15),%rdx
mov    %rdx,0x18(%rsp)
xor    %r9d,%r9d
mov    0x8(%rsp),%r8
jmp    14a0 <main+0x340>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r9
add    %r10,%rcx
cmp    %r13,%r9
je     1549 <main+0x3e9>
mov    %r9,%r11
imul   %r13,%r11
mov    0x18(%rsp),%rsi
xor    %r14d,%r14d
jmp    14cc <main+0x36c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
add    %r10,%rsi
cmp    %r13,%r14
je     1490 <main+0x330>
lea    (%r14,%r11,1),%rbp
movsd  (%rbx,%rbp,8),%xmm0
xor    %edi,%edi
cmp    $0x1,%r12d
je     1511 <main+0x3b1>
nopl   (%rax)
movsd  -0x8(%rcx,%rdi,8),%xmm1
mulsd  -0x8(%rsi,%rdi,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rbp,8)
movsd  (%rcx,%rdi,8),%xmm0
mulsd  (%rsi,%rdi,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rbx,%rbp,8)
add    $0x2,%rdi
cmp    %rdi,%rax
jne    14e0 <main+0x380>
test   $0x1,%r13b
je     14c0 <main+0x360>
mov    %r14,%r15
imul   %r13,%r15
lea    (%rdi,%r11,1),%rdx
movsd  (%r8,%rdx,8),%xmm1
add    %rdi,%r15
mov    0x10(%rsp),%rdx
mulsd  (%rdx,%r15,8),%xmm1
mov    0x10(%rsp),%r15
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rbp,8)
jmp    14c0 <main+0x360>
xor    %eax,%eax
call   1060 <dwalltime@plt>
subsd  (%rsp),%xmm0
lea    0xab4(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
lea    0xac4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1060 <dwalltime@plt>
mov    0x8(%rsp),%rdx
movsd  %xmm0,(%rsp)
test   %r12d,%r12d
jle    167e <main+0x51e>
mov    %r13d,%eax
and    $0xfffffffe,%eax
mov    %rdx,%rcx
add    $0x8,%rcx
lea    0x0(,%r13,8),%r10
mov    %r15,%rsi
add    $0x8,%rsi
mov    %rsi,0x18(%rsp)
xor    %r9d,%r9d
mov    0x8(%rsp),%r8
jmp    15d0 <main+0x470>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%r9
add    %r10,%rcx
cmp    %r13,%r9
je     167e <main+0x51e>
mov    %r9,%r11
imul   %r13,%r11
mov    0x18(%rsp),%rsi
xor    %r14d,%r14d
jmp    15fc <main+0x49c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
add    %r10,%rsi
cmp    %r13,%r14
je     15c0 <main+0x460>
lea    (%r14,%r11,1),%rbp
movsd  (%rbx,%rbp,8),%xmm0
xor    %edi,%edi
cmp    $0x1,%r12d
je     1641 <main+0x4e1>
nopl   (%rax)
movsd  -0x8(%rcx,%rdi,8),%xmm1
mulsd  -0x8(%rsi,%rdi,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rbp,8)
movsd  (%rcx,%rdi,8),%xmm0
mulsd  (%rsi,%rdi,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rbx,%rbp,8)
add    $0x2,%rdi
cmp    %rdi,%rax
jne    1610 <main+0x4b0>
test   $0x1,%r13b
je     15f0 <main+0x490>
mov    %r14,%r15
imul   %r13,%r15
lea    (%rdi,%r11,1),%rdx
movsd  (%r8,%rdx,8),%xmm1
mov    0x8(%rsp),%rdx
add    %rdi,%r15
mov    0x10(%rsp),%rdi
mulsd  (%rdi,%r15,8),%xmm1
mov    0x10(%rsp),%r15
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rbp,8)
jmp    15f0 <main+0x490>
xor    %eax,%eax
mov    %rdx,%rbp
call   1060 <dwalltime@plt>
subsd  (%rsp),%xmm0
lea    0x9ae(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [26 x i8] c"Incializando matrices...\0A\00"
@.str.1 = [21 x i8] c"Calculando While...\0A\00"
@.str.2 = [30 x i8] c"Tiempo While en segundos %f \0A\00"
@.str.3 = [20 x i8] c"Calculando For...\0A \00"
@.str.4 = [28 x i8] c"Tiempo For en segundos %f \0A\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 i32
%10 = alloca double*
%11 = alloca double*
%12 = alloca double*
%13 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 512, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 1
%16 = load i8*, i8** %15
%17 = call i32 @atoi(i8* %16)
store i32 %17, i32* %6
%18 = load i32, i32* %6
%19 = sext i32 %18 to i64
%20 = mul i64 8, %19
%21 = load i32, i32* %6
%22 = sext i32 %21 to i64
%23 = mul i64 %20, %22
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 %24)
%26 = inttoptr i64 %25 to double*
store double* %26, double** %10
%27 = load i32, i32* %6
%28 = sext i32 %27 to i64
%29 = mul i64 8, %28
%30 = load i32, i32* %6
%31 = sext i32 %30 to i64
%32 = mul i64 %29, %31
%33 = trunc i64 %32 to i32
%34 = call i64 @malloc(i32 %33)
%35 = inttoptr i64 %34 to double*
store double* %35, double** %11
%36 = load i32, i32* %6
%37 = sext i32 %36 to i64
%38 = mul i64 8, %37
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = mul i64 %38, %40
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 %42)
%44 = inttoptr i64 %43 to double*
store double* %44, double** %12
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %7
br label %46
46: ; preds = %76, %2
%47 = load i32, i32* %7
%48 = load i32, i32* %6
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %79
50: ; preds = %46
store i32 0, i32* %8
br label %51
51: ; preds = %72, %50
%52 = load i32, i32* %8
%53 = load i32, i32* %6
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %75
55: ; preds = %51
%56 = load double*, double** %10
%57 = load i32, i32* %7
%58 = load i32, i32* %6
%59 = mul nsw i32 %57, %58
%60 = load i32, i32* %8
%61 = add nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, double* %56, i64 %62
store double 1.000000e+00, double* %63
%64 = load double*, double** %11
%65 = load i32, i32* %7
%66 = load i32, i32* %6
%67 = mul nsw i32 %65, %66
%68 = load i32, i32* %8
%69 = add nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, double* %64, i64 %70
store double 1.000000e+00, double* %71
br label %72
72: ; preds = %55
%73 = load i32, i32* %8
%74 = add nsw i32 %73, 1
store i32 %74, i32* %8
br label %51
75: ; preds = %51
br label %76
76: ; preds = %75
%77 = load i32, i32* %7
%78 = add nsw i32 %77, 1
store i32 %78, i32* %7
br label %46
79: ; preds = %46
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
%81 = call double (...) @dwalltime()
store double %81, double* %13
store i32 0, i32* %7
br label %82
82: ; preds = %130, %79
%83 = load i32, i32* %7
%84 = load i32, i32* %6
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %133
86: ; preds = %82
store i32 0, i32* %8
br label %87
87: ; preds = %127, %86
%88 = load i32, i32* %8
%89 = load i32, i32* %6
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %130
91: ; preds = %87
store i32 0, i32* %9
br label %92
92: ; preds = %96, %91
%93 = load i32, i32* %9
%94 = load i32, i32* %6
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %127
96: ; preds = %92
%97 = load double*, double** %10
%98 = load i32, i32* %7
%99 = load i32, i32* %6
%100 = mul nsw i32 %98, %99
%101 = load i32, i32* %9
%102 = add nsw i32 %100, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %97, i64 %103
%105 = load double, double* %104
%106 = load double*, double** %11
%107 = load i32, i32* %9
%108 = load i32, i32* %8
%109 = load i32, i32* %6
%110 = mul nsw i32 %108, %109
%111 = add nsw i32 %107, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, double* %106, i64 %112
%114 = load double, double* %113
%115 = load double*, double** %12
%116 = load i32, i32* %7
%117 = load i32, i32* %6
%118 = mul nsw i32 %116, %117
%119 = load i32, i32* %8
%120 = add nsw i32 %118, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, double* %115, i64 %121
%123 = load double, double* %122
%124 = call double @llvm.fmuladd.f64(double %105, double %114, double %123)
store double %124, double* %122
%125 = load i32, i32* %9
%126 = add nsw i32 %125, 1
store i32 %126, i32* %9
br label %92
127: ; preds = %92
%128 = load i32, i32* %8
%129 = add nsw i32 %128, 1
store i32 %129, i32* %8
br label %87
130: ; preds = %87
%131 = load i32, i32* %7
%132 = add nsw i32 %131, 1
store i32 %132, i32* %7
br label %82
133: ; preds = %82
%134 = call double (...) @dwalltime()
%135 = load double, double* %13
%136 = fsub double %134, %135
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %136)
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%139 = call double (...) @dwalltime()
store double %139, double* %13
store i32 0, i32* %7
br label %140
140: ; preds = %191, %133
%141 = load i32, i32* %7
%142 = load i32, i32* %6
%143 = icmp slt i32 %141, %142
br i1 %143, label %144, label %194
144: ; preds = %140
store i32 0, i32* %8
br label %145
145: ; preds = %187, %144
%146 = load i32, i32* %8
%147 = load i32, i32* %6
%148 = icmp slt i32 %146, %147
br i1 %148, label %149, label %190
149: ; preds = %145
store i32 0, i32* %9
br label %150
150: ; preds = %183, %149
%151 = load i32, i32* %9
%152 = load i32, i32* %6
%153 = icmp slt i32 %151, %152
br i1 %153, label %154, label %186
154: ; preds = %150
%155 = load double*, double** %10
%156 = load i32, i32* %7
%157 = load i32, i32* %6
%158 = mul nsw i32 %156, %157
%159 = load i32, i32* %9
%160 = add nsw i32 %158, %159
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, double* %155, i64 %161
%163 = load double, double* %162
%164 = load double*, double** %11
%165 = load i32, i32* %9
%166 = load i32, i32* %8
%167 = load i32, i32* %6
%168 = mul nsw i32 %166, %167
%169 = add nsw i32 %165, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, double* %164, i64 %170
%172 = load double, double* %171
%173 = load double*, double** %12
%174 = load i32, i32* %7
%175 = load i32, i32* %6
%176 = mul nsw i32 %174, %175
%177 = load i32, i32* %8
%178 = add nsw i32 %176, %177
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, double* %173, i64 %179
%181 = load double, double* %180
%182 = call double @llvm.fmuladd.f64(double %163, double %172, double %181)
store double %182, double* %180
br label %183
183: ; preds = %154
%184 = load i32, i32* %9
%185 = add nsw i32 %184, 1
store i32 %185, i32* %9
br label %150
186: ; preds = %150
br label %187
187: ; preds = %186
%188 = load i32, i32* %8
%189 = add nsw i32 %188, 1
store i32 %189, i32* %8
br label %145
190: ; preds = %145
br label %191
191: ; preds = %190
%192 = load i32, i32* %7
%193 = add nsw i32 %192, 1
store i32 %193, i32* %7
br label %140
194: ; preds = %140
%195 = call double (...) @dwalltime()
%196 = load double, double* %13
%197 = fsub double %195, %196
%198 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), double %197)
%199 = load double*, double** %10
%200 = call i32 @free(double* %199)
%201 = load double*, double** %11
%202 = call i32 @free(double* %201)
%203 = load double*, double** %12
%204 = call i32 @free(double* %203)
%205 = load i32, i32* %3
ret i32 %205
}

LLVM IR (-O2):
@.str.2 = [30 x i8] c"Tiempo While en segundos %f \0A\00"
@.str.3 = [20 x i8] c"Calculando For...\0A \00"
@.str.4 = [28 x i8] c"Tiempo For en segundos %f \0A\00"
@str = [25 x i8] c"Incializando matrices...\00"
@str.5 = [20 x i8] c"Calculando While...\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = getelementptr inbounds i8*, i8** %1, i64 1
%4 = load i8*, i8** %3
%5 = tail call i32 @atoi(i8* %4)
%6 = shl i32 %5, 3
%7 = mul i32 %6, %5
%8 = tail call i64 @malloc(i32 %7)
%9 = inttoptr i64 %8 to double*
%10 = tail call i64 @malloc(i32 %7)
%11 = inttoptr i64 %10 to double*
%12 = tail call i64 @malloc(i32 %7)
%13 = inttoptr i64 %12 to double*
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%15 = icmp sgt i32 %5, 0
br i1 %15, label %16, label %147
16: ; preds = %2
%17 = zext i32 %5 to i64
%18 = zext i32 %5 to i64
%19 = and i64 %18, 4294967292
%20 = add nsw i64 %19, -4
%21 = lshr exact i64 %20, 2
%22 = add nuw nsw i64 %21, 1
%23 = icmp ult i32 %5, 4
%24 = and i64 %18, 4294967292
%25 = and i64 %22, 3
%26 = icmp ult i64 %20, 12
%27 = and i64 %22, 9223372036854775804
%28 = icmp eq i64 %25, 0
%29 = icmp eq i64 %24, %18
%30 = and i64 %18, 3
%31 = icmp eq i64 %30, 0
br label %32
32: ; preds = %144, %16
%33 = phi i64 [ 0, %16 ], [ %145, %144 ]
%34 = mul i64 %33, %18
%35 = add i64 %34, %18
%36 = mul nsw i64 %33, %17
br i1 %23, label %109, label %37
37: ; preds = %32
%38 = getelementptr double, double* %11, i64 %35
%39 = getelementptr double, double* %11, i64 %34
%40 = getelementptr double, double* %9, i64 %35
%41 = getelementptr double, double* %9, i64 %34
%42 = icmp ult double* %41, %38
%43 = icmp ult double* %39, %40
%44 = and i1 %42, %43
br i1 %44, label %109, label %45
45: ; preds = %37
br i1 %26, label %91, label %46
46: ; preds = %45, %46
%47 = phi i64 [ %88, %46 ], [ 0, %45 ]
%48 = phi i64 [ %89, %46 ], [ 0, %45 ]
%49 = add nuw nsw i64 %47, %36
%50 = getelementptr inbounds double, double* %9, i64 %49
%51 = bitcast double* %50 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %51
%52 = getelementptr inbounds double, double* %50, i64 2
%53 = bitcast double* %52 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %53
%54 = getelementptr inbounds double, double* %11, i64 %49
%55 = bitcast double* %54 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %55
%56 = getelementptr inbounds double, double* %54, i64 2
%57 = bitcast double* %56 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %57
%58 = or i64 %47, 4
%59 = add nuw nsw i64 %58, %36
%60 = getelementptr inbounds double, double* %9, i64 %59
%61 = bitcast double* %60 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %61
%62 = getelementptr inbounds double, double* %60, i64 2
%63 = bitcast double* %62 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %63
%64 = getelementptr inbounds double, double* %11, i64 %59
%65 = bitcast double* %64 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %65
%66 = getelementptr inbounds double, double* %64, i64 2
%67 = bitcast double* %66 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %67
%68 = or i64 %47, 8
%69 = add nuw nsw i64 %68, %36
%70 = getelementptr inbounds double, double* %9, i64 %69
%71 = bitcast double* %70 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %71
%72 = getelementptr inbounds double, double* %70, i64 2
%73 = bitcast double* %72 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %73
%74 = getelementptr inbounds double, double* %11, i64 %69
%75 = bitcast double* %74 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %75
%76 = getelementptr inbounds double, double* %74, i64 2
%77 = bitcast double* %76 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %77
%78 = or i64 %47, 12
%79 = add nuw nsw i64 %78, %36
%80 = getelementptr inbounds double, double* %9, i64 %79
%81 = bitcast double* %80 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %81
%82 = getelementptr inbounds double, double* %80, i64 2
%83 = bitcast double* %82 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %83
%84 = getelementptr inbounds double, double* %11, i64 %79
%85 = bitcast double* %84 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %85
%86 = getelementptr inbounds double, double* %84, i64 2
%87 = bitcast double* %86 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %87
%88 = add nuw i64 %47, 16
%89 = add nuw i64 %48, 4
%90 = icmp eq i64 %89, %27
br i1 %90, label %91, label %46
91: ; preds = %46, %45
%92 = phi i64 [ 0, %45 ], [ %88, %46 ]
br i1 %28, label %108, label %93
93: ; preds = %91, %93
%94 = phi i64 [ %105, %93 ], [ %92, %91 ]
%95 = phi i64 [ %106, %93 ], [ 0, %91 ]
%96 = add nuw nsw i64 %94, %36
%97 = getelementptr inbounds double, double* %9, i64 %96
%98 = bitcast double* %97 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %98
%99 = getelementptr inbounds double, double* %97, i64 2
%100 = bitcast double* %99 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %100
%101 = getelementptr inbounds double, double* %11, i64 %96
%102 = bitcast double* %101 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %102
%103 = getelementptr inbounds double, double* %101, i64 2
%104 = bitcast double* %103 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %104
%105 = add nuw i64 %94, 4
%106 = add i64 %95, 1
%107 = icmp eq i64 %106, %25
br i1 %107, label %108, label %93
108: ; preds = %93, %91
br i1 %29, label %144, label %109
109: ; preds = %37, %32, %108
%110 = phi i64 [ 0, %37 ], [ 0, %32 ], [ %24, %108 ]
%111 = xor i64 %110, -1
%112 = add nsw i64 %111, %18
br i1 %31, label %122, label %113
113: ; preds = %109, %113
%114 = phi i64 [ %119, %113 ], [ %110, %109 ]
%115 = phi i64 [ %120, %113 ], [ 0, %109 ]
%116 = add nuw nsw i64 %114, %36
%117 = getelementptr inbounds double, double* %9, i64 %116
store double 1.000000e+00, double* %117
%118 = getelementptr inbounds double, double* %11, i64 %116
store double 1.000000e+00, double* %118
%119 = add nuw nsw i64 %114, 1
%120 = add i64 %115, 1
%121 = icmp eq i64 %120, %30
br i1 %121, label %122, label %113
122: ; preds = %113, %109
%123 = phi i64 [ %110, %109 ], [ %119, %113 ]
%124 = icmp ult i64 %112, 3
br i1 %124, label %144, label %125
125: ; preds = %122, %125
%126 = phi i64 [ %142, %125 ], [ %123, %122 ]
%127 = add nuw nsw i64 %126, %36
%128 = getelementptr inbounds double, double* %9, i64 %127
store double 1.000000e+00, double* %128
%129 = getelementptr inbounds double, double* %11, i64 %127
store double 1.000000e+00, double* %129
%130 = add nuw nsw i64 %126, 1
%131 = add nuw nsw i64 %130, %36
%132 = getelementptr inbounds double, double* %9, i64 %131
store double 1.000000e+00, double* %132
%133 = getelementptr inbounds double, double* %11, i64 %131
store double 1.000000e+00, double* %133
%134 = add nuw nsw i64 %126, 2
%135 = add nuw nsw i64 %134, %36
%136 = getelementptr inbounds double, double* %9, i64 %135
store double 1.000000e+00, double* %136
%137 = getelementptr inbounds double, double* %11, i64 %135
store double 1.000000e+00, double* %137
%138 = add nuw nsw i64 %126, 3
%139 = add nuw nsw i64 %138, %36
%140 = getelementptr inbounds double, double* %9, i64 %139
store double 1.000000e+00, double* %140
%141 = getelementptr inbounds double, double* %11, i64 %139
store double 1.000000e+00, double* %141
%142 = add nuw nsw i64 %126, 4
%143 = icmp eq i64 %142, %18
br i1 %143, label %144, label %125
144: ; preds = %122, %125, %108
%145 = add nuw nsw i64 %33, 1
%146 = icmp eq i64 %145, %18
br i1 %146, label %147, label %32
147: ; preds = %144, %2
%148 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.5, i64 0, i64 0))
%149 = tail call double (...) @dwalltime()
br i1 %15, label %150, label %205
150: ; preds = %147
%151 = zext i32 %5 to i64
%152 = zext i32 %5 to i64
%153 = and i64 %152, 1
%154 = icmp eq i32 %5, 1
%155 = and i64 %152, 4294967294
%156 = icmp eq i64 %153, 0
br label %157
157: ; preds = %202, %150
%158 = phi i64 [ 0, %150 ], [ %203, %202 ]
%159 = mul nsw i64 %158, %151
br label %160
160: ; preds = %199, %157
%161 = phi i64 [ 0, %157 ], [ %200, %199 ]
%162 = mul nsw i64 %161, %151
%163 = add nuw nsw i64 %161, %159
%164 = getelementptr inbounds double, double* %13, i64 %163
%165 = load double, double* %164
br i1 %154, label %188, label %166
166: ; preds = %160, %166
%167 = phi double [ %184, %166 ], [ %165, %160 ]
%168 = phi i64 [ %185, %166 ], [ 0, %160 ]
%169 = phi i64 [ %186, %166 ], [ 0, %160 ]
%170 = add nuw nsw i64 %168, %159
%171 = getelementptr inbounds double, double* %9, i64 %170
%172 = load double, double* %171
%173 = add nuw nsw i64 %168, %162
%174 = getelementptr inbounds double, double* %11, i64 %173
%175 = load double, double* %174
%176 = tail call double @llvm.fmuladd.f64(double %172, double %175, double %167)
store double %176, double* %164
%177 = or i64 %168, 1
%178 = add nuw nsw i64 %177, %159
%179 = getelementptr inbounds double, double* %9, i64 %178
%180 = load double, double* %179
%181 = add nuw nsw i64 %177, %162
%182 = getelementptr inbounds double, double* %11, i64 %181
%183 = load double, double* %182
%184 = tail call double @llvm.fmuladd.f64(double %180, double %183, double %176)
store double %184, double* %164
%185 = add nuw nsw i64 %168, 2
%186 = add i64 %169, 2
%187 = icmp eq i64 %186, %155
br i1 %187, label %188, label %166
188: ; preds = %166, %160
%189 = phi double [ %165, %160 ], [ %184, %166 ]
%190 = phi i64 [ 0, %160 ], [ %185, %166 ]
br i1 %156, label %199, label %191
191: ; preds = %188
%192 = add nuw nsw i64 %190, %159
%193 = getelementptr inbounds double, double* %9, i64 %192
%194 = load double, double* %193
%195 = add nuw nsw i64 %190, %162
%196 = getelementptr inbounds double, double* %11, i64 %195
%197 = load double, double* %196
%198 = tail call double @llvm.fmuladd.f64(double %194, double %197, double %189)
store double %198, double* %164
br label %199
199: ; preds = %188, %191
%200 = add nuw nsw i64 %161, 1
%201 = icmp eq i64 %200, %152
br i1 %201, label %202, label %160
202: ; preds = %199
%203 = add nuw nsw i64 %158, 1
%204 = icmp eq i64 %203, %152
br i1 %204, label %205, label %157
205: ; preds = %202, %147
%206 = tail call double (...) @dwalltime()
%207 = fsub double %206, %149
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %207)
%209 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%210 = tail call double (...) @dwalltime()
br i1 %15, label %211, label %266
211: ; preds = %205
%212 = zext i32 %5 to i64
%213 = zext i32 %5 to i64
%214 = and i64 %213, 1
%215 = icmp eq i32 %5, 1
%216 = and i64 %213, 4294967294
%217 = icmp eq i64 %214, 0
br label %218
218: ; preds = %263, %211
%219 = phi i64 [ 0, %211 ], [ %264, %263 ]
%220 = mul nsw i64 %219, %212
br label %221
221: ; preds = %260, %218
%222 = phi i64 [ 0, %218 ], [ %261, %260 ]
%223 = mul nsw i64 %222, %212
%224 = add nuw nsw i64 %222, %220
%225 = getelementptr inbounds double, double* %13, i64 %224
%226 = load double, double* %225
br i1 %215, label %249, label %227
227: ; preds = %221, %227
%228 = phi double [ %245, %227 ], [ %226, %221 ]
%229 = phi i64 [ %246, %227 ], [ 0, %221 ]
%230 = phi i64 [ %247, %227 ], [ 0, %221 ]
%231 = add nuw nsw i64 %229, %220
%232 = getelementptr inbounds double, double* %9, i64 %231
%233 = load double, double* %232
%234 = add nuw nsw i64 %229, %223
%235 = getelementptr inbounds double, double* %11, i64 %234
%236 = load double, double* %235
%237 = tail call double @llvm.fmuladd.f64(double %233, double %236, double %228)
store double %237, double* %225
%238 = or i64 %229, 1
%239 = add nuw nsw i64 %238, %220
%240 = getelementptr inbounds double, double* %9, i64 %239
%241 = load double, double* %240
%242 = add nuw nsw i64 %238, %223
%243 = getelementptr inbounds double, double* %11, i64 %242
%244 = load double, double* %243
%245 = tail call double @llvm.fmuladd.f64(double %241, double %244, double %237)
store double %245, double* %225
%246 = add nuw nsw i64 %229, 2
%247 = add i64 %230, 2
%248 = icmp eq i64 %247, %216
br i1 %248, label %249, label %227
249: ; preds = %227, %221
%250 = phi double [ %226, %221 ], [ %245, %227 ]
%251 = phi i64 [ 0, %221 ], [ %246, %227 ]
br i1 %217, label %260, label %252
252: ; preds = %249
%253 = add nuw nsw i64 %251, %220
%254 = getelementptr inbounds double, double* %9, i64 %253
%255 = load double, double* %254
%256 = add nuw nsw i64 %251, %223
%257 = getelementptr inbounds double, double* %11, i64 %256
%258 = load double, double* %257
%259 = tail call double @llvm.fmuladd.f64(double %255, double %258, double %250)
store double %259, double* %225
br label %260
260: ; preds = %249, %252
%261 = add nuw nsw i64 %222, 1
%262 = icmp eq i64 %261, %213
br i1 %262, label %263, label %221
263: ; preds = %260
%264 = add nuw nsw i64 %219, 1
%265 = icmp eq i64 %264, %213
br i1 %265, label %266, label %218
266: ; preds = %263, %205
%267 = tail call double (...) @dwalltime()
%268 = fsub double %267, %210
%269 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), double %268)
%270 = tail call i32 @free(double* %9)
%271 = tail call i32 @free(double* %11)
%272 = tail call i32 @free(double* %13)
ret i32 0
}