#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.2533993E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18003E+02, -0.18010E+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.18010E+02, 0.18002E+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.54472788E-04,  -0.48984755E-01, 0.34211226E-01,
                     0.55629451E-01,  -0.52157454E-01, 0.12500786E-02,
                     -0.98803639E-03, -0.19616443E-03, 0.66991278E-03,
                     -0.40076350E-03, -0.57313283E-03, -0.16901022E-03,
                     -0.12833595E-03, 0.67123526E-03,  -0.63895324E-03,
                     0.15008760E-03,  0.25113031E-05,  -0.11358857E-03,
                     -0.28569078E-04, 0.70400987E-04,  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 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] * x21 * x41 +
                       coeff[6] * x42 + coeff[7] * x12;
  v_target_phi =
      v_target_phi + coeff[8] * x11 * x31 + coeff[9] * x22 + coeff[10] * x32 +
      coeff[11] * x11 * x41 + coeff[12] * x32 * x41 + coeff[13] * x21 * x42 +
      coeff[14] * x43 + coeff[15] * x11 * x21 + coeff[16] * x12 * x21;
  v_target_phi = v_target_phi + coeff[17] * x23 + coeff[18] * x31 * x41 +
                 coeff[19] * x11 * x21 * x31;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi =
      dxall == 0
          ? 0
          : sqrt(+dx1 * dx1 *
                     pow(0 + coeff[1] + 2 * coeff[7] * x11 + coeff[8] * x31 +
                             coeff[11] * x41 + coeff[15] * x21 +
                             2 * coeff[16] * x11 * x21 + coeff[19] * x21 * x31,
                         2) +
                 dx2 * dx2 *
                     pow(0 + coeff[2] + coeff[5] * x41 + 2 * coeff[9] * x21 +
                             coeff[13] * x42 + coeff[15] * x11 +
                             coeff[16] * x12 + 3 * coeff[17] * x22 +
                             coeff[19] * x11 * x31,
                         2) +
                 dx3 * dx3 *
                     pow(0 + coeff[3] + coeff[8] * x11 + 2 * coeff[10] * x31 +
                             2 * coeff[12] * x31 * x41 + coeff[18] * x41 +
                             coeff[19] * x11 * x21,
                         2) +
                 dx4 * dx4 *
                     pow(0 + coeff[4] + coeff[5] * x21 + 2 * coeff[6] * x41 +
                             coeff[11] * x11 + coeff[12] * x32 +
                             2 * coeff[13] * x41 * x21 + 3 * coeff[14] * x42 +
                             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  -0x124(%rbp),%xmm0
ff
movss  %xmm0,-0x144(%rbp)
ff
movss  -0x144(%rbp),%xmm0
ff
mulss  -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  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x150(%rbp)
ff
movss  -0x150(%rbp),%xmm0
ff
mulss  -0x12c(%rbp),%xmm0
ff
movss  %xmm0,-0x154(%rbp)
ff
movss  -0x134(%rbp),%xmm0
ff
movss  %xmm0,-0x158(%rbp)
ff
movss  -0x158(%rbp),%xmm0
ff
mulss  -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  -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  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x104(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x100(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xfc(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xf8(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf4(%rbp),%xmm0
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x164(%rbp),%xmm1
ff
movss  -0xf0(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xec(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe8(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
mulss  -0x154(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
mulss  -0x144(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd8(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x164(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
mulss  -0x150(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x164(%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,-0x168(%rbp)
ff
movss  -0x168(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1774 <target_phi+0x634>
jp     1774 <target_phi+0x634>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x170(%rbp)
ff
jmp    1b7a <target_phi+0xa3a>
movss  -0x120(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x184(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x10c(%rbp),%xmm0
ff
movss  0x881(%rip),%xmm1
mulss  -0xf4(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xf0(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd4(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x819(%rip),%xmm1
mulss  -0xd0(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x144(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  %xmm0,-0x188(%rbp)
ff
movss  -0x128(%rbp),%xmm0
ff
mulss  -0x128(%rbp),%xmm0
ff
movss  %xmm0,-0x18c(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x108(%rbp),%xmm1
ff
movss  -0xfc(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x784(%rip),%xmm1
mulss  -0xec(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xdc(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd4(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x718(%rip),%xmm1
mulss  -0xcc(%rbp),%xmm1
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x18c(%rbp),%xmm1
ff
movss  -0x188(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movss  -0x184(%rbp),%xmm0
ff
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x180(%rbp)
ff
movss  -0x130(%rbp),%xmm0
ff
mulss  -0x130(%rbp),%xmm0
ff
movss  %xmm0,-0x17c(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x104(%rbp),%xmm1
ff
movss  -0xf0(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x668(%rip),%xmm1
mulss  -0xe8(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x648(%rip),%xmm0
mulss  -0xe0(%rbp),%xmm0
ff
mulss  -0x150(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x180(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x17c(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x178(%rbp)
ff
movss  -0x138(%rbp),%xmm0
ff
mulss  -0x138(%rbp),%xmm0
ff
movss  %xmm0,-0x174(%rbp)
ff
xorps  %xmm1,%xmm1
addss  -0x100(%rbp),%xmm1
ff
movss  -0xfc(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x580(%rip),%xmm1
mulss  -0xf8(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe4(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe0(%rbp),%xmm1
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x530(%rip),%xmm0
mulss  -0xdc(%rbp),%xmm0
ff
mulss  -0x158(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x504(%rip),%xmm1
mulss  -0xd8(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc8(%rbp),%xmm0
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movss  -0x178(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x174(%rbp),%xmm0
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1060 <sqrt@plt>
movss  %xmm0,-0x170(%rbp)
ff
movss  -0x170(%rbp),%xmm0
ff
movss  %xmm0,-0x16c(%rbp)
ff
movss  -0x16c(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x164(%rbp),%xmm0
ff
add    $0x190,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<target_phi>:
push   %rbx
sub    $0x130,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x110(%rsp)
movq   $0x0,0x120(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0x100(%rsp)
movaps %xmm0,0xe0(%rsp)
movq   $0x0,0xf0(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xd0(%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  0x104(%rsp,%rcx,4),%xmm2
movss  0xd4(%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),%xmm4
mulps  %xmm1,%xmm5
movaps %xmm5,%xmm15
shufps $0x55,%xmm5,%xmm15
movss  0x8(%rdi),%xmm8
movss  0xc(%rdi),%xmm1
addss  0xdc9(%rip),%xmm8
mulss  %xmm0,%xmm8
addss  %xmm3,%xmm8
addss  0xdbb(%rip),%xmm1
movaps %xmm0,%xmm9
shufps $0x55,%xmm0,%xmm9
mulss  %xmm1,%xmm9
addss  %xmm3,%xmm9
mulps  %xmm0,%xmm4
movaps %xmm4,%xmm2
shufps $0x55,%xmm4,%xmm2
movaps %xmm6,%xmm14
mulss  %xmm6,%xmm14
movaps %xmm7,%xmm13
mulss  %xmm7,%xmm13
movaps %xmm8,%xmm12
mulss  %xmm8,%xmm12
movaps %xmm9,%xmm11
mulss  %xmm9,%xmm11
movss  0xd75(%rip),%xmm10
mulss  %xmm6,%xmm10
xorps  %xmm0,%xmm0
movaps %xmm5,%xmm1
addss  %xmm0,%xmm1
addss  %xmm15,%xmm1
addss  %xmm4,%xmm1
addss  %xmm2,%xmm1
ucomiss %xmm0,%xmm1
jne    12ea <target_phi+0x1ca>
jnp    160b <target_phi+0x4eb>
mulss  %xmm5,%xmm5
movaps %xmm5,0xc0(%rsp)
movss  0xd3e(%rip),%xmm0
mulss  %xmm6,%xmm0
addss  0xd36(%rip),%xmm0
movaps %xmm8,%xmm1
mulss  0xd2e(%rip),%xmm1
addss  %xmm0,%xmm1
movaps %xmm9,%xmm0
mulss  0xd22(%rip),%xmm0
addss  %xmm1,%xmm0
movaps %xmm7,%xmm1
mulss  0xd17(%rip),%xmm1
addss  %xmm0,%xmm1
movaps %xmm2,0x80(%rsp)
movss  0xd07(%rip),%xmm2
mulss  %xmm6,%xmm2
mulss  %xmm7,%xmm2
addss  %xmm1,%xmm2
movss  0xcdb(%rip),%xmm0
mulss  %xmm7,%xmm0
mulss  %xmm8,%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
movaps %xmm7,0x40(%rsp)
movss  %xmm8,0xc(%rsp)
movaps %xmm9,0x30(%rsp)
movss  %xmm10,0x10(%rsp)
movss  %xmm6,0x8(%rsp)
movaps %xmm11,0x50(%rsp)
movss  %xmm12,0x18(%rsp)
movaps %xmm13,0x60(%rsp)
movss  %xmm14,0x14(%rsp)
movaps %xmm4,0x20(%rsp)
movaps %xmm15,0x70(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x1c(%rsp)
movaps 0x70(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0x30(%rsp),%xmm0
mulss  0xc7b(%rip),%xmm0
addss  0xc77(%rip),%xmm0
movss  0xc73(%rip),%xmm1
mulss  0x40(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc65(%rip),%xmm0
mulss  0x50(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xc3f(%rip),%xmm1
mulss  0x8(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc45(%rip),%xmm0
mulss  0x14(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xc37(%rip),%xmm1
mulss  0x60(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0x10(%rsp),%xmm0
mulss  0xc(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x70(%rsp),%xmm0
movss  0x1c(%rsp),%xmm1
mulss  0xc0(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x1c(%rsp)
movaps 0x20(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movss  0xbba(%rip),%xmm0
mulss  0x8(%rsp),%xmm0
addss  0xbd4(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xbcd(%rip),%xmm0
movss  0xc(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xbbb(%rip),%xmm1
mulss  %xmm2,%xmm1
movaps 0x30(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mulss  0xba6(%rip),%xmm2
addss  %xmm1,%xmm2
movss  0x10(%rsp),%xmm0
mulss  0x40(%rsp),%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x20(%rsp),%xmm0
addss  0x1c(%rsp),%xmm0
movss  %xmm0,0x20(%rsp)
movaps 0x80(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0x40(%rsp),%xmm2
movss  0xb31(%rip),%xmm0
mulss  %xmm2,%xmm0
addss  0xb4d(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xb46(%rip),%xmm0
movaps 0x30(%rsp),%xmm3
mulss  %xmm3,%xmm0
addss  %xmm1,%xmm0
movss  0xaf9(%rip),%xmm1
mulss  0x8(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb23(%rip),%xmm0
mulss  0x18(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xb15(%rip),%xmm1
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0xb05(%rip),%xmm0
mulss  0x50(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xadf(%rip),%xmm1
mulss  0xc(%rsp),%xmm1
addss  %xmm0,%xmm1
movaps %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x80(%rsp),%xmm0
addss  0x20(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     15cd <target_phi+0x4ad>
sqrtss %xmm0,%xmm0
jmp    15d2 <target_phi+0x4b2>
call   1040 <sqrt@plt>
movaps 0x40(%rsp),%xmm7
movss  0xc(%rsp),%xmm8
movaps 0x30(%rsp),%xmm9
movss  0x10(%rsp),%xmm10
movss  0x8(%rsp),%xmm6
movaps 0x50(%rsp),%xmm11
movss  0x18(%rsp),%xmm12
movaps 0x60(%rsp),%xmm13
movss  0x14(%rsp),%xmm14
movss  0xa51(%rip),%xmm1
movss  0xa31(%rip),%xmm2
mulss  %xmm6,%xmm2
movss  0xa21(%rip),%xmm3
mulss  %xmm6,%xmm3
movss  0xa11(%rip),%xmm4
mulss  %xmm6,%xmm4
mulss  0xa01(%rip),%xmm6
mulss  %xmm14,%xmm1
addss  0xa44(%rip),%xmm6
movss  0xa04(%rip),%xmm5
mulss  %xmm7,%xmm5
addss  %xmm6,%xmm5
movss  0xa08(%rip),%xmm6
mulss  %xmm8,%xmm6
addss  %xmm5,%xmm6
movss  0xa07(%rip),%xmm5
mulss  %xmm9,%xmm5
addss  %xmm6,%xmm5
movss  0x9ce(%rip),%xmm6
mulss  %xmm7,%xmm6
mulss  %xmm9,%xmm6
addss  %xmm5,%xmm6
movss  0x9f9(%rip),%xmm5
mulss  %xmm11,%xmm5
mulss  0x9ef(%rip),%xmm14
addss  %xmm6,%xmm5
addss  %xmm5,%xmm14
mulss  %xmm8,%xmm4
addss  %xmm14,%xmm4
movaps %xmm7,%xmm5
mulss  %xmm13,%xmm5
mulss  0x9cf(%rip),%xmm13
addss  %xmm4,%xmm13
movss  0x9aa(%rip),%xmm4
mulss  %xmm12,%xmm4
mulss  0x9b8(%rip),%xmm12
addss  %xmm13,%xmm12
mulss  %xmm9,%xmm3
addss  %xmm12,%xmm3
movaps %xmm9,%xmm6
mulss  %xmm11,%xmm6
mulss  %xmm9,%xmm4
addss  %xmm3,%xmm4
movss  0x94f(%rip),%xmm3
mulss  %xmm7,%xmm3
mulss  %xmm11,%xmm3
addss  %xmm4,%xmm3
mulss  0x97e(%rip),%xmm6
addss  %xmm3,%xmm6
mulss  %xmm7,%xmm2
addss  %xmm6,%xmm2
mulss  %xmm7,%xmm10
mulss  %xmm7,%xmm1
addss  %xmm2,%xmm1
mulss  0x961(%rip),%xmm5
addss  %xmm1,%xmm5
movss  0x925(%rip),%xmm1
mulss  %xmm8,%xmm1
mulss  %xmm9,%xmm1
addss  %xmm5,%xmm1
mulss  %xmm8,%xmm10
addss  %xmm1,%xmm10
movss  %xmm0,(%rbx)
movaps %xmm10,%xmm0
add    $0x130,%rsp
pop    %rbx
ret

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

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 0xC03200C4A0000000, float 0xC032028F60000000>, <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 0x4032028F60000000, float 0x4032008320000000>, <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, 0xC032028F60000000
%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, 0xC032008320000000
%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 %55, %55
%77 = fmul float %64, %64
%78 = fmul float %71, %71
%79 = fmul float %49, 0x3F127487C0000000
%80 = extractelement <2 x float> %58, i64 0
%81 = fadd float %80, 0.000000e+00
%82 = extractelement <2 x float> %58, i64 1
%83 = fadd float %81, %82
%84 = extractelement <2 x float> %74, i64 0
%85 = fadd float %83, %84
%86 = extractelement <2 x float> %74, i64 1
%87 = fadd float %85, %86
%88 = fcmp oeq float %87, 0.000000e+00
br i1 %88, label %134, label %89
89: ; preds = %42
%90 = fmul <2 x float> %58, %58
%91 = extractelement <2 x float> %90, i64 0
%92 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF39B62FA0000000, float 0xBFA91487A0000000)
%93 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F45F3A2C0000000, float %92)
%94 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF26270AC0000000, float %93)
%95 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F23AC1AA0000000, float %94)
%96 = fmul float %49, 0x3ED510FB80000000
%97 = tail call float @llvm.fmuladd.f32(float %96, float %55, float %95)
%98 = fmul float %55, 0x3F127487C0000000
%99 = tail call float @llvm.fmuladd.f32(float %98, float %64, float %97)
%100 = tail call float @pow(float %99, i32 2)
%101 = fmul float %82, %82
%102 = tail call float @llvm.fmuladd.f32(float %71, float 0x3F547B35A0000000, float 0x3FA1842240000000)
%103 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF4A43B220000000, float %102)
%104 = tail call float @llvm.fmuladd.f32(float %78, float 0x3F45FEBAC0000000, float %103)
%105 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F23AC1AA0000000, float %104)
%106 = tail call float @llvm.fmuladd.f32(float %75, float 0x3EC510FB80000000, float %105)
%107 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF36551980000000, float %106)
%108 = tail call float @llvm.fmuladd.f32(float %79, float %64, float %107)
%109 = tail call float @pow(float %108, i32 2)
%110 = fmul float %101, %109
%111 = tail call float @llvm.fmuladd.f32(float %91, float %100, float %110)
%112 = fmul <2 x float> %74, %74
%113 = extractelement <2 x float> %112, i64 0
%114 = tail call float @llvm.fmuladd.f32(float %49, float 0x3F45F3A2C0000000, float 0x3FAC7B76A0000000)
%115 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF52C7C960000000, float %114)
%116 = fmul float %64, 0xBF30D23D60000000
%117 = tail call float @llvm.fmuladd.f32(float %116, float %71, float %115)
%118 = tail call float @llvm.fmuladd.f32(float %71, float 0xBEFDF4F420000000, float %117)
%119 = tail call float @llvm.fmuladd.f32(float %79, float %55, float %118)
%120 = tail call float @pow(float %119, i32 2)
%121 = tail call float @llvm.fmuladd.f32(float %113, float %120, float %111)
%122 = fmul float %86, %86
%123 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F547B35A0000000, float 0xBFAAB461C0000000)
%124 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF60302000000000, float %123)
%125 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF26270AC0000000, float %124)
%126 = tail call float @llvm.fmuladd.f32(float %77, float 0xBF20D23D60000000, float %125)
%127 = fmul float %71, 0x3F55FEBAC0000000
%128 = tail call float @llvm.fmuladd.f32(float %127, float %55, float %126)
%129 = tail call float @llvm.fmuladd.f32(float %78, float 0xBF5F67E480000000, float %128)
%130 = tail call float @llvm.fmuladd.f32(float %64, float 0xBEFDF4F420000000, float %129)
%131 = tail call float @pow(float %130, i32 2)
%132 = tail call float @llvm.fmuladd.f32(float %122, float %131, float %121)
%133 = tail call float @sqrt(float %132)
br label %134
134: ; preds = %42, %89
%135 = phi float [ %133, %89 ], [ 0.000000e+00, %42 ]
%136 = fmul float %79, %55
%137 = fmul float %64, 0xBEFDF4F420000000
%138 = fmul float %55, %76
%139 = fmul float %75, 0x3EC510FB80000000
%140 = fmul float %49, 0x3F23AC1AA0000000
%141 = fmul float %71, %78
%142 = fmul float %55, 0x3F45FEBAC0000000
%143 = fmul float %77, 0xBF20D23D60000000
%144 = fmul float %49, 0xBF26270AC0000000
%145 = fmul float %49, 0x3F45F3A2C0000000
%146 = fmul float %55, 0x3F547B35A0000000
%147 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFA91487A0000000, float 0xBF99E46E40000000)
%148 = tail call float @llvm.fmuladd.f32(float %55, float 0x3FA1842240000000, float %147)
%149 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FAC7B76A0000000, float %148)
%150 = tail call float @llvm.fmuladd.f32(float %71, float 0xBFAAB461C0000000, float %149)
%151 = tail call float @llvm.fmuladd.f32(float %146, float %71, float %150)
%152 = tail call float @llvm.fmuladd.f32(float %78, float 0xBF50302000000000, float %151)
%153 = tail call float @llvm.fmuladd.f32(float %75, float 0xBF29B62FA0000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %145, float %64, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF3A43B220000000, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %77, float 0xBF42C7C960000000, float %155)
%157 = tail call float @llvm.fmuladd.f32(float %144, float %71, float %156)
%158 = tail call float @llvm.fmuladd.f32(float %143, float %71, float %157)
%159 = tail call float @llvm.fmuladd.f32(float %142, float %78, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %141, float 0xBF44EFEDA0000000, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %140, float %55, float %160)
%162 = tail call float @llvm.fmuladd.f32(float %139, float %55, float %161)
%163 = tail call float @llvm.fmuladd.f32(float %138, float 0xBF1DC6CCC0000000, float %162)
%164 = tail call float @llvm.fmuladd.f32(float %137, float %71, float %163)
%165 = tail call float @llvm.fmuladd.f32(float %136, float %64, float %164)
store float %135, float* %1
ret float %165
}