#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 *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ malloc(int);
double omp_get_wtime();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
main(int argc, char **argv) {
  int N = atoi(argv[1]);
  int i, j;
  double **m, *v1, *v2;
  m = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    m[i] = (double *)malloc(N * sizeof(double));
  v1 = (double *)malloc(N * sizeof(double));
  v2 = (double *)malloc(N * sizeof(double));
  double start, end, elapsed;
  if (argc < 2) {
    fprintf(stderr, "Faltan argumentos\n");
    exit(-1);
  }
  for (i = 0; i < N; ++i) {
    v1[i] = i + 1;
    for (j = 0; j < i; ++j) {
      m[i][j] = 0;
    }
    for (j = i; j < N; ++j) {
      m[i][j] = j + 1;
    }
  }
  if (N < 20) {
    printf("Matriz:\n");
    for (i = 0; i < N; i++) {
      for (j = 0; j < N; j++)
        printf(" %g ", m[i][j]);
      printf("\n");
    }
    printf("Vector:\n");
    for (i = 0; i < N; i++) {
      printf(" %g ", v1[i]);
    }
    printf("\n");
  }
  start = omp_get_wtime();
  for (i = 0; i < N; ++i) {
    for (j = i; j < N; ++j)
      v2[i] = (m[i][j] * v1[j]) + v2[i];
  }
  end = omp_get_wtime();
  elapsed = end - start;
  printf("Vector Resultante:\n");
  if (N < 20)
    for (i = 0; i < N; i++)
      printf("v[%d] = %g\n", i, v2[i]);
  else {
    printf("v[%d] = %g\n", 0, v2[0]);
    printf("v[%d] = %g\n", N - 1, v2[N - 1]);
  }
  printf("Tiempo(seg.):%11.9f\t / Tamaño Vectores:%u\n", elapsed, N);
}


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    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x14(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11d8 <main+0x78>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11a0 <main+0x40>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x30(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x38(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1227 <main+0xc7>
mov    0x2dd1(%rip),%rax
mov    (%rax),%edi
lea    0xde8(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12dc <main+0x17c>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    128a <main+0x12a>
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1258 <main+0xf8>
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12c9 <main+0x169>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1290 <main+0x130>
jmp    12ce <main+0x16e>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    122e <main+0xce>
cmpl   $0x14,-0x14(%rbp)
jge    13bf <main+0x25f>
lea    0xd26(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1367 <main+0x207>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    134b <main+0x1eb>
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xce6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    130e <main+0x1ae>
lea    0xcea(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12fb <main+0x19b>
lea    0xcb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13b1 <main+0x251>
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xc80(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    137c <main+0x21c>
lea    0xc84(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1455 <main+0x2f5>
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1442 <main+0x2e2>
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13e4 <main+0x284>
jmp    1447 <main+0x2e7>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13d2 <main+0x272>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
lea    0xbb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x14,-0x14(%rbp)
jge    14cc <main+0x36c>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14c7 <main+0x367>
mov    -0x18(%rbp),%esi
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xb8c(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    148f <main+0x32f>
jmp    150a <main+0x3aa>
mov    -0x38(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xb63(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%esi
sub    $0x1,%esi
mov    -0x38(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xb3b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x50(%rbp),%xmm0
mov    -0x14(%rbp),%esi
lea    0xb31(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %edi,%r14d
mov    0x8(%rsi),%rdi
call   10a0 <atoi@plt>
mov    %eax,%r12d
lea    0x0(,%r12,8),%r15d
mov    %r15d,%edi
call   1090 <malloc@plt>
mov    %rax,%r13
test   %r12d,%r12d
jle    11e6 <main+0x56>
mov    %r12d,%ebp
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r15d,%edi
call   1090 <malloc@plt>
mov    %rax,0x0(%r13,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%rbp
jne    11d0 <main+0x40>
mov    %r13,0x8(%rsp)
mov    %r15d,%edi
call   1090 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %r15d,%edi
call   1090 <malloc@plt>
cmp    $0x2,%r14d
jl     16ac <main+0x51c>
mov    %rax,%r13
test   %r12d,%r12d
mov    0x8(%rsp),%r8
mov    0x10(%rsp),%r9
jle    14ba <main+0x32a>
mov    %r12,0x20(%rsp)
mov    %r12d,%r15d
lea    -0x4(%r15),%rbx
mov    $0x6,%ebp
xor    %r14d,%r14d
pcmpeqd %xmm3,%xmm3
movdqa 0xdd0(%rip),%xmm4
movdqa 0xdd8(%rip),%xmm5
movdqa 0xde0(%rip),%xmm6
jmp    1271 <main+0xe1>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbp
add    $0xffffffffffffffff,%rbx
cmp    %r15,%r14
je     13ef <main+0x25f>
mov    %r14,%r12
mov    %r15,%rcx
sub    %r14,%rcx
add    $0x1,%r14
xorps  %xmm0,%xmm0
cvtsi2sd %r14d,%xmm0
movsd  %xmm0,(%r9,%r12,8)
test   %r12,%r12
je     12d4 <main+0x144>
lea    0x0(,%r12,8),%rdx
mov    (%r8,%r12,8),%rdi
xor    %esi,%esi
mov    %rcx,0x18(%rsp)
call   1070 <memset@plt>
mov    0x18(%rsp),%rcx
movdqa 0xd7a(%rip),%xmm6
movdqa 0xd62(%rip),%xmm5
movdqa 0xd4a(%rip),%xmm4
pcmpeqd %xmm3,%xmm3
mov    0x10(%rsp),%r9
mov    0x8(%rsp),%r8
mov    (%r8,%r12,8),%rax
cmp    $0x4,%rcx
jb     13d0 <main+0x240>
lea    -0x4(%rcx),%rdx
mov    %rdx,%r11
shr    $0x2,%r11
add    $0x1,%r11
movq   %r12,%xmm0
pshufd $0x44,%xmm0,%xmm0
paddq  0xcfd(%rip),%xmm0
cmp    $0x4,%rdx
jae    1310 <main+0x180>
xor    %edx,%edx
jmp    138c <main+0x1fc>
mov    %rbx,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
and    $0xfffffffffffffffe,%rsi
lea    (%rax,%rbp,8),%rdi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nop
pshufd $0xe8,%xmm0,%xmm1
movdqa %xmm1,%xmm2
psubd  %xmm3,%xmm2
paddd  %xmm4,%xmm1
cvtdq2pd %xmm2,%xmm2
cvtdq2pd %xmm1,%xmm1
movups %xmm2,-0x30(%rdi,%rdx,8)
movups %xmm1,-0x20(%rdi,%rdx,8)
movdqa %xmm0,%xmm1
paddq  %xmm5,%xmm1
pshufd $0xe8,%xmm1,%xmm1
movdqa %xmm1,%xmm2
psubd  %xmm3,%xmm2
cvtdq2pd %xmm2,%xmm2
paddd  %xmm4,%xmm1
cvtdq2pd %xmm1,%xmm1
movups %xmm2,-0x10(%rdi,%rdx,8)
movupd %xmm1,(%rdi,%rdx,8)
add    $0x8,%rdx
paddq  %xmm6,%xmm0
add    $0xfffffffffffffffe,%rsi
jne    1330 <main+0x1a0>
mov    %rcx,%rsi
and    $0xfffffffffffffffc,%rsi
test   $0x1,%r11b
je     13c0 <main+0x230>
add    %r12,%rdx
pshufd $0xe8,%xmm0,%xmm0
movdqa %xmm0,%xmm1
psubd  %xmm3,%xmm1
paddd  %xmm4,%xmm0
cvtdq2pd %xmm1,%xmm1
cvtdq2pd %xmm0,%xmm0
movupd %xmm1,(%rax,%rdx,8)
movdqu %xmm0,0x10(%rax,%rdx,8)
cmp    %rsi,%rcx
je     1260 <main+0xd0>
add    %rsi,%r12
nopl   0x0(%rax)
lea    0x1(%r12),%rcx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,(%rax,%r12,8)
mov    %rcx,%r12
cmp    %rcx,%r15
jne    13d0 <main+0x240>
jmp    1260 <main+0xd0>
mov    0x20(%rsp),%r12
cmp    $0x13,%r12d
jg     14e1 <main+0x351>
lea    0xc9e(%rip),%rdi
call   1040 <puts@plt>
test   %r12d,%r12d
jle    14c6 <main+0x336>
xor    %ebp,%ebp
lea    0xc37(%rip),%r14
mov    0x8(%rsp),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r12,%rbp,8),%rax
movq   (%rax,%rbx,8),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1440 <main+0x2b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbp
cmp    %r15,%rbp
jne    1430 <main+0x2a0>
lea    0xc35(%rip),%rdi
call   1040 <puts@plt>
mov    0x20(%rsp),%r12
test   %r12d,%r12d
mov    0x10(%rsp),%rbx
jle    14d2 <main+0x342>
xor    %ebp,%ebp
lea    0xbc0(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movq   (%rbx,%rbp,8),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    14a0 <main+0x310>
jmp    14d2 <main+0x342>
lea    0xbe2(%rip),%rdi
call   1040 <puts@plt>
lea    0xbde(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x1,%r14b
jmp    14e4 <main+0x354>
xor    %r14d,%r14d
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
movq   %xmm0,0x18(%rsp)
test   %r12d,%r12d
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%r10
jle    15ff <main+0x46f>
mov    %r12d,%r8d
cmp    $0x1,%r12d
jne    1514 <main+0x384>
xor    %ebx,%ebx
jmp    15c4 <main+0x434>
mov    %r8d,%r9d
and    $0xfffffffe,%r9d
xor    %ebx,%ebx
mov    %r8,%rsi
mov    %r10,%rdi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x0(,%rbx,8),%rbp
movsd  0x0(%r13,%rbx,8),%xmm0
mov    (%rdx,%rbx,8),%rcx
add    %rbp,%rcx
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movsd  (%rcx,%rax,8),%xmm1
mulsd  (%rdi,%rax,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rbx,8)
add    $0x1,%rax
cmp    %rax,%rsi
jne    1550 <main+0x3c0>
mov    %rbx,%rcx
or     $0x1,%rcx
movsd  0x0(%r13,%rcx,8),%xmm0
add    (%rdx,%rcx,8),%rbp
mov    $0x1,%eax
cs nopw 0x0(%rax,%rax,1)
nop
movsd  0x0(%rbp,%rax,8),%xmm1
mulsd  (%rdi,%rax,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rcx,8)
add    $0x1,%rax
cmp    %rax,%rsi
jne    1590 <main+0x400>
add    $0x2,%rbx
add    $0x10,%rdi
add    $0xfffffffffffffffe,%rsi
cmp    %r9,%rbx
jne    1530 <main+0x3a0>
test   $0x1,%r8b
je     15ff <main+0x46f>
mov    (%rdx,%rbx,8),%rcx
movsd  0x0(%r13,%rbx,8),%xmm0
mov    %rbx,%rax
nopl   0x0(%rax,%rax,1)
movsd  (%rcx,%rax,8),%xmm1
mulsd  (%r10,%rax,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rbx,8)
add    $0x1,%rax
cmp    %rax,%r8
jne    15e0 <main+0x450>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
movq   %xmm0,0x8(%rsp)
lea    0xa7d(%rip),%rdi
call   1040 <puts@plt>
test   %r14b,%r14b
je     164e <main+0x4be>
test   %r12d,%r12d
jle    167e <main+0x4ee>
mov    %r12d,%ebx
xor    %ebp,%ebp
lea    0xa2a(%rip),%r15
xchg   %ax,%ax
movq   0x0(%r13,%rbp,8),%xmm0
mov    %r15,%rdi
mov    %ebp,%esi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1630 <main+0x4a0>
jmp    167e <main+0x4ee>
movsd  0x0(%r13),%xmm0
lea    0x9fd(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1060 <printf@plt>
mov    %r12d,%esi
add    $0xffffffff,%esi
movq   0x0(%r13,%rsi,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0x8(%rsp),%xmm0
subsd  0x18(%rsp),%xmm0
lea    0x9d3(%rip),%rdi
mov    %r12d,%esi
mov    $0x1,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x292d(%rip),%rax
mov    (%rax),%edi
lea    0x984(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [19 x i8] c"Faltan argumentos\0A\00"
@.str.1 = [9 x i8] c"Matriz:\0A\00"
@.str.2 = [5 x i8] c" %g \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [9 x i8] c"Vector:\0A\00"
@.str.5 = [20 x i8] c"Vector Resultante:\0A\00"
@.str.6 = [12 x i8] c"v[%d] = %g\0A\00"
@.str.7 = [44 x i8] c"Tiempo(seg.):%11.9f\09 / Tama\C3\B1o Vectores:%u\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 double**
%10 = alloca double*
%11 = alloca double*
%12 = alloca double
%13 = alloca double
%14 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 1
%17 = load i8*, i8** %16
%18 = call i32 @atoi(i8* %17)
store i32 %18, i32* %6
%19 = load i32, i32* %6
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 %22)
%24 = inttoptr i64 %23 to double**
store double** %24, double*** %9
store i32 0, i32* %7
br label %25
25: ; preds = %40, %2
%26 = load i32, i32* %7
%27 = load i32, i32* %6
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = load i32, i32* %6
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call i64 @malloc(i32 %33)
%35 = inttoptr i64 %34 to double*
%36 = load double**, double*** %9
%37 = load i32, i32* %7
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double*, double** %36, i64 %38
store double* %35, double** %39
br label %40
40: ; preds = %29
%41 = load i32, i32* %7
%42 = add nsw i32 %41, 1
store i32 %42, i32* %7
br label %25
43: ; preds = %25
%44 = load i32, i32* %6
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 8
%47 = trunc i64 %46 to i32
%48 = call i64 @malloc(i32 %47)
%49 = inttoptr i64 %48 to double*
store double* %49, double** %10
%50 = load i32, i32* %6
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 8
%53 = trunc i64 %52 to i32
%54 = call i64 @malloc(i32 %53)
%55 = inttoptr i64 %54 to double*
store double* %55, double** %11
%56 = load i32, i32* %4
%57 = icmp slt i32 %56, 2
br i1 %57, label %58, label %62
58: ; preds = %43
%59 = load i32, i32* @stderr
%60 = call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%61 = call i32 @exit(i32 -1)
unreachable
62: ; preds = %43
store i32 0, i32* %7
br label %63
63: ; preds = %113, %62
%64 = load i32, i32* %7
%65 = load i32, i32* %6
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %116
67: ; preds = %63
%68 = load i32, i32* %7
%69 = add nsw i32 %68, 1
%70 = sitofp i32 %69 to double
%71 = load double*, double** %10
%72 = load i32, i32* %7
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, double* %71, i64 %73
store double %70, double* %74
store i32 0, i32* %8
br label %75
75: ; preds = %88, %67
%76 = load i32, i32* %8
%77 = load i32, i32* %7
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %91
79: ; preds = %75
%80 = load double**, double*** %9
%81 = load i32, i32* %7
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double*, double** %80, i64 %82
%84 = load double*, double** %83
%85 = load i32, i32* %8
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, double* %84, i64 %86
store double 0.000000e+00, double* %87
br label %88
88: ; preds = %79
%89 = load i32, i32* %8
%90 = add nsw i32 %89, 1
store i32 %90, i32* %8
br label %75
91: ; preds = %75
%92 = load i32, i32* %7
store i32 %92, i32* %8
br label %93
93: ; preds = %109, %91
%94 = load i32, i32* %8
%95 = load i32, i32* %6
%96 = icmp slt i32 %94, %95
br i1 %96, label %97, label %112
97: ; preds = %93
%98 = load i32, i32* %8
%99 = add nsw i32 %98, 1
%100 = sitofp i32 %99 to double
%101 = load double**, double*** %9
%102 = load i32, i32* %7
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double*, double** %101, i64 %103
%105 = load double*, double** %104
%106 = load i32, i32* %8
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, double* %105, i64 %107
store double %100, double* %108
br label %109
109: ; preds = %97
%110 = load i32, i32* %8
%111 = add nsw i32 %110, 1
store i32 %111, i32* %8
br label %93
112: ; preds = %93
br label %113
113: ; preds = %112
%114 = load i32, i32* %7
%115 = add nsw i32 %114, 1
store i32 %115, i32* %7
br label %63
116: ; preds = %63
%117 = load i32, i32* %6
%118 = icmp slt i32 %117, 20
br i1 %118, label %119, label %167
119: ; preds = %116
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %7
br label %121
121: ; preds = %146, %119
%122 = load i32, i32* %7
%123 = load i32, i32* %6
%124 = icmp slt i32 %122, %123
br i1 %124, label %125, label %149
125: ; preds = %121
store i32 0, i32* %8
br label %126
126: ; preds = %141, %125
%127 = load i32, i32* %8
%128 = load i32, i32* %6
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %144
130: ; preds = %126
%131 = load double**, double*** %9
%132 = load i32, i32* %7
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double*, double** %131, i64 %133
%135 = load double*, double** %134
%136 = load i32, i32* %8
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, double* %135, i64 %137
%139 = load double, double* %138
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %139)
br label %141
141: ; preds = %130
%142 = load i32, i32* %8
%143 = add nsw i32 %142, 1
store i32 %143, i32* %8
br label %126
144: ; preds = %126
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %146
146: ; preds = %144
%147 = load i32, i32* %7
%148 = add nsw i32 %147, 1
store i32 %148, i32* %7
br label %121
149: ; preds = %121
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %7
br label %151
151: ; preds = %162, %149
%152 = load i32, i32* %7
%153 = load i32, i32* %6
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %165
155: ; preds = %151
%156 = load double*, double** %10
%157 = load i32, i32* %7
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, double* %156, i64 %158
%160 = load double, double* %159
%161 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %160)
br label %162
162: ; preds = %155
%163 = load i32, i32* %7
%164 = add nsw i32 %163, 1
store i32 %164, i32* %7
br label %151
165: ; preds = %151
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %167
167: ; preds = %165, %116
%168 = call double (...) @omp_get_wtime()
store double %168, double* %12
store i32 0, i32* %7
br label %169
169: ; preds = %208, %167
%170 = load i32, i32* %7
%171 = load i32, i32* %6
%172 = icmp slt i32 %170, %171
br i1 %172, label %173, label %211
173: ; preds = %169
%174 = load i32, i32* %7
store i32 %174, i32* %8
br label %175
175: ; preds = %204, %173
%176 = load i32, i32* %8
%177 = load i32, i32* %6
%178 = icmp slt i32 %176, %177
br i1 %178, label %179, label %207
179: ; preds = %175
%180 = load double**, double*** %9
%181 = load i32, i32* %7
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double*, double** %180, i64 %182
%184 = load double*, double** %183
%185 = load i32, i32* %8
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, double* %184, i64 %186
%188 = load double, double* %187
%189 = load double*, double** %10
%190 = load i32, i32* %8
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, double* %189, i64 %191
%193 = load double, double* %192
%194 = load double*, double** %11
%195 = load i32, i32* %7
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, double* %194, i64 %196
%198 = load double, double* %197
%199 = call double @llvm.fmuladd.f64(double %188, double %193, double %198)
%200 = load double*, double** %11
%201 = load i32, i32* %7
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds double, double* %200, i64 %202
store double %199, double* %203
br label %204
204: ; preds = %179
%205 = load i32, i32* %8
%206 = add nsw i32 %205, 1
store i32 %206, i32* %8
br label %175
207: ; preds = %175
br label %208
208: ; preds = %207
%209 = load i32, i32* %7
%210 = add nsw i32 %209, 1
store i32 %210, i32* %7
br label %169
211: ; preds = %169
%212 = call double (...) @omp_get_wtime()
store double %212, double* %13
%213 = load double, double* %13
%214 = load double, double* %12
%215 = fsub double %213, %214
store double %215, double* %14
%216 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%217 = load i32, i32* %6
%218 = icmp slt i32 %217, 20
br i1 %218, label %219, label %236
219: ; preds = %211
store i32 0, i32* %7
br label %220
220: ; preds = %232, %219
%221 = load i32, i32* %7
%222 = load i32, i32* %6
%223 = icmp slt i32 %221, %222
br i1 %223, label %224, label %235
224: ; preds = %220
%225 = load i32, i32* %7
%226 = load double*, double** %11
%227 = load i32, i32* %7
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds double, double* %226, i64 %228
%230 = load double, double* %229
%231 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %225, double %230)
br label %232
232: ; preds = %224
%233 = load i32, i32* %7
%234 = add nsw i32 %233, 1
store i32 %234, i32* %7
br label %220
235: ; preds = %220
br label %250
236: ; preds = %211
%237 = load double*, double** %11
%238 = getelementptr inbounds double, double* %237, i64 0
%239 = load double, double* %238
%240 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 0, double %239)
%241 = load i32, i32* %6
%242 = sub nsw i32 %241, 1
%243 = load double*, double** %11
%244 = load i32, i32* %6
%245 = sub nsw i32 %244, 1
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, double* %243, i64 %246
%248 = load double, double* %247
%249 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %242, double %248)
br label %250
250: ; preds = %236, %235
%251 = load double, double* %14
%252 = load i32, i32* %6
%253 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), double %251, i32 %252)
%254 = load i32, i32* %3
ret i32 %254
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [19 x i8] c"Faltan argumentos\0A\00"
@.str.2 = [5 x i8] c" %g \00"
@.str.6 = [12 x i8] c"v[%d] = %g\0A\00"
@.str.7 = [44 x i8] c"Tiempo(seg.):%11.9f\09 / Tama\C3\B1o Vectores:%u\0A\00"
@str = [19 x i8] c"Vector Resultante:\00"
@str.8 = [8 x i8] c"Matriz:\00"
@str.9 = [8 x i8] c"Vector:\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 = tail call i64 @malloc(i32 %6)
%8 = inttoptr i64 %7 to double**
%9 = icmp sgt i32 %5, 0
br i1 %9, label %10, label %19
10: ; preds = %2
%11 = zext i32 %5 to i64
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ 0, %10 ], [ %17, %12 ]
%14 = tail call i64 @malloc(i32 %6)
%15 = inttoptr i64 %14 to double*
%16 = getelementptr inbounds double*, double** %8, i64 %13
store double* %15, double** %16
%17 = add nuw nsw i64 %13, 1
%18 = icmp eq i64 %17, %11
br i1 %18, label %19, label %12
19: ; preds = %12, %2
%20 = tail call i64 @malloc(i32 %6)
%21 = inttoptr i64 %20 to double*
%22 = tail call i64 @malloc(i32 %6)
%23 = inttoptr i64 %22 to double*
%24 = icmp slt i32 %0, 2
br i1 %24, label %30, label %25
25: ; preds = %19
br i1 %9, label %28, label %26
26: ; preds = %25
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.8, i64 0, i64 0))
br label %147
28: ; preds = %25
%29 = zext i32 %5 to i64
br label %36
30: ; preds = %19
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%33 = tail call i32 @exit(i32 -1)
unreachable
34: ; preds = %119, %115
%35 = icmp eq i64 %43, %29
br i1 %35, label %126, label %36
36: ; preds = %28, %34
%37 = phi i64 [ 0, %28 ], [ %43, %34 ]
%38 = sub nsw i64 %29, %37
%39 = add i64 %38, -4
%40 = lshr i64 %39, 2
%41 = add nuw nsw i64 %40, 1
%42 = sub nsw i64 %29, %37
%43 = add nuw nsw i64 %37, 1
%44 = trunc i64 %43 to i32
%45 = sitofp i32 %44 to double
%46 = getelementptr inbounds double, double* %21, i64 %37
store double %45, double* %46
%47 = icmp eq i64 %37, 0
br i1 %47, label %53, label %48
48: ; preds = %36
%49 = shl nuw nsw i64 %37, 3
%50 = getelementptr inbounds double*, double** %8, i64 %37
%51 = bitcast double** %50 to i8**
%52 = load i8*, i8** %51
br label %53
53: ; preds = %36, %48
%54 = getelementptr inbounds double*, double** %8, i64 %37
%55 = load double*, double** %54
%56 = icmp ult i64 %42, 4
br i1 %56, label %117, label %57
57: ; preds = %53
%58 = and i64 %42, -4
%59 = add i64 %37, %58
%60 = insertelement <2 x i64> poison, i64 %37, i64 0
%61 = shufflevector <2 x i64> %60, <2 x i64> poison, <2 x i32> zeroinitializer
%62 = add nuw <2 x i64> %61, <i64 0, i64 1>
%63 = and i64 %41, 1
%64 = icmp ult i64 %39, 4
br i1 %64, label %99, label %65
65: ; preds = %57
%66 = and i64 %41, 9223372036854775806
br label %67
67: ; preds = %67, %65
%68 = phi i64 [ 0, %65 ], [ %95, %67 ]
%69 = phi <2 x i64> [ %62, %65 ], [ %96, %67 ]
%70 = phi i64 [ 0, %65 ], [ %97, %67 ]
%71 = add i64 %37, %68
%72 = trunc <2 x i64> %69 to <2 x i32>
%73 = add <2 x i32> %72, <i32 1, i32 1>
%74 = trunc <2 x i64> %69 to <2 x i32>
%75 = add <2 x i32> %74, <i32 3, i32 3>
%76 = sitofp <2 x i32> %73 to <2 x double>
%77 = sitofp <2 x i32> %75 to <2 x double>
%78 = getelementptr inbounds double, double* %55, i64 %71
%79 = bitcast double* %78 to <2 x double>*
store <2 x double> %76, <2 x double>* %79
%80 = getelementptr inbounds double, double* %78, i64 2
%81 = bitcast double* %80 to <2 x double>*
store <2 x double> %77, <2 x double>* %81
%82 = or i64 %68, 4
%83 = add <2 x i64> %69, <i64 4, i64 4>
%84 = add i64 %37, %82
%85 = trunc <2 x i64> %83 to <2 x i32>
%86 = add <2 x i32> %85, <i32 1, i32 1>
%87 = trunc <2 x i64> %83 to <2 x i32>
%88 = add <2 x i32> %87, <i32 3, i32 3>
%89 = sitofp <2 x i32> %86 to <2 x double>
%90 = sitofp <2 x i32> %88 to <2 x double>
%91 = getelementptr inbounds double, double* %55, i64 %84
%92 = bitcast double* %91 to <2 x double>*
store <2 x double> %89, <2 x double>* %92
%93 = getelementptr inbounds double, double* %91, i64 2
%94 = bitcast double* %93 to <2 x double>*
store <2 x double> %90, <2 x double>* %94
%95 = add nuw i64 %68, 8
%96 = add <2 x i64> %69, <i64 8, i64 8>
%97 = add i64 %70, 2
%98 = icmp eq i64 %97, %66
br i1 %98, label %99, label %67
99: ; preds = %67, %57
%100 = phi i64 [ 0, %57 ], [ %95, %67 ]
%101 = phi <2 x i64> [ %62, %57 ], [ %96, %67 ]
%102 = icmp eq i64 %63, 0
br i1 %102, label %115, label %103
103: ; preds = %99
%104 = add i64 %37, %100
%105 = trunc <2 x i64> %101 to <2 x i32>
%106 = add <2 x i32> %105, <i32 1, i32 1>
%107 = trunc <2 x i64> %101 to <2 x i32>
%108 = add <2 x i32> %107, <i32 3, i32 3>
%109 = sitofp <2 x i32> %106 to <2 x double>
%110 = sitofp <2 x i32> %108 to <2 x double>
%111 = getelementptr inbounds double, double* %55, i64 %104
%112 = bitcast double* %111 to <2 x double>*
store <2 x double> %109, <2 x double>* %112
%113 = getelementptr inbounds double, double* %111, i64 2
%114 = bitcast double* %113 to <2 x double>*
store <2 x double> %110, <2 x double>* %114
br label %115
115: ; preds = %99, %103
%116 = icmp eq i64 %42, %58
br i1 %116, label %34, label %117
117: ; preds = %53, %115
%118 = phi i64 [ %37, %53 ], [ %59, %115 ]
br label %119
119: ; preds = %117, %119
%120 = phi i64 [ %121, %119 ], [ %118, %117 ]
%121 = add nuw nsw i64 %120, 1
%122 = trunc i64 %121 to i32
%123 = sitofp i32 %122 to double
%124 = getelementptr inbounds double, double* %55, i64 %120
store double %123, double* %124
%125 = icmp eq i64 %121, %29
br i1 %125, label %34, label %119
126: ; preds = %34
%127 = icmp slt i32 %5, 20
br i1 %127, label %128, label %162
128: ; preds = %126
%129 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.8, i64 0, i64 0))
br i1 %9, label %130, label %147
130: ; preds = %128
%131 = zext i32 %5 to i64
br label %132
132: ; preds = %143, %130
%133 = phi i64 [ 0, %130 ], [ %145, %143 ]
%134 = getelementptr inbounds double*, double** %8, i64 %133
br label %135
135: ; preds = %132, %135
%136 = phi i64 [ 0, %132 ], [ %141, %135 ]
%137 = load double*, double** %134
%138 = getelementptr inbounds double, double* %137, i64 %136
%139 = load double, double* %138
%140 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %139)
%141 = add nuw nsw i64 %136, 1
%142 = icmp eq i64 %141, %131
br i1 %142, label %143, label %135
143: ; preds = %135
%144 = tail call i32 @putchar(i32 10)
%145 = add nuw nsw i64 %133, 1
%146 = icmp eq i64 %145, %131
br i1 %146, label %149, label %132
147: ; preds = %26, %128
%148 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.9, i64 0, i64 0))
br label %160
149: ; preds = %143
%150 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.9, i64 0, i64 0))
br i1 %9, label %151, label %160
151: ; preds = %149
%152 = zext i32 %5 to i64
br label %153
153: ; preds = %151, %153
%154 = phi i64 [ 0, %151 ], [ %158, %153 ]
%155 = getelementptr inbounds double, double* %21, i64 %154
%156 = load double, double* %155
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %156)
%158 = add nuw nsw i64 %154, 1
%159 = icmp eq i64 %158, %152
br i1 %159, label %160, label %153
160: ; preds = %153, %147, %149
%161 = tail call i32 @putchar(i32 10)
br label %162
162: ; preds = %160, %126
%163 = phi i1 [ true, %160 ], [ false, %126 ]
%164 = tail call double (...) @omp_get_wtime()
br i1 %9, label %165, label %226
165: ; preds = %162
%166 = zext i32 %5 to i64
%167 = and i64 %166, 1
%168 = icmp eq i32 %5, 1
br i1 %168, label %208, label %169
169: ; preds = %165
%170 = and i64 %166, 4294967294
br label %171
171: ; preds = %204, %169
%172 = phi i64 [ 0, %169 ], [ %205, %204 ]
%173 = phi i64 [ 0, %169 ], [ %206, %204 ]
%174 = getelementptr inbounds double*, double** %8, i64 %172
%175 = load double*, double** %174
%176 = getelementptr inbounds double, double* %23, i64 %172
%177 = load double, double* %176
br label %178
178: ; preds = %171, %178
%179 = phi double [ %177, %171 ], [ %185, %178 ]
%180 = phi i64 [ %172, %171 ], [ %186, %178 ]
%181 = getelementptr inbounds double, double* %175, i64 %180
%182 = load double, double* %181
%183 = getelementptr inbounds double, double* %21, i64 %180
%184 = load double, double* %183
%185 = tail call double @llvm.fmuladd.f64(double %182, double %184, double %179)
store double %185, double* %176
%186 = add nuw nsw i64 %180, 1
%187 = icmp eq i64 %186, %166
br i1 %187, label %188, label %178
188: ; preds = %178
%189 = or i64 %172, 1
%190 = getelementptr inbounds double*, double** %8, i64 %189
%191 = load double*, double** %190
%192 = getelementptr inbounds double, double* %23, i64 %189
%193 = load double, double* %192
br label %194
194: ; preds = %194, %188
%195 = phi double [ %193, %188 ], [ %201, %194 ]
%196 = phi i64 [ %189, %188 ], [ %202, %194 ]
%197 = getelementptr inbounds double, double* %191, i64 %196
%198 = load double, double* %197
%199 = getelementptr inbounds double, double* %21, i64 %196
%200 = load double, double* %199
%201 = tail call double @llvm.fmuladd.f64(double %198, double %200, double %195)
store double %201, double* %192
%202 = add nuw nsw i64 %196, 1
%203 = icmp eq i64 %202, %166
br i1 %203, label %204, label %194
204: ; preds = %194
%205 = add nuw nsw i64 %172, 2
%206 = add i64 %173, 2
%207 = icmp eq i64 %206, %170
br i1 %207, label %208, label %171
208: ; preds = %204, %165
%209 = phi i64 [ 0, %165 ], [ %205, %204 ]
%210 = icmp eq i64 %167, 0
br i1 %210, label %226, label %211
211: ; preds = %208
%212 = getelementptr inbounds double*, double** %8, i64 %209
%213 = load double*, double** %212
%214 = getelementptr inbounds double, double* %23, i64 %209
%215 = load double, double* %214
br label %216
216: ; preds = %216, %211
%217 = phi double [ %215, %211 ], [ %223, %216 ]
%218 = phi i64 [ %209, %211 ], [ %224, %216 ]
%219 = getelementptr inbounds double, double* %213, i64 %218
%220 = load double, double* %219
%221 = getelementptr inbounds double, double* %21, i64 %218
%222 = load double, double* %221
%223 = tail call double @llvm.fmuladd.f64(double %220, double %222, double %217)
store double %223, double* %214
%224 = add nuw nsw i64 %218, 1
%225 = icmp eq i64 %224, %166
br i1 %225, label %226, label %216
226: ; preds = %208, %216, %162
%227 = tail call double (...) @omp_get_wtime()
%228 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
br i1 %163, label %229, label %240
229: ; preds = %226
br i1 %9, label %230, label %248
230: ; preds = %229
%231 = zext i32 %5 to i64
br label %232
232: ; preds = %230, %232
%233 = phi i64 [ 0, %230 ], [ %238, %232 ]
%234 = getelementptr inbounds double, double* %23, i64 %233
%235 = load double, double* %234
%236 = trunc i64 %233 to i32
%237 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %236, double %235)
%238 = add nuw nsw i64 %233, 1
%239 = icmp eq i64 %238, %231
br i1 %239, label %248, label %232
240: ; preds = %226
%241 = load double, double* %23
%242 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 0, double %241)
%243 = add nsw i32 %5, -1
%244 = zext i32 %243 to i64
%245 = getelementptr inbounds double, double* %23, i64 %244
%246 = load double, double* %245
%247 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %243, double %246)
br label %248
248: ; preds = %232, %229, %240
%249 = fsub double %227, %164
%250 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), double %249, i32 %5)
ret i32 0
}