#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 */
float pow(float, int);
float sqrt(float);
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.1661241E-02;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18004E+02, -0.18006E+02,
                    0.00000E+00,  0.00000E+00,  0.00000E+00,  0.00000E+00,
                    0.00000E+00,  0.00000E+00};
  float xmax[10] = {0.15000E+02, 0.15000E+02, 0.18003E+02, 0.18001E+02,
                    0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00,
                    0.00000E+00, 0.00000E+00};
  float scale[10] = {0};
  float coeff[21] = {0.45297834E-05,  -0.54645501E-01, 0.17302604E-01,
                     0.64803869E-01,  -0.26602386E-01, -0.27588960E-04,
                     0.10025123E-03,  0.11744020E-03,  0.20751288E-04,
                     -0.27920953E-04, -0.18337256E-04, -0.81735852E-05,
                     0.10851027E-05,  -0.39030073E-06, -0.18578897E-05,
                     -0.10789393E-03, 0.19009109E-03,  -0.89750945E-04,
                     -0.21479420E-03, 0.78985058E-05,  0.};
  int ientry = 0;
  int i;
  if (ientry == 0) {
    ientry = 1;
    for (i = 0; i < m; i++) {
      if (xmin[i] == xmax[i])
        continue;
      scale[i] = 2. / (xmax[i] - xmin[i]);
    }
  }
  float x1 = 1. + (x[0] - xmax[0]) * scale[0];
  float dx1 = dx[0] * scale[0];
  float x2 = 1. + (x[1] - xmax[1]) * scale[1];
  float dx2 = dx[1] * scale[1];
  float x3 = 1. + (x[2] - xmax[2]) * scale[2];
  float dx3 = dx[2] * scale[2];
  float x4 = 1. + (x[3] - xmax[3]) * scale[3];
  float dx4 = dx[3] * scale[3];
  float x11 = x1;
  float x12 = x11 * x1;
  float x13 = x12 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x23 = x22 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float v_target_phi = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 +
                       coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x12 +
                       coeff[6] * x11 * x31 + coeff[7] * x11 * x41;
  v_target_phi = v_target_phi + coeff[8] * x21 * x41 + coeff[9] * x42 +
                 coeff[10] * x32 * x41 + coeff[11] * x43 +
                 coeff[12] * x13 * x21 + coeff[13] * x11 * x23 +
                 coeff[14] * x13 * x41 + coeff[15] * x11 * x21 +
                 coeff[16] * x21 * x31;
  v_target_phi = v_target_phi + coeff[17] * x32 + coeff[18] * x31 * x41 +
                 coeff[19] * x12 * x21;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi =
      dxall == 0
          ? 0
          : sqrt(+dx1 * dx1 *
                     pow(0 + coeff[1] + 2 * coeff[5] * x11 + coeff[6] * x31 +
                             coeff[7] * x41 + 3 * coeff[12] * x12 * x21 +
                             coeff[13] * x23 + 3 * coeff[14] * x12 * x41 +
                             coeff[15] * x21 + 2 * coeff[19] * x11 * x21,
                         2) +
                 dx2 * dx2 *
                     pow(0 + coeff[2] + coeff[8] * x41 + coeff[12] * x13 +
                             3 * coeff[13] * x22 * x11 + coeff[15] * x11 +
                             coeff[16] * x31 + coeff[19] * x12,
                         2) +
                 dx3 * dx3 *
                     pow(0 + coeff[3] + coeff[6] * x11 +
                             2 * coeff[10] * x31 * x41 + coeff[16] * x21 +
                             2 * coeff[17] * x31 + coeff[18] * x41,
                         2) +
                 dx4 * dx4 *
                     pow(0 + coeff[4] + coeff[7] * x11 + coeff[8] * x21 +
                             2 * coeff[9] * x41 + coeff[10] * x32 +
                             3 * coeff[11] * x42 + coeff[14] * x13 +
                             coeff[18] * x31,
                         2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}


x86 assembly (clang, -O0):
<target_phi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x190,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movl   $0x14,-0x18(%rbp)
movss  0xeb3(%rip),%xmm0
movss  %xmm0,-0x1c(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movss  0xe92(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe85(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xe74(%rip),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  0xe63(%rip),%xmm0
movss  %xmm0,-0x44(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movss  0xe42(%rip),%xmm0
movss  %xmm0,-0x80(%rbp)
movss  0xe35(%rip),%xmm0
movss  %xmm0,-0x7c(%rbp)
movss  0xe24(%rip),%xmm0
movss  %xmm0,-0x78(%rbp)
movss  0xe13(%rip),%xmm0
movss  %xmm0,-0x74(%rbp)
lea    -0xb0(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
lea    -0x110(%rbp),%rdi
lea    0xe2d(%rip),%rsi
mov    $0x54,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jne    12d8 <target_phi+0x198>
movl   $0x1,-0x114(%rbp)
movl   $0x0,-0x118(%rbp)
mov    -0x118(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12d3 <target_phi+0x193>
movslq -0x118(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x118(%rbp),%rax
ucomiss -0x80(%rbp,%rax,4),%xmm0
jne    1281 <target_phi+0x141>
jp     1281 <target_phi+0x141>
jmp    12bf <target_phi+0x17f>
movslq -0x118(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm0
movslq -0x118(%rbp),%rax
subss  -0x50(%rbp,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd89(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0x118(%rbp),%rax
movss  %xmm0,-0xb0(%rbp,%rax,4)
ff ff
mov    -0x118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x118(%rbp)
jmp    1248 <target_phi+0x108>
jmp    12d8 <target_phi+0x198>
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
subss  -0x80(%rbp),%xmm0
mulss  -0xb0(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xd2f(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x11c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mulss  -0xb0(%rbp),%xmm0
ff
movss  %xmm0,-0x120(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
subss  -0x7c(%rbp),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xce5(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x124(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mulss  -0xac(%rbp),%xmm0
ff
movss  %xmm0,-0x128(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
subss  -0x78(%rbp),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc9a(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x12c(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mulss  -0xa8(%rbp),%xmm0
ff
movss  %xmm0,-0x130(%rbp)
ff
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
subss  -0x74(%rbp),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc4f(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x134(%rbp)
ff
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mulss  -0xa4(%rbp),%xmm0
ff
movss  %xmm0,-0x138(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x13c(%rbp)
ff
movss  -0x13c(%rbp),%xmm0
ff
mulss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x140(%rbp)
ff
movss  -0x140(%rbp),%xmm0
ff
mulss  -0x11c(%rbp),%xmm0
ff
movss  %xmm0,-0x144(%rbp)
ff
movss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x148(%rbp)
ff
movss  -0x148(%rbp),%xmm0
ff
mulss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x14c(%rbp)
ff
movss  -0x14c(%rbp),%xmm0
ff
mulss  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x150(%rbp)
ff
movss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x154(%rbp)
ff
movss  -0x154(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x158(%rbp)
ff
movss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x15c(%rbp)
ff
movss  -0x15c(%rbp),%xmm0
ff
mulss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x160(%rbp)
ff
movss  -0x160(%rbp),%xmm0
ff
mulss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x1c(%rbp),%xmm1
addss  -0x110(%rbp),%xmm1
ff
movss  -0x10c(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x108(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x104(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x100(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xfc(%rbp),%xmm0
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf8(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm1
ff
movss  -0xf0(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xec(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe8(%rbp),%xmm0
ff
mulss  -0x158(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
movss  -0x164(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
mulss  -0x154(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x120(%rbp),%xmm0
ff
addss  -0x128(%rbp),%xmm0
ff
addss  -0x130(%rbp),%xmm0
ff
addss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x16c(%rbp)
ff
movss  -0x16c(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1794 <target_phi+0x654>
jp     1794 <target_phi+0x654>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x174(%rbp)
ff
jmp    1baa <target_phi+0xa6a>
movss  -0x120(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x188(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x10c(%rbp),%xmm0
ff
movss  0x861(%rip),%xmm1
mulss  -0xfc(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf8(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf4(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x80d(%rip),%xmm0
mulss  -0xe0(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x7cd(%rip),%xmm0
mulss  -0xd8(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x791(%rip),%xmm0
mulss  -0xc4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  %xmm0,-0x18c(%rbp)
ff
movss  -0x128(%rbp),%xmm0
ff
mulss  -0x128(%rbp),%xmm0
ff
movss  %xmm0,-0x190(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x108(%rbp),%xmm0
ff
movss  -0xf0(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x700(%rip),%xmm1
mulss  -0xdc(%rbp),%xmm1
ff
mulss  -0x14c(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd4(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd0(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x190(%rbp),%xmm1
ff
movss  -0x18c(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movss  -0x188(%rbp),%xmm0
ff
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x184(%rbp)
ff
movss  -0x130(%rbp),%xmm0
ff
mulss  -0x130(%rbp),%xmm0
ff
movss  %xmm0,-0x180(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x104(%rbp),%xmm1
ff
movss  -0xf8(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x620(%rip),%xmm1
mulss  -0xe8(%rbp),%xmm1
ff
mulss  -0x154(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x5e0(%rip),%xmm1
mulss  -0xcc(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc8(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x184(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x180(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x17c(%rbp)
ff
movss  -0x138(%rbp),%xmm0
ff
mulss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x178(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x100(%rbp),%xmm1
ff
movss  -0xf4(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf0(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x528(%rip),%xmm0
mulss  -0xec(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe8(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x4ec(%rip),%xmm0
mulss  -0xe4(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd8(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc8(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x17c(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x178(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrt@plt>
movss  %xmm0,-0x174(%rbp)
ff
movss  -0x174(%rbp),%xmm0
ff
movss  %xmm0,-0x170(%rbp)
ff
movss  -0x170(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x168(%rbp),%xmm0
ff
add    $0x190,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<target_phi>:
push   %rbx
sub    $0x140,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x120(%rsp)
movq   $0x0,0x130(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0x110(%rsp)
movaps %xmm0,0xf0(%rsp)
movq   $0x0,0x100(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xe0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movq   $0x0,0xb0(%rsp)
xorps  %xmm1,%xmm1
test   %edx,%edx
jle    120a <target_phi+0xea>
mov    %edx,%eax
add    $0xffffffffffffffff,%rax
movss  0xe7b(%rip),%xmm2
movss  0xe77(%rip),%xmm1
xor    %ecx,%ecx
movss  0xe71(%rip),%xmm0
nopw   0x0(%rax,%rax,1)
ucomiss %xmm1,%xmm2
jne    11c7 <target_phi+0xa7>
jnp    11db <target_phi+0xbb>
subss  %xmm2,%xmm1
movaps %xmm0,%xmm2
divss  %xmm1,%xmm2
movss  %xmm2,0x90(%rsp,%rcx,4)
cmp    %rcx,%rax
je     11f8 <target_phi+0xd8>
movss  0x114(%rsp,%rcx,4),%xmm2
movss  0xe4(%rsp,%rcx,4),%xmm1
add    $0x1,%rcx
jmp    11c0 <target_phi+0xa0>
movsd  0x90(%rsp),%xmm1
movsd  0x98(%rsp),%xmm0
movss  0xe0e(%rip),%xmm2
movss  (%rdi),%xmm6
addss  %xmm2,%xmm6
mulss  %xmm1,%xmm6
movss  0xe06(%rip),%xmm3
addss  %xmm3,%xmm6
addss  0x4(%rdi),%xmm2
movaps %xmm1,%xmm8
shufps $0x55,%xmm1,%xmm8
mulss  %xmm2,%xmm8
addss  %xmm3,%xmm8
movsd  (%rbx),%xmm5
movsd  0x8(%rbx),%xmm4
mulps  %xmm1,%xmm5
movaps %xmm5,%xmm10
shufps $0x55,%xmm5,%xmm10
movss  0x8(%rdi),%xmm9
movss  0xc(%rdi),%xmm1
addss  0xdc5(%rip),%xmm9
mulss  %xmm0,%xmm9
addss  %xmm3,%xmm9
addss  0xdb7(%rip),%xmm1
movaps %xmm0,%xmm2
shufps $0x55,%xmm0,%xmm2
mulss  %xmm1,%xmm2
addss  %xmm3,%xmm2
mulps  %xmm0,%xmm4
movaps %xmm4,%xmm3
shufps $0x55,%xmm4,%xmm3
movaps %xmm6,%xmm15
mulss  %xmm6,%xmm15
movaps %xmm6,%xmm12
mulss  %xmm15,%xmm12
movaps %xmm8,%xmm7
mulss  %xmm8,%xmm7
movaps %xmm8,%xmm13
mulss  %xmm7,%xmm13
movaps %xmm9,%xmm11
mulss  %xmm9,%xmm11
movaps %xmm2,%xmm14
mulss  %xmm2,%xmm14
xorps  %xmm0,%xmm0
movaps %xmm5,%xmm1
addss  %xmm0,%xmm1
addss  %xmm10,%xmm1
addss  %xmm4,%xmm1
addss  %xmm3,%xmm1
ucomiss %xmm0,%xmm1
jne    12ee <target_phi+0x1ce>
jnp    1633 <target_phi+0x513>
mulss  %xmm5,%xmm5
movaps %xmm5,0xd0(%rsp)
movss  0xd36(%rip),%xmm0
mulss  %xmm6,%xmm0
addss  0xd2e(%rip),%xmm0
movaps %xmm9,%xmm1
mulss  0xd26(%rip),%xmm1
addss  %xmm0,%xmm1
movaps %xmm2,%xmm0
mulss  0xd1b(%rip),%xmm0
addss  %xmm1,%xmm0
movss  0xd13(%rip),%xmm1
mulss  %xmm15,%xmm1
mulss  %xmm8,%xmm1
addss  %xmm0,%xmm1
movss  0xd01(%rip),%xmm0
movaps %xmm13,0x80(%rsp)
mulss  %xmm13,%xmm0
addss  %xmm1,%xmm0
movss  0xceb(%rip),%xmm1
mulss  %xmm15,%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movaps %xmm3,0x70(%rsp)
movaps %xmm8,%xmm3
mulss  0xcd1(%rip),%xmm3
addss  %xmm1,%xmm3
movss  0xcc9(%rip),%xmm0
mulss  %xmm6,%xmm0
mulss  %xmm8,%xmm0
addss  %xmm3,%xmm0
mov    $0x2,%edi
movaps %xmm8,0x40(%rsp)
movss  %xmm9,0xc(%rsp)
movaps %xmm2,0x30(%rsp)
movss  %xmm11,0x18(%rsp)
movss  %xmm12,0x10(%rsp)
movss  %xmm6,0x8(%rsp)
movaps %xmm14,0x50(%rsp)
movss  %xmm15,0x14(%rsp)
movaps %xmm4,0x20(%rsp)
movaps %xmm10,0x60(%rsp)
movaps %xmm7,0xc0(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x1c(%rsp)
movaps 0x30(%rsp),%xmm0
mulss  0xc5d(%rip),%xmm0
addss  0xc59(%rip),%xmm0
movaps 0x60(%rsp),%xmm1
mulss  %xmm1,%xmm1
movaps %xmm1,0x60(%rsp)
movss  0xc47(%rip),%xmm1
mulss  0x10(%rsp),%xmm1
addss  %xmm0,%xmm1
movaps 0xc0(%rsp),%xmm2
mulss  0xc31(%rip),%xmm2
movss  0x8(%rsp),%xmm0
mulss  %xmm0,%xmm2
addss  %xmm1,%xmm2
movss  0xc07(%rip),%xmm1
mulss  %xmm0,%xmm1
addss  %xmm2,%xmm1
movaps %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
mulss  0xc06(%rip),%xmm1
addss  %xmm0,%xmm1
movss  0xbfe(%rip),%xmm0
mulss  0x14(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x60(%rsp),%xmm0
movss  0x1c(%rsp),%xmm1
mulss  0xd0(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x1c(%rsp)
movaps 0x20(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movss  0xb85(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xbab(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xba4(%rip),%xmm0
movss  0xc(%rsp),%xmm2
mulss  %xmm2,%xmm0
movaps 0x30(%rsp),%xmm3
mulss  %xmm3,%xmm0
addss  %xmm1,%xmm0
movss  0xb79(%rip),%xmm1
mulss  0x40(%rsp),%xmm1
addss  %xmm0,%xmm1
movaps %xmm1,%xmm0
movss  0xb74(%rip),%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movaps %xmm3,%xmm0
mulss  0xb65(%rip),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x20(%rsp),%xmm0
addss  0x1c(%rsp),%xmm0
movss  %xmm0,0x20(%rsp)
movaps 0x70(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movss  0xaf3(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xb25(%rip),%xmm0
movss  0xaf5(%rip),%xmm1
mulss  0x40(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb0f(%rip),%xmm0
mulss  0x30(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xb01(%rip),%xmm1
mulss  0x18(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xaf3(%rip),%xmm0
mulss  0x50(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xae5(%rip),%xmm1
mulss  0x10(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xabf(%rip),%xmm2
mulss  0xc(%rsp),%xmm2
addss  %xmm1,%xmm2
movaps %xmm2,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x70(%rsp),%xmm0
addss  0x20(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     15f2 <target_phi+0x4d2>
sqrtss %xmm0,%xmm0
jmp    15f7 <target_phi+0x4d7>
call   1040 <sqrt@plt>
movaps 0x40(%rsp),%xmm8
movss  0xc(%rsp),%xmm9
movaps 0x30(%rsp),%xmm2
movss  0x18(%rsp),%xmm11
movss  0x10(%rsp),%xmm12
movss  0x8(%rsp),%xmm6
movaps 0x80(%rsp),%xmm13
movaps 0x50(%rsp),%xmm14
movss  0x14(%rsp),%xmm15
movss  0xa18(%rip),%xmm10
mulss  %xmm6,%xmm10
movss  0xa03(%rip),%xmm3
mulss  %xmm6,%xmm3
movss  0x9ef(%rip),%xmm4
mulss  %xmm6,%xmm4
movss  0x9df(%rip),%xmm5
mulss  %xmm6,%xmm5
mulss  0x9cf(%rip),%xmm6
addss  0xa23(%rip),%xmm6
movss  0x9e3(%rip),%xmm1
mulss  %xmm8,%xmm1
addss  %xmm6,%xmm1
movss  0x9e6(%rip),%xmm6
mulss  %xmm9,%xmm6
addss  %xmm1,%xmm6
movss  0x9e5(%rip),%xmm7
mulss  %xmm2,%xmm7
addss  %xmm6,%xmm7
movss  0x9c1(%rip),%xmm1
mulss  %xmm15,%xmm1
mulss  0x9df(%rip),%xmm15
addss  %xmm7,%xmm15
mulss  %xmm9,%xmm5
addss  %xmm15,%xmm5
mulss  %xmm2,%xmm4
addss  %xmm5,%xmm4
movss  0x980(%rip),%xmm5
mulss  %xmm8,%xmm5
mulss  %xmm2,%xmm5
addss  %xmm4,%xmm5
movaps %xmm2,%xmm4
mulss  %xmm14,%xmm4
mulss  0x9a6(%rip),%xmm14
addss  %xmm5,%xmm14
movss  0x985(%rip),%xmm5
mulss  %xmm11,%xmm5
mulss  %xmm2,%xmm5
mulss  0x98c(%rip),%xmm4
addss  %xmm14,%xmm5
addss  %xmm5,%xmm4
movss  0x96b(%rip),%xmm5
mulss  %xmm12,%xmm5
mulss  0x92d(%rip),%xmm12
mulss  %xmm8,%xmm12
addss  %xmm4,%xmm12
mulss  %xmm13,%xmm3
addss  %xmm12,%xmm3
mulss  %xmm2,%xmm5
addss  %xmm3,%xmm5
movss  0x925(%rip),%xmm3
mulss  %xmm9,%xmm3
mulss  %xmm8,%xmm10
addss  %xmm5,%xmm10
movss  0x8fa(%rip),%xmm4
mulss  %xmm8,%xmm4
mulss  %xmm9,%xmm4
addss  %xmm10,%xmm4
mulss  0x91e(%rip),%xmm11
addss  %xmm4,%xmm11
mulss  %xmm2,%xmm3
addss  %xmm11,%xmm3
mulss  %xmm8,%xmm1
addss  %xmm3,%xmm1
movss  %xmm0,(%rbx)
movaps %xmm1,%xmm0
add    $0x140,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.target_phi.coeff = [21 x float] [float 0x3ED2FFD160000000, float 0xBFABFA7EC0000000, float 0x3F91B7C620000000, float 0x3FB096FC80000000, float 0xBF9B3DA7E0000000, float 0xBEFCEDDAE0000000, float 0x3F1A47BF00000000, float 0x3F1EC94740000000, float 0x3EF5C261A0000000, float 0xBEFD46F940000000, float 0xBEF33A5EA0000000, float 0xBEE1242900000000, float 0x3EB2347B00000000, float 0xBE9A3150C0000000, float 0xBEBF2B9360000000, float 0xBF1C48A3A0000000, float 0x3F28EA6600000000, float 0xBF17871580000000, float 0xBF2C274C20000000, float 0x3EE0907A60000000, float 0.000000e+00]
define float @target_phi(float* %0, float* %1, i32 %2) {
%4 = alloca float*
%5 = alloca float*
%6 = alloca i32
%7 = alloca i32
%8 = alloca float
%9 = alloca [10 x float]
%10 = alloca [10 x float]
%11 = alloca [10 x float]
%12 = alloca [21 x float]
%13 = alloca i32
%14 = alloca i32
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca float
%28 = alloca float
%29 = alloca float
%30 = alloca float
%31 = alloca float
%32 = alloca float
%33 = alloca float
%34 = alloca float
%35 = alloca float
%36 = alloca float
store float* %0, float** %4
store float* %1, float** %5
store i32 %2, i32* %6
store i32 20, i32* %7
store float 0xBF5B37C000000000, float* %8
%37 = bitcast [10 x float]* %9 to i8*
%38 = bitcast i8* %37 to [10 x float]*
%39 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 0
store float -1.500000e+01, float* %39
%40 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 1
store float -1.500000e+01, float* %40
%41 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 2
store float 0xC032010620000000, float* %41
%42 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 3
store float 0xC032018940000000, float* %42
%43 = bitcast [10 x float]* %10 to i8*
%44 = bitcast i8* %43 to [10 x float]*
%45 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 0
store float 1.500000e+01, float* %45
%46 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 1
store float 1.500000e+01, float* %46
%47 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 2
store float 0x403200C4A0000000, float* %47
%48 = getelementptr inbounds [10 x float], [10 x float]* %44, i32 0, i32 3
store float 0x4032004180000000, float* %48
%49 = bitcast [10 x float]* %11 to i8*
%50 = bitcast [21 x float]* %12 to i8*
store i32 0, i32* %13
%51 = load i32, i32* %13
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %89
53: ; preds = %3
store i32 1, i32* %13
store i32 0, i32* %14
br label %54
54: ; preds = %85, %53
%55 = load i32, i32* %14
%56 = load i32, i32* %6
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %88
58: ; preds = %54
%59 = load i32, i32* %14
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x float], [10 x float]* %9, i64 0, i64 %60
%62 = load float, float* %61
%63 = load i32, i32* %14
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 %64
%66 = load float, float* %65
%67 = fcmp oeq float %62, %66
br i1 %67, label %68, label %69
68: ; preds = %58
br label %85
69: ; preds = %58
%70 = load i32, i32* %14
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 %71
%73 = load float, float* %72
%74 = load i32, i32* %14
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10 x float], [10 x float]* %9, i64 0, i64 %75
%77 = load float, float* %76
%78 = fsub float %73, %77
%79 = fpext float %78 to double
%80 = fdiv double 2.000000e+00, %79
%81 = fptrunc double %80 to float
%82 = load i32, i32* %14
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 %83
store float %81, float* %84
br label %85
85: ; preds = %69, %68
%86 = load i32, i32* %14
%87 = add nsw i32 %86, 1
store i32 %87, i32* %14
br label %54
88: ; preds = %54
br label %89
89: ; preds = %88, %3
%90 = load float*, float** %4
%91 = getelementptr inbounds float, float* %90, i64 0
%92 = load float, float* %91
%93 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 0
%94 = load float, float* %93
%95 = fsub float %92, %94
%96 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 0
%97 = load float, float* %96
%98 = fmul float %95, %97
%99 = fpext float %98 to double
%100 = fadd double 1.000000e+00, %99
%101 = fptrunc double %100 to float
store float %101, float* %15
%102 = load float*, float** %5
%103 = getelementptr inbounds float, float* %102, i64 0
%104 = load float, float* %103
%105 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 0
%106 = load float, float* %105
%107 = fmul float %104, %106
store float %107, float* %16
%108 = load float*, float** %4
%109 = getelementptr inbounds float, float* %108, i64 1
%110 = load float, float* %109
%111 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 1
%112 = load float, float* %111
%113 = fsub float %110, %112
%114 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 1
%115 = load float, float* %114
%116 = fmul float %113, %115
%117 = fpext float %116 to double
%118 = fadd double 1.000000e+00, %117
%119 = fptrunc double %118 to float
store float %119, float* %17
%120 = load float*, float** %5
%121 = getelementptr inbounds float, float* %120, i64 1
%122 = load float, float* %121
%123 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 1
%124 = load float, float* %123
%125 = fmul float %122, %124
store float %125, float* %18
%126 = load float*, float** %4
%127 = getelementptr inbounds float, float* %126, i64 2
%128 = load float, float* %127
%129 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 2
%130 = load float, float* %129
%131 = fsub float %128, %130
%132 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 2
%133 = load float, float* %132
%134 = fmul float %131, %133
%135 = fpext float %134 to double
%136 = fadd double 1.000000e+00, %135
%137 = fptrunc double %136 to float
store float %137, float* %19
%138 = load float*, float** %5
%139 = getelementptr inbounds float, float* %138, i64 2
%140 = load float, float* %139
%141 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 2
%142 = load float, float* %141
%143 = fmul float %140, %142
store float %143, float* %20
%144 = load float*, float** %4
%145 = getelementptr inbounds float, float* %144, i64 3
%146 = load float, float* %145
%147 = getelementptr inbounds [10 x float], [10 x float]* %10, i64 0, i64 3
%148 = load float, float* %147
%149 = fsub float %146, %148
%150 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 3
%151 = load float, float* %150
%152 = fmul float %149, %151
%153 = fpext float %152 to double
%154 = fadd double 1.000000e+00, %153
%155 = fptrunc double %154 to float
store float %155, float* %21
%156 = load float*, float** %5
%157 = getelementptr inbounds float, float* %156, i64 3
%158 = load float, float* %157
%159 = getelementptr inbounds [10 x float], [10 x float]* %11, i64 0, i64 3
%160 = load float, float* %159
%161 = fmul float %158, %160
store float %161, float* %22
%162 = load float, float* %15
store float %162, float* %23
%163 = load float, float* %23
%164 = load float, float* %15
%165 = fmul float %163, %164
store float %165, float* %24
%166 = load float, float* %24
%167 = load float, float* %15
%168 = fmul float %166, %167
store float %168, float* %25
%169 = load float, float* %17
store float %169, float* %26
%170 = load float, float* %26
%171 = load float, float* %17
%172 = fmul float %170, %171
store float %172, float* %27
%173 = load float, float* %27
%174 = load float, float* %17
%175 = fmul float %173, %174
store float %175, float* %28
%176 = load float, float* %19
store float %176, float* %29
%177 = load float, float* %29
%178 = load float, float* %19
%179 = fmul float %177, %178
store float %179, float* %30
%180 = load float, float* %21
store float %180, float* %31
%181 = load float, float* %31
%182 = load float, float* %21
%183 = fmul float %181, %182
store float %183, float* %32
%184 = load float, float* %32
%185 = load float, float* %21
%186 = fmul float %184, %185
store float %186, float* %33
%187 = load float, float* %8
%188 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 0
%189 = load float, float* %188
%190 = fadd float %187, %189
%191 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 1
%192 = load float, float* %191
%193 = load float, float* %23
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 2
%196 = load float, float* %195
%197 = load float, float* %26
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%200 = load float, float* %199
%201 = load float, float* %29
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%204 = load float, float* %203
%205 = load float, float* %31
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%208 = load float, float* %207
%209 = load float, float* %24
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %206)
%211 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%212 = load float, float* %211
%213 = load float, float* %23
%214 = fmul float %212, %213
%215 = load float, float* %29
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %210)
%217 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%218 = load float, float* %217
%219 = load float, float* %23
%220 = fmul float %218, %219
%221 = load float, float* %31
%222 = call float @llvm.fmuladd.f32(float %220, float %221, float %216)
store float %222, float* %34
%223 = load float, float* %34
%224 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%225 = load float, float* %224
%226 = load float, float* %26
%227 = fmul float %225, %226
%228 = load float, float* %31
%229 = call float @llvm.fmuladd.f32(float %227, float %228, float %223)
%230 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%231 = load float, float* %230
%232 = load float, float* %32
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %229)
%234 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%235 = load float, float* %234
%236 = load float, float* %30
%237 = fmul float %235, %236
%238 = load float, float* %31
%239 = call float @llvm.fmuladd.f32(float %237, float %238, float %233)
%240 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%241 = load float, float* %240
%242 = load float, float* %33
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %239)
%244 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%245 = load float, float* %244
%246 = load float, float* %25
%247 = fmul float %245, %246
%248 = load float, float* %26
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %243)
%250 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%251 = load float, float* %250
%252 = load float, float* %23
%253 = fmul float %251, %252
%254 = load float, float* %28
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %249)
%256 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%257 = load float, float* %256
%258 = load float, float* %25
%259 = fmul float %257, %258
%260 = load float, float* %31
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %255)
%262 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%263 = load float, float* %262
%264 = load float, float* %23
%265 = fmul float %263, %264
%266 = load float, float* %26
%267 = call float @llvm.fmuladd.f32(float %265, float %266, float %261)
%268 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%269 = load float, float* %268
%270 = load float, float* %26
%271 = fmul float %269, %270
%272 = load float, float* %29
%273 = call float @llvm.fmuladd.f32(float %271, float %272, float %267)
store float %273, float* %34
%274 = load float, float* %34
%275 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%276 = load float, float* %275
%277 = load float, float* %30
%278 = call float @llvm.fmuladd.f32(float %276, float %277, float %274)
%279 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%280 = load float, float* %279
%281 = load float, float* %29
%282 = fmul float %280, %281
%283 = load float, float* %31
%284 = call float @llvm.fmuladd.f32(float %282, float %283, float %278)
%285 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%286 = load float, float* %285
%287 = load float, float* %24
%288 = fmul float %286, %287
%289 = load float, float* %26
%290 = call float @llvm.fmuladd.f32(float %288, float %289, float %284)
store float %290, float* %34
%291 = load float, float* %16
%292 = fadd float 0.000000e+00, %291
%293 = load float, float* %18
%294 = fadd float %292, %293
%295 = load float, float* %20
%296 = fadd float %294, %295
%297 = load float, float* %22
%298 = fadd float %296, %297
store float %298, float* %35
%299 = load float, float* %35
%300 = fcmp oeq float %299, 0.000000e+00
br i1 %300, label %301, label %302
301: ; preds = %89
br label %459
302: ; preds = %89
%303 = load float, float* %16
%304 = load float, float* %16
%305 = fmul float %303, %304
%306 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 1
%307 = load float, float* %306
%308 = fadd float 0.000000e+00, %307
%309 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%310 = load float, float* %309
%311 = fmul float 2.000000e+00, %310
%312 = load float, float* %23
%313 = call float @llvm.fmuladd.f32(float %311, float %312, float %308)
%314 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%315 = load float, float* %314
%316 = load float, float* %29
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %313)
%318 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%319 = load float, float* %318
%320 = load float, float* %31
%321 = call float @llvm.fmuladd.f32(float %319, float %320, float %317)
%322 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%323 = load float, float* %322
%324 = fmul float 3.000000e+00, %323
%325 = load float, float* %24
%326 = fmul float %324, %325
%327 = load float, float* %26
%328 = call float @llvm.fmuladd.f32(float %326, float %327, float %321)
%329 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%330 = load float, float* %329
%331 = load float, float* %28
%332 = call float @llvm.fmuladd.f32(float %330, float %331, float %328)
%333 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%334 = load float, float* %333
%335 = fmul float 3.000000e+00, %334
%336 = load float, float* %24
%337 = fmul float %335, %336
%338 = load float, float* %31
%339 = call float @llvm.fmuladd.f32(float %337, float %338, float %332)
%340 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%341 = load float, float* %340
%342 = load float, float* %26
%343 = call float @llvm.fmuladd.f32(float %341, float %342, float %339)
%344 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%345 = load float, float* %344
%346 = fmul float 2.000000e+00, %345
%347 = load float, float* %23
%348 = fmul float %346, %347
%349 = load float, float* %26
%350 = call float @llvm.fmuladd.f32(float %348, float %349, float %343)
%351 = call float @pow(float %350, i32 2)
%352 = load float, float* %18
%353 = load float, float* %18
%354 = fmul float %352, %353
%355 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 2
%356 = load float, float* %355
%357 = fadd float 0.000000e+00, %356
%358 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%359 = load float, float* %358
%360 = load float, float* %31
%361 = call float @llvm.fmuladd.f32(float %359, float %360, float %357)
%362 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%363 = load float, float* %362
%364 = load float, float* %25
%365 = call float @llvm.fmuladd.f32(float %363, float %364, float %361)
%366 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%367 = load float, float* %366
%368 = fmul float 3.000000e+00, %367
%369 = load float, float* %27
%370 = fmul float %368, %369
%371 = load float, float* %23
%372 = call float @llvm.fmuladd.f32(float %370, float %371, float %365)
%373 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%374 = load float, float* %373
%375 = load float, float* %23
%376 = call float @llvm.fmuladd.f32(float %374, float %375, float %372)
%377 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%378 = load float, float* %377
%379 = load float, float* %29
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %376)
%381 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%382 = load float, float* %381
%383 = load float, float* %24
%384 = call float @llvm.fmuladd.f32(float %382, float %383, float %380)
%385 = call float @pow(float %384, i32 2)
%386 = fmul float %354, %385
%387 = call float @llvm.fmuladd.f32(float %305, float %351, float %386)
%388 = load float, float* %20
%389 = load float, float* %20
%390 = fmul float %388, %389
%391 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%392 = load float, float* %391
%393 = fadd float 0.000000e+00, %392
%394 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%395 = load float, float* %394
%396 = load float, float* %23
%397 = call float @llvm.fmuladd.f32(float %395, float %396, float %393)
%398 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%399 = load float, float* %398
%400 = fmul float 2.000000e+00, %399
%401 = load float, float* %29
%402 = fmul float %400, %401
%403 = load float, float* %31
%404 = call float @llvm.fmuladd.f32(float %402, float %403, float %397)
%405 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%406 = load float, float* %405
%407 = load float, float* %26
%408 = call float @llvm.fmuladd.f32(float %406, float %407, float %404)
%409 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%410 = load float, float* %409
%411 = fmul float 2.000000e+00, %410
%412 = load float, float* %29
%413 = call float @llvm.fmuladd.f32(float %411, float %412, float %408)
%414 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%415 = load float, float* %414
%416 = load float, float* %31
%417 = call float @llvm.fmuladd.f32(float %415, float %416, float %413)
%418 = call float @pow(float %417, i32 2)
%419 = call float @llvm.fmuladd.f32(float %390, float %418, float %387)
%420 = load float, float* %22
%421 = load float, float* %22
%422 = fmul float %420, %421
%423 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%424 = load float, float* %423
%425 = fadd float 0.000000e+00, %424
%426 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%427 = load float, float* %426
%428 = load float, float* %23
%429 = call float @llvm.fmuladd.f32(float %427, float %428, float %425)
%430 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%431 = load float, float* %430
%432 = load float, float* %26
%433 = call float @llvm.fmuladd.f32(float %431, float %432, float %429)
%434 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%435 = load float, float* %434
%436 = fmul float 2.000000e+00, %435
%437 = load float, float* %31
%438 = call float @llvm.fmuladd.f32(float %436, float %437, float %433)
%439 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%440 = load float, float* %439
%441 = load float, float* %30
%442 = call float @llvm.fmuladd.f32(float %440, float %441, float %438)
%443 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%444 = load float, float* %443
%445 = fmul float 3.000000e+00, %444
%446 = load float, float* %32
%447 = call float @llvm.fmuladd.f32(float %445, float %446, float %442)
%448 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%449 = load float, float* %448
%450 = load float, float* %25
%451 = call float @llvm.fmuladd.f32(float %449, float %450, float %447)
%452 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%453 = load float, float* %452
%454 = load float, float* %29
%455 = call float @llvm.fmuladd.f32(float %453, float %454, float %451)
%456 = call float @pow(float %455, i32 2)
%457 = call float @llvm.fmuladd.f32(float %422, float %456, float %419)
%458 = call float @sqrt(float %457)
br label %459
459: ; preds = %302, %301
%460 = phi float [ 0.000000e+00, %301 ], [ %458, %302 ]
store float %460, float* %36
%461 = load float, float* %36
%462 = load float*, float** %5
%463 = getelementptr inbounds float, float* %462, i64 0
store float %461, float* %463
%464 = load float, float* %34
ret float %464
}

LLVM IR (-O2):
define float @target_phi(float* nocapture %0, float* nocapture %1, i32 %2) {
%4 = alloca [10 x float]
%5 = alloca [10 x float]
%6 = alloca [10 x float]
%7 = bitcast [10 x float]* %4 to i8*
%8 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 4
%9 = bitcast float* %8 to i8*
%10 = bitcast [10 x float]* %4 to <4 x float>*
store <4 x float> <float -1.500000e+01, float -1.500000e+01, float 0xC032010620000000, float 0xC032018940000000>, <4 x float>* %10
%11 = bitcast [10 x float]* %5 to i8*
%12 = getelementptr inbounds [10 x float], [10 x float]* %5, i64 0, i64 4
%13 = bitcast float* %12 to i8*
%14 = bitcast [10 x float]* %5 to <4 x float>*
store <4 x float> <float 1.500000e+01, float 1.500000e+01, float 0x403200C4A0000000, float 0x4032004180000000>, <4 x float>* %14
%15 = bitcast [10 x float]* %6 to i8*
%16 = icmp sgt i32 %2, 0
br i1 %16, label %17, label %42
17: ; preds = %3
%18 = zext i32 %2 to i64
br label %19
19: ; preds = %31, %17
%20 = phi float [ 1.500000e+01, %17 ], [ %35, %31 ]
%21 = phi float [ -1.500000e+01, %17 ], [ %33, %31 ]
%22 = phi i64 [ 0, %17 ], [ %29, %31 ]
%23 = fcmp oeq float %21, %20
br i1 %23, label %28, label %24
24: ; preds = %19
%25 = fsub float %20, %21
%26 = fdiv float 2.000000e+00, %25
%27 = getelementptr inbounds [10 x float], [10 x float]* %6, i64 0, i64 %22
store float %26, float* %27
br label %28
28: ; preds = %19, %24
%29 = add nuw nsw i64 %22, 1
%30 = icmp eq i64 %29, %18
br i1 %30, label %36, label %31
31: ; preds = %28
%32 = getelementptr inbounds [10 x float], [10 x float]* %4, i64 0, i64 %29
%33 = load float, float* %32
%34 = getelementptr inbounds [10 x float], [10 x float]* %5, i64 0, i64 %29
%35 = load float, float* %34
br label %19
36: ; preds = %28
%37 = bitcast [10 x float]* %6 to <2 x float>*
%38 = load <2 x float>, <2 x float>* %37
%39 = getelementptr inbounds [10 x float], [10 x float]* %6, i64 0, i64 2
%40 = bitcast float* %39 to <2 x float>*
%41 = load <2 x float>, <2 x float>* %40
br label %42
42: ; preds = %36, %3
%43 = phi <2 x float> [ %41, %36 ], [ zeroinitializer, %3 ]
%44 = phi <2 x float> [ %38, %36 ], [ zeroinitializer, %3 ]
%45 = load float, float* %0
%46 = fadd float %45, -1.500000e+01
%47 = extractelement <2 x float> %44, i64 0
%48 = fmul float %46, %47
%49 = fadd float %48, 1.000000e+00
%50 = getelementptr inbounds float, float* %0, i64 1
%51 = load float, float* %50
%52 = fadd float %51, -1.500000e+01
%53 = extractelement <2 x float> %44, i64 1
%54 = fmul float %52, %53
%55 = fadd float %54, 1.000000e+00
%56 = bitcast float* %1 to <2 x float>*
%57 = load <2 x float>, <2 x float>* %56
%58 = fmul <2 x float> %44, %57
%59 = getelementptr inbounds float, float* %0, i64 2
%60 = load float, float* %59
%61 = fadd float %60, 0xC03200C4A0000000
%62 = extractelement <2 x float> %43, i64 0
%63 = fmul float %61, %62
%64 = fadd float %63, 1.000000e+00
%65 = getelementptr inbounds float, float* %1, i64 2
%66 = getelementptr inbounds float, float* %0, i64 3
%67 = load float, float* %66
%68 = fadd float %67, 0xC032004180000000
%69 = extractelement <2 x float> %43, i64 1
%70 = fmul float %68, %69
%71 = fadd float %70, 1.000000e+00
%72 = bitcast float* %65 to <2 x float>*
%73 = load <2 x float>, <2 x float>* %72
%74 = fmul <2 x float> %43, %73
%75 = fmul float %49, %49
%76 = fmul float %49, %75
%77 = fmul float %55, %55
%78 = fmul float %55, %77
%79 = fmul float %64, %64
%80 = fmul float %71, %71
%81 = extractelement <2 x float> %58, i64 0
%82 = fadd float %81, 0.000000e+00
%83 = extractelement <2 x float> %58, i64 1
%84 = fadd float %82, %83
%85 = extractelement <2 x float> %74, i64 0
%86 = fadd float %84, %85
%87 = extractelement <2 x float> %74, i64 1
%88 = fadd float %86, %87
%89 = fcmp oeq float %88, 0.000000e+00
br i1 %89, label %137, label %90
90: ; preds = %42
%91 = fmul <2 x float> %58, %58
%92 = extractelement <2 x float> %91, i64 0
%93 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF0CEDDAE0000000, float 0xBFABFA7EC0000000)
%94 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F1A47BF00000000, float %93)
%95 = tail call float @llvm.fmuladd.f32(float %71, float 0x3F1EC94740000000, float %94)
%96 = fmul float %75, 0x3ECB4EB880000000
%97 = tail call float @llvm.fmuladd.f32(float %96, float %55, float %95)
%98 = tail call float @llvm.fmuladd.f32(float %78, float 0xBE9A3150C0000000, float %97)
%99 = fmul float %75, 0xBED760AE80000000
%100 = tail call float @llvm.fmuladd.f32(float %99, float %71, float %98)
%101 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF1C48A3A0000000, float %100)
%102 = fmul float %49, 0x3EF0907A60000000
%103 = tail call float @llvm.fmuladd.f32(float %102, float %55, float %101)
%104 = tail call float @pow(float %103, i32 2)
%105 = fmul float %83, %83
%106 = tail call float @llvm.fmuladd.f32(float %71, float 0x3EF5C261A0000000, float 0x3F91B7C620000000)
%107 = tail call float @llvm.fmuladd.f32(float %76, float 0x3EB2347B00000000, float %106)
%108 = fmul float %77, 0xBEB3A4FC80000000
%109 = tail call float @llvm.fmuladd.f32(float %108, float %49, float %107)
%110 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF1C48A3A0000000, float %109)
%111 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F28EA6600000000, float %110)
%112 = tail call float @llvm.fmuladd.f32(float %75, float 0x3EE0907A60000000, float %111)
%113 = tail call float @pow(float %112, i32 2)
%114 = fmul float %105, %113
%115 = tail call float @llvm.fmuladd.f32(float %92, float %104, float %114)
%116 = fmul <2 x float> %74, %74
%117 = extractelement <2 x float> %116, i64 0
%118 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F1A47BF00000000, float 0x3FB096FC80000000)
%119 = fmul float %64, 0xBF033A5EA0000000
%120 = tail call float @llvm.fmuladd.f32(float %119, float %71, float %118)
%121 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F28EA6600000000, float %120)
%122 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF27871580000000, float %121)
%123 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF2C274C20000000, float %122)
%124 = tail call float @pow(float %123, i32 2)
%125 = tail call float @llvm.fmuladd.f32(float %117, float %124, float %115)
%126 = fmul float %87, %87
%127 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F1EC94740000000, float 0xBF9B3DA7E0000000)
%128 = tail call float @llvm.fmuladd.f32(float %55, float 0x3EF5C261A0000000, float %127)
%129 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF0D46F940000000, float %128)
%130 = tail call float @llvm.fmuladd.f32(float %79, float 0xBEF33A5EA0000000, float %129)
%131 = tail call float @llvm.fmuladd.f32(float %80, float 0xBEF9B63D80000000, float %130)
%132 = tail call float @llvm.fmuladd.f32(float %76, float 0xBEBF2B9360000000, float %131)
%133 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF2C274C20000000, float %132)
%134 = tail call float @pow(float %133, i32 2)
%135 = tail call float @llvm.fmuladd.f32(float %126, float %134, float %125)
%136 = tail call float @sqrt(float %135)
br label %137
137: ; preds = %42, %90
%138 = phi float [ %136, %90 ], [ 0.000000e+00, %42 ]
%139 = fmul float %75, 0x3EE0907A60000000
%140 = fmul float %64, 0xBF2C274C20000000
%141 = fmul float %55, 0x3F28EA6600000000
%142 = fmul float %49, 0xBF1C48A3A0000000
%143 = fmul float %76, 0xBEBF2B9360000000
%144 = fmul float %49, 0xBE9A3150C0000000
%145 = fmul float %76, 0x3EB2347B00000000
%146 = fmul float %71, %80
%147 = fmul float %79, 0xBEF33A5EA0000000
%148 = fmul float %55, 0x3EF5C261A0000000
%149 = fmul float %49, 0x3F1EC94740000000
%150 = fmul float %49, 0x3F1A47BF00000000
%151 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFABFA7EC0000000, float 0xBF5B24C020000000)
%152 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F91B7C620000000, float %151)
%153 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FB096FC80000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF9B3DA7E0000000, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %75, float 0xBEFCEDDAE0000000, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %150, float %64, float %155)
%157 = tail call float @llvm.fmuladd.f32(float %149, float %71, float %156)
%158 = tail call float @llvm.fmuladd.f32(float %148, float %71, float %157)
%159 = tail call float @llvm.fmuladd.f32(float %80, float 0xBEFD46F940000000, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %147, float %71, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %146, float 0xBEE1242900000000, float %160)
%162 = tail call float @llvm.fmuladd.f32(float %145, float %55, float %161)
%163 = tail call float @llvm.fmuladd.f32(float %144, float %78, float %162)
%164 = tail call float @llvm.fmuladd.f32(float %143, float %71, float %163)
%165 = tail call float @llvm.fmuladd.f32(float %142, float %55, float %164)
%166 = tail call float @llvm.fmuladd.f32(float %141, float %64, float %165)
%167 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF17871580000000, float %166)
%168 = tail call float @llvm.fmuladd.f32(float %140, float %71, float %167)
%169 = tail call float @llvm.fmuladd.f32(float %139, float %55, float %168)
store float %138, float* %1
ret float %169
}