; 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: mustprogress uwtable
define dso_local void @_Z12HorConvSqrt2P12ImageContentS0_(ptr noundef %0, ptr noundef %1) #2 {
  %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 = %233, %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 %236

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 = %90, %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 %93

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.050000e-01, %57
  %59 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %53, double %58)
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds float, ptr %60, i64 -1
  %62 = load float, ptr %61, align 4, !tbaa !13
  %63 = fpext float %62 to double
  %64 = call double @llvm.fmuladd.f64(double 2.220000e-01, double %63, double %59)
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds float, ptr %65, i64 0
  %67 = load float, ptr %66, align 4, !tbaa !13
  %68 = fpext float %67 to double
  %69 = call double @llvm.fmuladd.f64(double 2.860000e-01, double %68, double %64)
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds float, ptr %70, i64 1
  %72 = load float, ptr %71, align 4, !tbaa !13
  %73 = fpext float %72 to double
  %74 = call double @llvm.fmuladd.f64(double 2.220000e-01, double %73, double %69)
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds float, ptr %75, i64 2
  %77 = load float, ptr %76, align 4, !tbaa !13
  %78 = fpext float %77 to double
  %79 = call double @llvm.fmuladd.f64(double 1.050000e-01, double %78, double %74)
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = getelementptr inbounds float, ptr %80, i64 3
  %82 = load float, ptr %81, align 4, !tbaa !13
  %83 = fpext float %82 to double
  %84 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %83, double %79)
  %85 = fptrunc double %84 to float
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds float, ptr %86, i64 %88
  store float %85, ptr %89, align 4, !tbaa !13
  br label %90

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

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

94:                                               ; preds = %158, %93
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = icmp slt i32 %95, 3
  br i1 %96, label %97, label %161

97:                                               ; preds = %94
  %98 = load i32, ptr %8, align 4, !tbaa !9
  %99 = icmp slt i32 %98, 1
  br i1 %99, label %100, label %108

100:                                              ; preds = %97
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load i32, ptr %7, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds ptr, ptr %101, i64 %103
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %105, i64 0
  %107 = load float, ptr %106, align 4, !tbaa !13
  br label %119

108:                                              ; preds = %97
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load i32, ptr %7, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load i32, ptr %8, align 4, !tbaa !9
  %115 = sub nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds float, ptr %113, i64 %116
  %118 = load float, ptr %117, align 4, !tbaa !13
  br label %119

119:                                              ; preds = %108, %100
  %120 = phi float [ %107, %100 ], [ %118, %108 ]
  store float %120, ptr %12, align 4, !tbaa !13
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds float, ptr %121, i64 %123
  store ptr %124, ptr %11, align 8, !tbaa !5
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = getelementptr inbounds float, ptr %125, i64 0
  %127 = load float, ptr %126, align 4, !tbaa !13
  %128 = fpext float %127 to double
  %129 = load float, ptr %12, align 4, !tbaa !13
  %130 = fpext float %129 to double
  %131 = fmul double 2.220000e-01, %130
  %132 = call double @llvm.fmuladd.f64(double 1.350000e-01, double %128, double %131)
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = getelementptr inbounds float, ptr %133, i64 0
  %135 = load float, ptr %134, align 4, !tbaa !13
  %136 = fpext float %135 to double
  %137 = call double @llvm.fmuladd.f64(double 2.860000e-01, double %136, double %132)
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds float, ptr %138, i64 1
  %140 = load float, ptr %139, align 4, !tbaa !13
  %141 = fpext float %140 to double
  %142 = call double @llvm.fmuladd.f64(double 2.220000e-01, double %141, double %137)
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds float, ptr %143, i64 2
  %145 = load float, ptr %144, align 4, !tbaa !13
  %146 = fpext float %145 to double
  %147 = call double @llvm.fmuladd.f64(double 1.050000e-01, double %146, double %142)
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = getelementptr inbounds float, ptr %148, i64 3
  %150 = load float, ptr %149, align 4, !tbaa !13
  %151 = fpext float %150 to double
  %152 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %151, double %147)
  %153 = fptrunc double %152 to float
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  %155 = load i32, ptr %8, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %154, i64 %156
  store float %153, ptr %157, align 4, !tbaa !13
  br label %158

158:                                              ; preds = %119
  %159 = load i32, ptr %8, align 4, !tbaa !9
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %8, align 4, !tbaa !9
  br label %94, !llvm.loop !17

161:                                              ; preds = %94
  %162 = load i32, ptr %6, align 4, !tbaa !9
  %163 = sub nsw i32 %162, 3
  store i32 %163, ptr %8, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %229, %161
  %165 = load i32, ptr %8, align 4, !tbaa !9
  %166 = load i32, ptr %6, align 4, !tbaa !9
  %167 = icmp slt i32 %165, %166
  br i1 %167, label %168, label %232

168:                                              ; preds = %164
  %169 = load i32, ptr %8, align 4, !tbaa !9
  %170 = load i32, ptr %6, align 4, !tbaa !9
  %171 = sub nsw i32 %170, 1
  %172 = icmp sge i32 %169, %171
  br i1 %172, label %173, label %180

173:                                              ; preds = %168
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = load i32, ptr %6, align 4, !tbaa !9
  %176 = sub nsw i32 %175, 1
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds float, ptr %174, i64 %177
  %179 = load float, ptr %178, align 4, !tbaa !13
  br label %187

180:                                              ; preds = %168
  %181 = load ptr, ptr %13, 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 = %180, %173
  %188 = phi float [ %179, %173 ], [ %186, %180 ]
  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.050000e-01, %200
  %202 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %196, double %201)
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds float, ptr %203, i64 -1
  %205 = load float, ptr %204, align 4, !tbaa !13
  %206 = fpext float %205 to double
  %207 = call double @llvm.fmuladd.f64(double 2.220000e-01, double %206, double %202)
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds float, ptr %208, i64 0
  %210 = load float, ptr %209, align 4, !tbaa !13
  %211 = fpext float %210 to double
  %212 = call double @llvm.fmuladd.f64(double 2.860000e-01, double %211, double %207)
  %213 = load float, ptr %12, align 4, !tbaa !13
  %214 = fpext float %213 to double
  %215 = call double @llvm.fmuladd.f64(double 2.220000e-01, double %214, double %212)
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = load i32, ptr %6, align 4, !tbaa !9
  %218 = sub nsw i32 %217, 1
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds float, ptr %216, i64 %219
  %221 = load float, ptr %220, align 4, !tbaa !13
  %222 = fpext float %221 to double
  %223 = call double @llvm.fmuladd.f64(double 1.350000e-01, double %222, double %215)
  %224 = fptrunc double %223 to float
  %225 = load ptr, ptr %14, align 8, !tbaa !5
  %226 = load i32, ptr %8, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds float, ptr %225, i64 %227
  store float %224, ptr %228, align 4, !tbaa !13
  br label %229

229:                                              ; preds = %187
  %230 = load i32, ptr %8, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %8, align 4, !tbaa !9
  br label %164, !llvm.loop !18

232:                                              ; preds = %164
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %7, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %7, align 4, !tbaa !9
  br label %25, !llvm.loop !19

236:                                              ; 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
}

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

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 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 nounwind uwtable
define dso_local void @_Z12HorConvSqrt2P12ImageContentS0_(ptr noundef nonnull %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %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.ph73, label %._crit_edge

.lr.ph73:                                         ; 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.count85 = zext nneg i32 %3 to i64
  %wide.trip.count = zext i32 %10 to i64
  %.not = icmp slt i32 %10, %12
  %indvars.iv.next80 = add nsw i64 %14, 1
  %16 = icmp slt i64 %indvars.iv.next80, %15
  %.not.1 = icmp slt i64 %indvars.iv.next80, %13
  %indvars.iv.next80.1 = add nsw i64 %14, 2
  %.not.2 = icmp slt i64 %indvars.iv.next80.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.ph73, %218
  %indvars.iv82 = phi i64 [ 0, %.lr.ph73 ], [ %indvars.iv.next83, %218 ]
  %20 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv82
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv82
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  br i1 %11, label %.lr.ph.preheader, label %.preheader68

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

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

.preheader68:                                     ; preds = %.lr.ph, %middle.block, %19
  %49 = load float, ptr %21, align 4, !tbaa !12
  %50 = fpext float %49 to double
  %51 = fmul double %50, 2.220000e-01
  %52 = tail call double @llvm.fmuladd.f64(double %50, double 1.350000e-01, double %51)
  %53 = tail call double @llvm.fmuladd.f64(double %50, double 2.860000e-01, double %52)
  %54 = getelementptr inbounds i8, ptr %21, i64 4
  %55 = load float, ptr %54, align 4, !tbaa !12
  %56 = fpext float %55 to double
  %57 = tail call double @llvm.fmuladd.f64(double %56, double 2.220000e-01, double %53)
  %58 = getelementptr inbounds i8, ptr %21, i64 8
  %59 = load float, ptr %58, align 4, !tbaa !12
  %60 = fpext float %59 to double
  %61 = tail call double @llvm.fmuladd.f64(double %60, double 1.050000e-01, double %57)
  %62 = getelementptr inbounds i8, ptr %21, i64 12
  %63 = load float, ptr %62, align 4, !tbaa !12
  %64 = fpext float %63 to double
  %65 = tail call double @llvm.fmuladd.f64(double %64, double 3.000000e-02, double %61)
  %66 = fptrunc double %65 to float
  store float %66, ptr %23, align 4, !tbaa !12
  %67 = load float, ptr %21, align 4, !tbaa !12
  %68 = fpext float %67 to double
  %69 = fmul double %68, 2.220000e-01
  %70 = tail call double @llvm.fmuladd.f64(double %68, double 1.350000e-01, double %69)
  %71 = load float, ptr %54, align 4, !tbaa !12
  %72 = fpext float %71 to double
  %73 = tail call double @llvm.fmuladd.f64(double %72, double 2.860000e-01, double %70)
  %74 = getelementptr inbounds i8, ptr %21, i64 8
  %75 = load float, ptr %74, align 4, !tbaa !12
  %76 = fpext float %75 to double
  %77 = tail call double @llvm.fmuladd.f64(double %76, double 2.220000e-01, double %73)
  %78 = getelementptr inbounds i8, ptr %21, i64 12
  %79 = load float, ptr %78, align 4, !tbaa !12
  %80 = fpext float %79 to double
  %81 = tail call double @llvm.fmuladd.f64(double %80, double 1.050000e-01, double %77)
  %82 = getelementptr inbounds i8, ptr %21, i64 16
  %83 = load float, ptr %82, align 4, !tbaa !12
  %84 = fpext float %83 to double
  %85 = tail call double @llvm.fmuladd.f64(double %84, double 3.000000e-02, double %81)
  %86 = fptrunc double %85 to float
  %87 = getelementptr inbounds i8, ptr %23, i64 4
  store float %86, ptr %87, align 4, !tbaa !12
  %gep.2 = getelementptr i8, ptr %21, i64 4
  %88 = load float, ptr %gep.2, align 4, !tbaa !12
  %89 = load float, ptr %21, align 4, !tbaa !12
  %90 = fpext float %89 to double
  %91 = fpext float %88 to double
  %92 = fmul double %91, 2.220000e-01
  %93 = tail call double @llvm.fmuladd.f64(double %90, double 1.350000e-01, double %92)
  %94 = load float, ptr %58, align 4, !tbaa !12
  %95 = fpext float %94 to double
  %96 = tail call double @llvm.fmuladd.f64(double %95, double 2.860000e-01, double %93)
  %97 = getelementptr inbounds i8, ptr %21, i64 12
  %98 = load float, ptr %97, align 4, !tbaa !12
  %99 = fpext float %98 to double
  %100 = tail call double @llvm.fmuladd.f64(double %99, double 2.220000e-01, double %96)
  %101 = getelementptr inbounds i8, ptr %21, i64 16
  %102 = load float, ptr %101, align 4, !tbaa !12
  %103 = fpext float %102 to double
  %104 = tail call double @llvm.fmuladd.f64(double %103, double 1.050000e-01, double %100)
  %105 = getelementptr inbounds i8, ptr %21, i64 20
  %106 = load float, ptr %105, align 4, !tbaa !12
  %107 = fpext float %106 to double
  %108 = tail call double @llvm.fmuladd.f64(double %107, double 3.000000e-02, double %104)
  %109 = fptrunc double %108 to float
  %110 = getelementptr inbounds i8, ptr %23, i64 8
  store float %109, ptr %110, align 4, !tbaa !12
  %111 = getelementptr inbounds float, ptr %21, i64 %13
  %112 = getelementptr float, ptr %21, i64 %14
  %113 = getelementptr i8, ptr %112, i64 4
  %.in = select i1 %.not, ptr %113, ptr %111
  %114 = load float, ptr %.in, align 4, !tbaa !12
  %115 = getelementptr inbounds i8, ptr %112, i64 -12
  %116 = load float, ptr %115, align 4, !tbaa !12
  %117 = fpext float %116 to double
  %118 = getelementptr inbounds i8, ptr %112, i64 -8
  %119 = load float, ptr %118, align 4, !tbaa !12
  %120 = fpext float %119 to double
  %121 = fmul double %120, 1.050000e-01
  %122 = tail call double @llvm.fmuladd.f64(double %117, double 3.000000e-02, double %121)
  %123 = getelementptr inbounds i8, ptr %112, i64 -4
  %124 = load float, ptr %123, align 4, !tbaa !12
  %125 = fpext float %124 to double
  %126 = tail call double @llvm.fmuladd.f64(double %125, double 2.220000e-01, double %122)
  %127 = load float, ptr %112, align 4, !tbaa !12
  %128 = fpext float %127 to double
  %129 = tail call double @llvm.fmuladd.f64(double %128, double 2.860000e-01, double %126)
  %130 = fpext float %114 to double
  %131 = tail call double @llvm.fmuladd.f64(double %130, double 2.220000e-01, double %129)
  %132 = load float, ptr %111, align 4, !tbaa !12
  %133 = fpext float %132 to double
  %134 = tail call double @llvm.fmuladd.f64(double %133, double 1.350000e-01, double %131)
  %135 = fptrunc double %134 to float
  %136 = getelementptr inbounds float, ptr %23, i64 %14
  store float %135, ptr %136, align 4, !tbaa !12
  br i1 %16, label %167, label %218, !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 ]
  %137 = getelementptr inbounds float, ptr %21, i64 %indvars.iv
  %138 = getelementptr inbounds i8, ptr %137, i64 -12
  %139 = load float, ptr %138, align 4, !tbaa !12
  %140 = fpext float %139 to double
  %141 = getelementptr inbounds i8, ptr %137, i64 -8
  %142 = load float, ptr %141, align 4, !tbaa !12
  %143 = fpext float %142 to double
  %144 = fmul double %143, 1.050000e-01
  %145 = tail call double @llvm.fmuladd.f64(double %140, double 3.000000e-02, double %144)
  %146 = getelementptr inbounds i8, ptr %137, i64 -4
  %147 = load float, ptr %146, align 4, !tbaa !12
  %148 = fpext float %147 to double
  %149 = tail call double @llvm.fmuladd.f64(double %148, double 2.220000e-01, double %145)
  %150 = load float, ptr %137, align 4, !tbaa !12
  %151 = fpext float %150 to double
  %152 = tail call double @llvm.fmuladd.f64(double %151, double 2.860000e-01, double %149)
  %153 = getelementptr inbounds i8, ptr %137, i64 4
  %154 = load float, ptr %153, align 4, !tbaa !12
  %155 = fpext float %154 to double
  %156 = tail call double @llvm.fmuladd.f64(double %155, double 2.220000e-01, double %152)
  %157 = getelementptr inbounds i8, ptr %137, i64 8
  %158 = load float, ptr %157, align 4, !tbaa !12
  %159 = fpext float %158 to double
  %160 = tail call double @llvm.fmuladd.f64(double %159, double 1.050000e-01, double %156)
  %161 = getelementptr inbounds i8, ptr %137, i64 12
  %162 = load float, ptr %161, align 4, !tbaa !12
  %163 = fpext float %162 to double
  %164 = tail call double @llvm.fmuladd.f64(double %163, double 3.000000e-02, double %160)
  %165 = fptrunc double %164 to float
  %166 = getelementptr inbounds float, ptr %23, i64 %indvars.iv
  store float %165, ptr %166, 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 %.preheader68, label %.lr.ph, !llvm.loop !24

167:                                              ; preds = %.preheader68
  %168 = getelementptr float, ptr %21, i64 %indvars.iv.next80
  %169 = getelementptr i8, ptr %168, i64 4
  %.in.1 = select i1 %.not.1, ptr %169, ptr %111
  %170 = load float, ptr %.in.1, align 4, !tbaa !12
  %171 = getelementptr inbounds i8, ptr %168, i64 -12
  %172 = load float, ptr %171, align 4, !tbaa !12
  %173 = fpext float %172 to double
  %174 = getelementptr inbounds i8, ptr %168, i64 -8
  %175 = load float, ptr %174, align 4, !tbaa !12
  %176 = fpext float %175 to double
  %177 = fmul double %176, 1.050000e-01
  %178 = tail call double @llvm.fmuladd.f64(double %173, double 3.000000e-02, double %177)
  %179 = getelementptr inbounds i8, ptr %168, i64 -4
  %180 = load float, ptr %179, align 4, !tbaa !12
  %181 = fpext float %180 to double
  %182 = tail call double @llvm.fmuladd.f64(double %181, double 2.220000e-01, double %178)
  %183 = load float, ptr %168, align 4, !tbaa !12
  %184 = fpext float %183 to double
  %185 = tail call double @llvm.fmuladd.f64(double %184, double 2.860000e-01, double %182)
  %186 = fpext float %170 to double
  %187 = tail call double @llvm.fmuladd.f64(double %186, double 2.220000e-01, double %185)
  %188 = load float, ptr %111, align 4, !tbaa !12
  %189 = fpext float %188 to double
  %190 = tail call double @llvm.fmuladd.f64(double %189, double 1.350000e-01, double %187)
  %191 = fptrunc double %190 to float
  %192 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next80
  store float %191, ptr %192, align 4, !tbaa !12
  %193 = getelementptr float, ptr %21, i64 %indvars.iv.next80.1
  %194 = getelementptr i8, ptr %193, i64 4
  %.in.2 = select i1 %.not.2, ptr %194, ptr %111
  %195 = load float, ptr %.in.2, align 4, !tbaa !12
  %196 = getelementptr inbounds i8, ptr %193, i64 -12
  %197 = load float, ptr %196, align 4, !tbaa !12
  %198 = fpext float %197 to double
  %199 = getelementptr inbounds i8, ptr %193, i64 -8
  %200 = load float, ptr %199, align 4, !tbaa !12
  %201 = fpext float %200 to double
  %202 = fmul double %201, 1.050000e-01
  %203 = tail call double @llvm.fmuladd.f64(double %198, double 3.000000e-02, double %202)
  %204 = getelementptr inbounds i8, ptr %193, i64 -4
  %205 = load float, ptr %204, align 4, !tbaa !12
  %206 = fpext float %205 to double
  %207 = tail call double @llvm.fmuladd.f64(double %206, double 2.220000e-01, double %203)
  %208 = load float, ptr %193, align 4, !tbaa !12
  %209 = fpext float %208 to double
  %210 = tail call double @llvm.fmuladd.f64(double %209, double 2.860000e-01, double %207)
  %211 = fpext float %195 to double
  %212 = tail call double @llvm.fmuladd.f64(double %211, double 2.220000e-01, double %210)
  %213 = load float, ptr %111, align 4, !tbaa !12
  %214 = fpext float %213 to double
  %215 = tail call double @llvm.fmuladd.f64(double %214, double 1.350000e-01, double %212)
  %216 = fptrunc double %215 to float
  %217 = getelementptr inbounds float, ptr %23, i64 %indvars.iv.next80.1
  store float %216, ptr %217, align 4, !tbaa !12
  br label %218

218:                                              ; preds = %167, %.preheader68
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %exitcond86.not = icmp eq i64 %indvars.iv.next83, %wide.trip.count85
  br i1 %exitcond86.not, label %._crit_edge, label %19, !llvm.loop !25

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

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

; 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 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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