#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 */
typedef int /*<<< orphan*/ __m128;

/* Variables and functions */
int /*<<< orphan*/ _mm_add_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_add_ss(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_load_ps1(float const *);
int /*<<< orphan*/ _mm_loadu_ps(float const *);
int /*<<< orphan*/ _mm_move_ss(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_mul_ps(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_setr_ps(float const, float const, int /*<<< orphan*/,
                               int /*<<< orphan*/);
int /*<<< orphan*/ _mm_shuffle_ps(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_store_ss(float *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_storeu_ps(float *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_sub_ps(int /*<<< orphan*/, int /*<<< orphan*/);
void filter_mem2_10(const float *x, const float *_num, const float *_den,
                    float *y, int N, int ord, float *_mem) {
  __m128 num[3], den[3], mem[3];
  int i;
  for (i = 0; i < 2; i++) {
    mem[i] = _mm_loadu_ps(_mem + 4 * i);
    num[i] = _mm_loadu_ps(_num + 4 * i + 1);
    den[i] = _mm_loadu_ps(_den + 4 * i + 1);
  }
  mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0);
  num[2] = _mm_setr_ps(_num[9], _num[10], 0, 0);
  den[2] = _mm_setr_ps(_den[9], _den[10], 0, 0);
  for (i = 0; i < N; i++) {
    __m128 xx;
    __m128 yy;
    xx = _mm_load_ps1(x + i);
    yy = _mm_add_ss(xx, mem[0]);
    _mm_store_ss(y + i, yy);
    yy = _mm_shuffle_ps(yy, yy, 0);
    mem[0] = _mm_move_ss(mem[0], mem[1]);
    mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39);
    mem[0] = _mm_add_ps(mem[0], _mm_mul_ps(xx, num[0]));
    mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0]));
    mem[1] = _mm_move_ss(mem[1], mem[2]);
    mem[1] = _mm_shuffle_ps(mem[1], mem[1], 0x39);
    mem[1] = _mm_add_ps(mem[1], _mm_mul_ps(xx, num[1]));
    mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1]));
    mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0xfd);
    mem[2] = _mm_add_ps(mem[2], _mm_mul_ps(xx, num[2]));
    mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2]));
  }
  _mm_storeu_ps(_mem, mem[0]);
  _mm_storeu_ps(_mem + 4, mem[1]);
  _mm_store_ss(_mem + 8, mem[2]);
  mem[2] = _mm_shuffle_ps(mem[2], mem[2], 0x55);
  _mm_store_ss(_mem + 9, mem[2]);
}


x86 assembly (clang, -O0):
<filter_mem2_10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
movl   $0x0,-0x50(%rbp)
cmpl   $0x2,-0x50(%rbp)
jge    1261 <filter_mem2_10+0xb1>
mov    0x10(%rbp),%rdi
mov    -0x50(%rbp),%eax
shl    $0x2,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ecx
movslq -0x50(%rbp),%rax
mov    %ecx,-0x4c(%rbp,%rax,4)
mov    -0x10(%rbp),%rdi
mov    -0x50(%rbp),%eax
shl    $0x2,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
add    $0x4,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ecx
movslq -0x50(%rbp),%rax
mov    %ecx,-0x34(%rbp,%rax,4)
mov    -0x18(%rbp),%rdi
mov    -0x50(%rbp),%eax
shl    $0x2,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
add    $0x4,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ecx
movslq -0x50(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    11db <filter_mem2_10+0x2b>
mov    0x10(%rbp),%rax
movss  0x20(%rax),%xmm0
mov    0x10(%rbp),%rax
movss  0x24(%rax),%xmm1
xor    %esi,%esi
mov    %esi,%edi
call   10d0 <_mm_setr_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x10(%rbp),%rax
movss  0x24(%rax),%xmm0
mov    -0x10(%rbp),%rax
movss  0x28(%rax),%xmm1
xor    %esi,%esi
mov    %esi,%edi
call   10d0 <_mm_setr_ps@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
movss  0x24(%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  0x28(%rax),%xmm1
xor    %esi,%esi
mov    %esi,%edi
call   10d0 <_mm_setr_ps@plt>
mov    %eax,-0x38(%rbp)
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1431 <filter_mem2_10+0x281>
mov    -0x8(%rbp),%rdi
movslq -0x50(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdi
call   1030 <_mm_load_ps1@plt>
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1090 <_mm_add_ss@plt>
mov    %eax,-0x58(%rbp)
mov    -0x20(%rbp),%rdi
movslq -0x50(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdi
mov    -0x58(%rbp),%esi
call   1080 <_mm_store_ss@plt>
mov    -0x58(%rbp),%edi
mov    -0x58(%rbp),%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x58(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1040 <_mm_move_ss@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x4c(%rbp),%esi
mov    $0x39,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x34(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x70(%rbp),%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x40(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x6c(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x44(%rbp),%esi
call   1040 <_mm_move_ss@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x39,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x30(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x68(%rbp),%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x64(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,-0x48(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x44(%rbp),%esi
mov    $0xfd,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x60(%rbp),%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x38(%rbp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    -0x5c(%rbp),%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    12c2 <filter_mem2_10+0x112>
mov    0x10(%rbp),%rdi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_storeu_ps@plt>
mov    0x10(%rbp),%rdi
add    $0x10,%rdi
mov    -0x48(%rbp),%esi
call   1060 <_mm_storeu_ps@plt>
mov    0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x44(%rbp),%esi
call   1080 <_mm_store_ss@plt>
mov    -0x44(%rbp),%edi
mov    -0x44(%rbp),%esi
mov    $0x55,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x44(%rbp)
mov    0x10(%rbp),%rdi
add    $0x24,%rdi
mov    -0x44(%rbp),%esi
call   1080 <_mm_store_ss@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<filter_mem2_10>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r8d,%ebp
mov    %rcx,0x10(%rsp)
mov    %rdx,%r13
mov    %rsi,%r12
mov    %rdi,%r14
mov    0x90(%rsp),%rbx
mov    %rbx,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%r15d
lea    0x4(%r12),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0x20(%rsp)
lea    0x4(%r13),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0x2c(%rsp)
lea    0x10(%rbx),%rdi
mov    %rdi,0x48(%rsp)
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0xc(%rsp)
lea    0x14(%r12),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0x28(%rsp)
lea    0x14(%r13),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0x24(%rsp)
lea    0x20(%rbx),%rax
mov    %rax,0x38(%rsp)
lea    0x24(%rbx),%rax
mov    %rax,0x40(%rsp)
movss  0x20(%rbx),%xmm0
mov    %rbx,0x50(%rsp)
movss  0x24(%rbx),%xmm1
xor    %edi,%edi
xor    %esi,%esi
call   10d0 <_mm_setr_ps@plt>
mov    %eax,%ebx
movss  0x24(%r12),%xmm0
movss  0x28(%r12),%xmm1
xor    %edi,%edi
xor    %esi,%esi
call   10d0 <_mm_setr_ps@plt>
mov    %eax,%r12d
movss  0x24(%r13),%xmm0
movss  0x28(%r13),%xmm1
xor    %edi,%edi
xor    %esi,%esi
call   10d0 <_mm_setr_ps@plt>
mov    %ebp,%ecx
test   %ebp,%ebp
mov    %r15d,0x8(%rsp)
jle    13e6 <filter_mem2_10+0x236>
mov    %eax,%ebp
mov    0x10(%rsp),%r13
mov    %ecx,%eax
mov    %r12d,0x1c(%rsp)
mov    %ebp,0x18(%rsp)
cs nopw 0x0(%rax,%rax,1)
mov    %ebx,0x34(%rsp)
mov    %rax,0x10(%rsp)
mov    %r14,%rdi
call   1030 <_mm_load_ps1@plt>
mov    %eax,%r15d
mov    %eax,%edi
mov    0x8(%rsp),%ebp
mov    %ebp,%esi
call   1090 <_mm_add_ss@plt>
mov    %eax,%ebx
mov    %r13,%rdi
mov    %eax,%esi
call   1080 <_mm_store_ss@plt>
mov    %ebx,%edi
mov    %ebx,%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%r12d
mov    %ebp,%edi
mov    0xc(%rsp),%ebp
mov    %ebp,%esi
call   1040 <_mm_move_ss@plt>
mov    %eax,%edi
mov    %eax,%esi
mov    $0x39,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    0x20(%rsp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,%ebx
mov    %r12d,%edi
mov    %r12d,0x30(%rsp)
mov    0x2c(%rsp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,0x8(%rsp)
mov    %ebp,%edi
mov    0x34(%rsp),%ebp
mov    %ebp,%esi
call   1040 <_mm_move_ss@plt>
mov    %eax,%edi
mov    %eax,%esi
mov    $0x39,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    0x28(%rsp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,%ebx
mov    %r12d,%edi
mov    0x24(%rsp),%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,0xc(%rsp)
mov    %ebp,%edi
mov    %ebp,%esi
mov    0x18(%rsp),%ebp
mov    0x1c(%rsp),%r12d
mov    $0xfd,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%ebx
mov    %r15d,%edi
mov    %r12d,%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10c0 <_mm_add_ps@plt>
mov    %eax,%ebx
mov    0x30(%rsp),%edi
mov    %ebp,%esi
call   10a0 <_mm_mul_ps@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10b0 <_mm_sub_ps@plt>
mov    %eax,%ebx
mov    0x10(%rsp),%rax
add    $0x4,%r13
add    $0x4,%r14
add    $0xffffffffffffffff,%rax
jne    12b0 <filter_mem2_10+0x100>
mov    0x50(%rsp),%rdi
mov    0x8(%rsp),%esi
call   1060 <_mm_storeu_ps@plt>
mov    0x48(%rsp),%rdi
mov    0xc(%rsp),%esi
call   1060 <_mm_storeu_ps@plt>
mov    0x38(%rsp),%rdi
mov    %ebx,%esi
call   1080 <_mm_store_ss@plt>
mov    %ebx,%edi
mov    %ebx,%esi
mov    $0x55,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    0x40(%rsp),%rdi
mov    %eax,%esi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1080 <_mm_store_ss@plt>

LLVM IR (-O0):
define void @filter_mem2_10(float* %0, float* %1, float* %2, float* %3, i32 %4, i32 %5, float* %6) {
%8 = alloca float*
%9 = alloca float*
%10 = alloca float*
%11 = alloca float*
%12 = alloca i32
%13 = alloca i32
%14 = alloca float*
%15 = alloca [3 x i32]
%16 = alloca [3 x i32]
%17 = alloca [3 x i32]
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
store float* %0, float** %8
store float* %1, float** %9
store float* %2, float** %10
store float* %3, float** %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store float* %6, float** %14
store i32 0, i32* %18
br label %21
21: ; preds = %54, %7
%22 = load i32, i32* %18
%23 = icmp slt i32 %22, 2
br i1 %23, label %24, label %57
24: ; preds = %21
%25 = load float*, float** %14
%26 = load i32, i32* %18
%27 = mul nsw i32 4, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, float* %25, i64 %28
%30 = call i32 @_mm_loadu_ps(float* %29)
%31 = load i32, i32* %18
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 %32
store i32 %30, i32* %33
%34 = load float*, float** %9
%35 = load i32, i32* %18
%36 = mul nsw i32 4, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, float* %34, i64 %37
%39 = getelementptr inbounds float, float* %38, i64 1
%40 = call i32 @_mm_loadu_ps(float* %39)
%41 = load i32, i32* %18
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 %42
store i32 %40, i32* %43
%44 = load float*, float** %10
%45 = load i32, i32* %18
%46 = mul nsw i32 4, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds float, float* %44, i64 %47
%49 = getelementptr inbounds float, float* %48, i64 1
%50 = call i32 @_mm_loadu_ps(float* %49)
%51 = load i32, i32* %18
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 %52
store i32 %50, i32* %53
br label %54
54: ; preds = %24
%55 = load i32, i32* %18
%56 = add nsw i32 %55, 1
store i32 %56, i32* %18
br label %21
57: ; preds = %21
%58 = load float*, float** %14
%59 = getelementptr inbounds float, float* %58, i64 8
%60 = load float, float* %59
%61 = load float*, float** %14
%62 = getelementptr inbounds float, float* %61, i64 9
%63 = load float, float* %62
%64 = call i32 @_mm_setr_ps(float %60, float %63, i32 0, i32 0)
%65 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
store i32 %64, i32* %65
%66 = load float*, float** %9
%67 = getelementptr inbounds float, float* %66, i64 9
%68 = load float, float* %67
%69 = load float*, float** %9
%70 = getelementptr inbounds float, float* %69, i64 10
%71 = load float, float* %70
%72 = call i32 @_mm_setr_ps(float %68, float %71, i32 0, i32 0)
%73 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 2
store i32 %72, i32* %73
%74 = load float*, float** %10
%75 = getelementptr inbounds float, float* %74, i64 9
%76 = load float, float* %75
%77 = load float*, float** %10
%78 = getelementptr inbounds float, float* %77, i64 10
%79 = load float, float* %78
%80 = call i32 @_mm_setr_ps(float %76, float %79, i32 0, i32 0)
%81 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 2
store i32 %80, i32* %81
store i32 0, i32* %18
br label %82
82: ; preds = %183, %57
%83 = load i32, i32* %18
%84 = load i32, i32* %12
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %186
86: ; preds = %82
%87 = load float*, float** %8
%88 = load i32, i32* %18
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds float, float* %87, i64 %89
%91 = call i32 @_mm_load_ps1(float* %90)
store i32 %91, i32* %19
%92 = load i32, i32* %19
%93 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%94 = load i32, i32* %93
%95 = call i32 @_mm_add_ss(i32 %92, i32 %94)
store i32 %95, i32* %20
%96 = load float*, float** %11
%97 = load i32, i32* %18
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds float, float* %96, i64 %98
%100 = load i32, i32* %20
%101 = call i32 @_mm_store_ss(float* %99, i32 %100)
%102 = load i32, i32* %20
%103 = load i32, i32* %20
%104 = call i32 @_mm_shuffle_ps(i32 %102, i32 %103, i32 0)
store i32 %104, i32* %20
%105 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%106 = load i32, i32* %105
%107 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%108 = load i32, i32* %107
%109 = call i32 @_mm_move_ss(i32 %106, i32 %108)
%110 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
store i32 %109, i32* %110
%111 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%112 = load i32, i32* %111
%113 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%114 = load i32, i32* %113
%115 = call i32 @_mm_shuffle_ps(i32 %112, i32 %114, i32 57)
%116 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
store i32 %115, i32* %116
%117 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%118 = load i32, i32* %117
%119 = load i32, i32* %19
%120 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%121 = load i32, i32* %120
%122 = call i32 @_mm_mul_ps(i32 %119, i32 %121)
%123 = call i32 @_mm_add_ps(i32 %118, i32 %122)
%124 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
store i32 %123, i32* %124
%125 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%126 = load i32, i32* %125
%127 = load i32, i32* %20
%128 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%129 = load i32, i32* %128
%130 = call i32 @_mm_mul_ps(i32 %127, i32 %129)
%131 = call i32 @_mm_sub_ps(i32 %126, i32 %130)
%132 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
store i32 %131, i32* %132
%133 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%134 = load i32, i32* %133
%135 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%136 = load i32, i32* %135
%137 = call i32 @_mm_move_ss(i32 %134, i32 %136)
%138 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
store i32 %137, i32* %138
%139 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%140 = load i32, i32* %139
%141 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%142 = load i32, i32* %141
%143 = call i32 @_mm_shuffle_ps(i32 %140, i32 %142, i32 57)
%144 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
store i32 %143, i32* %144
%145 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%146 = load i32, i32* %145
%147 = load i32, i32* %19
%148 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 1
%149 = load i32, i32* %148
%150 = call i32 @_mm_mul_ps(i32 %147, i32 %149)
%151 = call i32 @_mm_add_ps(i32 %146, i32 %150)
%152 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
store i32 %151, i32* %152
%153 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%154 = load i32, i32* %153
%155 = load i32, i32* %20
%156 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 1
%157 = load i32, i32* %156
%158 = call i32 @_mm_mul_ps(i32 %155, i32 %157)
%159 = call i32 @_mm_sub_ps(i32 %154, i32 %158)
%160 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
store i32 %159, i32* %160
%161 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%162 = load i32, i32* %161
%163 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%164 = load i32, i32* %163
%165 = call i32 @_mm_shuffle_ps(i32 %162, i32 %164, i32 253)
%166 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
store i32 %165, i32* %166
%167 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%168 = load i32, i32* %167
%169 = load i32, i32* %19
%170 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 2
%171 = load i32, i32* %170
%172 = call i32 @_mm_mul_ps(i32 %169, i32 %171)
%173 = call i32 @_mm_add_ps(i32 %168, i32 %172)
%174 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
store i32 %173, i32* %174
%175 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%176 = load i32, i32* %175
%177 = load i32, i32* %20
%178 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 2
%179 = load i32, i32* %178
%180 = call i32 @_mm_mul_ps(i32 %177, i32 %179)
%181 = call i32 @_mm_sub_ps(i32 %176, i32 %180)
%182 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
store i32 %181, i32* %182
br label %183
183: ; preds = %86
%184 = load i32, i32* %18
%185 = add nsw i32 %184, 1
store i32 %185, i32* %18
br label %82
186: ; preds = %82
%187 = load float*, float** %14
%188 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%189 = load i32, i32* %188
%190 = call i32 @_mm_storeu_ps(float* %187, i32 %189)
%191 = load float*, float** %14
%192 = getelementptr inbounds float, float* %191, i64 4
%193 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 1
%194 = load i32, i32* %193
%195 = call i32 @_mm_storeu_ps(float* %192, i32 %194)
%196 = load float*, float** %14
%197 = getelementptr inbounds float, float* %196, i64 8
%198 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%199 = load i32, i32* %198
%200 = call i32 @_mm_store_ss(float* %197, i32 %199)
%201 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%202 = load i32, i32* %201
%203 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%204 = load i32, i32* %203
%205 = call i32 @_mm_shuffle_ps(i32 %202, i32 %204, i32 85)
%206 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
store i32 %205, i32* %206
%207 = load float*, float** %14
%208 = getelementptr inbounds float, float* %207, i64 9
%209 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 2
%210 = load i32, i32* %209
%211 = call i32 @_mm_store_ss(float* %208, i32 %210)
ret void
}

LLVM IR (-O2):
define void @filter_mem2_10(float* %0, float* %1, float* %2, float* %3, i32 %4, i32 %5, float* %6) {
%8 = tail call i32 @_mm_loadu_ps(float* %6)
%9 = getelementptr inbounds float, float* %1, i64 1
%10 = tail call i32 @_mm_loadu_ps(float* %9)
%11 = getelementptr inbounds float, float* %2, i64 1
%12 = tail call i32 @_mm_loadu_ps(float* %11)
%13 = getelementptr inbounds float, float* %6, i64 4
%14 = tail call i32 @_mm_loadu_ps(float* %13)
%15 = getelementptr inbounds float, float* %1, i64 5
%16 = tail call i32 @_mm_loadu_ps(float* %15)
%17 = getelementptr inbounds float, float* %2, i64 5
%18 = tail call i32 @_mm_loadu_ps(float* %17)
%19 = getelementptr inbounds float, float* %6, i64 8
%20 = load float, float* %19
%21 = getelementptr inbounds float, float* %6, i64 9
%22 = load float, float* %21
%23 = tail call i32 @_mm_setr_ps(float %20, float %22, i32 0, i32 0)
%24 = getelementptr inbounds float, float* %1, i64 9
%25 = load float, float* %24
%26 = getelementptr inbounds float, float* %1, i64 10
%27 = load float, float* %26
%28 = tail call i32 @_mm_setr_ps(float %25, float %27, i32 0, i32 0)
%29 = getelementptr inbounds float, float* %2, i64 9
%30 = load float, float* %29
%31 = getelementptr inbounds float, float* %2, i64 10
%32 = load float, float* %31
%33 = tail call i32 @_mm_setr_ps(float %30, float %32, i32 0, i32 0)
%34 = icmp sgt i32 %4, 0
br i1 %34, label %35, label %67
35: ; preds = %7
%36 = zext i32 %4 to i64
br label %37
37: ; preds = %35, %37
%38 = phi i64 [ 0, %35 ], [ %65, %37 ]
%39 = phi i32 [ %14, %35 ], [ %59, %37 ]
%40 = phi i32 [ %8, %35 ], [ %53, %37 ]
%41 = phi i32 [ %23, %35 ], [ %64, %37 ]
%42 = getelementptr inbounds float, float* %0, i64 %38
%43 = tail call i32 @_mm_load_ps1(float* %42)
%44 = tail call i32 @_mm_add_ss(i32 %43, i32 %40)
%45 = getelementptr inbounds float, float* %3, i64 %38
%46 = tail call i32 @_mm_store_ss(float* %45, i32 %44)
%47 = tail call i32 @_mm_shuffle_ps(i32 %44, i32 %44, i32 0)
%48 = tail call i32 @_mm_move_ss(i32 %40, i32 %39)
%49 = tail call i32 @_mm_shuffle_ps(i32 %48, i32 %48, i32 57)
%50 = tail call i32 @_mm_mul_ps(i32 %43, i32 %10)
%51 = tail call i32 @_mm_add_ps(i32 %49, i32 %50)
%52 = tail call i32 @_mm_mul_ps(i32 %47, i32 %12)
%53 = tail call i32 @_mm_sub_ps(i32 %51, i32 %52)
%54 = tail call i32 @_mm_move_ss(i32 %39, i32 %41)
%55 = tail call i32 @_mm_shuffle_ps(i32 %54, i32 %54, i32 57)
%56 = tail call i32 @_mm_mul_ps(i32 %43, i32 %16)
%57 = tail call i32 @_mm_add_ps(i32 %55, i32 %56)
%58 = tail call i32 @_mm_mul_ps(i32 %47, i32 %18)
%59 = tail call i32 @_mm_sub_ps(i32 %57, i32 %58)
%60 = tail call i32 @_mm_shuffle_ps(i32 %41, i32 %41, i32 253)
%61 = tail call i32 @_mm_mul_ps(i32 %43, i32 %28)
%62 = tail call i32 @_mm_add_ps(i32 %60, i32 %61)
%63 = tail call i32 @_mm_mul_ps(i32 %47, i32 %33)
%64 = tail call i32 @_mm_sub_ps(i32 %62, i32 %63)
%65 = add nuw nsw i64 %38, 1
%66 = icmp eq i64 %65, %36
br i1 %66, label %67, label %37
67: ; preds = %37, %7
%68 = phi i32 [ %14, %7 ], [ %59, %37 ]
%69 = phi i32 [ %8, %7 ], [ %53, %37 ]
%70 = phi i32 [ %23, %7 ], [ %64, %37 ]
%71 = tail call i32 @_mm_storeu_ps(float* %6, i32 %69)
%72 = tail call i32 @_mm_storeu_ps(float* %13, i32 %68)
%73 = tail call i32 @_mm_store_ss(float* %19, i32 %70)
%74 = tail call i32 @_mm_shuffle_ps(i32 %70, i32 %70, i32 85)
%75 = tail call i32 @_mm_store_ss(float* %21, i32 %74)
ret void
}