#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*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ malloc(int);
int rand();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main(int argc, char **argv) {
  int k, i, j;
  float result;
  float *v, *v1, *v2;
  float **mat;
  if (argc != 2) {
    fprintf(stderr, "Wrong number of arguments. Syntax: %s k", argv[0]);
    return -1;
  }
  k = atoi(argv[1]);
  v = (float *)malloc(k * sizeof(float));
  v1 = (float *)malloc(k * sizeof(float));
  v2 = (float *)malloc(k * sizeof(float));
  mat = (float **)malloc(k * sizeof(float *));
  for (i = 0; i < k; i++) {
    mat[i] = (float *)malloc(k * sizeof(float));
  }
  srand(time(NULL));
  fprintf(stdout, "v1:\n");
  for (i = 0; i < k; i++) {
    v1[i] = ((float)(rand() % 100) / 100) - 0.5;
    fprintf(stdout, "%f ", v1[i]);
  }
  fprintf(stdout, "\n");
  fprintf(stdout, "v2:\n");
  for (i = 0; i < k; i++) {
    v2[i] = ((float)(rand() % 100) / 100) - 0.5;
    fprintf(stdout, "%f ", v2[i]);
  }
  fprintf(stdout, "\n");
  fprintf(stdout, "matr:\n");
  for (i = 0; i < k; i++) {
    for (j = 0; j < k; j++) {
      mat[i][j] = ((float)(rand() % 100) / 100) - 0.5;
      fprintf(stdout, "%f ", mat[i][j]);
    }
    fprintf(stdout, "\n");
  }
  fprintf(stdout, "\n");
  for (i = 0; i < k; i++) {
    v[i] = 0;
    for (j = 0; j < k; j++) {
      v[i] += mat[i][j] * v2[i];
    }
  }
  result = 0;
  for (i = 0; i < k; i++) {
    result += v1[i] * v[i];
  }
  fprintf(stdout, "Result = %2f\n", result);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     11aa <main+0x4a>
mov    0x2e59(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe75(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    15d1 <main+0x471>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x14(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x30(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x38(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1245 <main+0xe5>
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    120d <main+0xad>
xor    %eax,%eax
mov    %eax,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
mov    0x2d7c(%rip),%rax
mov    (%rax),%edi
lea    0xdcf(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12f5 <main+0x195>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
movss  0xd6e(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd56(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    0x2d12(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd59(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1273 <main+0x113>
mov    0x2cdc(%rip),%rax
mov    (%rax),%edi
lea    0xd32(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2cc5(%rip),%rax
mov    (%rax),%edi
lea    0xd21(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13ac <main+0x24c>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
movss  0xcb7(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc9f(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    0x2c5b(%rip),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xca2(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    132a <main+0x1ca>
mov    0x2c25(%rip),%rax
mov    (%rax),%edi
lea    0xc7b(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2c0e(%rip),%rax
mov    (%rax),%edi
lea    0xc6f(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14ab <main+0x34b>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1486 <main+0x326>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
cvtsi2ss %edx,%xmm0
movss  0xbed(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbd5(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    0x2b89(%rip),%rax
mov    (%rax),%edi
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xbc8(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13f4 <main+0x294>
mov    0x2b4b(%rip),%rax
mov    (%rax),%edi
lea    0xba1(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13e1 <main+0x281>
mov    0x2b26(%rip),%rax
mov    (%rax),%edi
lea    0xb7c(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1555 <main+0x3f5>
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1542 <main+0x3e2>
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    14ec <main+0x38c>
jmp    1547 <main+0x3e7>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14c9 <main+0x369>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    15aa <main+0x44a>
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x20(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1564 <main+0x404>
mov    0x2a27(%rip),%rax
mov    (%rax),%edi
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xa86(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
cmp    $0x2,%edi
jne    129c <main+0x13c>
mov    0x8(%rsi),%rdi
call   1070 <atoi@plt>
mov    %eax,%r13d
lea    0x0(,%r13,4),%r15d
mov    %r15d,%edi
call   1060 <malloc@plt>
mov    %rax,%r12
mov    %r15d,%edi
call   1060 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %r15d,%edi
call   1060 <malloc@plt>
mov    %rax,0x18(%rsp)
lea    0x0(,%r13,8),%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
mov    %r13d,%r14d
test   %r13d,%r13d
mov    %r12,0x20(%rsp)
mov    %r13,0x8(%rsp)
jle    12c0 <main+0x160>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r15d,%edi
call   1060 <malloc@plt>
mov    %rax,(%rbx,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%r14
jne    11e0 <main+0x80>
xor    %edi,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
mov    0x2dce(%rip),%r15
mov    (%r15),%edi
lea    0xe1c(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
test   %r13d,%r13d
jle    13b3 <main+0x253>
lea    0xe0a(%rip),%r12
xor    %ebp,%ebp
mov    0x10(%rsp),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %eax,%eax
call   1080 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
divss  0xd8f(%rip),%xmm0
addss  0xd8b(%rip),%xmm0
movss  %xmm0,0x0(%r13,%rbp,4)
mov    (%r15),%edi
cvtss2sd %xmm0,%xmm0
mov    %r12,%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    1240 <main+0xe0>
jmp    12e5 <main+0x185>
mov    0x2d3d(%rip),%rax
mov    (%rax),%edi
mov    (%rsi),%rdx
lea    0xd59(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0xffffffff,%eax
jmp    1654 <main+0x4f4>
xor    %edi,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
mov    0x2d03(%rip),%rax
mov    (%rax),%edi
lea    0xd52(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x2cec(%rip),%r15
mov    (%r15),%edi
lea    0xd3d(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xd32(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x8(%rsp),%rax
test   %eax,%eax
jle    138c <main+0x22c>
lea    0xd17(%rip),%r12
xor    %ebp,%ebp
mov    0x18(%rsp),%r13
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   1080 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
divss  0xc9f(%rip),%xmm0
addss  0xc9b(%rip),%xmm0
movss  %xmm0,0x0(%r13,%rbp,4)
mov    (%r15),%edi
cvtss2sd %xmm0,%xmm0
mov    %r12,%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    1330 <main+0x1d0>
jmp    13d5 <main+0x275>
mov    (%r15),%edi
lea    0xc9d(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xc97(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    156e <main+0x40e>
mov    (%r15),%edi
lea    0xc76(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xc6b(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x2bfc(%rip),%r15
mov    (%r15),%edi
lea    0xc4d(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xc47(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x8(%rsp),%rax
test   %eax,%eax
jle    156e <main+0x40e>
lea    0xc23(%rip),%rbp
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
nop
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
xor    %eax,%eax
call   1080 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
divss  0xb9f(%rip),%xmm0
addss  0xb9b(%rip),%xmm0
mov    (%rbx,%r12,8),%rax
movss  %xmm0,(%rax,%r13,4)
mov    (%r15),%edi
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
add    $0x1,%r13
cmp    %r13,%r14
jne    1430 <main+0x2d0>
mov    (%r15),%edi
lea    0xb9c(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%r12
cmp    %r14,%r12
jne    1420 <main+0x2c0>
mov    (%r15),%edi
lea    0xb7e(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
xorps  %xmm0,%xmm0
mov    0x8(%rsp),%r8
test   %r8d,%r8d
jle    163b <main+0x4db>
lea    -0x1(%r14),%r9
mov    %r14d,%eax
and    $0xfffffffe,%eax
xor    %edx,%edx
mov    0x20(%rsp),%rbp
mov    0x18(%rsp),%rcx
jmp    14fd <main+0x39d>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rdx
cmp    %r14,%rdx
je     158d <main+0x42d>
movl   $0x0,0x0(%rbp,%rdx,4)
mov    (%rbx,%rdx,8),%rsi
xorps  %xmm1,%xmm1
xor    %edi,%edi
test   %r9,%r9
je     1552 <main+0x3f2>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movss  (%rsi,%rdi,4),%xmm2
mulss  (%rcx,%rdx,4),%xmm2
addss  %xmm1,%xmm2
movss  %xmm2,0x0(%rbp,%rdx,4)
movss  0x4(%rsi,%rdi,4),%xmm1
mulss  (%rcx,%rdx,4),%xmm1
addss  %xmm2,%xmm1
movss  %xmm1,0x0(%rbp,%rdx,4)
add    $0x2,%rdi
cmp    %rdi,%rax
jne    1520 <main+0x3c0>
test   $0x1,%r14b
je     14f0 <main+0x390>
movss  (%rsi,%rdi,4),%xmm2
mulss  (%rcx,%rdx,4),%xmm2
addss  %xmm1,%xmm2
movss  %xmm2,0x0(%rbp,%rdx,4)
jmp    14f0 <main+0x390>
mov    0x2a63(%rip),%rax
mov    (%rax),%edi
lea    0xab5(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
xorps  %xmm0,%xmm0
jmp    163b <main+0x4db>
test   %r8d,%r8d
jle    163b <main+0x4db>
mov    %r14d,%eax
and    $0x3,%eax
cmp    $0x3,%r9
mov    0x10(%rsp),%rsi
jae    15ae <main+0x44e>
xorps  %xmm0,%xmm0
xor    %ecx,%ecx
jmp    1608 <main+0x4a8>
and    $0xfffffffc,%r14d
xorps  %xmm0,%xmm0
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movss  (%rsi,%rcx,4),%xmm1
movss  0x4(%rsi,%rcx,4),%xmm2
mulss  0x0(%rbp,%rcx,4),%xmm1
mulss  0x4(%rbp,%rcx,4),%xmm2
addss  %xmm0,%xmm1
movss  0x8(%rsi,%rcx,4),%xmm3
mulss  0x8(%rbp,%rcx,4),%xmm3
addss  %xmm1,%xmm2
movss  0xc(%rsi,%rcx,4),%xmm0
mulss  0xc(%rbp,%rcx,4),%xmm0
addss  %xmm2,%xmm3
addss  %xmm3,%xmm0
add    $0x4,%rcx
cmp    %rcx,%r14
jne    15c0 <main+0x460>
test   %rax,%rax
je     1637 <main+0x4d7>
lea    0x0(,%rcx,4),%rdx
add    %rbp,%rdx
lea    (%rsi,%rcx,4),%rcx
xor    %esi,%esi
xchg   %ax,%ax
movss  (%rcx,%rsi,4),%xmm1
mulss  (%rdx,%rsi,4),%xmm1
addss  %xmm1,%xmm0
add    $0x1,%rsi
cmp    %rsi,%rax
jne    1620 <main+0x4c0>
cvtss2sd %xmm0,%xmm0
mov    0x2996(%rip),%rax
mov    (%rax),%edi
lea    0x9fa(%rip),%rsi
mov    $0x1,%al
call   1040 <fprintf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [40 x i8] c"Wrong number of arguments. Syntax: %s k\00"
@stdout = global i32 0
@.str.1 = [5 x i8] c"v1:\0A\00"
@.str.2 = [4 x i8] c"%f \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [5 x i8] c"v2:\0A\00"
@.str.5 = [7 x i8] c"matr:\0A\00"
@.str.6 = [14 x i8] c"Result = %2f\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 2
br i1 %3, label %8, label %4
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = load i8*, i8** %1
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %222
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32 @atoi(i8* %10)
%12 = shl i32 %11, 2
%13 = tail call i64 @malloc(i32 %12)
%14 = inttoptr i64 %13 to float*
%15 = tail call i64 @malloc(i32 %12)
%16 = inttoptr i64 %15 to float*
%17 = tail call i64 @malloc(i32 %12)
%18 = inttoptr i64 %17 to float*
%19 = shl i32 %11, 3
%20 = tail call i64 @malloc(i32 %19)
%21 = inttoptr i64 %20 to float**
%22 = icmp sgt i32 %11, 0
br i1 %22, label %23, label %52
23: ; preds = %8
%24 = zext i32 %11 to i64
br label %25
25: ; preds = %23, %25
%26 = phi i64 [ 0, %23 ], [ %30, %25 ]
%27 = tail call i64 @malloc(i32 %12)
%28 = inttoptr i64 %27 to float*
%29 = getelementptr inbounds float*, float** %21, i64 %26
store float* %28, float** %29
%30 = add nuw nsw i64 %26, 1
%31 = icmp eq i64 %30, %24
br i1 %31, label %32, label %25
32: ; preds = %25
%33 = tail call i32 @time(i32* null)
%34 = tail call i32 @srand(i32 %33)
%35 = load i32, i32* @stdout
%36 = tail call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br i1 %22, label %37, label %77
37: ; preds = %32
%38 = zext i32 %11 to i64
br label %39
39: ; preds = %37, %39
%40 = phi i64 [ 0, %37 ], [ %50, %39 ]
%41 = tail call i32 (...) @rand()
%42 = srem i32 %41, 100
%43 = sitofp i32 %42 to float
%44 = fdiv float %43, 1.000000e+02
%45 = fadd float %44, -5.000000e-01
%46 = getelementptr inbounds float, float* %16, i64 %40
store float %45, float* %46
%47 = load i32, i32* @stdout
%48 = fpext float %45 to double
%49 = tail call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %48)
%50 = add nuw nsw i64 %40, 1
%51 = icmp eq i64 %50, %38
br i1 %51, label %57, label %39
52: ; preds = %8
%53 = tail call i32 @time(i32* null)
%54 = tail call i32 @srand(i32 %53)
%55 = load i32, i32* @stdout
%56 = tail call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %57
57: ; preds = %39, %52
%58 = load i32, i32* @stdout
%59 = tail call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%60 = load i32, i32* @stdout
%61 = tail call i32 (i32, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br i1 %22, label %62, label %87
62: ; preds = %57
%63 = zext i32 %11 to i64
br label %64
64: ; preds = %62, %64
%65 = phi i64 [ 0, %62 ], [ %75, %64 ]
%66 = tail call i32 (...) @rand()
%67 = srem i32 %66, 100
%68 = sitofp i32 %67 to float
%69 = fdiv float %68, 1.000000e+02
%70 = fadd float %69, -5.000000e-01
%71 = getelementptr inbounds float, float* %18, i64 %65
store float %70, float* %71
%72 = load i32, i32* @stdout
%73 = fpext float %70 to double
%74 = tail call i32 (i32, i8*, ...) @fprintf(i32 %72, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %73)
%75 = add nuw nsw i64 %65, 1
%76 = icmp eq i64 %75, %63
br i1 %76, label %82, label %64
77: ; preds = %32
%78 = load i32, i32* @stdout
%79 = tail call i32 (i32, i8*, ...) @fprintf(i32 %78, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%80 = load i32, i32* @stdout
%81 = tail call i32 (i32, i8*, ...) @fprintf(i32 %80, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %82
82: ; preds = %64, %77
%83 = load i32, i32* @stdout
%84 = tail call i32 (i32, i8*, ...) @fprintf(i32 %83, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%85 = load i32, i32* @stdout
%86 = tail call i32 (i32, i8*, ...) @fprintf(i32 %85, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br i1 %22, label %95, label %92
87: ; preds = %57
%88 = load i32, i32* @stdout
%89 = tail call i32 (i32, i8*, ...) @fprintf(i32 %88, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%90 = load i32, i32* @stdout
%91 = tail call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %92
92: ; preds = %87, %82
%93 = load i32, i32* @stdout
%94 = tail call i32 (i32, i8*, ...) @fprintf(i32 %93, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %218
95: ; preds = %82
%96 = zext i32 %11 to i64
br label %97
97: ; preds = %114, %95
%98 = phi i64 [ 0, %95 ], [ %117, %114 ]
%99 = getelementptr inbounds float*, float** %21, i64 %98
br label %100
100: ; preds = %97, %100
%101 = phi i64 [ 0, %97 ], [ %112, %100 ]
%102 = tail call i32 (...) @rand()
%103 = srem i32 %102, 100
%104 = sitofp i32 %103 to float
%105 = fdiv float %104, 1.000000e+02
%106 = fadd float %105, -5.000000e-01
%107 = load float*, float** %99
%108 = getelementptr inbounds float, float* %107, i64 %101
store float %106, float* %108
%109 = load i32, i32* @stdout
%110 = fpext float %106 to double
%111 = tail call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %110)
%112 = add nuw nsw i64 %101, 1
%113 = icmp eq i64 %112, %96
br i1 %113, label %114, label %100
114: ; preds = %100
%115 = load i32, i32* @stdout
%116 = tail call i32 (i32, i8*, ...) @fprintf(i32 %115, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%117 = add nuw nsw i64 %98, 1
%118 = icmp eq i64 %117, %96
br i1 %118, label %119, label %97
119: ; preds = %114
%120 = load i32, i32* @stdout
%121 = tail call i32 (i32, i8*, ...) @fprintf(i32 %120, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br i1 %22, label %122, label %218
122: ; preds = %119
%123 = zext i32 %11 to i64
%124 = add nsw i64 %96, -1
%125 = and i64 %96, 1
%126 = icmp eq i64 %124, 0
%127 = and i64 %96, 4294967294
%128 = icmp eq i64 %125, 0
br label %135
129: ; preds = %165
br i1 %22, label %130, label %218
130: ; preds = %129
%131 = and i64 %96, 3
%132 = icmp ult i64 %124, 3
br i1 %132, label %198, label %133
133: ; preds = %130
%134 = and i64 %96, 4294967292
br label %168
135: ; preds = %165, %122
%136 = phi i64 [ 0, %122 ], [ %166, %165 ]
%137 = getelementptr inbounds float, float* %14, i64 %136
store float 0.000000e+00, float* %137
%138 = getelementptr inbounds float*, float** %21, i64 %136
%139 = load float*, float** %138
%140 = getelementptr inbounds float, float* %18, i64 %136
br i1 %126, label %157, label %141
141: ; preds = %135, %141
%142 = phi float [ %153, %141 ], [ 0.000000e+00, %135 ]
%143 = phi i64 [ %154, %141 ], [ 0, %135 ]
%144 = phi i64 [ %155, %141 ], [ 0, %135 ]
%145 = getelementptr inbounds float, float* %139, i64 %143
%146 = load float, float* %145
%147 = load float, float* %140
%148 = tail call float @llvm.fmuladd.f32(float %146, float %147, float %142)
store float %148, float* %137
%149 = or i64 %143, 1
%150 = getelementptr inbounds float, float* %139, i64 %149
%151 = load float, float* %150
%152 = load float, float* %140
%153 = tail call float @llvm.fmuladd.f32(float %151, float %152, float %148)
store float %153, float* %137
%154 = add nuw nsw i64 %143, 2
%155 = add i64 %144, 2
%156 = icmp eq i64 %155, %127
br i1 %156, label %157, label %141
157: ; preds = %141, %135
%158 = phi float [ 0.000000e+00, %135 ], [ %153, %141 ]
%159 = phi i64 [ 0, %135 ], [ %154, %141 ]
br i1 %128, label %165, label %160
160: ; preds = %157
%161 = getelementptr inbounds float, float* %139, i64 %159
%162 = load float, float* %161
%163 = load float, float* %140
%164 = tail call float @llvm.fmuladd.f32(float %162, float %163, float %158)
store float %164, float* %137
br label %165
165: ; preds = %157, %160
%166 = add nuw nsw i64 %136, 1
%167 = icmp eq i64 %166, %123
br i1 %167, label %129, label %135
168: ; preds = %168, %133
%169 = phi i64 [ 0, %133 ], [ %195, %168 ]
%170 = phi float [ 0.000000e+00, %133 ], [ %194, %168 ]
%171 = phi i64 [ 0, %133 ], [ %196, %168 ]
%172 = getelementptr inbounds float, float* %16, i64 %169
%173 = load float, float* %172
%174 = getelementptr inbounds float, float* %14, i64 %169
%175 = load float, float* %174
%176 = tail call float @llvm.fmuladd.f32(float %173, float %175, float %170)
%177 = or i64 %169, 1
%178 = getelementptr inbounds float, float* %16, i64 %177
%179 = load float, float* %178
%180 = getelementptr inbounds float, float* %14, i64 %177
%181 = load float, float* %180
%182 = tail call float @llvm.fmuladd.f32(float %179, float %181, float %176)
%183 = or i64 %169, 2
%184 = getelementptr inbounds float, float* %16, i64 %183
%185 = load float, float* %184
%186 = getelementptr inbounds float, float* %14, i64 %183
%187 = load float, float* %186
%188 = tail call float @llvm.fmuladd.f32(float %185, float %187, float %182)
%189 = or i64 %169, 3
%190 = getelementptr inbounds float, float* %16, i64 %189
%191 = load float, float* %190
%192 = getelementptr inbounds float, float* %14, i64 %189
%193 = load float, float* %192
%194 = tail call float @llvm.fmuladd.f32(float %191, float %193, float %188)
%195 = add nuw nsw i64 %169, 4
%196 = add i64 %171, 4
%197 = icmp eq i64 %196, %134
br i1 %197, label %198, label %168
198: ; preds = %168, %130
%199 = phi float [ undef, %130 ], [ %194, %168 ]
%200 = phi i64 [ 0, %130 ], [ %195, %168 ]
%201 = phi float [ 0.000000e+00, %130 ], [ %194, %168 ]
%202 = icmp eq i64 %131, 0
br i1 %202, label %215, label %203
203: ; preds = %198, %203
%204 = phi i64 [ %212, %203 ], [ %200, %198 ]
%205 = phi float [ %211, %203 ], [ %201, %198 ]
%206 = phi i64 [ %213, %203 ], [ 0, %198 ]
%207 = getelementptr inbounds float, float* %16, i64 %204
%208 = load float, float* %207
%209 = getelementptr inbounds float, float* %14, i64 %204
%210 = load float, float* %209
%211 = tail call float @llvm.fmuladd.f32(float %208, float %210, float %205)
%212 = add nuw nsw i64 %204, 1
%213 = add i64 %206, 1
%214 = icmp eq i64 %213, %131
br i1 %214, label %215, label %203
215: ; preds = %203, %198
%216 = phi float [ %199, %198 ], [ %211, %203 ]
%217 = fpext float %216 to double
br label %218
218: ; preds = %119, %92, %215, %129
%219 = phi double [ 0.000000e+00, %129 ], [ %217, %215 ], [ 0.000000e+00, %92 ], [ 0.000000e+00, %119 ]
%220 = load i32, i32* @stdout
%221 = tail call i32 (i32, i8*, ...) @fprintf(i32 %220, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), double %219)
br label %222
222: ; preds = %218, %4
%223 = phi i32 [ -1, %4 ], [ 0, %218 ]
ret i32 %223
}