; LLVM IR from parallella/pal :: src/image (p_harris3x3)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind uwtable
define dso_local void @p_harris3x3_f32(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = sub nsw i32 %25, 4
  store i32 %26, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = sub nsw i32 %27, 4
  store i32 %28, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = sub nsw i32 %29, 2
  %31 = mul nsw i32 %30, 3
  %32 = sub nsw i32 %31, 8
  store i32 %32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = sub nsw i32 %33, 2
  %35 = mul nsw i32 %34, 6
  %36 = add nsw i32 %35, 5
  store i32 %36, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %37, ptr %20, align 8, !tbaa !5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %38, ptr %21, align 8, !tbaa !5
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = load i32, ptr %10, align 4, !tbaa !9
  call void @_sst3x3(ptr noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef %42)
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %218, %5
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %47, label %221

47:                                               ; preds = %43
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %212, %47
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %52, label %215

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %53 = load ptr, ptr %21, align 8, !tbaa !5
  %54 = getelementptr inbounds float, ptr %53, i32 1
  store ptr %54, ptr %21, align 8, !tbaa !5
  %55 = load float, ptr %53, align 4, !tbaa !11
  store float %55, ptr %22, align 4, !tbaa !11
  %56 = load ptr, ptr %21, align 8, !tbaa !5
  %57 = getelementptr inbounds float, ptr %56, i32 1
  store ptr %57, ptr %21, align 8, !tbaa !5
  %58 = load float, ptr %56, align 4, !tbaa !11
  store float %58, ptr %23, align 4, !tbaa !11
  %59 = load ptr, ptr %21, align 8, !tbaa !5
  %60 = getelementptr inbounds float, ptr %59, i32 1
  store ptr %60, ptr %21, align 8, !tbaa !5
  %61 = load float, ptr %59, align 4, !tbaa !11
  store float %61, ptr %24, align 4, !tbaa !11
  %62 = load ptr, ptr %21, align 8, !tbaa !5
  %63 = getelementptr inbounds float, ptr %62, i32 1
  store ptr %63, ptr %21, align 8, !tbaa !5
  %64 = load float, ptr %62, align 4, !tbaa !11
  %65 = load float, ptr %22, align 4, !tbaa !11
  %66 = call float @llvm.fmuladd.f32(float %64, float 2.000000e+00, float %65)
  store float %66, ptr %22, align 4, !tbaa !11
  %67 = load ptr, ptr %21, align 8, !tbaa !5
  %68 = getelementptr inbounds float, ptr %67, i32 1
  store ptr %68, ptr %21, align 8, !tbaa !5
  %69 = load float, ptr %67, align 4, !tbaa !11
  %70 = load float, ptr %23, align 4, !tbaa !11
  %71 = call float @llvm.fmuladd.f32(float %69, float 2.000000e+00, float %70)
  store float %71, ptr %23, align 4, !tbaa !11
  %72 = load ptr, ptr %21, align 8, !tbaa !5
  %73 = getelementptr inbounds float, ptr %72, i32 1
  store ptr %73, ptr %21, align 8, !tbaa !5
  %74 = load float, ptr %72, align 4, !tbaa !11
  %75 = load float, ptr %24, align 4, !tbaa !11
  %76 = call float @llvm.fmuladd.f32(float %74, float 2.000000e+00, float %75)
  store float %76, ptr %24, align 4, !tbaa !11
  %77 = load ptr, ptr %21, align 8, !tbaa !5
  %78 = getelementptr inbounds float, ptr %77, i32 1
  store ptr %78, ptr %21, align 8, !tbaa !5
  %79 = load float, ptr %77, align 4, !tbaa !11
  %80 = load float, ptr %22, align 4, !tbaa !11
  %81 = fadd float %80, %79
  store float %81, ptr %22, align 4, !tbaa !11
  %82 = load ptr, ptr %21, align 8, !tbaa !5
  %83 = getelementptr inbounds float, ptr %82, i32 1
  store ptr %83, ptr %21, align 8, !tbaa !5
  %84 = load float, ptr %82, align 4, !tbaa !11
  %85 = load float, ptr %23, align 4, !tbaa !11
  %86 = fadd float %85, %84
  store float %86, ptr %23, align 4, !tbaa !11
  %87 = load ptr, ptr %21, align 8, !tbaa !5
  %88 = load float, ptr %87, align 4, !tbaa !11
  %89 = load float, ptr %24, align 4, !tbaa !11
  %90 = fadd float %89, %88
  store float %90, ptr %24, align 4, !tbaa !11
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = load ptr, ptr %21, align 8, !tbaa !5
  %93 = sext i32 %91 to i64
  %94 = getelementptr inbounds float, ptr %92, i64 %93
  store ptr %94, ptr %21, align 8, !tbaa !5
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = getelementptr inbounds float, ptr %95, i32 1
  store ptr %96, ptr %21, align 8, !tbaa !5
  %97 = load float, ptr %95, align 4, !tbaa !11
  %98 = load float, ptr %22, align 4, !tbaa !11
  %99 = call float @llvm.fmuladd.f32(float %97, float 2.000000e+00, float %98)
  store float %99, ptr %22, align 4, !tbaa !11
  %100 = load ptr, ptr %21, align 8, !tbaa !5
  %101 = getelementptr inbounds float, ptr %100, i32 1
  store ptr %101, ptr %21, align 8, !tbaa !5
  %102 = load float, ptr %100, align 4, !tbaa !11
  %103 = load float, ptr %23, align 4, !tbaa !11
  %104 = call float @llvm.fmuladd.f32(float %102, float 2.000000e+00, float %103)
  store float %104, ptr %23, align 4, !tbaa !11
  %105 = load ptr, ptr %21, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %105, i32 1
  store ptr %106, ptr %21, align 8, !tbaa !5
  %107 = load float, ptr %105, align 4, !tbaa !11
  %108 = load float, ptr %24, align 4, !tbaa !11
  %109 = call float @llvm.fmuladd.f32(float %107, float 2.000000e+00, float %108)
  store float %109, ptr %24, align 4, !tbaa !11
  %110 = load ptr, ptr %21, align 8, !tbaa !5
  %111 = getelementptr inbounds float, ptr %110, i32 1
  store ptr %111, ptr %21, align 8, !tbaa !5
  %112 = load float, ptr %110, align 4, !tbaa !11
  %113 = load float, ptr %22, align 4, !tbaa !11
  %114 = call float @llvm.fmuladd.f32(float %112, float 4.000000e+00, float %113)
  store float %114, ptr %22, align 4, !tbaa !11
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = getelementptr inbounds float, ptr %115, i32 1
  store ptr %116, ptr %21, align 8, !tbaa !5
  %117 = load float, ptr %115, align 4, !tbaa !11
  %118 = load float, ptr %23, align 4, !tbaa !11
  %119 = call float @llvm.fmuladd.f32(float %117, float 4.000000e+00, float %118)
  store float %119, ptr %23, align 4, !tbaa !11
  %120 = load ptr, ptr %21, align 8, !tbaa !5
  %121 = getelementptr inbounds float, ptr %120, i32 1
  store ptr %121, ptr %21, align 8, !tbaa !5
  %122 = load float, ptr %120, align 4, !tbaa !11
  %123 = load float, ptr %24, align 4, !tbaa !11
  %124 = call float @llvm.fmuladd.f32(float %122, float 4.000000e+00, float %123)
  store float %124, ptr %24, align 4, !tbaa !11
  %125 = load ptr, ptr %21, align 8, !tbaa !5
  %126 = getelementptr inbounds float, ptr %125, i32 1
  store ptr %126, ptr %21, align 8, !tbaa !5
  %127 = load float, ptr %125, align 4, !tbaa !11
  %128 = load float, ptr %22, align 4, !tbaa !11
  %129 = call float @llvm.fmuladd.f32(float %127, float 2.000000e+00, float %128)
  store float %129, ptr %22, align 4, !tbaa !11
  %130 = load ptr, ptr %21, align 8, !tbaa !5
  %131 = getelementptr inbounds float, ptr %130, i32 1
  store ptr %131, ptr %21, align 8, !tbaa !5
  %132 = load float, ptr %130, align 4, !tbaa !11
  %133 = load float, ptr %23, align 4, !tbaa !11
  %134 = call float @llvm.fmuladd.f32(float %132, float 2.000000e+00, float %133)
  store float %134, ptr %23, align 4, !tbaa !11
  %135 = load ptr, ptr %21, align 8, !tbaa !5
  %136 = load float, ptr %135, align 4, !tbaa !11
  %137 = load float, ptr %24, align 4, !tbaa !11
  %138 = call float @llvm.fmuladd.f32(float %136, float 2.000000e+00, float %137)
  store float %138, ptr %24, align 4, !tbaa !11
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = load ptr, ptr %21, align 8, !tbaa !5
  %141 = sext i32 %139 to i64
  %142 = getelementptr inbounds float, ptr %140, i64 %141
  store ptr %142, ptr %21, align 8, !tbaa !5
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = getelementptr inbounds float, ptr %143, i32 1
  store ptr %144, ptr %21, align 8, !tbaa !5
  %145 = load float, ptr %143, align 4, !tbaa !11
  %146 = load float, ptr %22, align 4, !tbaa !11
  %147 = fadd float %146, %145
  store float %147, ptr %22, align 4, !tbaa !11
  %148 = load ptr, ptr %21, align 8, !tbaa !5
  %149 = getelementptr inbounds float, ptr %148, i32 1
  store ptr %149, ptr %21, align 8, !tbaa !5
  %150 = load float, ptr %148, align 4, !tbaa !11
  %151 = load float, ptr %23, align 4, !tbaa !11
  %152 = fadd float %151, %150
  store float %152, ptr %23, align 4, !tbaa !11
  %153 = load ptr, ptr %21, align 8, !tbaa !5
  %154 = getelementptr inbounds float, ptr %153, i32 1
  store ptr %154, ptr %21, align 8, !tbaa !5
  %155 = load float, ptr %153, align 4, !tbaa !11
  %156 = load float, ptr %24, align 4, !tbaa !11
  %157 = fadd float %156, %155
  store float %157, ptr %24, align 4, !tbaa !11
  %158 = load ptr, ptr %21, align 8, !tbaa !5
  %159 = getelementptr inbounds float, ptr %158, i32 1
  store ptr %159, ptr %21, align 8, !tbaa !5
  %160 = load float, ptr %158, align 4, !tbaa !11
  %161 = load float, ptr %22, align 4, !tbaa !11
  %162 = call float @llvm.fmuladd.f32(float %160, float 2.000000e+00, float %161)
  store float %162, ptr %22, align 4, !tbaa !11
  %163 = load ptr, ptr %21, align 8, !tbaa !5
  %164 = getelementptr inbounds float, ptr %163, i32 1
  store ptr %164, ptr %21, align 8, !tbaa !5
  %165 = load float, ptr %163, align 4, !tbaa !11
  %166 = load float, ptr %23, align 4, !tbaa !11
  %167 = call float @llvm.fmuladd.f32(float %165, float 2.000000e+00, float %166)
  store float %167, ptr %23, align 4, !tbaa !11
  %168 = load ptr, ptr %21, align 8, !tbaa !5
  %169 = getelementptr inbounds float, ptr %168, i32 1
  store ptr %169, ptr %21, align 8, !tbaa !5
  %170 = load float, ptr %168, align 4, !tbaa !11
  %171 = load float, ptr %24, align 4, !tbaa !11
  %172 = call float @llvm.fmuladd.f32(float %170, float 2.000000e+00, float %171)
  store float %172, ptr %24, align 4, !tbaa !11
  %173 = load ptr, ptr %21, align 8, !tbaa !5
  %174 = getelementptr inbounds float, ptr %173, i32 1
  store ptr %174, ptr %21, align 8, !tbaa !5
  %175 = load float, ptr %173, align 4, !tbaa !11
  %176 = load float, ptr %22, align 4, !tbaa !11
  %177 = fadd float %176, %175
  store float %177, ptr %22, align 4, !tbaa !11
  %178 = load ptr, ptr %21, align 8, !tbaa !5
  %179 = getelementptr inbounds float, ptr %178, i32 1
  store ptr %179, ptr %21, align 8, !tbaa !5
  %180 = load float, ptr %178, align 4, !tbaa !11
  %181 = load float, ptr %23, align 4, !tbaa !11
  %182 = fadd float %181, %180
  store float %182, ptr %23, align 4, !tbaa !11
  %183 = load ptr, ptr %21, align 8, !tbaa !5
  %184 = load float, ptr %183, align 4, !tbaa !11
  %185 = load float, ptr %24, align 4, !tbaa !11
  %186 = fadd float %185, %184
  store float %186, ptr %24, align 4, !tbaa !11
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = load ptr, ptr %21, align 8, !tbaa !5
  %189 = sext i32 %187 to i64
  %190 = sub i64 0, %189
  %191 = getelementptr inbounds float, ptr %188, i64 %190
  store ptr %191, ptr %21, align 8, !tbaa !5
  %192 = load float, ptr %22, align 4, !tbaa !11
  %193 = load float, ptr %23, align 4, !tbaa !11
  %194 = load float, ptr %24, align 4, !tbaa !11
  %195 = load float, ptr %24, align 4, !tbaa !11
  %196 = fmul float %194, %195
  %197 = fneg float %196
  %198 = call float @llvm.fmuladd.f32(float %192, float %193, float %197)
  %199 = load float, ptr %22, align 4, !tbaa !11
  %200 = load float, ptr %23, align 4, !tbaa !11
  %201 = fadd float %199, %200
  %202 = fmul float 0x3FC0A3D700000000, %201
  %203 = load float, ptr %22, align 4, !tbaa !11
  %204 = load float, ptr %23, align 4, !tbaa !11
  %205 = fadd float %203, %204
  %206 = fneg float %202
  %207 = call float @llvm.fmuladd.f32(float %206, float %205, float %198)
  %208 = fmul float %207, 1.562500e-02
  %209 = load ptr, ptr %20, align 8, !tbaa !5
  store float %208, ptr %209, align 4, !tbaa !11
  %210 = load ptr, ptr %20, align 8, !tbaa !5
  %211 = getelementptr inbounds float, ptr %210, i32 1
  store ptr %211, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %212

212:                                              ; preds = %52
  %213 = load i32, ptr %12, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %12, align 4, !tbaa !9
  br label %48, !llvm.loop !13

215:                                              ; preds = %48
  %216 = load ptr, ptr %21, align 8, !tbaa !5
  %217 = getelementptr inbounds float, ptr %216, i64 6
  store ptr %217, ptr %21, align 8, !tbaa !5
  br label %218

218:                                              ; preds = %215
  %219 = load i32, ptr %11, align 4, !tbaa !9
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %11, align 4, !tbaa !9
  br label %43, !llvm.loop !15

221:                                              ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
declare hidden void @_sst3x3(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind uwtable
define dso_local void @p_harris3x3_f32(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  tail call void @_sst3x3(ptr noundef %0, ptr noundef %2, i32 noundef %3, i32 noundef %4)
  %6 = icmp sgt i32 %3, 4
  br i1 %6, label %.preheader.lr.ph, label %._crit_edge94

.preheader.lr.ph:                                 ; preds = %5
  %7 = add nsw i32 %4, -2
  %.neg = mul i32 %7, -6
  %8 = mul nsw i32 %7, 3
  %9 = add nsw i32 %8, -8
  %10 = icmp sgt i32 %4, 4
  %11 = sext i32 %9 to i64
  %narrow = add i32 %.neg, -5
  %12 = sext i32 %narrow to i64
  br i1 %10, label %.preheader.us.preheader, label %._crit_edge94

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %13 = add nsw i32 %4, -5
  %14 = add nsw i32 %3, -5
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %.093.us = phi i32 [ %80, %._crit_edge.us ], [ 0, %.preheader.us.preheader ]
  %.08492.us = phi ptr [ %77, %._crit_edge.us ], [ %1, %.preheader.us.preheader ]
  %.08591.us = phi ptr [ %79, %._crit_edge.us ], [ %2, %.preheader.us.preheader ]
  br label %15

15:                                               ; preds = %.preheader.us, %15
  %.08389.us = phi i32 [ 0, %.preheader.us ], [ %78, %15 ]
  %.188.us = phi ptr [ %.08492.us, %.preheader.us ], [ %77, %15 ]
  %.18687.us = phi ptr [ %.08591.us, %.preheader.us ], [ %67, %15 ]
  %16 = getelementptr inbounds i8, ptr %.18687.us, i64 8
  %17 = getelementptr inbounds i8, ptr %.18687.us, i64 12
  %18 = load float, ptr %16, align 4, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %.18687.us, i64 20
  %20 = getelementptr inbounds i8, ptr %.18687.us, i64 24
  %21 = load float, ptr %19, align 4, !tbaa !5
  %22 = tail call float @llvm.fmuladd.f32(float %21, float 2.000000e+00, float %18)
  %23 = getelementptr inbounds i8, ptr %.18687.us, i64 32
  %24 = load float, ptr %23, align 4, !tbaa !5
  %25 = fadd float %22, %24
  %26 = getelementptr inbounds float, ptr %23, i64 %11
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = getelementptr inbounds i8, ptr %26, i64 12
  %29 = load float, ptr %27, align 4, !tbaa !5
  %30 = tail call float @llvm.fmuladd.f32(float %29, float 2.000000e+00, float %25)
  %31 = getelementptr inbounds i8, ptr %26, i64 20
  %32 = getelementptr inbounds i8, ptr %26, i64 24
  %33 = load float, ptr %31, align 4, !tbaa !5
  %34 = tail call float @llvm.fmuladd.f32(float %33, float 4.000000e+00, float %30)
  %35 = getelementptr inbounds i8, ptr %26, i64 32
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = tail call float @llvm.fmuladd.f32(float %36, float 2.000000e+00, float %34)
  %38 = getelementptr inbounds float, ptr %35, i64 %11
  %39 = getelementptr inbounds i8, ptr %38, i64 8
  %40 = getelementptr inbounds i8, ptr %38, i64 12
  %41 = load float, ptr %39, align 4, !tbaa !5
  %42 = fadd float %37, %41
  %43 = getelementptr inbounds i8, ptr %38, i64 20
  %44 = getelementptr inbounds i8, ptr %38, i64 24
  %45 = load float, ptr %43, align 4, !tbaa !5
  %46 = tail call float @llvm.fmuladd.f32(float %45, float 2.000000e+00, float %42)
  %47 = getelementptr inbounds i8, ptr %38, i64 32
  %48 = load <2 x float>, ptr %.18687.us, align 4, !tbaa !5
  %49 = load <2 x float>, ptr %17, align 4, !tbaa !5
  %50 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %49, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %48)
  %51 = load <2 x float>, ptr %20, align 4, !tbaa !5
  %52 = fadd <2 x float> %50, %51
  %53 = load <2 x float>, ptr %26, align 4, !tbaa !5
  %54 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %53, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %52)
  %55 = load <2 x float>, ptr %28, align 4, !tbaa !5
  %56 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %55, <2 x float> <float 4.000000e+00, float 4.000000e+00>, <2 x float> %54)
  %57 = load <2 x float>, ptr %32, align 4, !tbaa !5
  %58 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %57, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %56)
  %59 = load <2 x float>, ptr %38, align 4, !tbaa !5
  %60 = fadd <2 x float> %58, %59
  %61 = load <2 x float>, ptr %40, align 4, !tbaa !5
  %62 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %61, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %60)
  %63 = load <2 x float>, ptr %44, align 4, !tbaa !5
  %64 = fadd <2 x float> %62, %63
  %65 = load float, ptr %47, align 4, !tbaa !5
  %66 = fadd float %46, %65
  %67 = getelementptr inbounds float, ptr %47, i64 %12
  %68 = fneg float %66
  %69 = fmul float %66, %68
  %70 = extractelement <2 x float> %64, i64 0
  %71 = extractelement <2 x float> %64, i64 1
  %72 = tail call float @llvm.fmuladd.f32(float %70, float %71, float %69)
  %73 = fadd float %70, %71
  %74 = fmul float %73, 0xBFC0A3D700000000
  %75 = tail call float @llvm.fmuladd.f32(float %74, float %73, float %72)
  %76 = fmul float %75, 1.562500e-02
  store float %76, ptr %.188.us, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %.188.us, i64 4
  %78 = add nuw nsw i32 %.08389.us, 1
  %exitcond.not = icmp eq i32 %.08389.us, %13
  br i1 %exitcond.not, label %._crit_edge.us, label %15, !llvm.loop !9

._crit_edge.us:                                   ; preds = %15
  %79 = getelementptr inbounds i8, ptr %67, i64 24
  %80 = add nuw nsw i32 %.093.us, 1
  %exitcond97.not = icmp eq i32 %.093.us, %14
  br i1 %exitcond97.not, label %._crit_edge94, label %.preheader.us, !llvm.loop !11

._crit_edge94:                                    ; preds = %._crit_edge.us, %.preheader.lr.ph, %5
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @_sst3x3(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass