#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 *);
double omp_get_wtime();
int /*<<< orphan*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  if (argc < 2) {
    fprintf(stderr, "Se deben introducir las filas y las columnas\n");
    exit(-1);
  }
  const int m = atoi(argv[1]);
  int M[m][m];
  int v1[m];
  int v2[m];
  int i, j, k, l, n, s, h, p, g;
  int suma = 0;
#pragma omp parallel for private(l, n)
  for (l = 0; l < m; l++)
    for (n = 0; n < m; n++)
      M[l][n] = rand() % 10;
  for (k = 0; k < m; k++)
    v1[k] = rand() % 10;
  double t1 = omp_get_wtime();
#pragma omp parallel for private(i, j)
  for (i = 0; i < m; i++) {
    suma = 0;
    for (j = 0; j < m; j++) {
      suma += (M[i][j] * v1[j]);
    }
    v2[i] = suma;
  }
  double t2 = omp_get_wtime();
  double tiempo_total = (double)(t2 - t1);
  if (m < 11) {
    printf("*****Matriz*****\n");
    for (s = 0; s < m; s++) {
      for (h = 0; h < m; h++) {
        printf("%d ", M[s][h]);
      }
      printf("\n");
    }
    printf("*****Vector*****\n");
    for (p = 0; p < m; p++) {
      printf("%d ", v1[p]);
    }
    printf("\n");
    printf("****************\n");
    printf("*****Vector v2 con el resultado*****\n");
    for (g = 0; g < m; g++) {
      printf("%d ", v2[g]);
    }
    printf("\n");
    printf("\nTiempo total: %f\n", tiempo_total);
    printf("************************************\n");
  } else {
    printf("v2[0]: %d ", v2[0]);
    printf("v2[m]: %d \n", v2[m - 1]);
    printf("*****Tiempo total: %f\n", tiempo_total);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11a2 <main+0x42>
mov    0x2e56(%rip),%rax
mov    (%rax),%edi
lea    0xe6d(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1070 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %rax,-0xa0(%rbp)
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
mov    %rax,%rcx
imul   %rcx,%rcx
lea    0xf(,%rcx,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x98(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
mov    %rax,-0x30(%rbp)
mov    -0x14(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x90(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
mov    -0x14(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x88(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x68(%rbp)
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12b5 <main+0x155>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12a2 <main+0x142>
mov    $0x0,%al
call   1080 <rand@plt>
mov    -0xa0(%rbp),%rsi
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    -0x98(%rbp),%rax
movslq -0x50(%rbp),%rcx
imul   %rsi,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x54(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1255 <main+0xf5>
jmp    12a7 <main+0x147>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1242 <main+0xe2>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12f3 <main+0x193>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    -0x90(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12bc <main+0x15c>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x70(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1392 <main+0x232>
movl   $0x0,-0x68(%rbp)
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1373 <main+0x213>
mov    -0x90(%rbp),%rcx
mov    -0x98(%rbp),%rax
mov    -0xa0(%rbp),%rsi
movslq -0x44(%rbp),%rdx
imul   %rsi,%rdx
shl    $0x2,%rdx
add    %rdx,%rax
movslq -0x48(%rbp),%rdx
mov    (%rax,%rdx,4),%eax
movslq -0x48(%rbp),%rdx
imul   (%rcx,%rdx,4),%eax
add    -0x68(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1320 <main+0x1c0>
mov    -0x88(%rbp),%rax
mov    -0x68(%rbp),%edx
movslq -0x44(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1306 <main+0x1a6>
mov    $0x0,%al
call   1030 <omp_get_wtime@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
subsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
cmpl   $0xb,-0x14(%rbp)
jge    152d <main+0x3cd>
lea    0xc70(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1447 <main+0x2e7>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    142b <main+0x2cb>
mov    -0x98(%rbp),%rax
mov    -0xa0(%rbp),%rdx
movslq -0x58(%rbp),%rcx
imul   %rdx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x5c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xca2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    13df <main+0x27f>
lea    0xc94(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    13cc <main+0x26c>
lea    0xbf2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1492 <main+0x332>
mov    -0x90(%rbp),%rax
movslq -0x60(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc3b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    145c <main+0x2fc>
lea    0xc2d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xbf8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb9d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14f9 <main+0x399>
mov    -0x88(%rbp),%rax
movslq -0x64(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xbd4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    14c3 <main+0x363>
lea    0xbc6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x80(%rbp),%xmm0
lea    0xb65(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xb6a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1578 <main+0x418>
mov    -0x88(%rbp),%rax
mov    (%rax),%esi
lea    0xb74(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x88(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
lea    0xb5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x80(%rbp),%xmm0
lea    0xb57(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
cmp    $0x1,%edi
jle    1696 <main+0x516>
mov    0x8(%rsi),%rdi
call   1080 <atoi@plt>
mov    %eax,%r15d
mov    %r15,%rcx
imul   %r15,%rcx
mov    %rsp,%rbx
lea    0xf(,%rcx,4),%rcx
and    $0xfffffffffffffff0,%rcx
sub    %rcx,%rbx
mov    %rbx,%rsp
mov    %rsp,%r12
lea    0xf(,%r15,4),%rcx
and    $0xfffffffffffffff0,%rcx
sub    %rcx,%r12
mov    %r12,%rsp
mov    %rsp,%r13
sub    %rcx,%r13
mov    %r13,%rsp
test   %eax,%eax
jle    14ca <main+0x34a>
mov    %r13,-0x38(%rbp)
lea    0x0(,%r15,4),%rax
mov    %rax,-0x50(%rbp)
mov    %rbx,-0x48(%rbp)
xor    %r14d,%r14d
nop
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
xor    %eax,%eax
call   10a0 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,(%rbx,%r13,4)
add    $0x1,%r13
cmp    %r13,%r15
jne    1210 <main+0x90>
add    $0x1,%r14
add    -0x50(%rbp),%rbx
cmp    %r15,%r14
jne    1200 <main+0x80>
test   %r15d,%r15d
mov    -0x38(%rbp),%r13
mov    -0x48(%rbp),%r14
jle    14ca <main+0x34a>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   10a0 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
mov    %eax,(%r12,%rbx,4)
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1270 <main+0xf0>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
test   %r15d,%r15d
movsd  %xmm0,-0x30(%rbp)
jle    14d6 <main+0x356>
mov    %r15d,%r11d
and    $0xfffffff8,%r11d
lea    -0x8(%r11),%r9
mov    %r9,%r10
shr    $0x3,%r10
add    $0x1,%r10
mov    %r10,%r8
and    $0xfffffffffffffffe,%r8
lea    0x30(%r14),%rdi
xor    %esi,%esi
mov    %r14,%rcx
jmp    12fc <main+0x17c>
xchg   %ax,%ax
mov    %eax,0x0(%r13,%rsi,4)
add    $0x1,%rsi
mov    -0x50(%rbp),%rax
add    %rax,%rdi
add    %rax,%rcx
cmp    %r15,%rsi
je     1582 <main+0x402>
cmp    $0x8,%r15d
jae    1310 <main+0x190>
xor    %edx,%edx
xor    %eax,%eax
jmp    14a0 <main+0x320>
nopl   0x0(%rax,%rax,1)
xorpd  %xmm0,%xmm0
test   %r9,%r9
je     14b8 <main+0x338>
mov    %r8,%rax
xor    %edx,%edx
pxor   %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
movdqu -0x30(%rdi,%rdx,4),%xmm5
movdqu -0x20(%rdi,%rdx,4),%xmm10
movdqu -0x10(%rdi,%rdx,4),%xmm9
movdqu (%rdi,%rdx,4),%xmm8
movdqa (%r12,%rdx,4),%xmm7
movdqa 0x10(%r12,%rdx,4),%xmm2
movdqa 0x20(%r12,%rdx,4),%xmm4
movdqa 0x30(%r12,%rdx,4),%xmm3
pshufd $0xf5,%xmm7,%xmm6
pmuludq %xmm5,%xmm7
pshufd $0xe8,%xmm7,%xmm7
pshufd $0xf5,%xmm5,%xmm5
pmuludq %xmm6,%xmm5
pshufd $0xe8,%xmm5,%xmm5
punpckldq %xmm5,%xmm7
paddd  %xmm0,%xmm7
pshufd $0xf5,%xmm2,%xmm0
pmuludq %xmm10,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xf5,%xmm10,%xmm5
pmuludq %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm0
punpckldq %xmm0,%xmm2
paddd  %xmm1,%xmm2
pshufd $0xf5,%xmm4,%xmm1
pmuludq %xmm9,%xmm4
pshufd $0xe8,%xmm4,%xmm0
pshufd $0xf5,%xmm9,%xmm4
pmuludq %xmm1,%xmm4
pshufd $0xe8,%xmm4,%xmm1
punpckldq %xmm1,%xmm0
paddd  %xmm7,%xmm0
pshufd $0xf5,%xmm3,%xmm4
pmuludq %xmm8,%xmm3
pshufd $0xe8,%xmm3,%xmm1
pshufd $0xf5,%xmm8,%xmm3
pmuludq %xmm4,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
paddd  %xmm2,%xmm1
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rax
jne    1330 <main+0x1b0>
test   $0x1,%r10b
je     147a <main+0x2fa>
mov    %rsi,%rax
imul   %r15,%rax
lea    (%r14,%rax,4),%rax
movdqu (%rax,%rdx,4),%xmm2
movdqu 0x10(%rax,%rdx,4),%xmm3
movdqa (%r12,%rdx,4),%xmm4
movdqa 0x10(%r12,%rdx,4),%xmm5
pshufd $0xf5,%xmm4,%xmm6
pmuludq %xmm2,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pshufd $0xf5,%xmm2,%xmm2
pmuludq %xmm6,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm0
pshufd $0xf5,%xmm5,%xmm2
pmuludq %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm4
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm1
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%eax
mov    %r11,%rdx
cmp    %r15,%r11
je     12e0 <main+0x160>
mov    (%r12,%rdx,4),%ebx
imul   (%rcx,%rdx,4),%ebx
add    %ebx,%eax
add    $0x1,%rdx
cmp    %rdx,%r15
jne    14a0 <main+0x320>
jmp    12e0 <main+0x160>
xor    %edx,%edx
pxor   %xmm1,%xmm1
test   $0x1,%r10b
jne    140f <main+0x28f>
jmp    147a <main+0x2fa>
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
movsd  %xmm0,-0x30(%rbp)
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
subsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    0xb81(%rip),%rdi
call   1040 <puts@plt>
lea    0xb86(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xbba(%rip),%rdi
call   1040 <puts@plt>
lea    0xb75(%rip),%rdi
call   1040 <puts@plt>
test   %r15d,%r15d
jle    1548 <main+0x3c8>
lea    0xb1b(%rip),%r14
xor    %ebx,%ebx
nop
mov    0x0(%r13,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1530 <main+0x3b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xad5(%rip),%rdi
movsd  -0x40(%rbp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xb4a(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %eax,%eax
call   1050 <omp_get_wtime@plt>
subsd  -0x30(%rbp),%xmm0
cmp    $0xa,%r15d
movsd  %xmm0,-0x40(%rbp)
jg     164c <main+0x4cc>
lea    0xacb(%rip),%rdi
call   1040 <puts@plt>
test   %r15d,%r15d
jle    14f3 <main+0x373>
lea    0xa8f(%rip),%r14
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
mov    %rax,-0x30(%rbp)
xor    %ebx,%ebx
mov    -0x48(%rbp),%r13
nopw   0x0(%rax,%rax,1)
mov    0x0(%r13,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    15d0 <main+0x450>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
add    -0x50(%rbp),%r13
mov    %r13,-0x48(%rbp)
cmp    %r15,%rax
jne    15c0 <main+0x440>
lea    0xa72(%rip),%rdi
call   1040 <puts@plt>
test   %r15d,%r15d
jle    168d <main+0x50d>
lea    0xa29(%rip),%r14
xor    %ebx,%ebx
mov    -0x38(%rbp),%r13
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r12,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1630 <main+0x4b0>
jmp    14ff <main+0x37f>
mov    0x0(%r13),%esi
lea    0x9ea(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0xffffffff,%r15d
mov    0x0(%r13,%r15,4),%esi
lea    0x9de(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x9dc(%rip),%rdi
movsd  -0x40(%rbp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
jmp    1571 <main+0x3f1>
mov    -0x38(%rbp),%r13
jmp    14ff <main+0x37f>
mov    0x2943(%rip),%rax
mov    (%rax),%edi
lea    0x95a(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0xffffffff,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [46 x i8] c"Se deben introducir las filas y las columnas\0A\00"
@.str.1 = [18 x i8] c"*****Matriz*****\0A\00"
@.str.2 = [4 x i8] c"%d \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [18 x i8] c"*****Vector*****\0A\00"
@.str.5 = [18 x i8] c"****************\0A\00"
@.str.6 = [38 x i8] c"*****Vector v2 con el resultado*****\0A\00"
@.str.7 = [19 x i8] c"\0ATiempo total: %f\0A\00"
@.str.8 = [38 x i8] c"************************************\0A\00"
@.str.9 = [11 x i8] c"v2[0]: %d \00"
@.str.10 = [12 x i8] c"v2[m]: %d \0A\00"
@.str.11 = [23 x i8] c"*****Tiempo total: %f\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca double
%23 = alloca double
%24 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%25 = load i32, i32* %4
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %2
%28 = load i32, i32* @stderr
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%30 = call i32 @exit(i32 -1)
unreachable
31: ; preds = %2
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 1
%34 = load i8*, i8** %33
%35 = call i32 @atoi(i8* %34)
store i32 %35, i32* %6
%36 = load i32, i32* %6
%37 = zext i32 %36 to i64
%38 = load i32, i32* %6
%39 = zext i32 %38 to i64
%40 = call i8* @llvm.stacksave()
store i8* %40, i8** %7
%41 = mul nuw i64 %37, %39
%42 = alloca i32, i64 %41
store i64 %37, i64* %8
store i64 %39, i64* %9
%43 = load i32, i32* %6
%44 = zext i32 %43 to i64
%45 = alloca i32, i64 %44
store i64 %44, i64* %10
%46 = load i32, i32* %6
%47 = zext i32 %46 to i64
%48 = alloca i32, i64 %47
store i64 %47, i64* %11
store i32 0, i32* %21
store i32 0, i32* %15
br label %49
49: ; preds = %72, %31
%50 = load i32, i32* %15
%51 = load i32, i32* %6
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %75
53: ; preds = %49
store i32 0, i32* %16
br label %54
54: ; preds = %68, %53
%55 = load i32, i32* %16
%56 = load i32, i32* %6
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %71
58: ; preds = %54
%59 = call i32 (...) @rand()
%60 = srem i32 %59, 10
%61 = load i32, i32* %15
%62 = sext i32 %61 to i64
%63 = mul nsw i64 %62, %39
%64 = getelementptr inbounds i32, i32* %42, i64 %63
%65 = load i32, i32* %16
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, i32* %64, i64 %66
store i32 %60, i32* %67
br label %68
68: ; preds = %58
%69 = load i32, i32* %16
%70 = add nsw i32 %69, 1
store i32 %70, i32* %16
br label %54
71: ; preds = %54
br label %72
72: ; preds = %71
%73 = load i32, i32* %15
%74 = add nsw i32 %73, 1
store i32 %74, i32* %15
br label %49
75: ; preds = %49
store i32 0, i32* %14
br label %76
76: ; preds = %86, %75
%77 = load i32, i32* %14
%78 = load i32, i32* %6
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %89
80: ; preds = %76
%81 = call i32 (...) @rand()
%82 = srem i32 %81, 10
%83 = load i32, i32* %14
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, i32* %45, i64 %84
store i32 %82, i32* %85
br label %86
86: ; preds = %80
%87 = load i32, i32* %14
%88 = add nsw i32 %87, 1
store i32 %88, i32* %14
br label %76
89: ; preds = %76
%90 = call double (...) @omp_get_wtime()
store double %90, double* %22
store i32 0, i32* %12
br label %91
91: ; preds = %124, %89
%92 = load i32, i32* %12
%93 = load i32, i32* %6
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %127
95: ; preds = %91
store i32 0, i32* %21
store i32 0, i32* %13
br label %96
96: ; preds = %116, %95
%97 = load i32, i32* %13
%98 = load i32, i32* %6
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %119
100: ; preds = %96
%101 = load i32, i32* %12
%102 = sext i32 %101 to i64
%103 = mul nsw i64 %102, %39
%104 = getelementptr inbounds i32, i32* %42, i64 %103
%105 = load i32, i32* %13
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, i32* %104, i64 %106
%108 = load i32, i32* %107
%109 = load i32, i32* %13
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, i32* %45, i64 %110
%112 = load i32, i32* %111
%113 = mul nsw i32 %108, %112
%114 = load i32, i32* %21
%115 = add nsw i32 %114, %113
store i32 %115, i32* %21
br label %116
116: ; preds = %100
%117 = load i32, i32* %13
%118 = add nsw i32 %117, 1
store i32 %118, i32* %13
br label %96
119: ; preds = %96
%120 = load i32, i32* %21
%121 = load i32, i32* %12
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, i32* %48, i64 %122
store i32 %120, i32* %123
br label %124
124: ; preds = %119
%125 = load i32, i32* %12
%126 = add nsw i32 %125, 1
store i32 %126, i32* %12
br label %91
127: ; preds = %91
%128 = call double (...) @omp_get_wtime()
store double %128, double* %23
%129 = load double, double* %23
%130 = load double, double* %22
%131 = fsub double %129, %130
store double %131, double* %24
%132 = load i32, i32* %6
%133 = icmp slt i32 %132, 11
br i1 %133, label %134, label %200
134: ; preds = %127
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %17
br label %136
136: ; preds = %160, %134
%137 = load i32, i32* %17
%138 = load i32, i32* %6
%139 = icmp slt i32 %137, %138
br i1 %139, label %140, label %163
140: ; preds = %136
store i32 0, i32* %18
br label %141
141: ; preds = %155, %140
%142 = load i32, i32* %18
%143 = load i32, i32* %6
%144 = icmp slt i32 %142, %143
br i1 %144, label %145, label %158
145: ; preds = %141
%146 = load i32, i32* %17
%147 = sext i32 %146 to i64
%148 = mul nsw i64 %147, %39
%149 = getelementptr inbounds i32, i32* %42, i64 %148
%150 = load i32, i32* %18
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, i32* %149, i64 %151
%153 = load i32, i32* %152
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %153)
br label %155
155: ; preds = %145
%156 = load i32, i32* %18
%157 = add nsw i32 %156, 1
store i32 %157, i32* %18
br label %141
158: ; preds = %141
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %160
160: ; preds = %158
%161 = load i32, i32* %17
%162 = add nsw i32 %161, 1
store i32 %162, i32* %17
br label %136
163: ; preds = %136
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %19
br label %165
165: ; preds = %175, %163
%166 = load i32, i32* %19
%167 = load i32, i32* %6
%168 = icmp slt i32 %166, %167
br i1 %168, label %169, label %178
169: ; preds = %165
%170 = load i32, i32* %19
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, i32* %45, i64 %171
%173 = load i32, i32* %172
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %173)
br label %175
175: ; preds = %169
%176 = load i32, i32* %19
%177 = add nsw i32 %176, 1
store i32 %177, i32* %19
br label %165
178: ; preds = %165
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %20
br label %182
182: ; preds = %192, %178
%183 = load i32, i32* %20
%184 = load i32, i32* %6
%185 = icmp slt i32 %183, %184
br i1 %185, label %186, label %195
186: ; preds = %182
%187 = load i32, i32* %20
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, i32* %48, i64 %188
%190 = load i32, i32* %189
%191 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %190)
br label %192
192: ; preds = %186
%193 = load i32, i32* %20
%194 = add nsw i32 %193, 1
store i32 %194, i32* %20
br label %182
195: ; preds = %182
%196 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%197 = load double, double* %24
%198 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %197)
%199 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
br label %212
200: ; preds = %127
%201 = getelementptr inbounds i32, i32* %48, i64 0
%202 = load i32, i32* %201
%203 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %202)
%204 = load i32, i32* %6
%205 = sub nsw i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i32, i32* %48, i64 %206
%208 = load i32, i32* %207
%209 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 %208)
%210 = load double, double* %24
%211 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0), double %210)
br label %212
212: ; preds = %200, %195
store i32 0, i32* %3
%213 = load i8*, i8** %7
%214 = load i32, i32* %3
ret i32 %214
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [46 x i8] c"Se deben introducir las filas y las columnas\0A\00"
@.str.2 = [4 x i8] c"%d \00"
@.str.7 = [19 x i8] c"\0ATiempo total: %f\0A\00"
@.str.9 = [11 x i8] c"v2[0]: %d \00"
@.str.10 = [12 x i8] c"v2[m]: %d \0A\00"
@.str.11 = [23 x i8] c"*****Tiempo total: %f\0A\00"
@str = [17 x i8] c"*****Matriz*****\00"
@str.12 = [17 x i8] c"*****Vector*****\00"
@str.13 = [17 x i8] c"****************\00"
@str.14 = [37 x i8] c"*****Vector v2 con el resultado*****\00"
@str.15 = [37 x i8] c"************************************\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %8
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @exit(i32 -1)
unreachable
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32 @atoi(i8* %10)
%12 = zext i32 %11 to i64
%13 = mul nuw i64 %12, %12
%14 = alloca i32, i64 %13
%15 = alloca i32, i64 %12
%16 = alloca i32, i64 %12
%17 = icmp sgt i32 %11, 0
br i1 %17, label %18, label %40
18: ; preds = %8, %30
%19 = phi i64 [ %31, %30 ], [ 0, %8 ]
%20 = mul nuw nsw i64 %19, %12
%21 = getelementptr inbounds i32, i32* %14, i64 %20
br label %23
22: ; preds = %30
br i1 %17, label %33, label %40
23: ; preds = %18, %23
%24 = phi i64 [ 0, %18 ], [ %28, %23 ]
%25 = tail call i32 (...) @rand()
%26 = srem i32 %25, 10
%27 = getelementptr inbounds i32, i32* %21, i64 %24
store i32 %26, i32* %27
%28 = add nuw nsw i64 %24, 1
%29 = icmp eq i64 %28, %12
br i1 %29, label %30, label %23
30: ; preds = %23
%31 = add nuw nsw i64 %19, 1
%32 = icmp eq i64 %31, %12
br i1 %32, label %22, label %18
33: ; preds = %22, %33
%34 = phi i64 [ %38, %33 ], [ 0, %22 ]
%35 = tail call i32 (...) @rand()
%36 = srem i32 %35, 10
%37 = getelementptr inbounds i32, i32* %15, i64 %34
store i32 %36, i32* %37
%38 = add nuw nsw i64 %34, 1
%39 = icmp eq i64 %38, %12
br i1 %39, label %42, label %33
40: ; preds = %22, %8
%41 = tail call double (...) @omp_get_wtime()
br label %149
42: ; preds = %33
%43 = tail call double (...) @omp_get_wtime()
br i1 %17, label %44, label %149
44: ; preds = %42
%45 = and i64 %12, 4294967288
%46 = add nsw i64 %45, -8
%47 = lshr exact i64 %46, 3
%48 = add nuw nsw i64 %47, 1
%49 = icmp ult i32 %11, 8
%50 = and i64 %12, 4294967288
%51 = and i64 %48, 1
%52 = icmp eq i64 %46, 0
%53 = and i64 %48, 4611686018427387902
%54 = icmp eq i64 %51, 0
%55 = icmp eq i64 %50, %12
br label %56
56: ; preds = %44, %144
%57 = phi i64 [ %147, %144 ], [ 0, %44 ]
%58 = mul nuw nsw i64 %57, %12
%59 = getelementptr inbounds i32, i32* %14, i64 %58
br i1 %49, label %130, label %60
60: ; preds = %56
br i1 %52, label %102, label %61
61: ; preds = %60, %61
%62 = phi i64 [ %99, %61 ], [ 0, %60 ]
%63 = phi <4 x i32> [ %97, %61 ], [ zeroinitializer, %60 ]
%64 = phi <4 x i32> [ %98, %61 ], [ zeroinitializer, %60 ]
%65 = phi i64 [ %100, %61 ], [ 0, %60 ]
%66 = getelementptr inbounds i32, i32* %59, i64 %62
%67 = bitcast i32* %66 to <4 x i32>*
%68 = load <4 x i32>, <4 x i32>* %67
%69 = getelementptr inbounds i32, i32* %66, i64 4
%70 = bitcast i32* %69 to <4 x i32>*
%71 = load <4 x i32>, <4 x i32>* %70
%72 = getelementptr inbounds i32, i32* %15, i64 %62
%73 = bitcast i32* %72 to <4 x i32>*
%74 = load <4 x i32>, <4 x i32>* %73
%75 = getelementptr inbounds i32, i32* %72, i64 4
%76 = bitcast i32* %75 to <4 x i32>*
%77 = load <4 x i32>, <4 x i32>* %76
%78 = mul nsw <4 x i32> %74, %68
%79 = mul nsw <4 x i32> %77, %71
%80 = add <4 x i32> %78, %63
%81 = add <4 x i32> %79, %64
%82 = or i64 %62, 8
%83 = getelementptr inbounds i32, i32* %59, i64 %82
%84 = bitcast i32* %83 to <4 x i32>*
%85 = load <4 x i32>, <4 x i32>* %84
%86 = getelementptr inbounds i32, i32* %83, i64 4
%87 = bitcast i32* %86 to <4 x i32>*
%88 = load <4 x i32>, <4 x i32>* %87
%89 = getelementptr inbounds i32, i32* %15, i64 %82
%90 = bitcast i32* %89 to <4 x i32>*
%91 = load <4 x i32>, <4 x i32>* %90
%92 = getelementptr inbounds i32, i32* %89, i64 4
%93 = bitcast i32* %92 to <4 x i32>*
%94 = load <4 x i32>, <4 x i32>* %93
%95 = mul nsw <4 x i32> %91, %85
%96 = mul nsw <4 x i32> %94, %88
%97 = add <4 x i32> %95, %80
%98 = add <4 x i32> %96, %81
%99 = add nuw i64 %62, 16
%100 = add i64 %65, 2
%101 = icmp eq i64 %100, %53
br i1 %101, label %102, label %61
102: ; preds = %61, %60
%103 = phi <4 x i32> [ undef, %60 ], [ %97, %61 ]
%104 = phi <4 x i32> [ undef, %60 ], [ %98, %61 ]
%105 = phi i64 [ 0, %60 ], [ %99, %61 ]
%106 = phi <4 x i32> [ zeroinitializer, %60 ], [ %97, %61 ]
%107 = phi <4 x i32> [ zeroinitializer, %60 ], [ %98, %61 ]
br i1 %54, label %125, label %108
108: ; preds = %102
%109 = getelementptr inbounds i32, i32* %59, i64 %105
%110 = bitcast i32* %109 to <4 x i32>*
%111 = load <4 x i32>, <4 x i32>* %110
%112 = getelementptr inbounds i32, i32* %109, i64 4
%113 = bitcast i32* %112 to <4 x i32>*
%114 = load <4 x i32>, <4 x i32>* %113
%115 = getelementptr inbounds i32, i32* %15, i64 %105
%116 = bitcast i32* %115 to <4 x i32>*
%117 = load <4 x i32>, <4 x i32>* %116
%118 = getelementptr inbounds i32, i32* %115, i64 4
%119 = bitcast i32* %118 to <4 x i32>*
%120 = load <4 x i32>, <4 x i32>* %119
%121 = mul nsw <4 x i32> %117, %111
%122 = mul nsw <4 x i32> %120, %114
%123 = add <4 x i32> %121, %106
%124 = add <4 x i32> %122, %107
br label %125
125: ; preds = %102, %108
%126 = phi <4 x i32> [ %103, %102 ], [ %123, %108 ]
%127 = phi <4 x i32> [ %104, %102 ], [ %124, %108 ]
%128 = add <4 x i32> %127, %126
%129 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %128)
br i1 %55, label %144, label %130
130: ; preds = %56, %125
%131 = phi i64 [ 0, %56 ], [ %50, %125 ]
%132 = phi i32 [ 0, %56 ], [ %129, %125 ]
br label %133
133: ; preds = %130, %133
%134 = phi i64 [ %142, %133 ], [ %131, %130 ]
%135 = phi i32 [ %141, %133 ], [ %132, %130 ]
%136 = getelementptr inbounds i32, i32* %59, i64 %134
%137 = load i32, i32* %136
%138 = getelementptr inbounds i32, i32* %15, i64 %134
%139 = load i32, i32* %138
%140 = mul nsw i32 %139, %137
%141 = add nsw i32 %140, %135
%142 = add nuw nsw i64 %134, 1
%143 = icmp eq i64 %142, %12
br i1 %143, label %144, label %133
144: ; preds = %133, %125
%145 = phi i32 [ %129, %125 ], [ %141, %133 ]
%146 = getelementptr inbounds i32, i32* %16, i64 %57
store i32 %145, i32* %146
%147 = add nuw nsw i64 %57, 1
%148 = icmp eq i64 %147, %12
br i1 %148, label %154, label %56
149: ; preds = %42, %40
%150 = phi double [ %43, %42 ], [ %41, %40 ]
%151 = tail call double (...) @omp_get_wtime()
%152 = fsub double %151, %150
%153 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br label %175
154: ; preds = %144
%155 = tail call double (...) @omp_get_wtime()
%156 = fsub double %155, %43
%157 = icmp slt i32 %11, 11
br i1 %157, label %158, label %203
158: ; preds = %154
%159 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br i1 %17, label %160, label %175
160: ; preds = %158, %171
%161 = phi i64 [ %173, %171 ], [ 0, %158 ]
%162 = mul nuw nsw i64 %161, %12
%163 = getelementptr inbounds i32, i32* %14, i64 %162
br label %164
164: ; preds = %160, %164
%165 = phi i64 [ 0, %160 ], [ %169, %164 ]
%166 = getelementptr inbounds i32, i32* %163, i64 %165
%167 = load i32, i32* %166
%168 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %167)
%169 = add nuw nsw i64 %165, 1
%170 = icmp eq i64 %169, %12
br i1 %170, label %171, label %164
171: ; preds = %164
%172 = tail call i32 @putchar(i32 10)
%173 = add nuw nsw i64 %161, 1
%174 = icmp eq i64 %173, %12
br i1 %174, label %178, label %160
175: ; preds = %149, %158
%176 = phi double [ %156, %158 ], [ %152, %149 ]
%177 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0))
br label %187
178: ; preds = %171
%179 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0))
br i1 %17, label %180, label %187
180: ; preds = %178, %180
%181 = phi i64 [ %185, %180 ], [ 0, %178 ]
%182 = getelementptr inbounds i32, i32* %15, i64 %181
%183 = load i32, i32* %182
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %183)
%185 = add nuw nsw i64 %181, 1
%186 = icmp eq i64 %185, %12
br i1 %186, label %187, label %180
187: ; preds = %180, %175, %178
%188 = phi double [ %176, %175 ], [ %156, %178 ], [ %156, %180 ]
%189 = tail call i32 @putchar(i32 10)
%190 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.13, i64 0, i64 0))
%191 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.14, i64 0, i64 0))
br i1 %17, label %192, label %199
192: ; preds = %187, %192
%193 = phi i64 [ %197, %192 ], [ 0, %187 ]
%194 = getelementptr inbounds i32, i32* %16, i64 %193
%195 = load i32, i32* %194
%196 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %195)
%197 = add nuw nsw i64 %193, 1
%198 = icmp eq i64 %197, %12
br i1 %198, label %199, label %192
199: ; preds = %192, %187
%200 = tail call i32 @putchar(i32 10)
%201 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), double %188)
%202 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.15, i64 0, i64 0))
br label %212
203: ; preds = %154
%204 = load i32, i32* %16
%205 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %204)
%206 = add nsw i32 %11, -1
%207 = zext i32 %206 to i64
%208 = getelementptr inbounds i32, i32* %16, i64 %207
%209 = load i32, i32* %208
%210 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 %209)
%211 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0), double %156)
br label %212
212: ; preds = %203, %199
ret i32 0
}