#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 int /*<<< orphan*/ omp_sched_t;

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ omp_get_num_procs();
int /*<<< orphan*/ omp_get_schedule(int /*<<< orphan*/ *, int *);
double omp_get_wtime();
int /*<<< orphan*/ omp_set_num_threads(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
main(int argc, char **argv) {
  int N = atoi(argv[1]);
  int i, j;
  omp_sched_t kind;
  int modifier;
  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");
  }
  omp_set_num_threads(omp_get_num_procs());
  omp_get_schedule(&kind, &modifier);
  start = omp_get_wtime();
#pragma omp parallel for schedule(runtime) private(j)
  for (i = 0; i < N; ++i) {
    for (j = i; j < N; ++j)
#pragma omp atomic
      v2[i] = (m[i][j] * v1[j]) + v2[i];
  }
  end = omp_get_wtime();
  elapsed = end - start;
  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    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x14(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1208 <main+0x78>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,%rdx
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11d0 <main+0x40>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x38(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x40(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1257 <main+0xc7>
mov    0x2da1(%rip),%rax
mov    (%rax),%edi
lea    0xdb8(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    130c <main+0x17c>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    12ba <main+0x12a>
mov    -0x30(%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    1288 <main+0xf8>
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12f9 <main+0x169>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
mov    -0x30(%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    12c0 <main+0x130>
jmp    12fe <main+0x16e>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    125e <main+0xce>
cmpl   $0x14,-0x14(%rbp)
jge    13ef <main+0x25f>
lea    0xcf6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1397 <main+0x207>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    137b <main+0x1eb>
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xcb6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    133e <main+0x1ae>
lea    0xca6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    132b <main+0x19b>
lea    0xc83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13e1 <main+0x251>
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xc50(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13ac <main+0x21c>
lea    0xc40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <omp_get_num_procs@plt>
mov    %eax,%edi
call   1080 <omp_set_num_threads@plt>
lea    -0x20(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1090 <omp_get_schedule@plt>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14a0 <main+0x310>
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    148d <main+0x2fd>
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    142f <main+0x29f>
jmp    1492 <main+0x302>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    141d <main+0x28d>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
cmpl   $0x14,-0x14(%rbp)
jge    1509 <main+0x379>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1504 <main+0x374>
mov    -0x18(%rbp),%esi
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xb3b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14cc <main+0x33c>
jmp    1547 <main+0x3b7>
mov    -0x40(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xb12(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%esi
sub    $0x1,%esi
mov    -0x40(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xaea(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x58(%rbp),%xmm0
mov    -0x14(%rbp),%esi
lea    0xae0(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x60,%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   10d0 <atoi@plt>
mov    %eax,%r12d
lea    0x0(,%r12,8),%r13d
mov    %r13d,%edi
call   10a0 <malloc@plt>
mov    %rax,%rbp
mov    %r12d,%r15d
test   %r12d,%r12d
jle    1216 <main+0x56>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r13d,%edi
call   10a0 <malloc@plt>
mov    %rax,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1200 <main+0x40>
mov    %rbp,(%rsp)
mov    %r13d,%edi
call   10a0 <malloc@plt>
mov    %rax,0x8(%rsp)
mov    %r13d,%edi
call   10a0 <malloc@plt>
cmp    $0x2,%r14d
jl     16e0 <main+0x520>
mov    %rax,%r13
test   %r12d,%r12d
mov    (%rsp),%r8
mov    0x8(%rsp),%r9
jle    14cb <main+0x30b>
mov    %r12,0x18(%rsp)
lea    -0x4(%r15),%rbx
mov    $0x6,%ebp
xor    %r14d,%r14d
pcmpeqd %xmm3,%xmm3
movdqa 0xda5(%rip),%xmm4
movdqa 0xdad(%rip),%xmm5
movdqa 0xdb5(%rip),%xmm6
jmp    1291 <main+0xd1>
nopl   (%rax)
add    $0x1,%rbp
add    $0xffffffffffffffff,%rbx
cmp    %r15,%r14
je     140f <main+0x24f>
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     12f3 <main+0x133>
lea    0x0(,%r12,8),%rdx
mov    (%r8,%r12,8),%rdi
xor    %esi,%esi
mov    %rcx,0x10(%rsp)
call   1070 <memset@plt>
mov    0x10(%rsp),%rcx
movdqa 0xd5a(%rip),%xmm6
movdqa 0xd42(%rip),%xmm5
movdqa 0xd2a(%rip),%xmm4
pcmpeqd %xmm3,%xmm3
mov    0x8(%rsp),%r9
mov    (%rsp),%r8
mov    (%r8,%r12,8),%rax
cmp    $0x4,%rcx
jb     13f0 <main+0x230>
lea    -0x4(%rcx),%rdx
mov    %rdx,%r11
shr    $0x2,%r11
add    $0x1,%r11
movq   %r12,%xmm0
pshufd $0x44,%xmm0,%xmm0
paddq  0xcde(%rip),%xmm0
cmp    $0x4,%rdx
jae    1330 <main+0x170>
xor    %edx,%edx
jmp    13ac <main+0x1ec>
nop
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    1350 <main+0x190>
mov    %rcx,%rsi
and    $0xfffffffffffffffc,%rsi
test   $0x1,%r11b
je     13e0 <main+0x220>
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     1280 <main+0xc0>
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    13f0 <main+0x230>
jmp    1280 <main+0xc0>
mov    0x18(%rsp),%r12
cmp    $0x13,%r12d
jg     14f2 <main+0x332>
lea    0xc6b(%rip),%rdi
call   1040 <puts@plt>
test   %r12d,%r12d
jle    14d7 <main+0x317>
xor    %ebx,%ebx
lea    0xc17(%rip),%r14
mov    (%rsp),%r12
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r12,%rbx,8),%rax
movq   (%rax,%rbp,8),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1450 <main+0x290>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    %r15,%rbx
jne    1440 <main+0x280>
lea    0xc12(%rip),%rdi
call   1040 <puts@plt>
mov    0x18(%rsp),%r12
test   %r12d,%r12d
mov    0x8(%rsp),%rbp
jle    14e3 <main+0x323>
xor    %ebx,%ebx
lea    0xbb0(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movq   0x0(%rbp,%rbx,8),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    14b0 <main+0x2f0>
jmp    14e3 <main+0x323>
lea    0xbbe(%rip),%rdi
call   1040 <puts@plt>
lea    0xbba(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x1,%r14b
jmp    14f5 <main+0x335>
xor    %r14d,%r14d
xor    %eax,%eax
call   1090 <omp_get_num_procs@plt>
mov    %eax,%edi
call   10b0 <omp_set_num_threads@plt>
lea    0x24(%rsp),%rdi
lea    0x20(%rsp),%rsi
call   10c0 <omp_get_schedule@plt>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
test   %r12d,%r12d
movq   %xmm0,0x10(%rsp)
jle    153a <main+0x37a>
cmp    $0x1,%r12d
jne    154f <main+0x38f>
xor    %ebx,%ebx
mov    (%rsp),%rcx
mov    0x8(%rsp),%r9
jmp    1603 <main+0x443>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
test   %r14b,%r14b
je     167e <main+0x4be>
jmp    16b8 <main+0x4f8>
mov    %r15d,%r8d
and    $0xfffffffe,%r8d
xor    %ebx,%ebx
mov    %r15,%rdx
mov    0x8(%rsp),%r9
mov    %r9,%rsi
mov    (%rsp),%rcx
nopw   0x0(%rax,%rax,1)
lea    0x0(,%rbx,8),%rdi
movsd  0x0(%r13,%rbx,8),%xmm0
mov    (%rcx,%rbx,8),%rax
add    %rdi,%rax
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movsd  (%rax,%rbp,8),%xmm1
mulsd  (%rsi,%rbp,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rbx,8)
add    $0x1,%rbp
cmp    %rbp,%rdx
jne    1590 <main+0x3d0>
mov    %rbx,%rax
or     $0x1,%rax
movsd  0x0(%r13,%rax,8),%xmm0
add    (%rcx,%rax,8),%rdi
mov    $0x1,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rdi,%rbp,8),%xmm1
mulsd  (%rsi,%rbp,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rax,8)
add    $0x1,%rbp
cmp    %rbp,%rdx
jne    15d0 <main+0x410>
add    $0x2,%rbx
add    $0x10,%rsi
add    $0xfffffffffffffffe,%rdx
cmp    %r8,%rbx
jne    1570 <main+0x3b0>
test   $0x1,%r15b
je     163f <main+0x47f>
mov    (%rcx,%rbx,8),%rax
movsd  0x0(%r13,%rbx,8),%xmm0
mov    %rbx,%rcx
nopw   0x0(%rax,%rax,1)
movsd  (%rax,%rcx,8),%xmm1
mulsd  (%r9,%rcx,8),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13,%rbx,8)
add    $0x1,%rcx
cmp    %rcx,%r15
jne    1620 <main+0x460>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
test   %r14b,%r14b
je     167e <main+0x4be>
test   %r12d,%r12d
jle    16b8 <main+0x4f8>
movq   %xmm0,(%rsp)
xor    %ebp,%ebp
lea    0x9fa(%rip),%rbx
xchg   %ax,%ax
movq   0x0(%r13,%rbp,8),%xmm0
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1660 <main+0x4a0>
jmp    16b3 <main+0x4f3>
movq   %xmm0,(%rsp)
movsd  0x0(%r13),%xmm0
lea    0x9c8(%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>
movq   (%rsp),%xmm0
subsd  0x10(%rsp),%xmm0
lea    0x99f(%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    0x28f9(%rip),%rax
mov    (%rax),%edi
lea    0x950(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0xffffffff,%edi
call   10e0 <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 = [12 x i8] c"v[%d] = %g\0A\00"
@.str.6 = [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 i32
%10 = alloca i32
%11 = alloca double**
%12 = alloca double*
%13 = alloca double*
%14 = alloca double
%15 = alloca double
%16 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i32 @atoi(i8* %19)
store i32 %20, i32* %6
%21 = load i32, i32* %6
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 8
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 %24)
%26 = inttoptr i64 %25 to double**
store double** %26, double*** %11
store i32 0, i32* %7
br label %27
27: ; preds = %42, %2
%28 = load i32, i32* %7
%29 = load i32, i32* %6
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %45
31: ; preds = %27
%32 = load i32, i32* %6
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 8
%35 = trunc i64 %34 to i32
%36 = call i64 @malloc(i32 %35)
%37 = inttoptr i64 %36 to double*
%38 = load double**, double*** %11
%39 = load i32, i32* %7
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double*, double** %38, i64 %40
store double* %37, double** %41
br label %42
42: ; preds = %31
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 1
store i32 %44, i32* %7
br label %27
45: ; preds = %27
%46 = load i32, i32* %6
%47 = sext i32 %46 to i64
%48 = mul i64 %47, 8
%49 = trunc i64 %48 to i32
%50 = call i64 @malloc(i32 %49)
%51 = inttoptr i64 %50 to double*
store double* %51, double** %12
%52 = load i32, i32* %6
%53 = sext i32 %52 to i64
%54 = mul i64 %53, 8
%55 = trunc i64 %54 to i32
%56 = call i64 @malloc(i32 %55)
%57 = inttoptr i64 %56 to double*
store double* %57, double** %13
%58 = load i32, i32* %4
%59 = icmp slt i32 %58, 2
br i1 %59, label %60, label %64
60: ; preds = %45
%61 = load i32, i32* @stderr
%62 = call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%63 = call i32 @exit(i32 -1)
unreachable
64: ; preds = %45
store i32 0, i32* %7
br label %65
65: ; preds = %115, %64
%66 = load i32, i32* %7
%67 = load i32, i32* %6
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %118
69: ; preds = %65
%70 = load i32, i32* %7
%71 = add nsw i32 %70, 1
%72 = sitofp i32 %71 to double
%73 = load double*, double** %12
%74 = load i32, i32* %7
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, double* %73, i64 %75
store double %72, double* %76
store i32 0, i32* %8
br label %77
77: ; preds = %90, %69
%78 = load i32, i32* %8
%79 = load i32, i32* %7
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %93
81: ; preds = %77
%82 = load double**, double*** %11
%83 = load i32, i32* %7
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double*, double** %82, i64 %84
%86 = load double*, double** %85
%87 = load i32, i32* %8
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, double* %86, i64 %88
store double 0.000000e+00, double* %89
br label %90
90: ; preds = %81
%91 = load i32, i32* %8
%92 = add nsw i32 %91, 1
store i32 %92, i32* %8
br label %77
93: ; preds = %77
%94 = load i32, i32* %7
store i32 %94, i32* %8
br label %95
95: ; preds = %111, %93
%96 = load i32, i32* %8
%97 = load i32, i32* %6
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %114
99: ; preds = %95
%100 = load i32, i32* %8
%101 = add nsw i32 %100, 1
%102 = sitofp i32 %101 to double
%103 = load double**, double*** %11
%104 = load i32, i32* %7
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double*, double** %103, i64 %105
%107 = load double*, double** %106
%108 = load i32, i32* %8
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %107, i64 %109
store double %102, double* %110
br label %111
111: ; preds = %99
%112 = load i32, i32* %8
%113 = add nsw i32 %112, 1
store i32 %113, i32* %8
br label %95
114: ; preds = %95
br label %115
115: ; preds = %114
%116 = load i32, i32* %7
%117 = add nsw i32 %116, 1
store i32 %117, i32* %7
br label %65
118: ; preds = %65
%119 = load i32, i32* %6
%120 = icmp slt i32 %119, 20
br i1 %120, label %121, label %169
121: ; preds = %118
%122 = 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 %123
123: ; preds = %148, %121
%124 = load i32, i32* %7
%125 = load i32, i32* %6
%126 = icmp slt i32 %124, %125
br i1 %126, label %127, label %151
127: ; preds = %123
store i32 0, i32* %8
br label %128
128: ; preds = %143, %127
%129 = load i32, i32* %8
%130 = load i32, i32* %6
%131 = icmp slt i32 %129, %130
br i1 %131, label %132, label %146
132: ; preds = %128
%133 = load double**, double*** %11
%134 = load i32, i32* %7
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double*, double** %133, i64 %135
%137 = load double*, double** %136
%138 = load i32, i32* %8
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, double* %137, i64 %139
%141 = load double, double* %140
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %141)
br label %143
143: ; preds = %132
%144 = load i32, i32* %8
%145 = add nsw i32 %144, 1
store i32 %145, i32* %8
br label %128
146: ; preds = %128
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %148
148: ; preds = %146
%149 = load i32, i32* %7
%150 = add nsw i32 %149, 1
store i32 %150, i32* %7
br label %123
151: ; preds = %123
%152 = 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 %153
153: ; preds = %164, %151
%154 = load i32, i32* %7
%155 = load i32, i32* %6
%156 = icmp slt i32 %154, %155
br i1 %156, label %157, label %167
157: ; preds = %153
%158 = load double*, double** %12
%159 = load i32, i32* %7
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, double* %158, i64 %160
%162 = load double, double* %161
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %162)
br label %164
164: ; preds = %157
%165 = load i32, i32* %7
%166 = add nsw i32 %165, 1
store i32 %166, i32* %7
br label %153
167: ; preds = %153
%168 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %169
169: ; preds = %167, %118
%170 = call i32 (...) @omp_get_num_procs()
%171 = call i32 @omp_set_num_threads(i32 %170)
%172 = call i32 @omp_get_schedule(i32* %9, i32* %10)
%173 = call double (...) @omp_get_wtime()
store double %173, double* %14
store i32 0, i32* %7
br label %174
174: ; preds = %213, %169
%175 = load i32, i32* %7
%176 = load i32, i32* %6
%177 = icmp slt i32 %175, %176
br i1 %177, label %178, label %216
178: ; preds = %174
%179 = load i32, i32* %7
store i32 %179, i32* %8
br label %180
180: ; preds = %209, %178
%181 = load i32, i32* %8
%182 = load i32, i32* %6
%183 = icmp slt i32 %181, %182
br i1 %183, label %184, label %212
184: ; preds = %180
%185 = load double**, double*** %11
%186 = load i32, i32* %7
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double*, double** %185, i64 %187
%189 = load double*, double** %188
%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** %12
%195 = load i32, i32* %8
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, double* %194, i64 %196
%198 = load double, double* %197
%199 = load double*, double** %13
%200 = load i32, i32* %7
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, double* %199, i64 %201
%203 = load double, double* %202
%204 = call double @llvm.fmuladd.f64(double %193, double %198, double %203)
%205 = load double*, double** %13
%206 = load i32, i32* %7
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds double, double* %205, i64 %207
store double %204, double* %208
br label %209
209: ; preds = %184
%210 = load i32, i32* %8
%211 = add nsw i32 %210, 1
store i32 %211, i32* %8
br label %180
212: ; preds = %180
br label %213
213: ; preds = %212
%214 = load i32, i32* %7
%215 = add nsw i32 %214, 1
store i32 %215, i32* %7
br label %174
216: ; preds = %174
%217 = call double (...) @omp_get_wtime()
store double %217, double* %15
%218 = load double, double* %15
%219 = load double, double* %14
%220 = fsub double %218, %219
store double %220, double* %16
%221 = load i32, i32* %6
%222 = icmp slt i32 %221, 20
br i1 %222, label %223, label %240
223: ; preds = %216
store i32 0, i32* %7
br label %224
224: ; preds = %236, %223
%225 = load i32, i32* %7
%226 = load i32, i32* %6
%227 = icmp slt i32 %225, %226
br i1 %227, label %228, label %239
228: ; preds = %224
%229 = load i32, i32* %7
%230 = load double*, double** %13
%231 = load i32, i32* %7
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, double* %230, i64 %232
%234 = load double, double* %233
%235 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %229, double %234)
br label %236
236: ; preds = %228
%237 = load i32, i32* %7
%238 = add nsw i32 %237, 1
store i32 %238, i32* %7
br label %224
239: ; preds = %224
br label %254
240: ; preds = %216
%241 = load double*, double** %13
%242 = getelementptr inbounds double, double* %241, i64 0
%243 = load double, double* %242
%244 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 0, double %243)
%245 = load i32, i32* %6
%246 = sub nsw i32 %245, 1
%247 = load double*, double** %13
%248 = load i32, i32* %6
%249 = sub nsw i32 %248, 1
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, double* %247, i64 %250
%252 = load double, double* %251
%253 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %246, double %252)
br label %254
254: ; preds = %240, %239
%255 = load double, double* %16
%256 = load i32, i32* %6
%257 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.6, i64 0, i64 0), double %255, i32 %256)
%258 = load i32, i32* %3
ret i32 %258
}

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