#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 /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ stdout;
int main(void) {
  int i, j, k;
  float A[2048][2048];
  float B[2048][2048];
  float C[2048][2048];
  float D[2048][2048];
  float tmp[2048][2048];
  int alpha = 32412;
  int beta = 2123;
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      A[i][j] = ((float)i * j) / 2048;
    }
  }
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      B[i][j] = ((float)i * (j + 1)) / 2048;
    }
  }
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      C[i][j] = ((float)i * (j + 3)) / 2048;
    }
  }
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      D[i][j] = ((float)i * (j + 2)) / 2048;
    }
  }
#pragma scop
#pragma species copyin A[0 : 2047, 0 : 2047] |                                 \
                         0 ^ B[0 : 2047, 0 : 2047] |                           \
                               0 ^ D[0 : 2047, 0 : 2047] | 1 ^ C[0 : 2047,     \
                                                                 0 : 2047] | 1
#pragma species sync 0
#pragma species kernel                                                         \
    A[0 : 2047, 0 : 2047] |                                                    \
      chunk(0 : 0, 0 : 2047) ^                                                 \
          B[0 : 2047, 0 : 2047] |                                              \
            chunk(0 : 2047, 0 : 0)->tmp[0 : 2047, 0 : 2047] | element
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      tmp[i][j] = 0;
      for (k = 0; k < 2048; k++) {
        tmp[i][j] += alpha * A[i][k] * B[k][j];
      }
    }
  }
#pragma species endkernel example03 - part1
#pragma species copyout tmp[0 : 2047, 0 : 2047] | 2
#pragma species sync 1
#pragma species kernel                                                         \
    D[0 : 2047, 0 : 2047] |                                                    \
      element ^                                                                \
          tmp[0 : 2047, 0 : 2047] |                                            \
              chunk(0 : 0, 0 : 2047) ^                                         \
                  C[0 : 2047, 0 : 2047] |                                      \
                    chunk(0 : 2047, 0 : 0)->D[0 : 2047, 0 : 2047] | element
  for (i = 0; i < 2048; i++) {
    for (j = 0; j < 2048; j++) {
      D[i][j] *= beta;
      for (k = 0; k < 2048; k++) {
        D[i][j] += tmp[i][k] * C[k][j];
      }
    }
  }
#pragma species endkernel example03 - part2
#pragma species copyout D[0 : 2047, 0 : 2047] | 2
#pragma species sync 2
#pragma endscop
  fflush(stdout);
  D[8][9] = D[8][9];
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x5000020,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x7e9c,-0x5000014(%rbp)
movl   $0x84b,-0x5000018(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    11b4 <main+0xa4>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    11a1 <main+0x91>
cvtsi2ssl -0x8(%rbp),%xmm0
cvtsi2ssl -0xc(%rbp),%xmm1
mulss  %xmm1,%xmm0
movss  0xe8c(%rip),%xmm1
divss  %xmm1,%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x1000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1151 <main+0x41>
jmp    11a6 <main+0x96>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    113d <main+0x2d>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    1237 <main+0x127>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    1224 <main+0x114>
cvtsi2ssl -0x8(%rbp),%xmm0
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm1
mulss  %xmm1,%xmm0
movss  0xe09(%rip),%xmm1
divss  %xmm1,%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x2000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11cf <main+0xbf>
jmp    1229 <main+0x119>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11bb <main+0xab>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    12ba <main+0x1aa>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    12a7 <main+0x197>
cvtsi2ssl -0x8(%rbp),%xmm0
mov    -0xc(%rbp),%eax
add    $0x3,%eax
cvtsi2ss %eax,%xmm1
mulss  %xmm1,%xmm0
movss  0xd86(%rip),%xmm1
divss  %xmm1,%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x3000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1252 <main+0x142>
jmp    12ac <main+0x19c>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    123e <main+0x12e>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    133d <main+0x22d>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    132a <main+0x21a>
cvtsi2ssl -0x8(%rbp),%xmm0
mov    -0xc(%rbp),%eax
add    $0x2,%eax
cvtsi2ss %eax,%xmm1
mulss  %xmm1,%xmm0
movss  0xd03(%rip),%xmm1
divss  %xmm1,%xmm0
movslq -0x8(%rbp),%rcx
lea    -0x4000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12d5 <main+0x1c5>
jmp    132f <main+0x21f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12c1 <main+0x1b1>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    1431 <main+0x321>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    141e <main+0x30e>
movslq -0x8(%rbp),%rcx
lea    -0x5000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
movl   $0x0,-0x10(%rbp)
cmpl   $0x800,-0x10(%rbp)
jge    140b <main+0x2fb>
cvtsi2ssl -0x5000014(%rbp),%xmm0
fa
movslq -0x8(%rbp),%rcx
lea    -0x1000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
movslq -0x10(%rbp),%rcx
lea    -0x2000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movslq -0x8(%rbp),%rcx
lea    -0x5000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    138a <main+0x27a>
jmp    1410 <main+0x300>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1358 <main+0x248>
jmp    1423 <main+0x313>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1344 <main+0x234>
movl   $0x0,-0x8(%rbp)
cmpl   $0x800,-0x8(%rbp)
jge    1527 <main+0x417>
movl   $0x0,-0xc(%rbp)
cmpl   $0x800,-0xc(%rbp)
jge    1514 <main+0x404>
cvtsi2ssl -0x5000018(%rbp),%xmm0
fa
movslq -0x8(%rbp),%rcx
lea    -0x4000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mulss  (%rax,%rcx,4),%xmm0
movss  %xmm0,(%rax,%rcx,4)
movl   $0x0,-0x10(%rbp)
cmpl   $0x800,-0x10(%rbp)
jge    1501 <main+0x3f1>
movslq -0x8(%rbp),%rcx
lea    -0x5000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x10(%rbp),%rcx
lea    -0x3000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movslq -0x8(%rbp),%rcx
lea    -0x4000010(%rbp),%rax
shl    $0xd,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1488 <main+0x378>
jmp    1506 <main+0x3f6>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    144c <main+0x33c>
jmp    1519 <main+0x409>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1438 <main+0x328>
mov    0x2ab2(%rip),%rax
mov    (%rax),%edi
call   1030 <fflush@plt>
movss  -0x3feffec(%rbp),%xmm0
fc
movss  %xmm0,-0x3feffec(%rbp)
fc
xor    %eax,%eax
add    $0x5000020,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x5000008,%rsp
lea    0x4000030(%rsp),%rax
04
xor    %ecx,%ecx
movdqa 0xed6(%rip),%xmm8
movdqa 0xede(%rip),%xmm3
movaps 0xee7(%rip),%xmm0
movdqa 0xeef(%rip),%xmm4
movdqa 0xef7(%rip),%xmm5
movdqa 0xefe(%rip),%xmm10
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xorps  %xmm6,%xmm6
cvtsi2ss %ecx,%xmm6
shufps $0x0,%xmm6,%xmm6
xor    %edx,%edx
movdqa %xmm8,%xmm7
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqa %xmm7,%xmm2
paddd  %xmm3,%xmm2
cvtdq2ps %xmm7,%xmm1
cvtdq2ps %xmm2,%xmm2
mulps  %xmm6,%xmm1
mulps  %xmm6,%xmm2
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm2
movaps %xmm1,-0x30(%rax,%rdx,4)
movaps %xmm2,-0x20(%rax,%rdx,4)
movdqa %xmm7,%xmm1
paddd  %xmm4,%xmm1
movdqa %xmm7,%xmm2
paddd  %xmm5,%xmm2
cvtdq2ps %xmm1,%xmm1
cvtdq2ps %xmm2,%xmm2
mulps  %xmm6,%xmm1
mulps  %xmm6,%xmm2
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm2
movaps %xmm1,-0x10(%rax,%rdx,4)
movaps %xmm2,(%rax,%rdx,4)
add    $0x10,%rdx
paddd  %xmm10,%xmm7
cmp    $0x800,%rdx
jne    1180 <main+0x70>
add    $0x1,%rcx
add    $0x2000,%rax
cmp    $0x800,%rcx
jne    1160 <main+0x50>
lea    0x3000010(%rsp),%rax
03
xor    %ecx,%ecx
movaps 0xe56(%rip),%xmm8
movaps 0xe5e(%rip),%xmm9
pcmpeqd %xmm11,%xmm11
movdqa 0xe61(%rip),%xmm5
movdqa 0xe69(%rip),%xmm6
nopw   0x0(%rax,%rax,1)
xorps  %xmm7,%xmm7
cvtsi2ss %ecx,%xmm7
shufps $0x0,%xmm7,%xmm7
xor    %edx,%edx
movaps %xmm9,%xmm3
movaps %xmm8,%xmm2
cs nopw 0x0(%rax,%rax,1)
nop
movaps %xmm3,%xmm1
shufps $0x88,%xmm2,%xmm1
movaps %xmm1,%xmm4
psubd  %xmm11,%xmm4
paddd  %xmm5,%xmm1
cvtdq2ps %xmm4,%xmm4
cvtdq2ps %xmm1,%xmm1
mulps  %xmm7,%xmm4
mulps  %xmm7,%xmm1
mulps  %xmm0,%xmm4
mulps  %xmm0,%xmm1
movaps %xmm4,-0x10(%rax,%rdx,4)
movaps %xmm1,(%rax,%rdx,4)
add    $0x8,%rdx
paddq  %xmm6,%xmm3
paddq  %xmm6,%xmm2
cmp    $0x800,%rdx
jne    1250 <main+0x140>
add    $0x1,%rcx
add    $0x2000,%rax
cmp    $0x800,%rcx
jne    1230 <main+0x120>
lea    0x2000030(%rsp),%rax
02
xor    %ecx,%ecx
movdqa 0xd47(%rip),%xmm8
movdqa 0xdde(%rip),%xmm9
movdqa 0xde6(%rip),%xmm4
movdqa 0xdee(%rip),%xmm5
movdqa 0xdf6(%rip),%xmm6
nopw   0x0(%rax,%rax,1)
xorps  %xmm7,%xmm7
cvtsi2ss %ecx,%xmm7
shufps $0x0,%xmm7,%xmm7
xor    %edx,%edx
movdqa %xmm8,%xmm2
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqa %xmm2,%xmm1
paddd  %xmm9,%xmm1
movdqa %xmm2,%xmm3
paddd  %xmm4,%xmm3
cvtdq2ps %xmm1,%xmm1
cvtdq2ps %xmm3,%xmm3
mulps  %xmm7,%xmm1
mulps  %xmm7,%xmm3
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm3
movaps %xmm1,-0x30(%rax,%rdx,4)
movaps %xmm3,-0x20(%rax,%rdx,4)
movdqa %xmm2,%xmm1
paddd  %xmm5,%xmm1
movdqa %xmm2,%xmm3
paddd  %xmm6,%xmm3
cvtdq2ps %xmm1,%xmm1
cvtdq2ps %xmm3,%xmm3
mulps  %xmm7,%xmm1
mulps  %xmm7,%xmm3
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm3
movaps %xmm1,-0x10(%rax,%rdx,4)
movaps %xmm3,(%rax,%rdx,4)
add    $0x10,%rdx
paddd  %xmm10,%xmm2
cmp    $0x800,%rdx
jne    1300 <main+0x1f0>
add    $0x1,%rcx
add    $0x2000,%rax
cmp    $0x800,%rcx
jne    12e0 <main+0x1d0>
lea    0x1000030(%rsp),%rax
01
xor    %ecx,%ecx
movdqa 0xc6c(%rip),%xmm8
movdqa 0xd43(%rip),%xmm9
movdqa 0xd4b(%rip),%xmm4
movdqa 0xd53(%rip),%xmm5
movdqa 0xd5b(%rip),%xmm6
cs nopw 0x0(%rax,%rax,1)
nop
xorps  %xmm7,%xmm7
cvtsi2ss %ecx,%xmm7
shufps $0x0,%xmm7,%xmm7
xor    %edx,%edx
movdqa %xmm8,%xmm2
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqa %xmm2,%xmm1
paddd  %xmm9,%xmm1
movdqa %xmm2,%xmm3
paddd  %xmm4,%xmm3
cvtdq2ps %xmm1,%xmm1
cvtdq2ps %xmm3,%xmm3
mulps  %xmm7,%xmm1
mulps  %xmm7,%xmm3
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm3
movaps %xmm1,-0x30(%rax,%rdx,4)
movaps %xmm3,-0x20(%rax,%rdx,4)
movdqa %xmm2,%xmm1
paddd  %xmm5,%xmm1
movdqa %xmm2,%xmm3
paddd  %xmm6,%xmm3
cvtdq2ps %xmm1,%xmm1
cvtdq2ps %xmm3,%xmm3
mulps  %xmm7,%xmm1
mulps  %xmm7,%xmm3
mulps  %xmm0,%xmm1
mulps  %xmm0,%xmm3
movaps %xmm1,-0x10(%rax,%rdx,4)
movaps %xmm3,(%rax,%rdx,4)
add    $0x10,%rdx
paddd  %xmm10,%xmm2
cmp    $0x800,%rdx
jne    13e0 <main+0x2d0>
add    $0x1,%rcx
add    $0x2000,%rax
cmp    $0x800,%rcx
jne    13c0 <main+0x2b0>
lea    0x4000004(%rsp),%rax
04
lea    0x3002000(%rsp),%r8
03
xor    %r9d,%r9d
movss  0xca4(%rip),%xmm0
nopl   0x0(%rax)
mov    %r8,%rdx
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r9,%rcx
shl    $0xd,%rcx
add    %rsp,%rcx
lea    (%rcx,%rdi,4),%r10
xorps  %xmm1,%xmm1
mov    %rdx,%rsi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
movss  -0x4(%rax,%rcx,4),%xmm2
mulss  %xmm0,%xmm2
mulss  -0x2000(%rsi),%xmm2
ff
addss  %xmm1,%xmm2
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm0,%xmm1
mulss  (%rsi),%xmm1
addss  %xmm2,%xmm1
add    $0x2,%rcx
add    $0x4000,%rsi
cmp    $0x800,%rcx
jne    14b0 <main+0x3a0>
movss  %xmm1,(%r10)
add    $0x1,%rdi
add    $0x4,%rdx
cmp    $0x800,%rdi
jne    1490 <main+0x380>
add    $0x1,%r9
add    $0x2000,%rax
cmp    $0x800,%r9
jne    1480 <main+0x370>
lea    0x4(%rsp),%rax
lea    0x2002000(%rsp),%r8
02
xor    %r9d,%r9d
movss  0xbf4(%rip),%xmm0
mov    %r8,%rdx
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r9,%rcx
shl    $0xd,%rcx
add    %rsp,%rcx
add    $0x1000000,%rcx
lea    (%rcx,%rdi,4),%r10
movss  (%rcx,%rdi,4),%xmm1
mulss  %xmm0,%xmm1
mov    %rdx,%rsi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movss  -0x4(%rax,%rcx,4),%xmm2
mulss  -0x2000(%rsi),%xmm2
ff
addss  %xmm1,%xmm2
movss  (%rax,%rcx,4),%xmm1
mulss  (%rsi),%xmm1
addss  %xmm2,%xmm1
add    $0x2,%rcx
add    $0x4000,%rsi
cmp    $0x800,%rcx
jne    1570 <main+0x460>
movss  %xmm1,(%r10)
add    $0x1,%rdi
add    $0x4,%rdx
cmp    $0x800,%rdi
jne    1540 <main+0x430>
add    $0x1,%r9
add    $0x2000,%rax
cmp    $0x800,%r9
jne    1530 <main+0x420>
mov    0x2a09(%rip),%rax
mov    (%rax),%edi
call   1030 <fflush@plt>
xor    %eax,%eax
add    $0x5000008,%rsp
ret

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

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