#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ cofactor3D(double *, double *, double *, double *, double *,
                              double);
void VAMPIREdiagTetra(double *y1, double *y2, double *yF, double *yM,
                      double *r1, double *r2, double *r3, double *r4,
                      double *r5, double *r6, double *r7, double *r8,
                      double Ti) {
  double dVx, cof[9];
  cofactor3D(cof, y1, y2, yF, yM, 1.0);
  dVx = cof[0] * (1 - 0.125) + cof[1] * (-0.125) + cof[2] * (0.25 - 0.125);
  r1[0] += Ti * dVx;
  dVx = cof[3] * (1.0 - 0.125) + cof[4] * (-0.125) + cof[5] * (0.25 - 0.125);
  r1[1] += Ti * dVx;
  dVx = cof[6] * (1.0 - 0.125) + cof[7] * (-0.125) + cof[8] * (0.25 - 0.125);
  r1[2] += Ti * dVx;
  dVx = cof[0] * (-0.125) + cof[1] * (1.0 - 0.125) + cof[2] * (0.25 - 0.125);
  r2[0] += Ti * dVx;
  dVx = cof[3] * (-0.125) + cof[4] * (1.0 - 0.125) + cof[5] * (0.25 - 0.125);
  r2[1] += Ti * dVx;
  dVx = cof[6] * (-0.125) + cof[7] * (1.0 - 0.125) + cof[8] * (0.25 - 0.125);
  r2[2] += Ti * dVx;
  dVx = cof[0] * (-0.125) + cof[1] * (-0.125) + cof[2] * (0.25 - 0.125);
  r3[0] += Ti * dVx;
  r4[0] += Ti * dVx;
  dVx = cof[3] * (-0.125) + cof[4] * (-0.125) + cof[5] * (0.25 - 0.125);
  r3[1] += Ti * dVx;
  r4[1] += Ti * dVx;
  dVx = cof[6] * (-0.125) + cof[7] * (-0.125) + cof[8] * (0.25 - 0.125);
  r3[2] += Ti * dVx;
  r4[2] += Ti * dVx;
  dVx = cof[0] * (-0.125) + cof[1] * (-0.125) + cof[2] * (-0.125);
  r5[0] += Ti * dVx;
  r6[0] += Ti * dVx;
  r7[0] += Ti * dVx;
  r8[0] += Ti * dVx;
  dVx = cof[3] * (-0.125) + cof[4] * (-0.125) + cof[5] * (-0.125);
  r5[1] += Ti * dVx;
  r6[1] += Ti * dVx;
  r7[1] += Ti * dVx;
  r8[1] += Ti * dVx;
  dVx = cof[6] * (-0.125) + cof[7] * (-0.125) + cof[8] * (-0.125);
  r5[2] += Ti * dVx;
  r6[2] += Ti * dVx;
  r7[2] += Ti * dVx;
  r8[2] += Ti * dVx;
}


x86 assembly (clang, -O0):
<VAMPIREdiagTetra>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
lea    -0x90(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x20(%rbp),%r8
movsd  0xea9(%rip),%xmm0
call   1030 <cofactor3D@plt>
movsd  -0x90(%rbp),%xmm1
ff
movsd  0xe7c(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0xe7c(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
movsd  0xe5f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm1
movsd  0xe1f(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  0xe22(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0xe05(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x60(%rbp),%xmm1
movsd  0xdc3(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  0xdc6(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  0xda9(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x90(%rbp),%xmm1
ff
movsd  0xd74(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0xd54(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
movsd  0xd47(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm1
movsd  0xd17(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  0xcfa(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0xced(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x30(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x60(%rbp),%xmm1
movsd  0xcbb(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  0xc9e(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  0xc91(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    -0x30(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x90(%rbp),%xmm1
ff
movsd  0xc4c(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0xc3c(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
movsd  0xc2f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm1
movsd  0xbd1(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  0xbc4(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0xbb7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x60(%rbp),%xmm1
movsd  0xb55(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  0xb48(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  0xb3b(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x90(%rbp),%xmm1
ff
movsd  0xad6(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0xac6(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
movsd  0xab1(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x20(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x28(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x30(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x38(%rbp),%rax
movsd  (%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm1
movsd  0xa1f(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  0xa12(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0x9fd(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x20(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x28(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x30(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x38(%rbp),%rax
movsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x60(%rbp),%xmm1
movsd  0x963(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  0x956(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  0x941(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x20(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x28(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x30(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mov    0x38(%rbp),%rax
movsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rax)
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<VAMPIREdiagTetra>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movaps %xmm0,0x50(%rsp)
mov    %r9,%r14
mov    %r8,%rbx
mov    %rcx,%r8
mov    %rdx,%rcx
mov    %rsi,%rdx
mov    %rdi,%rsi
mov    0xc8(%rsp),%r13
mov    0xc0(%rsp),%rbp
mov    0xb8(%rsp),%r15
mov    0xb0(%rsp),%r12
mov    %rsp,%rdi
movsd  0xea0(%rip),%xmm0
call   1030 <cofactor3D@plt>
movsd  (%rsp),%xmm13
movupd 0x8(%rsp),%xmm7
movsd  0x10(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
movapd %xmm1,0x60(%rsp)
movhpd 0x20(%rsp),%xmm7
movapd %xmm7,%xmm14
mulpd  0xe89(%rip),%xmm14
movapd %xmm13,%xmm4
unpcklpd %xmm1,%xmm4
movapd %xmm4,%xmm1
mulpd  0xe84(%rip),%xmm1
addpd  %xmm14,%xmm1
movsd  0x28(%rsp),%xmm5
movapd %xmm0,%xmm3
unpcklpd %xmm5,%xmm3
mulpd  0xe79(%rip),%xmm3
addpd  %xmm3,%xmm1
movupd (%rbx),%xmm2
movapd 0x50(%rsp),%xmm9
movapd %xmm9,%xmm10
unpcklpd %xmm9,%xmm10
mulpd  %xmm10,%xmm1
addpd  %xmm2,%xmm1
movupd %xmm1,(%rbx)
movsd  0x30(%rsp),%xmm11
movsd  0x38(%rsp),%xmm6
movapd %xmm6,%xmm15
mulsd  0xe00(%rip),%xmm15
movapd %xmm11,%xmm12
mulsd  0xdfa(%rip),%xmm12
addsd  %xmm15,%xmm12
movsd  0x40(%rsp),%xmm8
movsd  0xdee(%rip),%xmm1
movapd %xmm8,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm12
mulsd  %xmm9,%xmm12
addsd  0x10(%rbx),%xmm12
movsd  %xmm12,0x10(%rbx)
mulpd  0xddf(%rip),%xmm7
mulpd  0xdc7(%rip),%xmm4
addpd  %xmm7,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm10,%xmm4
movupd (%r14),%xmm3
addpd  %xmm3,%xmm4
movupd %xmm4,(%r14)
mulsd  0xd94(%rip),%xmm6
movsd  0xd84(%rip),%xmm7
mulsd  %xmm7,%xmm11
addsd  %xmm11,%xmm6
addsd  %xmm2,%xmm6
mulsd  %xmm9,%xmm6
addsd  0x10(%r14),%xmm6
movsd  %xmm6,0x10(%r14)
mulsd  %xmm7,%xmm13
addsd  %xmm14,%xmm13
movapd %xmm0,%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm13,%xmm3
mulsd  %xmm9,%xmm3
movsd  (%r12),%xmm4
addsd  %xmm3,%xmm4
movsd  %xmm4,(%r12)
addsd  (%r15),%xmm3
movsd  %xmm3,(%r15)
unpckhpd %xmm14,%xmm14
movapd 0x60(%rsp),%xmm4
mulsd  %xmm7,%xmm4
addsd  %xmm14,%xmm4
mulsd  %xmm5,%xmm1
addsd  %xmm4,%xmm1
mulsd  %xmm9,%xmm1
movsd  0x8(%r12),%xmm3
addsd  %xmm1,%xmm3
movsd  %xmm3,0x8(%r12)
addsd  0x8(%r15),%xmm1
movsd  %xmm1,0x8(%r15)
addsd  %xmm15,%xmm11
addsd  %xmm11,%xmm2
mulsd  %xmm9,%xmm2
movsd  0x10(%r12),%xmm1
addsd  %xmm2,%xmm1
movsd  %xmm1,0x10(%r12)
addsd  0x10(%r15),%xmm2
movsd  %xmm2,0x10(%r15)
mulsd  %xmm7,%xmm0
addsd  %xmm13,%xmm0
mulsd  %xmm9,%xmm0
movsd  0x0(%rbp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x0(%rbp)
movsd  0x0(%r13),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x0(%r13)
mov    0xd0(%rsp),%rcx
movsd  (%rcx),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rcx)
mov    0xd8(%rsp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mulsd  %xmm7,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm9,%xmm5
movsd  0x8(%rbp),%xmm0
addsd  %xmm5,%xmm0
movsd  %xmm0,0x8(%rbp)
movsd  0x8(%r13),%xmm0
addsd  %xmm5,%xmm0
movsd  %xmm0,0x8(%r13)
movsd  0x8(%rcx),%xmm0
addsd  %xmm5,%xmm0
movsd  %xmm0,0x8(%rcx)
addsd  0x8(%rax),%xmm5
movsd  %xmm5,0x8(%rax)
mulsd  %xmm7,%xmm8
addsd  %xmm11,%xmm8
mulsd  %xmm9,%xmm8
movsd  0x10(%rbp),%xmm0
addsd  %xmm8,%xmm0
movsd  %xmm0,0x10(%rbp)
movsd  0x10(%r13),%xmm0
addsd  %xmm8,%xmm0
movsd  %xmm0,0x10(%r13)
movsd  0x10(%rcx),%xmm0
addsd  %xmm8,%xmm0
movsd  %xmm0,0x10(%rcx)
addsd  0x10(%rax),%xmm8
movsd  %xmm8,0x10(%rax)
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @VAMPIREdiagTetra(double* %0, double* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double %12) {
%14 = alloca double*
%15 = alloca double*
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double
%27 = alloca double
%28 = alloca [9 x double]
store double* %0, double** %14
store double* %1, double** %15
store double* %2, double** %16
store double* %3, double** %17
store double* %4, double** %18
store double* %5, double** %19
store double* %6, double** %20
store double* %7, double** %21
store double* %8, double** %22
store double* %9, double** %23
store double* %10, double** %24
store double* %11, double** %25
store double %12, double* %26
%29 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 0
%30 = load double*, double** %14
%31 = load double*, double** %15
%32 = load double*, double** %16
%33 = load double*, double** %17
%34 = call i32 @cofactor3D(double* %29, double* %30, double* %31, double* %32, double* %33, double 1.000000e+00)
%35 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 0
%36 = load double, double* %35
%37 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 1
%38 = load double, double* %37
%39 = fmul double %38, -1.250000e-01
%40 = call double @llvm.fmuladd.f64(double %36, double 8.750000e-01, double %39)
%41 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 2
%42 = load double, double* %41
%43 = call double @llvm.fmuladd.f64(double %42, double 1.250000e-01, double %40)
store double %43, double* %27
%44 = load double, double* %26
%45 = load double, double* %27
%46 = load double*, double** %18
%47 = getelementptr inbounds double, double* %46, i64 0
%48 = load double, double* %47
%49 = call double @llvm.fmuladd.f64(double %44, double %45, double %48)
store double %49, double* %47
%50 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 3
%51 = load double, double* %50
%52 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 4
%53 = load double, double* %52
%54 = fmul double %53, -1.250000e-01
%55 = call double @llvm.fmuladd.f64(double %51, double 8.750000e-01, double %54)
%56 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 5
%57 = load double, double* %56
%58 = call double @llvm.fmuladd.f64(double %57, double 1.250000e-01, double %55)
store double %58, double* %27
%59 = load double, double* %26
%60 = load double, double* %27
%61 = load double*, double** %18
%62 = getelementptr inbounds double, double* %61, i64 1
%63 = load double, double* %62
%64 = call double @llvm.fmuladd.f64(double %59, double %60, double %63)
store double %64, double* %62
%65 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 6
%66 = load double, double* %65
%67 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 7
%68 = load double, double* %67
%69 = fmul double %68, -1.250000e-01
%70 = call double @llvm.fmuladd.f64(double %66, double 8.750000e-01, double %69)
%71 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 8
%72 = load double, double* %71
%73 = call double @llvm.fmuladd.f64(double %72, double 1.250000e-01, double %70)
store double %73, double* %27
%74 = load double, double* %26
%75 = load double, double* %27
%76 = load double*, double** %18
%77 = getelementptr inbounds double, double* %76, i64 2
%78 = load double, double* %77
%79 = call double @llvm.fmuladd.f64(double %74, double %75, double %78)
store double %79, double* %77
%80 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 0
%81 = load double, double* %80
%82 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 1
%83 = load double, double* %82
%84 = fmul double %83, 8.750000e-01
%85 = call double @llvm.fmuladd.f64(double %81, double -1.250000e-01, double %84)
%86 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 2
%87 = load double, double* %86
%88 = call double @llvm.fmuladd.f64(double %87, double 1.250000e-01, double %85)
store double %88, double* %27
%89 = load double, double* %26
%90 = load double, double* %27
%91 = load double*, double** %19
%92 = getelementptr inbounds double, double* %91, i64 0
%93 = load double, double* %92
%94 = call double @llvm.fmuladd.f64(double %89, double %90, double %93)
store double %94, double* %92
%95 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 3
%96 = load double, double* %95
%97 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 4
%98 = load double, double* %97
%99 = fmul double %98, 8.750000e-01
%100 = call double @llvm.fmuladd.f64(double %96, double -1.250000e-01, double %99)
%101 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 5
%102 = load double, double* %101
%103 = call double @llvm.fmuladd.f64(double %102, double 1.250000e-01, double %100)
store double %103, double* %27
%104 = load double, double* %26
%105 = load double, double* %27
%106 = load double*, double** %19
%107 = getelementptr inbounds double, double* %106, i64 1
%108 = load double, double* %107
%109 = call double @llvm.fmuladd.f64(double %104, double %105, double %108)
store double %109, double* %107
%110 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 6
%111 = load double, double* %110
%112 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 7
%113 = load double, double* %112
%114 = fmul double %113, 8.750000e-01
%115 = call double @llvm.fmuladd.f64(double %111, double -1.250000e-01, double %114)
%116 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 8
%117 = load double, double* %116
%118 = call double @llvm.fmuladd.f64(double %117, double 1.250000e-01, double %115)
store double %118, double* %27
%119 = load double, double* %26
%120 = load double, double* %27
%121 = load double*, double** %19
%122 = getelementptr inbounds double, double* %121, i64 2
%123 = load double, double* %122
%124 = call double @llvm.fmuladd.f64(double %119, double %120, double %123)
store double %124, double* %122
%125 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 0
%126 = load double, double* %125
%127 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 1
%128 = load double, double* %127
%129 = fmul double %128, -1.250000e-01
%130 = call double @llvm.fmuladd.f64(double %126, double -1.250000e-01, double %129)
%131 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 2
%132 = load double, double* %131
%133 = call double @llvm.fmuladd.f64(double %132, double 1.250000e-01, double %130)
store double %133, double* %27
%134 = load double, double* %26
%135 = load double, double* %27
%136 = load double*, double** %20
%137 = getelementptr inbounds double, double* %136, i64 0
%138 = load double, double* %137
%139 = call double @llvm.fmuladd.f64(double %134, double %135, double %138)
store double %139, double* %137
%140 = load double, double* %26
%141 = load double, double* %27
%142 = load double*, double** %21
%143 = getelementptr inbounds double, double* %142, i64 0
%144 = load double, double* %143
%145 = call double @llvm.fmuladd.f64(double %140, double %141, double %144)
store double %145, double* %143
%146 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 3
%147 = load double, double* %146
%148 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 4
%149 = load double, double* %148
%150 = fmul double %149, -1.250000e-01
%151 = call double @llvm.fmuladd.f64(double %147, double -1.250000e-01, double %150)
%152 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 5
%153 = load double, double* %152
%154 = call double @llvm.fmuladd.f64(double %153, double 1.250000e-01, double %151)
store double %154, double* %27
%155 = load double, double* %26
%156 = load double, double* %27
%157 = load double*, double** %20
%158 = getelementptr inbounds double, double* %157, i64 1
%159 = load double, double* %158
%160 = call double @llvm.fmuladd.f64(double %155, double %156, double %159)
store double %160, double* %158
%161 = load double, double* %26
%162 = load double, double* %27
%163 = load double*, double** %21
%164 = getelementptr inbounds double, double* %163, i64 1
%165 = load double, double* %164
%166 = call double @llvm.fmuladd.f64(double %161, double %162, double %165)
store double %166, double* %164
%167 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 6
%168 = load double, double* %167
%169 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 7
%170 = load double, double* %169
%171 = fmul double %170, -1.250000e-01
%172 = call double @llvm.fmuladd.f64(double %168, double -1.250000e-01, double %171)
%173 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 8
%174 = load double, double* %173
%175 = call double @llvm.fmuladd.f64(double %174, double 1.250000e-01, double %172)
store double %175, double* %27
%176 = load double, double* %26
%177 = load double, double* %27
%178 = load double*, double** %20
%179 = getelementptr inbounds double, double* %178, i64 2
%180 = load double, double* %179
%181 = call double @llvm.fmuladd.f64(double %176, double %177, double %180)
store double %181, double* %179
%182 = load double, double* %26
%183 = load double, double* %27
%184 = load double*, double** %21
%185 = getelementptr inbounds double, double* %184, i64 2
%186 = load double, double* %185
%187 = call double @llvm.fmuladd.f64(double %182, double %183, double %186)
store double %187, double* %185
%188 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 0
%189 = load double, double* %188
%190 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 1
%191 = load double, double* %190
%192 = fmul double %191, -1.250000e-01
%193 = call double @llvm.fmuladd.f64(double %189, double -1.250000e-01, double %192)
%194 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 2
%195 = load double, double* %194
%196 = call double @llvm.fmuladd.f64(double %195, double -1.250000e-01, double %193)
store double %196, double* %27
%197 = load double, double* %26
%198 = load double, double* %27
%199 = load double*, double** %22
%200 = getelementptr inbounds double, double* %199, i64 0
%201 = load double, double* %200
%202 = call double @llvm.fmuladd.f64(double %197, double %198, double %201)
store double %202, double* %200
%203 = load double, double* %26
%204 = load double, double* %27
%205 = load double*, double** %23
%206 = getelementptr inbounds double, double* %205, i64 0
%207 = load double, double* %206
%208 = call double @llvm.fmuladd.f64(double %203, double %204, double %207)
store double %208, double* %206
%209 = load double, double* %26
%210 = load double, double* %27
%211 = load double*, double** %24
%212 = getelementptr inbounds double, double* %211, i64 0
%213 = load double, double* %212
%214 = call double @llvm.fmuladd.f64(double %209, double %210, double %213)
store double %214, double* %212
%215 = load double, double* %26
%216 = load double, double* %27
%217 = load double*, double** %25
%218 = getelementptr inbounds double, double* %217, i64 0
%219 = load double, double* %218
%220 = call double @llvm.fmuladd.f64(double %215, double %216, double %219)
store double %220, double* %218
%221 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 3
%222 = load double, double* %221
%223 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 4
%224 = load double, double* %223
%225 = fmul double %224, -1.250000e-01
%226 = call double @llvm.fmuladd.f64(double %222, double -1.250000e-01, double %225)
%227 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 5
%228 = load double, double* %227
%229 = call double @llvm.fmuladd.f64(double %228, double -1.250000e-01, double %226)
store double %229, double* %27
%230 = load double, double* %26
%231 = load double, double* %27
%232 = load double*, double** %22
%233 = getelementptr inbounds double, double* %232, i64 1
%234 = load double, double* %233
%235 = call double @llvm.fmuladd.f64(double %230, double %231, double %234)
store double %235, double* %233
%236 = load double, double* %26
%237 = load double, double* %27
%238 = load double*, double** %23
%239 = getelementptr inbounds double, double* %238, i64 1
%240 = load double, double* %239
%241 = call double @llvm.fmuladd.f64(double %236, double %237, double %240)
store double %241, double* %239
%242 = load double, double* %26
%243 = load double, double* %27
%244 = load double*, double** %24
%245 = getelementptr inbounds double, double* %244, i64 1
%246 = load double, double* %245
%247 = call double @llvm.fmuladd.f64(double %242, double %243, double %246)
store double %247, double* %245
%248 = load double, double* %26
%249 = load double, double* %27
%250 = load double*, double** %25
%251 = getelementptr inbounds double, double* %250, i64 1
%252 = load double, double* %251
%253 = call double @llvm.fmuladd.f64(double %248, double %249, double %252)
store double %253, double* %251
%254 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 6
%255 = load double, double* %254
%256 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 7
%257 = load double, double* %256
%258 = fmul double %257, -1.250000e-01
%259 = call double @llvm.fmuladd.f64(double %255, double -1.250000e-01, double %258)
%260 = getelementptr inbounds [9 x double], [9 x double]* %28, i64 0, i64 8
%261 = load double, double* %260
%262 = call double @llvm.fmuladd.f64(double %261, double -1.250000e-01, double %259)
store double %262, double* %27
%263 = load double, double* %26
%264 = load double, double* %27
%265 = load double*, double** %22
%266 = getelementptr inbounds double, double* %265, i64 2
%267 = load double, double* %266
%268 = call double @llvm.fmuladd.f64(double %263, double %264, double %267)
store double %268, double* %266
%269 = load double, double* %26
%270 = load double, double* %27
%271 = load double*, double** %23
%272 = getelementptr inbounds double, double* %271, i64 2
%273 = load double, double* %272
%274 = call double @llvm.fmuladd.f64(double %269, double %270, double %273)
store double %274, double* %272
%275 = load double, double* %26
%276 = load double, double* %27
%277 = load double*, double** %24
%278 = getelementptr inbounds double, double* %277, i64 2
%279 = load double, double* %278
%280 = call double @llvm.fmuladd.f64(double %275, double %276, double %279)
store double %280, double* %278
%281 = load double, double* %26
%282 = load double, double* %27
%283 = load double*, double** %25
%284 = getelementptr inbounds double, double* %283, i64 2
%285 = load double, double* %284
%286 = call double @llvm.fmuladd.f64(double %281, double %282, double %285)
store double %286, double* %284
ret void
}

LLVM IR (-O2):
define void @VAMPIREdiagTetra(double* %0, double* %1, double* %2, double* %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, double* nocapture %9, double* nocapture %10, double* nocapture %11, double %12) {
%14 = alloca [9 x double]
%15 = bitcast [9 x double]* %14 to i8*
%16 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 0
%17 = call i32 @cofactor3D(double* %16, double* %0, double* %1, double* %2, double* %3, double 1.000000e+00)
%18 = load double, double* %16
%19 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 1
%20 = bitcast double* %19 to <2 x double>*
%21 = load <2 x double>, <2 x double>* %20
%22 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 2
%23 = load double, double* %22
%24 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 3
%25 = load double, double* %24
%26 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 4
%27 = load double, double* %26
%28 = insertelement <2 x double> %21, double %27, i64 1
%29 = fmul <2 x double> %28, <double -1.250000e-01, double -1.250000e-01>
%30 = insertelement <2 x double> poison, double %18, i64 0
%31 = insertelement <2 x double> %30, double %25, i64 1
%32 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> <double 8.750000e-01, double 8.750000e-01>, <2 x double> %29)
%33 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 5
%34 = load double, double* %33
%35 = insertelement <2 x double> poison, double %23, i64 0
%36 = insertelement <2 x double> %35, double %34, i64 1
%37 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> <double 1.250000e-01, double 1.250000e-01>, <2 x double> %32)
%38 = bitcast double* %4 to <2 x double>*
%39 = load <2 x double>, <2 x double>* %38
%40 = insertelement <2 x double> poison, double %12, i64 0
%41 = shufflevector <2 x double> %40, <2 x double> poison, <2 x i32> zeroinitializer
%42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %41, <2 x double> %37, <2 x double> %39)
%43 = bitcast double* %4 to <2 x double>*
store <2 x double> %42, <2 x double>* %43
%44 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 6
%45 = load double, double* %44
%46 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 7
%47 = load double, double* %46
%48 = fmul double %47, -1.250000e-01
%49 = call double @llvm.fmuladd.f64(double %45, double 8.750000e-01, double %48)
%50 = getelementptr inbounds [9 x double], [9 x double]* %14, i64 0, i64 8
%51 = load double, double* %50
%52 = call double @llvm.fmuladd.f64(double %51, double 1.250000e-01, double %49)
%53 = getelementptr inbounds double, double* %4, i64 2
%54 = load double, double* %53
%55 = call double @llvm.fmuladd.f64(double %12, double %52, double %54)
store double %55, double* %53
%56 = fmul <2 x double> %28, <double 8.750000e-01, double 8.750000e-01>
%57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> <double -1.250000e-01, double -1.250000e-01>, <2 x double> %56)
%58 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %36, <2 x double> <double 1.250000e-01, double 1.250000e-01>, <2 x double> %57)
%59 = bitcast double* %5 to <2 x double>*
%60 = load <2 x double>, <2 x double>* %59
%61 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %41, <2 x double> %58, <2 x double> %60)
%62 = bitcast double* %5 to <2 x double>*
store <2 x double> %61, <2 x double>* %62
%63 = fmul double %47, 8.750000e-01
%64 = call double @llvm.fmuladd.f64(double %45, double -1.250000e-01, double %63)
%65 = call double @llvm.fmuladd.f64(double %51, double 1.250000e-01, double %64)
%66 = getelementptr inbounds double, double* %5, i64 2
%67 = load double, double* %66
%68 = call double @llvm.fmuladd.f64(double %12, double %65, double %67)
store double %68, double* %66
%69 = extractelement <2 x double> %29, i64 0
%70 = call double @llvm.fmuladd.f64(double %18, double -1.250000e-01, double %69)
%71 = call double @llvm.fmuladd.f64(double %23, double 1.250000e-01, double %70)
%72 = load double, double* %6
%73 = call double @llvm.fmuladd.f64(double %12, double %71, double %72)
store double %73, double* %6
%74 = load double, double* %7
%75 = call double @llvm.fmuladd.f64(double %12, double %71, double %74)
store double %75, double* %7
%76 = extractelement <2 x double> %29, i64 1
%77 = call double @llvm.fmuladd.f64(double %25, double -1.250000e-01, double %76)
%78 = call double @llvm.fmuladd.f64(double %34, double 1.250000e-01, double %77)
%79 = getelementptr inbounds double, double* %6, i64 1
%80 = load double, double* %79
%81 = call double @llvm.fmuladd.f64(double %12, double %78, double %80)
store double %81, double* %79
%82 = getelementptr inbounds double, double* %7, i64 1
%83 = load double, double* %82
%84 = call double @llvm.fmuladd.f64(double %12, double %78, double %83)
store double %84, double* %82
%85 = call double @llvm.fmuladd.f64(double %45, double -1.250000e-01, double %48)
%86 = call double @llvm.fmuladd.f64(double %51, double 1.250000e-01, double %85)
%87 = getelementptr inbounds double, double* %6, i64 2
%88 = load double, double* %87
%89 = call double @llvm.fmuladd.f64(double %12, double %86, double %88)
store double %89, double* %87
%90 = getelementptr inbounds double, double* %7, i64 2
%91 = load double, double* %90
%92 = call double @llvm.fmuladd.f64(double %12, double %86, double %91)
store double %92, double* %90
%93 = call double @llvm.fmuladd.f64(double %23, double -1.250000e-01, double %70)
%94 = load double, double* %8
%95 = call double @llvm.fmuladd.f64(double %12, double %93, double %94)
store double %95, double* %8
%96 = load double, double* %9
%97 = call double @llvm.fmuladd.f64(double %12, double %93, double %96)
store double %97, double* %9
%98 = load double, double* %10
%99 = call double @llvm.fmuladd.f64(double %12, double %93, double %98)
store double %99, double* %10
%100 = load double, double* %11
%101 = call double @llvm.fmuladd.f64(double %12, double %93, double %100)
store double %101, double* %11
%102 = call double @llvm.fmuladd.f64(double %34, double -1.250000e-01, double %77)
%103 = getelementptr inbounds double, double* %8, i64 1
%104 = load double, double* %103
%105 = call double @llvm.fmuladd.f64(double %12, double %102, double %104)
store double %105, double* %103
%106 = getelementptr inbounds double, double* %9, i64 1
%107 = load double, double* %106
%108 = call double @llvm.fmuladd.f64(double %12, double %102, double %107)
store double %108, double* %106
%109 = getelementptr inbounds double, double* %10, i64 1
%110 = load double, double* %109
%111 = call double @llvm.fmuladd.f64(double %12, double %102, double %110)
store double %111, double* %109
%112 = getelementptr inbounds double, double* %11, i64 1
%113 = load double, double* %112
%114 = call double @llvm.fmuladd.f64(double %12, double %102, double %113)
store double %114, double* %112
%115 = call double @llvm.fmuladd.f64(double %51, double -1.250000e-01, double %85)
%116 = getelementptr inbounds double, double* %8, i64 2
%117 = load double, double* %116
%118 = call double @llvm.fmuladd.f64(double %12, double %115, double %117)
store double %118, double* %116
%119 = getelementptr inbounds double, double* %9, i64 2
%120 = load double, double* %119
%121 = call double @llvm.fmuladd.f64(double %12, double %115, double %120)
store double %121, double* %119
%122 = getelementptr inbounds double, double* %10, i64 2
%123 = load double, double* %122
%124 = call double @llvm.fmuladd.f64(double %12, double %115, double %123)
store double %124, double* %122
%125 = getelementptr inbounds double, double* %11, i64 2
%126 = load double, double* %125
%127 = call double @llvm.fmuladd.f64(double %12, double %115, double %126)
store double %127, double* %125
ret void
}