; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/gauss_iir (gauss_iir)

; 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"

%class.ImageContent = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8HorConv5P12ImageContentS0_(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %15)
  store i32 %16, ptr %5, align 4, !tbaa !9
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %17)
  store i32 %18, ptr %6, align 4, !tbaa !9
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %class.ImageContent, ptr %19, i32 0, i32 4
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  store ptr %21, ptr %9, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %class.ImageContent, ptr %22, i32 0, i32 4
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  store ptr %24, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %205, %2
  %26 = load i32, ptr %7, align 4, !tbaa !9
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = icmp slt i32 %26, %27
  br i1 %28, label %29, label %208

29:                                               ; preds = %25
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds ptr, ptr %30, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %34, ptr %13, align 8, !tbaa !5
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %39, ptr %14, align 8, !tbaa !5
  store i32 2, ptr %8, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %80, %29
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = sub nsw i32 %42, 2
  %44 = icmp slt i32 %41, %43
  br i1 %44, label %45, label %83

45:                                               ; preds = %40
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds float, ptr %46, i64 %48
  store ptr %49, ptr %11, align 8, !tbaa !5
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = getelementptr inbounds float, ptr %50, i64 -2
  %52 = load float, ptr %51, align 4, !tbaa !13
  %53 = fpext float %52 to double
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds float, ptr %54, i64 -1
  %56 = load float, ptr %55, align 4, !tbaa !13
  %57 = fpext float %56 to double
  %58 = fmul double 2.442000e-01, %57
  %59 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %53, double %58)
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds float, ptr %60, i64 0
  %62 = load float, ptr %61, align 4, !tbaa !13
  %63 = fpext float %62 to double
  %64 = call double @llvm.fmuladd.f64(double 4.026000e-01, double %63, double %59)
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds float, ptr %65, i64 1
  %67 = load float, ptr %66, align 4, !tbaa !13
  %68 = fpext float %67 to double
  %69 = call double @llvm.fmuladd.f64(double 2.442000e-01, double %68, double %64)
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds float, ptr %70, i64 2
  %72 = load float, ptr %71, align 4, !tbaa !13
  %73 = fpext float %72 to double
  %74 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %73, double %69)
  %75 = fptrunc double %74 to float
  %76 = load ptr, ptr %14, align 8, !tbaa !5
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds float, ptr %76, i64 %78
  store float %75, ptr %79, align 4, !tbaa !13
  br label %80

80:                                               ; preds = %45
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %8, align 4, !tbaa !9
  br label %40, !llvm.loop !15

83:                                               ; preds = %40
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %135, %83
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = icmp slt i32 %85, 2
  br i1 %86, label %87, label %138

87:                                               ; preds = %84
  %88 = load i32, ptr %8, align 4, !tbaa !9
  %89 = icmp slt i32 %88, 1
  br i1 %89, label %90, label %94

90:                                               ; preds = %87
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i64 0
  %93 = load float, ptr %92, align 4, !tbaa !13
  br label %101

94:                                               ; preds = %87
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = sub nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %95, i64 %98
  %100 = load float, ptr %99, align 4, !tbaa !13
  br label %101

101:                                              ; preds = %94, %90
  %102 = phi float [ %93, %90 ], [ %100, %94 ]
  store float %102, ptr %12, align 4, !tbaa !13
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds float, ptr %103, i64 %105
  store ptr %106, ptr %11, align 8, !tbaa !5
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = getelementptr inbounds float, ptr %107, i64 0
  %109 = load float, ptr %108, align 4, !tbaa !13
  %110 = fpext float %109 to double
  %111 = load float, ptr %12, align 4, !tbaa !13
  %112 = fpext float %111 to double
  %113 = fmul double 2.442000e-01, %112
  %114 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %110, double %113)
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds float, ptr %115, i64 0
  %117 = load float, ptr %116, align 4, !tbaa !13
  %118 = fpext float %117 to double
  %119 = call double @llvm.fmuladd.f64(double 4.026000e-01, double %118, double %114)
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds float, ptr %120, i64 1
  %122 = load float, ptr %121, align 4, !tbaa !13
  %123 = fpext float %122 to double
  %124 = call double @llvm.fmuladd.f64(double 2.442000e-01, double %123, double %119)
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = getelementptr inbounds float, ptr %125, i64 2
  %127 = load float, ptr %126, align 4, !tbaa !13
  %128 = fpext float %127 to double
  %129 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %128, double %124)
  %130 = fptrunc double %129 to float
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = load i32, ptr %8, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds float, ptr %131, i64 %133
  store float %130, ptr %134, align 4, !tbaa !13
  br label %135

135:                                              ; preds = %101
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %8, align 4, !tbaa !9
  br label %84, !llvm.loop !17

138:                                              ; preds = %84
  %139 = load i32, ptr %6, align 4, !tbaa !9
  %140 = sub nsw i32 %139, 2
  store i32 %140, ptr %8, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %201, %138
  %142 = load i32, ptr %8, align 4, !tbaa !9
  %143 = load i32, ptr %6, align 4, !tbaa !9
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %145, label %204

145:                                              ; preds = %141
  %146 = load i32, ptr %8, align 4, !tbaa !9
  %147 = load i32, ptr %6, align 4, !tbaa !9
  %148 = sub nsw i32 %147, 1
  %149 = icmp sge i32 %146, %148
  br i1 %149, label %150, label %157

150:                                              ; preds = %145
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = load i32, ptr %6, align 4, !tbaa !9
  %153 = sub nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds float, ptr %151, i64 %154
  %156 = load float, ptr %155, align 4, !tbaa !13
  br label %164

157:                                              ; preds = %145
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = load i32, ptr %8, align 4, !tbaa !9
  %160 = add nsw i32 %159, 1
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %158, i64 %161
  %163 = load float, ptr %162, align 4, !tbaa !13
  br label %164

164:                                              ; preds = %157, %150
  %165 = phi float [ %156, %150 ], [ %163, %157 ]
  store float %165, ptr %12, align 4, !tbaa !13
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds float, ptr %166, i64 %168
  store ptr %169, ptr %11, align 8, !tbaa !5
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds float, ptr %170, i64 -2
  %172 = load float, ptr %171, align 4, !tbaa !13
  %173 = fpext float %172 to double
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = getelementptr inbounds float, ptr %174, i64 -1
  %176 = load float, ptr %175, align 4, !tbaa !13
  %177 = fpext float %176 to double
  %178 = fmul double 2.442000e-01, %177
  %179 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %173, double %178)
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = getelementptr inbounds float, ptr %180, i64 0
  %182 = load float, ptr %181, align 4, !tbaa !13
  %183 = fpext float %182 to double
  %184 = call double @llvm.fmuladd.f64(double 4.026000e-01, double %183, double %179)
  %185 = load float, ptr %12, align 4, !tbaa !13
  %186 = fpext float %185 to double
  %187 = call double @llvm.fmuladd.f64(double 2.442000e-01, double %186, double %184)
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  %189 = load i32, ptr %6, align 4, !tbaa !9
  %190 = sub nsw i32 %189, 1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds float, ptr %188, i64 %191
  %193 = load float, ptr %192, align 4, !tbaa !13
  %194 = fpext float %193 to double
  %195 = call double @llvm.fmuladd.f64(double 5.450000e-02, double %194, double %187)
  %196 = fptrunc double %195 to float
  %197 = load ptr, ptr %14, align 8, !tbaa !5
  %198 = load i32, ptr %8, align 4, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds float, ptr %197, i64 %199
  store float %196, ptr %200, align 4, !tbaa !13
  br label %201

201:                                              ; preds = %164
  %202 = load i32, ptr %8, align 4, !tbaa !9
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %8, align 4, !tbaa !9
  br label %141, !llvm.loop !18

204:                                              ; preds = %141
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %7, align 4, !tbaa !9
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %7, align 4, !tbaa !9
  br label %25, !llvm.loop !19

208:                                              ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress 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 #4 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTS12ImageContent", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z8HorConv5P12ImageContentS0_(ptr noundef nonnull %0, ptr nocapture noundef readonly %1) local_unnamed_addr #2 {
  %3 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %4 = tail call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 16
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = icmp sgt i32 %3, 0
  br i1 %9, label %.lr.ph66, label %._crit_edge

.lr.ph66:                                         ; preds = %2
  %10 = add i32 %4, -2
  %11 = icmp sgt i32 %4, 4
  %12 = add nsw i32 %4, -1
  %13 = sext i32 %12 to i64
  %14 = sext i32 %10 to i64
  %15 = sext i32 %4 to i64
  %wide.trip.count77 = zext nneg i32 %3 to i64
  %wide.trip.count = zext i32 %10 to i64
  %.not = icmp slt i32 %10, %12
  %indvars.iv.next72 = add nsw i64 %14, 1
  %16 = icmp slt i64 %indvars.iv.next72, %15
  %.not.1 = icmp slt i64 %indvars.iv.next72, %13
  %17 = shl nuw nsw i64 %wide.trip.count, 2
  %18 = add nsw i64 %wide.trip.count, -2
  %min.iters.check = icmp ult i64 %18, 4
  %n.vec = and i64 %18, -4
  %ind.end = or disjoint i64 %n.vec, 2
  %cmp.n = icmp eq i64 %18, %n.vec
  br label %19

19:                                               ; preds = %.lr.ph66, %140
  %indvars.iv74 = phi i64 [ 0, %.lr.ph66 ], [ %indvars.iv.next75, %140 ]
  %20 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv74
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv74
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  br i1 %11, label %.lr.ph.preheader, label %.preheader61

.lr.ph.preheader:                                 ; preds = %19
  br i1 %min.iters.check, label %.lr.ph.preheader85, label %vector.memcheck

.lr.ph.preheader85:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 2, %vector.memcheck ], [ 2, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %scevgep79 = getelementptr i8, ptr %23, i64 %17
  %24 = getelementptr i8, ptr %21, i64 %17
  %bound0 = icmp ult ptr %23, %24
  %bound1 = icmp ult ptr %21, %scevgep79
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph.preheader85, label %vector.body

vector.body:                                      ; preds = %vector.memcheck, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.memcheck ]
  %offset.idx = or disjoint i64 %index, 2
  %25 = getelementptr inbounds float, ptr %21, i64 %offset.idx
  %26 = getelementptr inbounds i8, ptr %25, i64 -8
  %wide.load = load <4 x float>, ptr %26, align 4, !tbaa !12, !alias.scope !14
  %27 = fpext <4 x float> %wide.load to <4 x double>
  %28 = getelementptr inbounds i8, ptr %25, i64 -4
  %wide.load81 = load <4 x float>, ptr %28, align 4, !tbaa !12, !alias.scope !14
  %29 = fpext <4 x float> %wide.load81 to <4 x double>
  %30 = fmul <4 x double> %29, <double 2.442000e-01, double 2.442000e-01, double 2.442000e-01, double 2.442000e-01>
  %31 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %27, <4 x double> <double 5.450000e-02, double 5.450000e-02, double 5.450000e-02, double 5.450000e-02>, <4 x double> %30)
  %wide.load82 = load <4 x float>, ptr %25, align 4, !tbaa !12, !alias.scope !14
  %32 = fpext <4 x float> %wide.load82 to <4 x double>
  %33 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %32, <4 x double> <double 4.026000e-01, double 4.026000e-01, double 4.026000e-01, double 4.026000e-01>, <4 x double> %31)
  %34 = getelementptr inbounds i8, ptr %25, i64 4
  %wide.load83 = load <4 x float>, ptr %34, align 4, !tbaa !12, !alias.scope !14
  %35 = fpext <4 x float> %wide.load83 to <4 x double>
  %36 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %35, <4 x double> <double 2.442000e-01, double 2.442000e-01, double 2.442000e-01, double 2.442000e-01>, <4 x double> %33)
  %37 = getelementptr inbounds i8, ptr %25, i64 8
  %wide.load84 = load <4 x float>, ptr %37, align 4, !tbaa !12, !alias.scope !14
  %38 = fpext <4 x float> %wide.load84 to <4 x double>
  %39 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %38, <4 x double> <double 5.450000e-02, double 5.450000e-02, double 5.450000e-02, double 5.450000e-02>, <4 x double> %36)
  %40 = fptrunc <4 x double> %39 to <4 x float>
  %41 = getelementptr inbounds float, ptr %23, i64 %offset.idx
  store <4 x float> %40, ptr %41, align 4, !tbaa !12, !alias.scope !17, !noalias !14
  %index.next = add nuw i64 %index, 4
  %42 = icmp eq i64 %index.next, %n.vec
  br i1 %42, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %.preheader61, label %.lr.ph.preheader85

.preheader61:                                     ; preds = %.lr.ph, %middle.block, %19
  %43 = load float, ptr %21, align 4, !tbaa !12
  %44 = fpext float %43 to double
  %45 = fmul double %44, 2.442000e-01
  %46 = tail call double @llvm.fmuladd.f64(double %44, double 5.450000e-02, double %45)
  %47 = tail call double @llvm.fmuladd.f64(double %44, double 4.026000e-01, double %46)
  %48 = getelementptr inbounds i8, ptr %21, i64 4
  %49 = load float, ptr %48, align 4, !tbaa !12
  %50 = fpext float %49 to double
  %51 = tail call double @llvm.fmuladd.f64(double %50, double 2.442000e-01, double %47)
  %52 = getelementptr inbounds i8, ptr %21, i64 8
  %53 = load float, ptr %52, align 4, !tbaa !12
  %54 = fpext float %53 to double
  %55 = tail call double @llvm.fmuladd.f64(double %54, double 5.450000e-02, double %51)
  %56 = fptrunc double %55 to float
  store float %56, ptr %23, align 4, !tbaa !12
  %57 = load float, ptr %21, align 4, !tbaa !12
  %58 = fpext float %57 to double
  %59 = fmul double %58, 2.442000e-01
  %60 = tail call double @llvm.fmuladd.f64(double %58, double 5.450000e-02, double %59)
  %61 = load float, ptr %48, align 4, !tbaa !12
  %62 = fpext float %61 to double
  %63 = tail call double @llvm.fmuladd.f64(double %62, double 4.026000e-01, double %60)
  %64 = getelementptr inbounds i8, ptr %21, i64 8
  %65 = load float, ptr %64, align 4, !tbaa !12
  %66 = fpext float %65 to double
  %67 = tail call double @llvm.fmuladd.f64(double %66, double 2.442000e-01, double %63)
  %68 = getelementptr inbounds i8, ptr %21, i64 12
  %69 = load float, ptr %68, align 4, !tbaa !12
  %70 = fpext float %69 to double
  %71 = tail call double @llvm.fmuladd.f64(double %70, double 5.450000e-02, double %67)
  %72 = fptrunc double %71 to float
  %73 = getelementptr inbounds i8, ptr %23, i64 4
  store float %72, ptr %73, align 4, !tbaa !12
  %74 = getelementptr inbounds float, ptr %21, i64 %13
  %75 = getelementptr float, ptr %21, i64 %14
  %76 = getelementptr i8, ptr %75, i64 4
  %.in = select i1 %.not, ptr %76, ptr %74
  %77 = load float, ptr %.in, align 4, !tbaa !12
  %78 = getelementptr inbounds i8, ptr %75, i64 -8
  %79 = load float, ptr %78, align 4, !tbaa !12
  %80 = fpext float %79 to double
  %81 = getelementptr inbounds i8, ptr %75, i64 -4
  %82 = load float, ptr %81, align 4, !tbaa !12
  %83 = fpext float %82 to double
  %84 = fmul double %83, 2.442000e-01
  %85 = tail call double @llvm.fmuladd.f64(double %80, double 5.450000e-02, double %84)
  %86 = load float, ptr %75, align 4, !tbaa !12
  %87 = fpext float %86 to double
  %88 = tail call double @llvm.fmuladd.f64(double %87, double 4.026000e-01, double %85)
  %89 = fpext float %77 to double
  %90 = tail call double @llvm.fmuladd.f64(double %89, double 2.442000e-01, double %88)
  %91 = load float, ptr %74, align 4, !tbaa !12
  %92 = fpext float %91 to double
  %93 = tail call double @llvm.fmuladd.f64(double %92, double 5.450000e-02, double %90)
  %94 = fptrunc double %93 to float
  %95 = getelementptr inbounds float, ptr %23, i64 %14
  store float %94, ptr %95, align 4, !tbaa !12
  br i1 %16, label %118, label %140, !llvm.loop !23

.lr.ph:                                           ; preds = %.lr.ph.preheader85, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader85 ]
  %96 = getelementptr inbounds float, ptr %21, i64 %indvars.iv
  %97 = getelementptr inbounds i8, ptr %96, i64 -8
  %98 = load float, ptr %97, align 4, !tbaa !12
  %99 = fpext float %98 to double
  %100 = getelementptr inbounds i8, ptr %96, i64 -4
  %101 = load float, ptr %100, align 4, !tbaa !12
  %102 = fpext float %101 to double
  %103 = fmul double %102, 2.442000e-01
  %104 = tail call double @llvm.fmuladd.f64(double %99, double 5.450000e-02, double %103)
  %105 = load float, ptr %96, align 4, !tbaa !12
  %106 = fpext float %105 to double
  %107 = tail call double @llvm.fmuladd.f64(double %106, double 4.026000e-01, double %104)
  %108 = getelementptr inbounds i8, ptr %96, i64 4
  %109 = load float, ptr %108, align 4, !tbaa !12
  %110 = fpext float %109 to double
  %111 = tail call double @llvm.fmuladd.f64(double %110, double 2.442000e-01, double %107)
  %112 = getelementptr inbounds i8, ptr %96, i64 8
  %113 = load float, ptr %112, align 4, !tbaa !12
  %114 = fpext float %113 to double
  %115 = tail call double @llvm.fmuladd.f64(double %114, double 5.450000e-02, double %111)
  %116 = fptrunc double %115 to float
  %117 = getelementptr inbounds float, ptr %23, i64 %indvars.iv
  store float %116, ptr %117, align 4, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader61, label %.lr.ph, !llvm.loop !24

118:                                              ; preds = %.preheader61
  %119 = getelementptr float, ptr %21, i64 %indvars.iv.next72
  %120 = getelementptr i8, ptr %119, i64 4
  %.in.1 = select i1 %.not.1, ptr %120, ptr %74
  %121 = load float, ptr %.in.1, align 4, !tbaa !12
  %122 = getelementptr inbounds i8, ptr %119, i64 -8
  %123 = load float, ptr %122, align 4, !tbaa !12
  %124 = fpext float %123 to double
  %125 = getelementptr inbounds i8, ptr %119, i64 -4
  %126 = load float, ptr %125, align 4, !tbaa !12
  %127 = fpext float %126 to double
  %128 = fmul double %127, 2.442000e-01
  %129 = tail call double @llvm.fmuladd.f64(double %124, double 5.450000e-02, double %128)
  %130 = load float, ptr %119, align 4, !tbaa !12
  %131 = fpext float %130 to double
  %132 = tail call double @llvm.fmuladd.f64(double %131, double 4.026000e-01, double %129)
  %133 = fpext float %121 to double
  %134 = tail call double @llvm.fmuladd.f64(double %133, double 2.442000e-01, double %132)
  %135 = load float, ptr %74, align 4, !tbaa !12
  %136 = fpext float %135 to double
  %137 = tail call double @llvm.fmuladd.f64(double %136, double 5.450000e-02, double %134)
  %138 = fptrunc double %137 to float
  %139 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next72
  store float %138, ptr %139, align 4, !tbaa !12
  br label %140

140:                                              ; preds = %118, %.preheader61
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %exitcond78.not = icmp eq i64 %indvars.iv.next75, %wide.trip.count77
  br i1 %exitcond78.not, label %._crit_edge, label %19, !llvm.loop !25

._crit_edge:                                      ; preds = %140, %2
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x double> @llvm.fmuladd.v4f64(<4 x double>, <4 x double>, <4 x double>) #3

attributes #0 = { inlinehint mustprogress 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 = { mustprogress 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 #3 = { 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, !10, i64 16}
!6 = !{!"_ZTS12ImageContent", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = !{!15}
!15 = distinct !{!15, !16}
!16 = distinct !{!16, !"LVerDomain"}
!17 = !{!18}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20, !21}
!25 = distinct !{!25, !20}


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