; 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 @_Z9DerHConv6P12ImageContentS0_(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 = %229, %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 %232

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

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

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 -3
  %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 -2
  %56 = load float, ptr %55, align 4, !tbaa !13
  %57 = fpext float %56 to double
  %58 = fmul double 1.080000e-01, %57
  %59 = fneg double %58
  %60 = call double @llvm.fmuladd.f64(double -1.330000e-02, 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 1
  %68 = load float, ptr %67, align 4, !tbaa !13
  %69 = fpext float %68 to double
  %70 = call double @llvm.fmuladd.f64(double 2.420000e-01, double %69, double %65)
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds float, ptr %71, i64 2
  %73 = load float, ptr %72, align 4, !tbaa !13
  %74 = fpext float %73 to double
  %75 = call double @llvm.fmuladd.f64(double 1.080000e-01, double %74, double %70)
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = getelementptr inbounds float, ptr %76, i64 3
  %78 = load float, ptr %77, align 4, !tbaa !13
  %79 = fpext float %78 to double
  %80 = call double @llvm.fmuladd.f64(double 1.330000e-02, double %79, double %75)
  %81 = fptrunc double %80 to float
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %82, i64 %84
  store float %81, ptr %85, align 4, !tbaa !13
  br label %86

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

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

90:                                               ; preds = %150, %89
  %91 = load i32, ptr %8, align 4, !tbaa !9
  %92 = icmp slt i32 %91, 3
  br i1 %92, label %93, label %153

93:                                               ; preds = %90
  %94 = load i32, ptr %8, align 4, !tbaa !9
  %95 = icmp slt i32 %94, 1
  br i1 %95, label %96, label %104

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

104:                                              ; preds = %93
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds ptr, ptr %105, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = sub nsw i32 %110, 1
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %109, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !13
  br label %115

115:                                              ; preds = %104, %96
  %116 = phi float [ %103, %96 ], [ %114, %104 ]
  store float %116, ptr %12, align 4, !tbaa !13
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds float, ptr %117, i64 %119
  store ptr %120, ptr %11, align 8, !tbaa !5
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = getelementptr inbounds float, ptr %121, i64 0
  %123 = load float, ptr %122, align 4, !tbaa !13
  %124 = fpext float %123 to double
  %125 = load float, ptr %12, align 4, !tbaa !13
  %126 = fpext float %125 to double
  %127 = fmul double 2.420000e-01, %126
  %128 = fneg double %127
  %129 = call double @llvm.fmuladd.f64(double -1.213000e-01, double %124, double %128)
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds float, ptr %130, i64 1
  %132 = load float, ptr %131, align 4, !tbaa !13
  %133 = fpext float %132 to double
  %134 = call double @llvm.fmuladd.f64(double 2.420000e-01, double %133, double %129)
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = getelementptr inbounds float, ptr %135, i64 2
  %137 = load float, ptr %136, align 4, !tbaa !13
  %138 = fpext float %137 to double
  %139 = call double @llvm.fmuladd.f64(double 1.080000e-01, double %138, double %134)
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds float, ptr %140, i64 3
  %142 = load float, ptr %141, align 4, !tbaa !13
  %143 = fpext float %142 to double
  %144 = call double @llvm.fmuladd.f64(double 1.330000e-02, double %143, double %139)
  %145 = fptrunc double %144 to float
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  %147 = load i32, ptr %8, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds float, ptr %146, i64 %148
  store float %145, ptr %149, align 4, !tbaa !13
  br label %150

150:                                              ; preds = %115
  %151 = load i32, ptr %8, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %8, align 4, !tbaa !9
  br label %90, !llvm.loop !17

153:                                              ; preds = %90
  %154 = load i32, ptr %6, align 4, !tbaa !9
  %155 = sub nsw i32 %154, 3
  store i32 %155, ptr %8, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %225, %153
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = load i32, ptr %6, align 4, !tbaa !9
  %159 = icmp slt i32 %157, %158
  br i1 %159, label %160, label %228

160:                                              ; preds = %156
  %161 = load i32, ptr %8, align 4, !tbaa !9
  %162 = load i32, ptr %6, align 4, !tbaa !9
  %163 = sub nsw i32 %162, 1
  %164 = icmp sge i32 %161, %163
  br i1 %164, label %165, label %176

165:                                              ; preds = %160
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load i32, ptr %7, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds ptr, ptr %166, i64 %168
  %170 = load ptr, ptr %169, align 8, !tbaa !5
  %171 = load i32, ptr %6, align 4, !tbaa !9
  %172 = sub nsw i32 %171, 1
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds float, ptr %170, i64 %173
  %175 = load float, ptr %174, align 4, !tbaa !13
  br label %187

176:                                              ; preds = %160
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load i32, ptr %7, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds ptr, ptr %177, i64 %179
  %181 = load ptr, ptr %180, align 8, !tbaa !5
  %182 = load i32, ptr %8, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds float, ptr %181, i64 %184
  %186 = load float, ptr %185, align 4, !tbaa !13
  br label %187

187:                                              ; preds = %176, %165
  %188 = phi float [ %175, %165 ], [ %186, %176 ]
  store float %188, ptr %12, align 4, !tbaa !13
  %189 = load ptr, ptr %13, align 8, !tbaa !5
  %190 = load i32, ptr %8, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds float, ptr %189, i64 %191
  store ptr %192, ptr %11, align 8, !tbaa !5
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = getelementptr inbounds float, ptr %193, i64 -3
  %195 = load float, ptr %194, align 4, !tbaa !13
  %196 = fpext float %195 to double
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = getelementptr inbounds float, ptr %197, i64 -2
  %199 = load float, ptr %198, align 4, !tbaa !13
  %200 = fpext float %199 to double
  %201 = fmul double 1.080000e-01, %200
  %202 = fneg double %201
  %203 = call double @llvm.fmuladd.f64(double -1.330000e-02, double %196, double %202)
  %204 = load ptr, ptr %11, align 8, !tbaa !5
  %205 = getelementptr inbounds float, ptr %204, i64 -1
  %206 = load float, ptr %205, align 4, !tbaa !13
  %207 = fpext float %206 to double
  %208 = call double @llvm.fmuladd.f64(double -2.420000e-01, double %207, double %203)
  %209 = load float, ptr %12, align 4, !tbaa !13
  %210 = fpext float %209 to double
  %211 = call double @llvm.fmuladd.f64(double 2.420000e-01, double %210, double %208)
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  %213 = load i32, ptr %6, align 4, !tbaa !9
  %214 = sub nsw i32 %213, 1
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds float, ptr %212, i64 %215
  %217 = load float, ptr %216, align 4, !tbaa !13
  %218 = fpext float %217 to double
  %219 = call double @llvm.fmuladd.f64(double 1.213000e-01, double %218, double %211)
  %220 = fptrunc double %219 to float
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = load i32, ptr %8, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds float, ptr %221, i64 %223
  store float %220, ptr %224, align 4, !tbaa !13
  br label %225

225:                                              ; preds = %187
  %226 = load i32, ptr %8, align 4, !tbaa !9
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %8, align 4, !tbaa !9
  br label %156, !llvm.loop !18

228:                                              ; preds = %156
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %7, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %7, align 4, !tbaa !9
  br label %25, !llvm.loop !19

232:                                              ; 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 @_Z9DerHConv6P12ImageContentS0_(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.ph74, label %._crit_edge

.lr.ph74:                                         ; preds = %2
  %10 = add i32 %4, -3
  %11 = icmp sgt i32 %4, 6
  %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.count86 = zext nneg i32 %3 to i64
  %wide.trip.count = zext i32 %10 to i64
  %.not = icmp slt i32 %10, %12
  %indvars.iv.next81 = add nsw i64 %14, 1
  %16 = icmp slt i64 %indvars.iv.next81, %15
  %.not.1 = icmp slt i64 %indvars.iv.next81, %13
  %indvars.iv.next81.1 = add nsw i64 %14, 2
  %.not.2 = icmp slt i64 %indvars.iv.next81.1, %13
  %17 = shl nuw nsw i64 %wide.trip.count, 2
  %18 = add nsw i64 %wide.trip.count, -3
  %min.iters.check = icmp ult i64 %18, 4
  %n.vec = and i64 %18, -4
  %ind.end = or i64 %18, 3
  %cmp.n = icmp eq i64 %18, %n.vec
  br label %19

19:                                               ; preds = %.lr.ph74, %194
  %indvars.iv83 = phi i64 [ 0, %.lr.ph74 ], [ %indvars.iv.next84, %194 ]
  %20 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv83
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv83
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  br i1 %11, label %.lr.ph.preheader, label %.preheader67

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

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

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %scevgep88 = getelementptr i8, ptr %23, i64 %17
  %24 = getelementptr i8, ptr %21, i64 %17
  %bound0 = icmp ult ptr %23, %24
  %bound1 = icmp ult ptr %21, %scevgep88
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph.preheader95, 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, 3
  %25 = getelementptr inbounds float, ptr %21, i64 %offset.idx
  %26 = getelementptr inbounds i8, ptr %25, i64 -12
  %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 -8
  %wide.load90 = load <4 x float>, ptr %28, align 4, !tbaa !12, !alias.scope !14
  %29 = fpext <4 x float> %wide.load90 to <4 x double>
  %30 = fmul <4 x double> %29, <double -1.080000e-01, double -1.080000e-01, double -1.080000e-01, double -1.080000e-01>
  %31 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %27, <4 x double> <double -1.330000e-02, double -1.330000e-02, double -1.330000e-02, double -1.330000e-02>, <4 x double> %30)
  %32 = getelementptr inbounds i8, ptr %25, i64 -4
  %wide.load91 = load <4 x float>, ptr %32, align 4, !tbaa !12, !alias.scope !14
  %33 = fpext <4 x float> %wide.load91 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 %25, i64 4
  %wide.load92 = load <4 x float>, ptr %35, align 4, !tbaa !12, !alias.scope !14
  %36 = fpext <4 x float> %wide.load92 to <4 x double>
  %37 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %36, <4 x double> <double 2.420000e-01, double 2.420000e-01, double 2.420000e-01, double 2.420000e-01>, <4 x double> %34)
  %38 = getelementptr inbounds i8, ptr %25, i64 8
  %wide.load93 = load <4 x float>, ptr %38, align 4, !tbaa !12, !alias.scope !14
  %39 = fpext <4 x float> %wide.load93 to <4 x double>
  %40 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %39, <4 x double> <double 1.080000e-01, double 1.080000e-01, double 1.080000e-01, double 1.080000e-01>, <4 x double> %37)
  %41 = getelementptr inbounds i8, ptr %25, i64 12
  %wide.load94 = load <4 x float>, ptr %41, align 4, !tbaa !12, !alias.scope !14
  %42 = fpext <4 x float> %wide.load94 to <4 x double>
  %43 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %42, <4 x double> <double 1.330000e-02, double 1.330000e-02, double 1.330000e-02, double 1.330000e-02>, <4 x double> %40)
  %44 = fptrunc <4 x double> %43 to <4 x float>
  %45 = getelementptr inbounds float, ptr %23, i64 %offset.idx
  store <4 x float> %44, ptr %45, align 4, !tbaa !12, !alias.scope !17, !noalias !14
  %index.next = add nuw i64 %index, 4
  %46 = icmp eq i64 %index.next, %n.vec
  br i1 %46, label %middle.block, label %vector.body, !llvm.loop !19

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

.preheader67:                                     ; preds = %.lr.ph, %middle.block, %19
  %47 = load float, ptr %21, align 4, !tbaa !12
  %48 = fpext float %47 to double
  %49 = fmul double %48, -2.420000e-01
  %50 = tail call double @llvm.fmuladd.f64(double %48, double -1.213000e-01, double %49)
  %51 = getelementptr i8, ptr %21, i64 4
  %52 = load float, ptr %51, align 4, !tbaa !12
  %53 = fpext float %52 to double
  %54 = tail call double @llvm.fmuladd.f64(double %53, double 2.420000e-01, double %50)
  %55 = getelementptr inbounds i8, ptr %21, i64 8
  %56 = load float, ptr %55, align 4, !tbaa !12
  %57 = fpext float %56 to double
  %58 = tail call double @llvm.fmuladd.f64(double %57, double 1.080000e-01, double %54)
  %59 = getelementptr inbounds i8, ptr %21, i64 12
  %60 = load float, ptr %59, align 4, !tbaa !12
  %61 = fpext float %60 to double
  %62 = tail call double @llvm.fmuladd.f64(double %61, double 1.330000e-02, double %58)
  %63 = fptrunc double %62 to float
  store float %63, ptr %23, align 4, !tbaa !12
  %64 = load float, ptr %21, align 4, !tbaa !12
  %65 = fpext float %64 to double
  %66 = fmul double %65, -2.420000e-01
  %67 = tail call double @llvm.fmuladd.f64(double %65, double -1.213000e-01, double %66)
  %68 = getelementptr i8, ptr %21, i64 8
  %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 2.420000e-01, double %67)
  %72 = getelementptr i8, ptr %21, i64 12
  %73 = load float, ptr %72, align 4, !tbaa !12
  %74 = fpext float %73 to double
  %75 = tail call double @llvm.fmuladd.f64(double %74, double 1.080000e-01, double %71)
  %76 = getelementptr i8, ptr %21, i64 16
  %77 = load float, ptr %76, align 4, !tbaa !12
  %78 = fpext float %77 to double
  %79 = tail call double @llvm.fmuladd.f64(double %78, double 1.330000e-02, double %75)
  %80 = fptrunc double %79 to float
  %81 = getelementptr inbounds i8, ptr %23, i64 4
  store float %80, ptr %81, align 4, !tbaa !12
  %gep.2 = getelementptr i8, ptr %21, i64 4
  %82 = load float, ptr %gep.2, align 4, !tbaa !12
  %83 = load float, ptr %21, align 4, !tbaa !12
  %84 = fpext float %83 to double
  %85 = fpext float %82 to double
  %86 = fmul double %85, -2.420000e-01
  %87 = tail call double @llvm.fmuladd.f64(double %84, double -1.213000e-01, double %86)
  %88 = getelementptr inbounds i8, ptr %21, i64 12
  %89 = load float, ptr %88, align 4, !tbaa !12
  %90 = fpext float %89 to double
  %91 = tail call double @llvm.fmuladd.f64(double %90, double 2.420000e-01, double %87)
  %92 = getelementptr inbounds i8, ptr %21, i64 16
  %93 = load float, ptr %92, align 4, !tbaa !12
  %94 = fpext float %93 to double
  %95 = tail call double @llvm.fmuladd.f64(double %94, double 1.080000e-01, double %91)
  %96 = getelementptr inbounds i8, ptr %21, i64 20
  %97 = load float, ptr %96, align 4, !tbaa !12
  %98 = fpext float %97 to double
  %99 = tail call double @llvm.fmuladd.f64(double %98, double 1.330000e-02, double %95)
  %100 = fptrunc double %99 to float
  %101 = getelementptr inbounds i8, ptr %23, i64 8
  store float %100, ptr %101, align 4, !tbaa !12
  %102 = getelementptr inbounds float, ptr %21, i64 %13
  %gep71 = getelementptr float, ptr %51, i64 %14
  %.in = select i1 %.not, ptr %gep71, ptr %102
  %103 = load float, ptr %.in, align 4, !tbaa !12
  %104 = getelementptr inbounds float, ptr %21, i64 %14
  %105 = getelementptr inbounds i8, ptr %104, i64 -12
  %106 = load float, ptr %105, align 4, !tbaa !12
  %107 = fpext float %106 to double
  %108 = getelementptr inbounds i8, ptr %104, i64 -8
  %109 = load float, ptr %108, align 4, !tbaa !12
  %110 = fpext float %109 to double
  %111 = fmul double %110, -1.080000e-01
  %112 = tail call double @llvm.fmuladd.f64(double %107, double -1.330000e-02, double %111)
  %113 = getelementptr inbounds i8, ptr %104, 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 = fpext float %103 to double
  %118 = tail call double @llvm.fmuladd.f64(double %117, double 2.420000e-01, double %116)
  %119 = load float, ptr %102, align 4, !tbaa !12
  %120 = fpext float %119 to double
  %121 = tail call double @llvm.fmuladd.f64(double %120, double 1.213000e-01, double %118)
  %122 = fptrunc double %121 to float
  %123 = getelementptr inbounds float, ptr %23, i64 %14
  store float %122, ptr %123, align 4, !tbaa !12
  br i1 %16, label %151, label %194, !llvm.loop !23

.lr.ph:                                           ; preds = %.lr.ph.preheader95, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader95 ]
  %124 = getelementptr inbounds float, ptr %21, i64 %indvars.iv
  %125 = getelementptr inbounds i8, ptr %124, i64 -12
  %126 = load float, ptr %125, align 4, !tbaa !12
  %127 = fpext float %126 to double
  %128 = getelementptr inbounds i8, ptr %124, i64 -8
  %129 = load float, ptr %128, align 4, !tbaa !12
  %130 = fpext float %129 to double
  %131 = fmul double %130, -1.080000e-01
  %132 = tail call double @llvm.fmuladd.f64(double %127, double -1.330000e-02, double %131)
  %133 = getelementptr inbounds i8, ptr %124, i64 -4
  %134 = load float, ptr %133, align 4, !tbaa !12
  %135 = fpext float %134 to double
  %136 = tail call double @llvm.fmuladd.f64(double %135, double -2.420000e-01, double %132)
  %137 = getelementptr inbounds i8, ptr %124, i64 4
  %138 = load float, ptr %137, align 4, !tbaa !12
  %139 = fpext float %138 to double
  %140 = tail call double @llvm.fmuladd.f64(double %139, double 2.420000e-01, double %136)
  %141 = getelementptr inbounds i8, ptr %124, i64 8
  %142 = load float, ptr %141, align 4, !tbaa !12
  %143 = fpext float %142 to double
  %144 = tail call double @llvm.fmuladd.f64(double %143, double 1.080000e-01, double %140)
  %145 = getelementptr inbounds i8, ptr %124, i64 12
  %146 = load float, ptr %145, align 4, !tbaa !12
  %147 = fpext float %146 to double
  %148 = tail call double @llvm.fmuladd.f64(double %147, double 1.330000e-02, double %144)
  %149 = fptrunc double %148 to float
  %150 = getelementptr inbounds float, ptr %23, i64 %indvars.iv
  store float %149, ptr %150, 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 %.preheader67, label %.lr.ph, !llvm.loop !24

151:                                              ; preds = %.preheader67
  %gep71.1 = getelementptr float, ptr %51, i64 %indvars.iv.next81
  %.in.1 = select i1 %.not.1, ptr %gep71.1, ptr %102
  %152 = load float, ptr %.in.1, align 4, !tbaa !12
  %153 = getelementptr inbounds float, ptr %21, i64 %indvars.iv.next81
  %154 = getelementptr inbounds i8, ptr %153, i64 -12
  %155 = load float, ptr %154, align 4, !tbaa !12
  %156 = fpext float %155 to double
  %157 = getelementptr inbounds i8, ptr %153, i64 -8
  %158 = load float, ptr %157, align 4, !tbaa !12
  %159 = fpext float %158 to double
  %160 = fmul double %159, -1.080000e-01
  %161 = tail call double @llvm.fmuladd.f64(double %156, double -1.330000e-02, double %160)
  %162 = getelementptr inbounds i8, ptr %153, i64 -4
  %163 = load float, ptr %162, align 4, !tbaa !12
  %164 = fpext float %163 to double
  %165 = tail call double @llvm.fmuladd.f64(double %164, double -2.420000e-01, double %161)
  %166 = fpext float %152 to double
  %167 = tail call double @llvm.fmuladd.f64(double %166, double 2.420000e-01, double %165)
  %168 = load float, ptr %102, align 4, !tbaa !12
  %169 = fpext float %168 to double
  %170 = tail call double @llvm.fmuladd.f64(double %169, double 1.213000e-01, double %167)
  %171 = fptrunc double %170 to float
  %172 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next81
  store float %171, ptr %172, align 4, !tbaa !12
  %gep71.2 = getelementptr float, ptr %51, i64 %indvars.iv.next81.1
  %.in.2 = select i1 %.not.2, ptr %gep71.2, ptr %102
  %173 = load float, ptr %.in.2, align 4, !tbaa !12
  %174 = getelementptr inbounds float, ptr %21, i64 %indvars.iv.next81.1
  %175 = getelementptr inbounds i8, ptr %174, i64 -12
  %176 = load float, ptr %175, align 4, !tbaa !12
  %177 = fpext float %176 to double
  %178 = getelementptr inbounds i8, ptr %174, i64 -8
  %179 = load float, ptr %178, align 4, !tbaa !12
  %180 = fpext float %179 to double
  %181 = fmul double %180, -1.080000e-01
  %182 = tail call double @llvm.fmuladd.f64(double %177, double -1.330000e-02, double %181)
  %183 = getelementptr inbounds i8, ptr %174, i64 -4
  %184 = load float, ptr %183, align 4, !tbaa !12
  %185 = fpext float %184 to double
  %186 = tail call double @llvm.fmuladd.f64(double %185, double -2.420000e-01, double %182)
  %187 = fpext float %173 to double
  %188 = tail call double @llvm.fmuladd.f64(double %187, double 2.420000e-01, double %186)
  %189 = load float, ptr %102, align 4, !tbaa !12
  %190 = fpext float %189 to double
  %191 = tail call double @llvm.fmuladd.f64(double %190, double 1.213000e-01, double %188)
  %192 = fptrunc double %191 to float
  %193 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next81.1
  store float %192, ptr %193, align 4, !tbaa !12
  br label %194

194:                                              ; preds = %151, %.preheader67
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 1
  %exitcond87.not = icmp eq i64 %indvars.iv.next84, %wide.trip.count86
  br i1 %exitcond87.not, label %._crit_edge, label %19, !llvm.loop !25

._crit_edge:                                      ; preds = %194, %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