#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.9335596E-03;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18005E+02, -0.18008E+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.71016507E-05,  -0.53558350E-01, 0.22094907E-01,
                     0.63022785E-01,  -0.34167029E-01, 0.18387387E-03,
                     -0.15927899E-03, 0.15010464E-03,  0.21519936E-04,
                     -0.28960487E-04, -0.15163333E-04, -0.85638758E-05,
                     0.17771067E-05,  -0.64242579E-06, -0.30360932E-05,
                     -0.53047861E-04, -0.13856114E-03, 0.24500999E-03,
                     -0.27505876E-03, 0.74903905E-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] * x11 * x31 +
                       coeff[6] * x32 + coeff[7] * x11 * x41;
  v_target_phi = v_target_phi + coeff[8] * x21 * x41 + coeff[9] * x42 +
                 coeff[10] * x21 * x32 + coeff[11] * x43 +
                 coeff[12] * x13 * x21 + coeff[13] * x11 * x23 +
                 coeff[14] * x13 * x41 + coeff[15] * x12 +
                 coeff[16] * x11 * x21;
  v_target_phi = v_target_phi + coeff[17] * x21 * x31 + 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] + coeff[5] * x31 + coeff[7] * x41 +
                             3 * coeff[12] * x12 * x21 + coeff[13] * x23 +
                             3 * coeff[14] * x12 * x41 + 2 * coeff[15] * x11 +
                             coeff[16] * x21 + 2 * coeff[19] * x11 * x21,
                         2) +
                 dx2 * dx2 *
                     pow(0 + coeff[2] + coeff[8] * x41 + coeff[10] * x32 +
                             coeff[12] * x13 + 3 * coeff[13] * x22 * x11 +
                             coeff[16] * x11 + coeff[17] * x31 +
                             coeff[19] * x12,
                         2) +
                 dx3 * dx3 *
                     pow(0 + coeff[3] + coeff[5] * x11 + 2 * coeff[6] * x31 +
                             2 * coeff[10] * x31 * x21 + coeff[17] * x21 +
                             coeff[18] * x41,
                         2) +
                 dx4 * dx4 *
                     pow(0 + coeff[4] + coeff[7] * x11 + coeff[8] * x21 +
                             2 * coeff[9] * x41 + 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
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf8(%rbp),%xmm1
ff
movss  -0x158(%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  -0x148(%rbp),%xmm0
ff
movss  -0x158(%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
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x154(%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  -0xfc(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf4(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x82d(%rip),%xmm1
mulss  -0xe0(%rbp),%xmm1
ff
mulss  -0x140(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x7ed(%rip),%xmm1
mulss  -0xd8(%rbp),%xmm1
ff
mulss  -0x140(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x7c9(%rip),%xmm0
mulss  -0xd4(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd0(%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  %xmm1,%xmm1
addss  -0x108(%rbp),%xmm1
ff
movss  -0xf0(%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  -0xe0(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x6e8(%rip),%xmm1
mulss  -0xdc(%rbp),%xmm1
ff
mulss  -0x14c(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xcc(%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  -0xfc(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x608(%rip),%xmm1
mulss  -0xf8(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x5e8(%rip),%xmm0
mulss  -0xe8(%rbp),%xmm0
ff
mulss  -0x154(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xcc(%rbp),%xmm1
ff
movss  -0x148(%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  %xmm0,%xmm0
addss  -0x100(%rbp),%xmm0
ff
movss  -0xf4(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf0(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x510(%rip),%xmm1
mulss  -0xec(%rbp),%xmm1
ff
movss  -0x15c(%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,%xmm7
shufps $0x55,%xmm1,%xmm7
mulss  %xmm2,%xmm7
addss  %xmm3,%xmm7
movsd  (%rbx),%xmm5
movsd  0x8(%rbx),%xmm15
mulps  %xmm1,%xmm5
movaps %xmm5,%xmm9
shufps $0x55,%xmm5,%xmm9
movss  0x8(%rdi),%xmm8
movss  0xc(%rdi),%xmm1
addss  0xdc8(%rip),%xmm8
mulss  %xmm0,%xmm8
addss  %xmm3,%xmm8
addss  0xdba(%rip),%xmm1
movaps %xmm0,%xmm2
shufps $0x55,%xmm0,%xmm2
mulss  %xmm1,%xmm2
addss  %xmm3,%xmm2
mulps  %xmm0,%xmm15
movaps %xmm15,%xmm3
shufps $0x55,%xmm15,%xmm3
movaps %xmm6,%xmm10
mulss  %xmm6,%xmm10
movaps %xmm6,%xmm11
mulss  %xmm10,%xmm11
movaps %xmm7,%xmm4
mulss  %xmm7,%xmm4
movaps %xmm7,%xmm12
mulss  %xmm4,%xmm12
movaps %xmm8,%xmm14
mulss  %xmm8,%xmm14
movaps %xmm2,%xmm13
mulss  %xmm2,%xmm13
xorps  %xmm0,%xmm0
movaps %xmm5,%xmm1
addss  %xmm0,%xmm1
addss  %xmm9,%xmm1
addss  %xmm15,%xmm1
addss  %xmm3,%xmm1
ucomiss %xmm0,%xmm1
jne    12ed <target_phi+0x1cd>
jnp    162b <target_phi+0x50b>
mulss  %xmm5,%xmm5
movaps %xmm5,0xd0(%rsp)
movaps %xmm8,%xmm0
mulss  0xd33(%rip),%xmm0
addss  0xd2f(%rip),%xmm0
movaps %xmm2,%xmm1
mulss  0xd28(%rip),%xmm1
addss  %xmm0,%xmm1
movss  0xd20(%rip),%xmm0
mulss  %xmm10,%xmm0
mulss  %xmm7,%xmm0
addss  %xmm1,%xmm0
movss  0xd0f(%rip),%xmm1
movaps %xmm12,0x80(%rsp)
mulss  %xmm12,%xmm1
addss  %xmm0,%xmm1
movss  0xcf9(%rip),%xmm0
mulss  %xmm10,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xce8(%rip),%xmm1
mulss  %xmm6,%xmm1
addss  %xmm0,%xmm1
movaps %xmm3,0x70(%rsp)
movaps %xmm7,%xmm3
mulss  0xcd4(%rip),%xmm3
addss  %xmm1,%xmm3
movss  0xccc(%rip),%xmm0
mulss  %xmm6,%xmm0
mulss  %xmm7,%xmm0
addss  %xmm3,%xmm0
mov    $0x2,%edi
movaps %xmm7,0x40(%rsp)
movss  %xmm8,0xc(%rsp)
movaps %xmm2,0x30(%rsp)
movss  %xmm10,0x18(%rsp)
movss  %xmm11,0x10(%rsp)
movss  %xmm6,0x8(%rsp)
movaps %xmm13,0x50(%rsp)
movss  %xmm14,0x14(%rsp)
movaps %xmm15,0x20(%rsp)
movaps %xmm9,0x60(%rsp)
movaps %xmm4,0xc0(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x1c(%rsp)
movaps 0x60(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0x30(%rsp),%xmm0
mulss  0xc53(%rip),%xmm0
addss  0xc4f(%rip),%xmm0
movss  0xc4b(%rip),%xmm1
mulss  0x14(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc3d(%rip),%xmm0
mulss  0x10(%rsp),%xmm0
addss  %xmm1,%xmm0
movaps 0xc0(%rsp),%xmm2
mulss  0xc27(%rip),%xmm2
movss  0x8(%rsp),%xmm1
mulss  %xmm1,%xmm2
addss  %xmm0,%xmm2
movss  0xbf9(%rip),%xmm0
mulss  %xmm1,%xmm0
addss  %xmm2,%xmm0
movss  0xc(%rsp),%xmm1
mulss  0xbff(%rip),%xmm1
addss  %xmm0,%xmm1
movss  0xbf7(%rip),%xmm0
mulss  0x18(%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  0xb72(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xba4(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xb9d(%rip),%xmm0
movss  0xc(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb8b(%rip),%xmm1
mulss  %xmm2,%xmm1
movaps 0x40(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0xb62(%rip),%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movaps %xmm0,%xmm1
movaps 0x30(%rsp),%xmm0
mulss  0xb5e(%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  0xae4(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xb1e(%rip),%xmm0
movss  0xaea(%rip),%xmm1
mulss  0x40(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb08(%rip),%xmm0
mulss  0x30(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xafa(%rip),%xmm1
mulss  0x50(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xaec(%rip),%xmm0
mulss  0x10(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xaca(%rip),%xmm1
mulss  0xc(%rsp),%xmm1
addss  %xmm0,%xmm1
movaps %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x70(%rsp),%xmm0
addss  0x20(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     15eb <target_phi+0x4cb>
sqrtss %xmm0,%xmm0
jmp    15f0 <target_phi+0x4d0>
call   1040 <sqrt@plt>
movaps 0x40(%rsp),%xmm7
movss  0xc(%rsp),%xmm8
movaps 0x30(%rsp),%xmm2
movss  0x18(%rsp),%xmm10
movss  0x10(%rsp),%xmm11
movss  0x8(%rsp),%xmm6
movaps 0x80(%rsp),%xmm12
movaps 0x50(%rsp),%xmm13
movss  0x14(%rsp),%xmm14
movss  0xa20(%rip),%xmm9
mulss  %xmm6,%xmm9
movss  0xa07(%rip),%xmm1
mulss  %xmm6,%xmm1
movss  0x9f3(%rip),%xmm3
mulss  %xmm6,%xmm3
movss  0x9df(%rip),%xmm4
mulss  %xmm6,%xmm4
mulss  0x9d7(%rip),%xmm6
addss  0xa2b(%rip),%xmm6
movss  0x9eb(%rip),%xmm5
mulss  %xmm7,%xmm5
addss  %xmm6,%xmm5
movss  0x9f3(%rip),%xmm6
mulss  %xmm8,%xmm6
addss  %xmm5,%xmm6
movss  0x9f2(%rip),%xmm5
mulss  %xmm2,%xmm5
addss  %xmm6,%xmm5
movss  0x9be(%rip),%xmm6
mulss  %xmm7,%xmm6
mulss  %xmm8,%xmm4
mulss  %xmm14,%xmm6
mulss  0x9df(%rip),%xmm14
addss  %xmm5,%xmm4
addss  %xmm4,%xmm14
mulss  %xmm2,%xmm3
addss  %xmm14,%xmm3
movss  0x985(%rip),%xmm4
mulss  %xmm7,%xmm4
mulss  %xmm2,%xmm4
addss  %xmm3,%xmm4
movaps %xmm2,%xmm3
mulss  %xmm13,%xmm3
mulss  0x9ac(%rip),%xmm13
addss  %xmm4,%xmm13
addss  %xmm6,%xmm13
mulss  0x99e(%rip),%xmm3
addss  %xmm13,%xmm3
movss  0x981(%rip),%xmm4
mulss  %xmm11,%xmm4
mulss  0x947(%rip),%xmm11
mulss  %xmm7,%xmm11
addss  %xmm3,%xmm11
mulss  %xmm12,%xmm1
addss  %xmm11,%xmm1
mulss  %xmm2,%xmm4
addss  %xmm1,%xmm4
movss  0x92f(%rip),%xmm1
mulss  %xmm10,%xmm1
mulss  0x955(%rip),%xmm10
addss  %xmm4,%xmm10
movss  0x924(%rip),%xmm3
mulss  %xmm8,%xmm3
mulss  %xmm7,%xmm9
addss  %xmm10,%xmm9
movss  0x8f9(%rip),%xmm4
mulss  %xmm7,%xmm4
mulss  %xmm8,%xmm4
addss  %xmm9,%xmm4
mulss  %xmm2,%xmm3
addss  %xmm4,%xmm3
mulss  %xmm7,%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 0x3EDDC956E0000000, float 0xBFAB6C0000000000, float 0x3F96A00C20000000, float 0x3FB02242E0000000, float 0xBFA17E5740000000, float 0x3F2819C880000000, float 0xBF24E08420000000, float 0x3F23ACAD00000000, float 0x3EF690B6C0000000, float 0xBEFE5E0580000000, float 0xBEEFCCC0A0000000, float 0xBEE1F5B220000000, float 0x3EBDD09D80000000, float 0xBEA58E6540000000, float 0xBEC977F5E0000000, float 0xBF0BCFF6A0000000, float 0xBF22295720000000, float 0x3F300E95E0000000, float 0xBF3206B860000000, float 0x3EDF6ABEE0000000, 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 0xBF4E974400000000, 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 0xC0320147A0000000, float* %41
%42 = getelementptr inbounds [10 x float], [10 x float]* %38, i32 0, i32 3
store float 0xC032020C40000000, 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* %23
%210 = fmul float %208, %209
%211 = load float, float* %29
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %206)
%213 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%214 = load float, float* %213
%215 = load float, float* %30
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %212)
%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* %26
%237 = fmul float %235, %236
%238 = load float, float* %30
%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* %24
%265 = call float @llvm.fmuladd.f32(float %263, float %264, float %261)
%266 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%267 = load float, float* %266
%268 = load float, float* %23
%269 = fmul float %267, %268
%270 = load float, float* %26
%271 = call float @llvm.fmuladd.f32(float %269, float %270, float %265)
store float %271, float* %34
%272 = load float, float* %34
%273 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%274 = load float, float* %273
%275 = load float, float* %26
%276 = fmul float %274, %275
%277 = load float, float* %29
%278 = call float @llvm.fmuladd.f32(float %276, float %277, float %272)
%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 = load float, float* %29
%312 = call float @llvm.fmuladd.f32(float %310, float %311, float %308)
%313 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%314 = load float, float* %313
%315 = load float, float* %31
%316 = call float @llvm.fmuladd.f32(float %314, float %315, float %312)
%317 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%318 = load float, float* %317
%319 = fmul float 3.000000e+00, %318
%320 = load float, float* %24
%321 = fmul float %319, %320
%322 = load float, float* %26
%323 = call float @llvm.fmuladd.f32(float %321, float %322, float %316)
%324 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%325 = load float, float* %324
%326 = load float, float* %28
%327 = call float @llvm.fmuladd.f32(float %325, float %326, float %323)
%328 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%329 = load float, float* %328
%330 = fmul float 3.000000e+00, %329
%331 = load float, float* %24
%332 = fmul float %330, %331
%333 = load float, float* %31
%334 = call float @llvm.fmuladd.f32(float %332, float %333, float %327)
%335 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%336 = load float, float* %335
%337 = fmul float 2.000000e+00, %336
%338 = load float, float* %23
%339 = call float @llvm.fmuladd.f32(float %337, float %338, float %334)
%340 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%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 10
%363 = load float, float* %362
%364 = load float, float* %30
%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 12
%367 = load float, float* %366
%368 = load float, float* %25
%369 = call float @llvm.fmuladd.f32(float %367, float %368, float %365)
%370 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%371 = load float, float* %370
%372 = fmul float 3.000000e+00, %371
%373 = load float, float* %27
%374 = fmul float %372, %373
%375 = load float, float* %23
%376 = call float @llvm.fmuladd.f32(float %374, float %375, float %369)
%377 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%378 = load float, float* %377
%379 = load float, float* %23
%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 17
%382 = load float, float* %381
%383 = load float, float* %29
%384 = call float @llvm.fmuladd.f32(float %382, float %383, float %380)
%385 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%386 = load float, float* %385
%387 = load float, float* %24
%388 = call float @llvm.fmuladd.f32(float %386, float %387, float %384)
%389 = call float @pow(float %388, i32 2)
%390 = fmul float %354, %389
%391 = call float @llvm.fmuladd.f32(float %305, float %351, float %390)
%392 = load float, float* %20
%393 = load float, float* %20
%394 = fmul float %392, %393
%395 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%396 = load float, float* %395
%397 = fadd float 0.000000e+00, %396
%398 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%399 = load float, float* %398
%400 = load float, float* %23
%401 = call float @llvm.fmuladd.f32(float %399, float %400, float %397)
%402 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%403 = load float, float* %402
%404 = fmul float 2.000000e+00, %403
%405 = load float, float* %29
%406 = call float @llvm.fmuladd.f32(float %404, float %405, float %401)
%407 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%408 = load float, float* %407
%409 = fmul float 2.000000e+00, %408
%410 = load float, float* %29
%411 = fmul float %409, %410
%412 = load float, float* %26
%413 = call float @llvm.fmuladd.f32(float %411, float %412, float %406)
%414 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%415 = load float, float* %414
%416 = load float, float* %26
%417 = call float @llvm.fmuladd.f32(float %415, float %416, float %413)
%418 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%419 = load float, float* %418
%420 = load float, float* %31
%421 = call float @llvm.fmuladd.f32(float %419, float %420, float %417)
%422 = call float @pow(float %421, i32 2)
%423 = call float @llvm.fmuladd.f32(float %394, float %422, float %391)
%424 = load float, float* %22
%425 = load float, float* %22
%426 = fmul float %424, %425
%427 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%428 = load float, float* %427
%429 = fadd float 0.000000e+00, %428
%430 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%431 = load float, float* %430
%432 = load float, float* %23
%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 8
%435 = load float, float* %434
%436 = load float, float* %26
%437 = call float @llvm.fmuladd.f32(float %435, float %436, float %433)
%438 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%439 = load float, float* %438
%440 = fmul float 2.000000e+00, %439
%441 = load float, float* %31
%442 = call float @llvm.fmuladd.f32(float %440, float %441, float %437)
%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 %426, float %456, float %423)
%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 0xC0320147A0000000, float 0xC032020C40000000>, <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 %64, float 0x3F2819C880000000, float 0xBFAB6C0000000000)
%94 = tail call float @llvm.fmuladd.f32(float %71, float 0x3F23ACAD00000000, float %93)
%95 = fmul float %75, 0x3ED65C7620000000
%96 = tail call float @llvm.fmuladd.f32(float %95, float %55, float %94)
%97 = tail call float @llvm.fmuladd.f32(float %78, float 0xBEA58E6540000000, float %96)
%98 = fmul float %75, 0xBEE319F860000000
%99 = tail call float @llvm.fmuladd.f32(float %98, float %71, float %97)
%100 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF1BCFF6A0000000, float %99)
%101 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF22295720000000, float %100)
%102 = fmul float %49, 0x3EEF6ABEE0000000
%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 0x3EF690B6C0000000, float 0x3F96A00C20000000)
%107 = tail call float @llvm.fmuladd.f32(float %79, float 0xBEEFCCC0A0000000, float %106)
%108 = tail call float @llvm.fmuladd.f32(float %76, float 0x3EBDD09D80000000, float %107)
%109 = fmul float %77, 0xBEC02ACC00000000
%110 = tail call float @llvm.fmuladd.f32(float %109, float %49, float %108)
%111 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF22295720000000, float %110)
%112 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F300E95E0000000, float %111)
%113 = tail call float @llvm.fmuladd.f32(float %75, float 0x3EDF6ABEE0000000, float %112)
%114 = tail call float @pow(float %113, i32 2)
%115 = fmul float %105, %114
%116 = tail call float @llvm.fmuladd.f32(float %92, float %104, float %115)
%117 = fmul <2 x float> %74, %74
%118 = extractelement <2 x float> %117, i64 0
%119 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F2819C880000000, float 0x3FB02242E0000000)
%120 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF34E08420000000, float %119)
%121 = fmul float %64, 0xBEFFCCC0A0000000
%122 = tail call float @llvm.fmuladd.f32(float %121, float %55, float %120)
%123 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F300E95E0000000, float %122)
%124 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF3206B860000000, float %123)
%125 = tail call float @pow(float %124, i32 2)
%126 = tail call float @llvm.fmuladd.f32(float %118, float %125, float %116)
%127 = fmul float %87, %87
%128 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F23ACAD00000000, float 0xBFA17E5740000000)
%129 = tail call float @llvm.fmuladd.f32(float %55, float 0x3EF690B6C0000000, float %128)
%130 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF0E5E0580000000, float %129)
%131 = tail call float @llvm.fmuladd.f32(float %80, float 0xBEFAF08B40000000, float %130)
%132 = tail call float @llvm.fmuladd.f32(float %76, float 0xBEC977F5E0000000, float %131)
%133 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF3206B860000000, float %132)
%134 = tail call float @pow(float %133, i32 2)
%135 = tail call float @llvm.fmuladd.f32(float %127, float %134, float %126)
%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, 0x3EDF6ABEE0000000
%140 = fmul float %64, 0xBF3206B860000000
%141 = fmul float %55, 0x3F300E95E0000000
%142 = fmul float %49, 0xBF22295720000000
%143 = fmul float %76, 0xBEC977F5E0000000
%144 = fmul float %49, 0xBEA58E6540000000
%145 = fmul float %76, 0x3EBDD09D80000000
%146 = fmul float %71, %80
%147 = fmul float %55, 0xBEEFCCC0A0000000
%148 = fmul float %55, 0x3EF690B6C0000000
%149 = fmul float %49, 0x3F23ACAD00000000
%150 = fmul float %49, 0x3F2819C880000000
%151 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFAB6C0000000000, float 0xBF4E5BB160000000)
%152 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F96A00C20000000, float %151)
%153 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FB02242E0000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %71, float 0xBFA17E5740000000, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %150, float %64, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF24E08420000000, 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 0xBEFE5E0580000000, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %147, float %79, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %146, float 0xBEE1F5B220000000, 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 %75, float 0xBF0BCFF6A0000000, float %164)
%166 = tail call float @llvm.fmuladd.f32(float %142, float %55, float %165)
%167 = tail call float @llvm.fmuladd.f32(float %141, float %64, 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
}