; 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 @_Z9DerHConv4P12ImageContentS0_(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 = %206, %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 %209

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 1, ptr %8, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %76, %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 %79

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 -1
  %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 0
  %56 = load float, ptr %55, align 4, !tbaa !13
  %57 = fpext float %56 to double
  %58 = fmul double 2.420000e-01, %57
  %59 = fneg double %58
  %60 = call double @llvm.fmuladd.f64(double -1.213000e-01, double %53, double %59)
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = getelementptr inbounds float, ptr %61, i64 1
  %63 = load float, ptr %62, align 4, !tbaa !13
  %64 = fpext float %63 to double
  %65 = call double @llvm.fmuladd.f64(double 2.420000e-01, double %64, double %60)
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds float, ptr %66, i64 2
  %68 = load float, ptr %67, align 4, !tbaa !13
  %69 = fpext float %68 to double
  %70 = call double @llvm.fmuladd.f64(double 1.213000e-01, double %69, double %65)
  %71 = fptrunc double %70 to float
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  store float %71, ptr %75, align 4, !tbaa !13
  br label %76

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

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

80:                                               ; preds = %132, %79
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = icmp slt i32 %81, 1
  br i1 %82, label %83, label %135

83:                                               ; preds = %80
  %84 = load i32, ptr %8, align 4, !tbaa !9
  %85 = icmp slt i32 %84, 1
  br i1 %85, label %86, label %94

86:                                               ; preds = %83
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i32, ptr %7, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i64 0
  %93 = load float, ptr %92, align 4, !tbaa !13
  br label %102

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

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

132:                                              ; preds = %102
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %8, align 4, !tbaa !9
  br label %80, !llvm.loop !17

135:                                              ; preds = %80
  %136 = load i32, ptr %6, align 4, !tbaa !9
  %137 = sub nsw i32 %136, 2
  store i32 %137, ptr %8, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %202, %135
  %139 = load i32, ptr %8, align 4, !tbaa !9
  %140 = load i32, ptr %6, align 4, !tbaa !9
  %141 = icmp slt i32 %139, %140
  br i1 %141, label %142, label %205

142:                                              ; preds = %138
  %143 = load i32, ptr %8, align 4, !tbaa !9
  %144 = load i32, ptr %6, align 4, !tbaa !9
  %145 = sub nsw i32 %144, 1
  %146 = icmp sge i32 %143, %145
  br i1 %146, label %147, label %158

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

158:                                              ; preds = %142
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = load i32, ptr %7, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds ptr, ptr %159, i64 %161
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = load i32, ptr %6, align 4, !tbaa !9
  %165 = sub nsw i32 %164, 2
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds float, ptr %163, i64 %166
  %168 = load float, ptr %167, align 4, !tbaa !13
  br label %169

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

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

205:                                              ; preds = %138
  br label %206

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

209:                                              ; 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 @_Z9DerHConv4P12ImageContentS0_(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.ph64, label %._crit_edge

.lr.ph64:                                         ; preds = %2
  %10 = add i32 %4, -2
  %11 = icmp sgt i32 %4, 3
  %12 = add nsw i32 %4, -1
  %13 = sext i32 %12 to i64
  br i1 %11, label %.lr.ph.us.preheader, label %.critedge.preheader

.critedge.preheader:                              ; preds = %.lr.ph64
  %14 = sext i32 %10 to i64
  %15 = sext i32 %4 to i64
  %wide.trip.count = zext nneg i32 %3 to i64
  %.in.v.v = tail call i32 @llvm.smin.i32(i32 %10, i32 %12)
  %.in.v = sext i32 %.in.v.v to i64
  %indvars.iv.next = add nsw i64 %14, 1
  %16 = icmp slt i64 %indvars.iv.next, %15
  %.not.1 = icmp slt i64 %indvars.iv.next, %13
  %.in.v.v.1 = select i1 %.not.1, i32 %10, i32 %12
  %.in.v.1 = sext i32 %.in.v.v.1 to i64
  br label %.critedge

.lr.ph.us.preheader:                              ; preds = %.lr.ph64
  %17 = zext nneg i32 %10 to i64
  %18 = tail call i32 @llvm.umin.i32(i32 %10, i32 %12)
  %.in.v.us = zext nneg i32 %18 to i64
  %wide.trip.count81 = zext nneg i32 %3 to i64
  %wide.trip.count72 = zext i32 %10 to i64
  %indvars.iv.next75 = add nuw nsw i64 %17, 1
  %.not.us.1 = icmp slt i64 %indvars.iv.next75, %13
  %.in.v.v.us.1 = select i1 %.not.us.1, i32 %10, i32 %12
  %.in.v.us.1 = sext i32 %.in.v.v.us.1 to i64
  %19 = shl nuw nsw i64 %wide.trip.count72, 2
  %20 = add nsw i64 %wide.trip.count72, -1
  %min.iters.check = icmp ult i64 %20, 4
  %n.vec = and i64 %20, -4
  %ind.end = or disjoint i64 %n.vec, 1
  %cmp.n = icmp eq i64 %20, %n.vec
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %..critedge_crit_edge.us
  %indvars.iv78 = phi i64 [ 0, %.lr.ph.us.preheader ], [ %indvars.iv.next79, %..critedge_crit_edge.us ]
  %21 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv78
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv78
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph.us
  %scevgep = getelementptr i8, ptr %24, i64 4
  %scevgep85 = getelementptr i8, ptr %24, i64 %19
  %25 = getelementptr i8, ptr %22, i64 %19
  %scevgep86 = getelementptr i8, ptr %25, i64 8
  %bound0 = icmp ult ptr %scevgep, %scevgep86
  %bound1 = icmp ult ptr %22, %scevgep85
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph.preheader, 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, 1
  %26 = getelementptr inbounds float, ptr %22, i64 %offset.idx
  %27 = getelementptr inbounds i8, ptr %26, i64 -4
  %wide.load = load <4 x float>, ptr %27, align 4, !tbaa !12, !alias.scope !14
  %28 = fpext <4 x float> %wide.load to <4 x double>
  %wide.load87 = load <4 x float>, ptr %26, align 4, !tbaa !12, !alias.scope !14
  %29 = fpext <4 x float> %wide.load87 to <4 x double>
  %30 = fmul <4 x double> %29, <double -2.420000e-01, double -2.420000e-01, double -2.420000e-01, double -2.420000e-01>
  %31 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %28, <4 x double> <double -1.213000e-01, double -1.213000e-01, double -1.213000e-01, double -1.213000e-01>, <4 x double> %30)
  %32 = getelementptr inbounds i8, ptr %26, i64 4
  %wide.load88 = load <4 x float>, ptr %32, align 4, !tbaa !12, !alias.scope !14
  %33 = fpext <4 x float> %wide.load88 to <4 x double>
  %34 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %33, <4 x double> <double 2.420000e-01, double 2.420000e-01, double 2.420000e-01, double 2.420000e-01>, <4 x double> %31)
  %35 = getelementptr inbounds i8, ptr %26, i64 8
  %wide.load89 = load <4 x float>, ptr %35, align 4, !tbaa !12, !alias.scope !14
  %36 = fpext <4 x float> %wide.load89 to <4 x double>
  %37 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %36, <4 x double> <double 1.213000e-01, double 1.213000e-01, double 1.213000e-01, double 1.213000e-01>, <4 x double> %34)
  %38 = fptrunc <4 x double> %37 to <4 x float>
  %39 = getelementptr inbounds float, ptr %24, i64 %offset.idx
  store <4 x float> %38, ptr %39, align 4, !tbaa !12, !alias.scope !17, !noalias !14
  %index.next = add nuw i64 %index, 4
  %40 = icmp eq i64 %index.next, %n.vec
  br i1 %40, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %..critedge_crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.us
  %indvars.iv69.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph.us ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %scalar.ph ], [ %indvars.iv69.ph, %scalar.ph.preheader ]
  %41 = getelementptr inbounds float, ptr %22, i64 %indvars.iv69
  %42 = getelementptr inbounds i8, ptr %41, i64 -4
  %43 = load float, ptr %42, align 4, !tbaa !12
  %44 = fpext float %43 to double
  %45 = load float, ptr %41, align 4, !tbaa !12
  %46 = fpext float %45 to double
  %47 = fmul double %46, -2.420000e-01
  %48 = tail call double @llvm.fmuladd.f64(double %44, double -1.213000e-01, double %47)
  %49 = getelementptr inbounds i8, ptr %41, i64 4
  %50 = load float, ptr %49, align 4, !tbaa !12
  %51 = fpext float %50 to double
  %52 = tail call double @llvm.fmuladd.f64(double %51, double 2.420000e-01, double %48)
  %53 = getelementptr inbounds i8, ptr %41, i64 8
  %54 = load float, ptr %53, align 4, !tbaa !12
  %55 = fpext float %54 to double
  %56 = tail call double @llvm.fmuladd.f64(double %55, double 1.213000e-01, double %52)
  %57 = fptrunc double %56 to float
  %58 = getelementptr inbounds float, ptr %24, i64 %indvars.iv69
  store float %57, ptr %58, align 4, !tbaa !12
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %exitcond73.not = icmp eq i64 %indvars.iv.next70, %wide.trip.count72
  br i1 %exitcond73.not, label %..critedge_crit_edge.us, label %scalar.ph, !llvm.loop !23

..critedge_crit_edge.us:                          ; preds = %scalar.ph, %middle.block
  %59 = load float, ptr %22, align 4, !tbaa !12
  %60 = fpext float %59 to double
  %61 = fmul double %60, -2.420000e-01
  %62 = tail call double @llvm.fmuladd.f64(double %60, double -1.213000e-01, double %61)
  %63 = getelementptr inbounds i8, ptr %22, i64 4
  %64 = load float, ptr %63, align 4, !tbaa !12
  %65 = fpext float %64 to double
  %66 = tail call double @llvm.fmuladd.f64(double %65, double 2.420000e-01, double %62)
  %67 = getelementptr inbounds i8, ptr %22, i64 8
  %68 = load float, ptr %67, align 4, !tbaa !12
  %69 = fpext float %68 to double
  %70 = tail call double @llvm.fmuladd.f64(double %69, double 1.213000e-01, double %66)
  %71 = fptrunc double %70 to float
  store float %71, ptr %24, align 4, !tbaa !12
  %72 = getelementptr inbounds float, ptr %22, i64 %13
  %.in.us = getelementptr inbounds float, ptr %22, i64 %.in.v.us
  %73 = load float, ptr %.in.us, align 4, !tbaa !12
  %74 = getelementptr inbounds float, ptr %22, i64 %17
  %75 = getelementptr inbounds i8, ptr %74, i64 -4
  %76 = load float, ptr %75, align 4, !tbaa !12
  %77 = fpext float %76 to double
  %78 = load float, ptr %74, align 4, !tbaa !12
  %79 = fpext float %78 to double
  %80 = fmul double %79, -2.420000e-01
  %81 = tail call double @llvm.fmuladd.f64(double %77, double -1.213000e-01, double %80)
  %82 = fpext float %73 to double
  %83 = tail call double @llvm.fmuladd.f64(double %82, double 2.420000e-01, double %81)
  %84 = load float, ptr %72, align 4, !tbaa !12
  %85 = fpext float %84 to double
  %86 = tail call double @llvm.fmuladd.f64(double %85, double 1.213000e-01, double %83)
  %87 = fptrunc double %86 to float
  %88 = getelementptr inbounds float, ptr %24, i64 %17
  store float %87, ptr %88, align 4, !tbaa !12
  %.in.us.1 = getelementptr inbounds float, ptr %22, i64 %.in.v.us.1
  %89 = load float, ptr %.in.us.1, align 4, !tbaa !12
  %90 = getelementptr inbounds float, ptr %22, i64 %indvars.iv.next75
  %91 = getelementptr inbounds i8, ptr %90, i64 -4
  %92 = load float, ptr %91, align 4, !tbaa !12
  %93 = fpext float %92 to double
  %94 = load float, ptr %90, align 4, !tbaa !12
  %95 = fpext float %94 to double
  %96 = fmul double %95, -2.420000e-01
  %97 = tail call double @llvm.fmuladd.f64(double %93, double -1.213000e-01, double %96)
  %98 = fpext float %89 to double
  %99 = tail call double @llvm.fmuladd.f64(double %98, double 2.420000e-01, double %97)
  %100 = load float, ptr %72, align 4, !tbaa !12
  %101 = fpext float %100 to double
  %102 = tail call double @llvm.fmuladd.f64(double %101, double 1.213000e-01, double %99)
  %103 = fptrunc double %102 to float
  %104 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.next75
  store float %103, ptr %104, align 4, !tbaa !12
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %exitcond82.not = icmp eq i64 %indvars.iv.next79, %wide.trip.count81
  br i1 %exitcond82.not, label %._crit_edge, label %.lr.ph.us, !llvm.loop !24

.critedge:                                        ; preds = %.critedge.preheader, %156
  %indvars.iv = phi i64 [ 0, %.critedge.preheader ], [ %indvars.iv.next67, %156 ]
  %105 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  %107 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv
  %108 = load ptr, ptr %107, align 8, !tbaa !11
  %109 = load float, ptr %106, align 4, !tbaa !12
  %110 = fpext float %109 to double
  %111 = fmul double %110, -2.420000e-01
  %112 = tail call double @llvm.fmuladd.f64(double %110, double -1.213000e-01, double %111)
  %113 = getelementptr inbounds i8, ptr %106, i64 4
  %114 = load float, ptr %113, align 4, !tbaa !12
  %115 = fpext float %114 to double
  %116 = tail call double @llvm.fmuladd.f64(double %115, double 2.420000e-01, double %112)
  %117 = getelementptr inbounds i8, ptr %106, i64 8
  %118 = load float, ptr %117, align 4, !tbaa !12
  %119 = fpext float %118 to double
  %120 = tail call double @llvm.fmuladd.f64(double %119, double 1.213000e-01, double %116)
  %121 = fptrunc double %120 to float
  store float %121, ptr %108, align 4, !tbaa !12
  %122 = getelementptr inbounds float, ptr %106, i64 %13
  %.in = getelementptr inbounds float, ptr %106, i64 %.in.v
  %123 = load float, ptr %.in, align 4, !tbaa !12
  %124 = getelementptr inbounds float, ptr %106, i64 %14
  %125 = getelementptr inbounds i8, ptr %124, i64 -4
  %126 = load float, ptr %125, align 4, !tbaa !12
  %127 = fpext float %126 to double
  %128 = load float, ptr %124, align 4, !tbaa !12
  %129 = fpext float %128 to double
  %130 = fmul double %129, -2.420000e-01
  %131 = tail call double @llvm.fmuladd.f64(double %127, double -1.213000e-01, double %130)
  %132 = fpext float %123 to double
  %133 = tail call double @llvm.fmuladd.f64(double %132, double 2.420000e-01, double %131)
  %134 = load float, ptr %122, align 4, !tbaa !12
  %135 = fpext float %134 to double
  %136 = tail call double @llvm.fmuladd.f64(double %135, double 1.213000e-01, double %133)
  %137 = fptrunc double %136 to float
  %138 = getelementptr inbounds float, ptr %108, i64 %14
  store float %137, ptr %138, align 4, !tbaa !12
  br i1 %16, label %139, label %156, !llvm.loop !25

139:                                              ; preds = %.critedge
  %.in.1 = getelementptr inbounds float, ptr %106, i64 %.in.v.1
  %140 = load float, ptr %.in.1, align 4, !tbaa !12
  %141 = getelementptr inbounds float, ptr %106, i64 %indvars.iv.next
  %142 = getelementptr inbounds i8, ptr %141, i64 -4
  %143 = load float, ptr %142, align 4, !tbaa !12
  %144 = fpext float %143 to double
  %145 = load float, ptr %141, align 4, !tbaa !12
  %146 = fpext float %145 to double
  %147 = fmul double %146, -2.420000e-01
  %148 = tail call double @llvm.fmuladd.f64(double %144, double -1.213000e-01, double %147)
  %149 = fpext float %140 to double
  %150 = tail call double @llvm.fmuladd.f64(double %149, double 2.420000e-01, double %148)
  %151 = load float, ptr %122, align 4, !tbaa !12
  %152 = fpext float %151 to double
  %153 = tail call double @llvm.fmuladd.f64(double %152, double 1.213000e-01, double %150)
  %154 = fptrunc double %153 to float
  %155 = getelementptr inbounds float, ptr %108, i64 %indvars.iv.next
  store float %154, ptr %155, align 4, !tbaa !12
  br label %156

156:                                              ; preds = %139, %.critedge
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next67, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.critedge, !llvm.loop !24

._crit_edge:                                      ; preds = %156, %..critedge_crit_edge.us, %2
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #3

; 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, !21}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}


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