#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.2393771E-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.54827582E-04,  -0.50168227E-01, 0.32434233E-01,
                     0.57446141E-01,  -0.50132450E-01, 0.12975635E-02,
                     -0.10211422E-02, -0.19223765E-03, 0.65754261E-03,
                     -0.12802718E-03, -0.41736261E-03, -0.56413759E-03,
                     -0.89418878E-04, 0.67656278E-03,  -0.64300984E-03,
                     0.80768135E-04,  -0.36181962E-04, 0.38343238E-04,
                     -0.11483623E-03, -0.14989791E-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] * x31 * x43 +
                 coeff[10] * x22 + coeff[11] * x32 + coeff[12] * x32 * x41 +
                 coeff[13] * x21 * x42 + coeff[14] * x43 +
                 coeff[15] * x11 * x23 + coeff[16] * x11 * x41;
  v_target_phi = v_target_phi + coeff[17] * x12 * x21 + coeff[18] * x23 +
                 coeff[19] * x11 * x42;
  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[15] * x23 + coeff[16] * x41 +
                             2 * coeff[17] * x11 * x21 + coeff[19] * x42,
                         2) +
                 dx2 * dx2 *
                     pow(0 + coeff[2] + coeff[5] * x41 + 2 * coeff[10] * x21 +
                             coeff[13] * x42 + 3 * coeff[15] * x22 * x11 +
                             coeff[17] * x12 + 3 * coeff[18] * x22,
                         2) +
                 dx3 * dx3 *
                     pow(0 + coeff[3] + coeff[8] * x11 + coeff[9] * x43 +
                             2 * coeff[11] * x31 + 2 * coeff[12] * x31 * x41,
                         2) +
                 dx4 * dx4 *
                     pow(0 + coeff[4] + coeff[5] * x21 + 2 * coeff[6] * x41 +
                             3 * coeff[9] * x42 * x31 + coeff[12] * x32 +
                             2 * coeff[13] * x41 * x21 + 3 * coeff[14] * x42 +
                             coeff[16] * x11 + 2 * coeff[19] * x41 * x11,
                         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
mulss  -0x150(%rbp),%xmm1
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe8(%rbp),%xmm0
ff
movss  -0x148(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xe4(%rbp),%xmm1
ff
movss  -0x154(%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  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x164(%rbp)
ff
movss  -0x164(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm0
ff
mulss  -0x140(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xc8(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
mulss  -0x13c(%rbp),%xmm0
ff
movss  -0x15c(%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    176c <target_phi+0x62c>
jp     176c <target_phi+0x62c>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x170(%rbp)
ff
jmp    1b72 <target_phi+0xa32>
movss  -0x120(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x184(%rbp)
ff
xorps  %xmm0,%xmm0
addss  -0x10c(%rbp),%xmm0
ff
movss  0x885(%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  -0xd4(%rbp),%xmm1
ff
movss  -0x14c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xd0(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x81d(%rip),%xmm1
mulss  -0xcc(%rbp),%xmm1
ff
mulss  -0x13c(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xc4(%rbp),%xmm0
ff
movss  -0x15c(%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  %xmm0,%xmm0
addss  -0x108(%rbp),%xmm0
ff
movss  -0xfc(%rbp),%xmm1
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x790(%rip),%xmm0
mulss  -0xe8(%rbp),%xmm0
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xdc(%rbp),%xmm1
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x75c(%rip),%xmm0
mulss  -0xd4(%rbp),%xmm0
ff
mulss  -0x148(%rbp),%xmm0
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xcc(%rbp),%xmm1
ff
movss  -0x140(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x71c(%rip),%xmm0
mulss  -0xc8(%rbp),%xmm0
ff
movss  -0x148(%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  %xmm0,%xmm0
addss  -0x104(%rbp),%xmm0
ff
movss  -0xf0(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xec(%rbp),%xmm0
ff
movss  -0x160(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x66c(%rip),%xmm1
mulss  -0xe4(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x64c(%rip),%xmm0
mulss  -0xe0(%rbp),%xmm0
ff
mulss  -0x150(%rbp),%xmm0
ff
movss  -0x158(%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  %xmm0,%xmm0
addss  -0x100(%rbp),%xmm0
ff
movss  -0xfc(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x5bc(%rip),%xmm0
mulss  -0xf8(%rbp),%xmm0
ff
movss  -0x158(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x5a0(%rip),%xmm1
mulss  -0xec(%rbp),%xmm1
ff
mulss  -0x15c(%rbp),%xmm1
ff
movss  -0x150(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xe0(%rbp),%xmm0
ff
movss  -0x154(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0x55c(%rip),%xmm1
mulss  -0xdc(%rbp),%xmm1
ff
mulss  -0x158(%rbp),%xmm1
ff
movss  -0x144(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x538(%rip),%xmm0
mulss  -0xd8(%rbp),%xmm0
ff
movss  -0x15c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0xd0(%rbp),%xmm1
ff
movss  -0x13c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0x4fc(%rip),%xmm0
mulss  -0xc4(%rbp),%xmm0
ff
mulss  -0x158(%rbp),%xmm0
ff
movss  -0x13c(%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    $0x150,%rsp
mov    %rsi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x130(%rsp)
movq   $0x0,0x140(%rsp)
movaps 0xeb7(%rip),%xmm1
movaps %xmm1,0x120(%rsp)
movaps %xmm0,0x100(%rsp)
movq   $0x0,0x110(%rsp)
movaps 0xea4(%rip),%xmm1
movaps %xmm1,0xf0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movq   $0x0,0xd0(%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,0xb0(%rsp,%rcx,4)
cmp    %rcx,%rax
je     11f8 <target_phi+0xd8>
movss  0x124(%rsp,%rcx,4),%xmm2
movss  0xf4(%rsp,%rcx,4),%xmm1
add    $0x1,%rcx
jmp    11c0 <target_phi+0xa0>
movsd  0xb0(%rsp),%xmm1
movsd  0xb8(%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,%xmm9
shufps $0x55,%xmm1,%xmm9
mulss  %xmm2,%xmm9
addss  %xmm3,%xmm9
movsd  (%rbx),%xmm5
movsd  0x8(%rbx),%xmm4
mulps  %xmm1,%xmm5
movaps %xmm5,%xmm8
shufps $0x55,%xmm5,%xmm8
movss  0x8(%rdi),%xmm7
movss  0xc(%rdi),%xmm1
addss  0xdc7(%rip),%xmm7
mulss  %xmm0,%xmm7
addss  %xmm3,%xmm7
addss  0xdbb(%rip),%xmm1
movaps %xmm0,%xmm10
shufps $0x55,%xmm0,%xmm10
mulss  %xmm1,%xmm10
addss  %xmm3,%xmm10
mulps  %xmm0,%xmm4
movaps %xmm4,%xmm2
shufps $0x55,%xmm4,%xmm2
movaps %xmm6,%xmm0
mulss  %xmm6,%xmm0
movss  %xmm0,0x1c(%rsp)
movaps %xmm9,%xmm14
mulss  %xmm9,%xmm14
movaps %xmm9,%xmm11
mulss  %xmm14,%xmm11
movaps %xmm7,%xmm15
mulss  %xmm7,%xmm15
movaps %xmm10,%xmm12
mulss  %xmm10,%xmm12
movaps %xmm10,%xmm13
mulss  %xmm12,%xmm13
xorps  %xmm0,%xmm0
movaps %xmm5,%xmm1
addss  %xmm0,%xmm1
addss  %xmm8,%xmm1
addss  %xmm4,%xmm1
addss  %xmm2,%xmm1
ucomiss %xmm0,%xmm1
jne    12f2 <target_phi+0x1d2>
jnp    162c <target_phi+0x50c>
mulss  %xmm5,%xmm5
movaps %xmm5,0xe0(%rsp)
movss  0xd32(%rip),%xmm0
mulss  %xmm6,%xmm0
addss  0xd2a(%rip),%xmm0
movaps %xmm7,%xmm1
mulss  0xd23(%rip),%xmm1
addss  %xmm0,%xmm1
movss  0xd1b(%rip),%xmm0
movaps %xmm11,0xa0(%rsp)
mulss  %xmm11,%xmm0
addss  %xmm1,%xmm0
movaps %xmm10,%xmm1
mulss  0xd01(%rip),%xmm1
addss  %xmm0,%xmm1
movaps %xmm2,0x90(%rsp)
movss  0xcf1(%rip),%xmm2
mulss  %xmm6,%xmm2
mulss  %xmm9,%xmm2
addss  %xmm1,%xmm2
movss  0xce0(%rip),%xmm0
mulss  %xmm12,%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
movaps %xmm9,0x50(%rsp)
movaps %xmm10,0x30(%rsp)
movaps %xmm12,0x40(%rsp)
movaps %xmm13,0x70(%rsp)
movss  %xmm6,0xc(%rsp)
movaps %xmm14,0x60(%rsp)
movss  %xmm15,0x14(%rsp)
movss  %xmm7,0x10(%rsp)
movaps %xmm4,0x20(%rsp)
movaps %xmm8,0x80(%rsp)
call   1030 <pow@plt>
movss  %xmm0,0x18(%rsp)
movaps 0x80(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0x30(%rsp),%xmm0
mulss  0xc6b(%rip),%xmm0
addss  0xc67(%rip),%xmm0
movss  0xc63(%rip),%xmm1
mulss  0x50(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc55(%rip),%xmm0
mulss  0x40(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xc47(%rip),%xmm1
movaps 0x60(%rsp),%xmm3
mulss  %xmm3,%xmm1
mulss  0xc(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xc30(%rip),%xmm2
movss  0x1c(%rsp),%xmm0
mulss  %xmm0,%xmm2
addss  %xmm1,%xmm2
movss  0xc1e(%rip),%xmm0
mulss  %xmm3,%xmm0
addss  %xmm2,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x80(%rsp),%xmm0
movss  0x18(%rsp),%xmm1
mulss  0xe0(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  %xmm1,0x18(%rsp)
movaps 0x20(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movss  0xba8(%rip),%xmm0
mulss  0xc(%rsp),%xmm0
addss  0xbca(%rip),%xmm0
movaps %xmm0,%xmm1
movss  0xbc3(%rip),%xmm0
mulss  0x70(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xbb5(%rip),%xmm1
movss  0x10(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0xba3(%rip),%xmm0
mulss  %xmm2,%xmm0
mulss  0x30(%rsp),%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x20(%rsp),%xmm0
addss  0x18(%rsp),%xmm0
movss  %xmm0,0x20(%rsp)
movaps 0x50(%rsp),%xmm5
movss  0xb44(%rip),%xmm0
mulss  %xmm5,%xmm0
addss  0xb64(%rip),%xmm0
movaps %xmm0,%xmm1
movaps 0x90(%rsp),%xmm0
mulss  %xmm0,%xmm0
movaps %xmm0,0x90(%rsp)
movss  0xb49(%rip),%xmm0
movaps 0x30(%rsp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb38(%rip),%xmm1
movaps 0x40(%rsp),%xmm4
mulss  %xmm4,%xmm1
mulss  0x10(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0xb21(%rip),%xmm0
mulss  0x14(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0xb13(%rip),%xmm1
mulss  %xmm2,%xmm1
movaps %xmm2,%xmm3
mulss  %xmm5,%xmm1
addss  %xmm0,%xmm1
movss  0xb00(%rip),%xmm0
mulss  %xmm4,%xmm0
addss  %xmm1,%xmm0
movss  0xaa4(%rip),%xmm1
movss  0xc(%rsp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  0xade(%rip),%xmm0
mulss  %xmm3,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulss  0x90(%rsp),%xmm0
addss  0x20(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     15ed <target_phi+0x4cd>
sqrtss %xmm0,%xmm0
jmp    15f2 <target_phi+0x4d2>
call   1040 <sqrt@plt>
movaps 0x50(%rsp),%xmm9
movaps 0x30(%rsp),%xmm10
movaps 0xa0(%rsp),%xmm11
movaps 0x40(%rsp),%xmm12
movaps 0x70(%rsp),%xmm13
movss  0xc(%rsp),%xmm6
movaps 0x60(%rsp),%xmm14
movss  0x14(%rsp),%xmm15
movss  0x10(%rsp),%xmm7
movss  0xa1b(%rip),%xmm8
mulss  %xmm6,%xmm8
movss  0xa06(%rip),%xmm2
mulss  %xmm6,%xmm2
movss  0x9f6(%rip),%xmm3
mulss  %xmm6,%xmm3
movss  0x9e6(%rip),%xmm5
mulss  %xmm6,%xmm5
mulss  0x9d6(%rip),%xmm6
addss  0xa2e(%rip),%xmm6
movss  0x9e2(%rip),%xmm4
mulss  %xmm9,%xmm4
addss  %xmm6,%xmm4
movss  0x9ed(%rip),%xmm6
mulss  %xmm7,%xmm6
mulss  %xmm7,%xmm5
mulss  0x9d9(%rip),%xmm7
addss  %xmm4,%xmm7
movss  0x9dd(%rip),%xmm4
mulss  %xmm10,%xmm4
addss  %xmm7,%xmm4
movss  0x9a0(%rip),%xmm7
mulss  %xmm9,%xmm7
mulss  %xmm10,%xmm7
addss  %xmm4,%xmm7
movss  0x9d6(%rip),%xmm1
mulss  %xmm12,%xmm1
addss  %xmm7,%xmm1
movss  0x98d(%rip),%xmm4
movss  0x1c(%rsp),%xmm7
mulss  %xmm7,%xmm4
mulss  0x9b7(%rip),%xmm7
addss  %xmm1,%xmm7
addss  %xmm5,%xmm7
mulss  %xmm13,%xmm6
mulss  0x9a5(%rip),%xmm14
addss  %xmm7,%xmm6
addss  %xmm6,%xmm14
movss  0x978(%rip),%xmm1
mulss  %xmm15,%xmm1
mulss  0x98a(%rip),%xmm15
addss  %xmm14,%xmm15
mulss  %xmm10,%xmm1
addss  %xmm15,%xmm1
movss  0x927(%rip),%xmm5
mulss  %xmm9,%xmm5
mulss  %xmm12,%xmm5
addss  %xmm1,%xmm5
mulss  0x960(%rip),%xmm13
addss  %xmm5,%xmm13
mulss  %xmm11,%xmm3
addss  %xmm13,%xmm3
mulss  %xmm10,%xmm2
addss  %xmm3,%xmm2
mulss  %xmm9,%xmm4
addss  %xmm2,%xmm4
mulss  0x93a(%rip),%xmm11
addss  %xmm4,%xmm11
mulss  %xmm12,%xmm8
addss  %xmm11,%xmm8
movss  %xmm0,(%rbx)
movaps %xmm8,%xmm0
add    $0x150,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.target_phi.coeff = [21 x float] [float 0x3F0CBED560000000, float 0xBFA9AFA660000000, float 0x3FA09B3840000000, float 0x3FAD6994A0000000, float 0xBFA9AAF5E0000000, float 0x3F55426040000000, float 0xBF50BAFB20000000, float 0xBF29326CE0000000, float 0x3F458BDE00000000, float 0xBF20C7E120000000, float 0xBF3B5A2EC0000000, float 0xBF427C5440000000, float 0xBF1770CCA0000000, float 0x3F462B6B80000000, float 0xBF4511F520000000, float 0x3F152C4200000000, float 0xBF02F842C0000000, float 0x3F041A57A0000000, float 0xBF1E1A8760000000, float 0xBEEF6F9540000000, 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 0xBF98832080000000, 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* %28
%227 = fmul float %225, %226
%228 = load float, float* %32
%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 10
%231 = load float, float* %230
%232 = load float, float* %26
%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 11
%235 = load float, float* %234
%236 = load float, float* %29
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %233)
%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* %27
%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* %23
%263 = fmul float %261, %262
%264 = load float, float* %30
%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* %24
%270 = fmul float %268, %269
%271 = load float, float* %25
%272 = call float @llvm.fmuladd.f32(float %270, float %271, float %266)
%273 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%274 = load float, float* %273
%275 = load float, float* %27
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %272)
%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* %31
%282 = call float @llvm.fmuladd.f32(float %280, float %281, float %276)
store float %282, float* %33
%283 = load float, float* %16
%284 = fadd float 0.000000e+00, %283
%285 = load float, float* %18
%286 = fadd float %284, %285
%287 = load float, float* %20
%288 = fadd float %286, %287
%289 = load float, float* %22
%290 = fadd float %288, %289
store float %290, float* %34
%291 = load float, float* %34
%292 = fcmp oeq float %291, 0.000000e+00
br i1 %292, label %293, label %294
293: ; preds = %88
br label %448
294: ; preds = %88
%295 = load float, float* %16
%296 = load float, float* %16
%297 = fmul float %295, %296
%298 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 1
%299 = load float, float* %298
%300 = fadd float 0.000000e+00, %299
%301 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 7
%302 = load float, float* %301
%303 = fmul float 2.000000e+00, %302
%304 = load float, float* %23
%305 = call float @llvm.fmuladd.f32(float %303, float %304, float %300)
%306 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%307 = load float, float* %306
%308 = load float, float* %28
%309 = call float @llvm.fmuladd.f32(float %307, float %308, float %305)
%310 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%311 = load float, float* %310
%312 = load float, float* %27
%313 = call float @llvm.fmuladd.f32(float %311, float %312, float %309)
%314 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%315 = load float, float* %314
%316 = load float, float* %30
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %313)
%318 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%319 = load float, float* %318
%320 = fmul float 2.000000e+00, %319
%321 = load float, float* %23
%322 = fmul float %320, %321
%323 = load float, float* %25
%324 = call float @llvm.fmuladd.f32(float %322, float %323, float %317)
%325 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 19
%326 = load float, float* %325
%327 = load float, float* %31
%328 = call float @llvm.fmuladd.f32(float %326, float %327, float %324)
%329 = call float @pow(float %328, i32 2)
%330 = load float, float* %18
%331 = load float, float* %18
%332 = fmul float %330, %331
%333 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 2
%334 = load float, float* %333
%335 = fadd float 0.000000e+00, %334
%336 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%337 = load float, float* %336
%338 = load float, float* %30
%339 = call float @llvm.fmuladd.f32(float %337, float %338, float %335)
%340 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 10
%341 = load float, float* %340
%342 = fmul float 2.000000e+00, %341
%343 = load float, float* %25
%344 = call float @llvm.fmuladd.f32(float %342, float %343, float %339)
%345 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%346 = load float, float* %345
%347 = load float, float* %31
%348 = call float @llvm.fmuladd.f32(float %346, float %347, float %344)
%349 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 15
%350 = load float, float* %349
%351 = fmul float 3.000000e+00, %350
%352 = load float, float* %26
%353 = fmul float %351, %352
%354 = load float, float* %23
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %348)
%356 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 17
%357 = load float, float* %356
%358 = load float, float* %24
%359 = call float @llvm.fmuladd.f32(float %357, float %358, float %355)
%360 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 18
%361 = load float, float* %360
%362 = fmul float 3.000000e+00, %361
%363 = load float, float* %26
%364 = call float @llvm.fmuladd.f32(float %362, float %363, float %359)
%365 = call float @pow(float %364, i32 2)
%366 = fmul float %332, %365
%367 = call float @llvm.fmuladd.f32(float %297, float %329, float %366)
%368 = load float, float* %20
%369 = load float, float* %20
%370 = fmul float %368, %369
%371 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 3
%372 = load float, float* %371
%373 = fadd float 0.000000e+00, %372
%374 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 8
%375 = load float, float* %374
%376 = load float, float* %23
%377 = call float @llvm.fmuladd.f32(float %375, float %376, float %373)
%378 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%379 = load float, float* %378
%380 = load float, float* %32
%381 = call float @llvm.fmuladd.f32(float %379, float %380, float %377)
%382 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 11
%383 = load float, float* %382
%384 = fmul float 2.000000e+00, %383
%385 = load float, float* %28
%386 = call float @llvm.fmuladd.f32(float %384, float %385, float %381)
%387 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%388 = load float, float* %387
%389 = fmul float 2.000000e+00, %388
%390 = load float, float* %28
%391 = fmul float %389, %390
%392 = load float, float* %30
%393 = call float @llvm.fmuladd.f32(float %391, float %392, float %386)
%394 = call float @pow(float %393, i32 2)
%395 = call float @llvm.fmuladd.f32(float %370, float %394, float %367)
%396 = load float, float* %22
%397 = load float, float* %22
%398 = fmul float %396, %397
%399 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 4
%400 = load float, float* %399
%401 = fadd float 0.000000e+00, %400
%402 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 5
%403 = load float, float* %402
%404 = load float, float* %25
%405 = call float @llvm.fmuladd.f32(float %403, float %404, float %401)
%406 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 6
%407 = load float, float* %406
%408 = fmul float 2.000000e+00, %407
%409 = load float, float* %30
%410 = call float @llvm.fmuladd.f32(float %408, float %409, float %405)
%411 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 9
%412 = load float, float* %411
%413 = fmul float 3.000000e+00, %412
%414 = load float, float* %31
%415 = fmul float %413, %414
%416 = load float, float* %28
%417 = call float @llvm.fmuladd.f32(float %415, float %416, float %410)
%418 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 12
%419 = load float, float* %418
%420 = load float, float* %29
%421 = call float @llvm.fmuladd.f32(float %419, float %420, float %417)
%422 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 13
%423 = load float, float* %422
%424 = fmul float 2.000000e+00, %423
%425 = load float, float* %30
%426 = fmul float %424, %425
%427 = load float, float* %25
%428 = call float @llvm.fmuladd.f32(float %426, float %427, float %421)
%429 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 14
%430 = load float, float* %429
%431 = fmul float 3.000000e+00, %430
%432 = load float, float* %31
%433 = call float @llvm.fmuladd.f32(float %431, float %432, float %428)
%434 = getelementptr inbounds [21 x float], [21 x float]* %12, i64 0, i64 16
%435 = load float, float* %434
%436 = load float, float* %23
%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 19
%439 = load float, float* %438
%440 = fmul float 2.000000e+00, %439
%441 = load float, float* %30
%442 = fmul float %440, %441
%443 = load float, float* %23
%444 = call float @llvm.fmuladd.f32(float %442, float %443, float %437)
%445 = call float @pow(float %444, i32 2)
%446 = call float @llvm.fmuladd.f32(float %398, float %445, float %395)
%447 = call float @sqrt(float %446)
br label %448
448: ; preds = %294, %293
%449 = phi float [ 0.000000e+00, %293 ], [ %447, %294 ]
store float %449, float* %35
%450 = load float, float* %35
%451 = load float*, float** %5
%452 = getelementptr inbounds float, float* %451, i64 0
store float %450, float* %452
%453 = load float, float* %33
ret float %453
}

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 %55, %76
%78 = fmul float %64, %64
%79 = fmul float %71, %71
%80 = fmul float %71, %79
%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 %136, label %90
90: ; preds = %42
%91 = fmul <2 x float> %58, %58
%92 = extractelement <2 x float> %91, i64 0
%93 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF39326CE0000000, float 0xBFA9AFA660000000)
%94 = tail call float @llvm.fmuladd.f32(float %64, float 0x3F458BDE00000000, float %93)
%95 = tail call float @llvm.fmuladd.f32(float %77, float 0x3F152C4200000000, float %94)
%96 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF02F842C0000000, float %95)
%97 = fmul float %49, 0x3F141A57A0000000
%98 = tail call float @llvm.fmuladd.f32(float %97, float %55, float %96)
%99 = tail call float @llvm.fmuladd.f32(float %79, float 0xBEEF6F9540000000, float %98)
%100 = tail call float @pow(float %99, i32 2)
%101 = fmul float %83, %83
%102 = tail call float @llvm.fmuladd.f32(float %71, float 0x3F55426040000000, float 0x3FA09B3840000000)
%103 = tail call float @llvm.fmuladd.f32(float %55, float 0xBF4B5A2EC0000000, float %102)
%104 = tail call float @llvm.fmuladd.f32(float %79, float 0x3F462B6B80000000, float %103)
%105 = fmul float %76, 0x3F2FC26300000000
%106 = tail call float @llvm.fmuladd.f32(float %105, float %49, float %104)
%107 = tail call float @llvm.fmuladd.f32(float %75, float 0x3F041A57A0000000, float %106)
%108 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF3693E580000000, float %107)
%109 = tail call float @pow(float %108, i32 2)
%110 = fmul float %101, %109
%111 = tail call float @llvm.fmuladd.f32(float %92, 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 0x3F458BDE00000000, float 0x3FAD6994A0000000)
%115 = tail call float @llvm.fmuladd.f32(float %80, float 0xBF20C7E120000000, float %114)
%116 = tail call float @llvm.fmuladd.f32(float %64, float 0xBF527C5440000000, float %115)
%117 = fmul float %64, 0xBF2770CCA0000000
%118 = tail call float @llvm.fmuladd.f32(float %117, float %71, float %116)
%119 = tail call float @pow(float %118, i32 2)
%120 = tail call float @llvm.fmuladd.f32(float %113, float %119, float %111)
%121 = fmul float %87, %87
%122 = tail call float @llvm.fmuladd.f32(float %55, float 0x3F55426040000000, float 0xBFA9AAF5E0000000)
%123 = tail call float @llvm.fmuladd.f32(float %71, float 0xBF60BAFB20000000, float %122)
%124 = fmul float %79, 0xBF392BD1C0000000
%125 = tail call float @llvm.fmuladd.f32(float %124, float %64, float %123)
%126 = tail call float @llvm.fmuladd.f32(float %78, float 0xBF1770CCA0000000, float %125)
%127 = fmul float %71, 0x3F562B6B80000000
%128 = tail call float @llvm.fmuladd.f32(float %127, float %55, float %126)
%129 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF5F9AEFC0000000, float %128)
%130 = tail call float @llvm.fmuladd.f32(float %49, float 0xBF02F842C0000000, float %129)
%131 = fmul float %71, 0xBEFF6F9540000000
%132 = tail call float @llvm.fmuladd.f32(float %131, float %49, float %130)
%133 = tail call float @pow(float %132, i32 2)
%134 = tail call float @llvm.fmuladd.f32(float %121, float %133, float %120)
%135 = tail call float @sqrt(float %134)
br label %136
136: ; preds = %42, %90
%137 = phi float [ %135, %90 ], [ 0.000000e+00, %42 ]
%138 = fmul float %49, 0xBEEF6F9540000000
%139 = fmul float %75, 0x3F041A57A0000000
%140 = fmul float %49, 0xBF02F842C0000000
%141 = fmul float %49, 0x3F152C4200000000
%142 = fmul float %55, 0x3F462B6B80000000
%143 = fmul float %78, 0xBF1770CCA0000000
%144 = fmul float %64, 0xBF20C7E120000000
%145 = fmul float %49, 0x3F458BDE00000000
%146 = fmul float %55, 0x3F55426040000000
%147 = tail call float @llvm.fmuladd.f32(float %49, float 0xBFA9AFA660000000, float 0xBF9874C120000000)
%148 = tail call float @llvm.fmuladd.f32(float %55, float 0x3FA09B3840000000, float %147)
%149 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FAD6994A0000000, float %148)
%150 = tail call float @llvm.fmuladd.f32(float %71, float 0xBFA9AAF5E0000000, float %149)
%151 = tail call float @llvm.fmuladd.f32(float %146, float %71, float %150)
%152 = tail call float @llvm.fmuladd.f32(float %79, float 0xBF50BAFB20000000, float %151)
%153 = tail call float @llvm.fmuladd.f32(float %75, float 0xBF29326CE0000000, float %152)
%154 = tail call float @llvm.fmuladd.f32(float %145, float %64, float %153)
%155 = tail call float @llvm.fmuladd.f32(float %144, float %80, float %154)
%156 = tail call float @llvm.fmuladd.f32(float %76, float 0xBF3B5A2EC0000000, float %155)
%157 = tail call float @llvm.fmuladd.f32(float %78, float 0xBF427C5440000000, 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 %79, float %158)
%160 = tail call float @llvm.fmuladd.f32(float %80, float 0xBF4511F520000000, float %159)
%161 = tail call float @llvm.fmuladd.f32(float %141, float %77, float %160)
%162 = tail call float @llvm.fmuladd.f32(float %140, float %71, float %161)
%163 = tail call float @llvm.fmuladd.f32(float %139, float %55, float %162)
%164 = tail call float @llvm.fmuladd.f32(float %77, float 0xBF1E1A8760000000, float %163)
%165 = tail call float @llvm.fmuladd.f32(float %138, float %79, float %164)
store float %137, float* %1
ret float %165
}