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