; 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 @_Z7DerXXH7P12ImageContentS0_(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 = %238, %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 %241

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.051000e-01, %57
  %59 = call double @llvm.fmuladd.f64(double 5.600000e-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 -4.710000e-02, 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.281000e-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 -4.710000e-02, 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.051000e-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 5.600000e-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 = %159, %93
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = icmp slt i32 %95, 3
  br i1 %96, label %97, label %162

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

100:                                              ; preds = %97
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds float, ptr %101, i64 0
  %103 = load float, ptr %102, align 4, !tbaa !13
  br label %111

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

111:                                              ; preds = %104, %100
  %112 = phi float [ %103, %100 ], [ %110, %104 ]
  store float %112, ptr %12, align 4, !tbaa !13
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load i32, ptr %7, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds ptr, ptr %113, i64 %115
  %117 = load ptr, ptr %116, 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 %9, align 8, !tbaa !5
  %122 = load i32, ptr %7, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  %125 = load ptr, ptr %124, 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 4.710000e-02, %130
  %132 = fneg double %131
  %133 = call double @llvm.fmuladd.f64(double 1.611000e-01, double %128, double %132)
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds float, ptr %134, i64 0
  %136 = load float, ptr %135, align 4, !tbaa !13
  %137 = fpext float %136 to double
  %138 = call double @llvm.fmuladd.f64(double -2.281000e-01, double %137, double %133)
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds float, ptr %139, i64 1
  %141 = load float, ptr %140, align 4, !tbaa !13
  %142 = fpext float %141 to double
  %143 = call double @llvm.fmuladd.f64(double -4.710000e-02, double %142, double %138)
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds float, ptr %144, i64 2
  %146 = load float, ptr %145, align 4, !tbaa !13
  %147 = fpext float %146 to double
  %148 = call double @llvm.fmuladd.f64(double 1.051000e-01, double %147, double %143)
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = getelementptr inbounds float, ptr %149, i64 3
  %151 = load float, ptr %150, align 4, !tbaa !13
  %152 = fpext float %151 to double
  %153 = call double @llvm.fmuladd.f64(double 5.600000e-02, double %152, double %148)
  %154 = fptrunc double %153 to float
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  %156 = load i32, ptr %8, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds float, ptr %155, i64 %157
  store float %154, ptr %158, align 4, !tbaa !13
  br label %159

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

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

165:                                              ; preds = %234, %162
  %166 = load i32, ptr %8, align 4, !tbaa !9
  %167 = load i32, ptr %6, align 4, !tbaa !9
  %168 = icmp slt i32 %166, %167
  br i1 %168, label %169, label %237

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

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

181:                                              ; preds = %169
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = load i32, ptr %8, align 4, !tbaa !9
  %184 = add nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds float, ptr %182, i64 %185
  %187 = load float, ptr %186, align 4, !tbaa !13
  br label %188

188:                                              ; preds = %181, %174
  %189 = phi float [ %180, %174 ], [ %187, %181 ]
  store float %189, ptr %12, align 4, !tbaa !13
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load i32, ptr %7, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds ptr, ptr %190, i64 %192
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = load i32, ptr %8, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds float, ptr %194, i64 %196
  store ptr %197, ptr %11, align 8, !tbaa !5
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds float, ptr %198, i64 -3
  %200 = load float, ptr %199, align 4, !tbaa !13
  %201 = fpext float %200 to double
  %202 = load ptr, ptr %11, align 8, !tbaa !5
  %203 = getelementptr inbounds float, ptr %202, i64 -2
  %204 = load float, ptr %203, align 4, !tbaa !13
  %205 = fpext float %204 to double
  %206 = fmul double 1.051000e-01, %205
  %207 = call double @llvm.fmuladd.f64(double 5.600000e-02, double %201, double %206)
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds float, ptr %208, i64 -1
  %210 = load float, ptr %209, align 4, !tbaa !13
  %211 = fpext float %210 to double
  %212 = call double @llvm.fmuladd.f64(double -4.710000e-02, double %211, double %207)
  %213 = load ptr, ptr %11, align 8, !tbaa !5
  %214 = getelementptr inbounds float, ptr %213, i64 0
  %215 = load float, ptr %214, align 4, !tbaa !13
  %216 = fpext float %215 to double
  %217 = call double @llvm.fmuladd.f64(double -2.281000e-01, double %216, double %212)
  %218 = load float, ptr %12, align 4, !tbaa !13
  %219 = fpext float %218 to double
  %220 = call double @llvm.fmuladd.f64(double -4.710000e-02, double %219, double %217)
  %221 = load ptr, ptr %13, align 8, !tbaa !5
  %222 = load i32, ptr %6, align 4, !tbaa !9
  %223 = sub nsw i32 %222, 1
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds float, ptr %221, i64 %224
  %226 = load float, ptr %225, align 4, !tbaa !13
  %227 = fpext float %226 to double
  %228 = call double @llvm.fmuladd.f64(double 1.611000e-01, double %227, double %220)
  %229 = fptrunc double %228 to float
  %230 = load ptr, ptr %14, align 8, !tbaa !5
  %231 = load i32, ptr %8, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds float, ptr %230, i64 %232
  store float %229, ptr %233, align 4, !tbaa !13
  br label %234

234:                                              ; preds = %188
  %235 = load i32, ptr %8, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %8, align 4, !tbaa !9
  br label %165, !llvm.loop !18

237:                                              ; preds = %165
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %7, align 4, !tbaa !9
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %7, align 4, !tbaa !9
  br label %25, !llvm.loop !19

241:                                              ; 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 @_Z7DerXXH7P12ImageContentS0_(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, %219
  %indvars.iv83 = phi i64 [ 0, %.lr.ph74 ], [ %indvars.iv.next84, %219 ]
  %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 %.preheader69

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

.lr.ph.preheader96:                               ; 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.preheader96, 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.051000e-01, double 1.051000e-01, double 1.051000e-01, double 1.051000e-01>
  %31 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %27, <4 x double> <double 5.600000e-02, double 5.600000e-02, double 5.600000e-02, double 5.600000e-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 -4.710000e-02, double -4.710000e-02, double -4.710000e-02, double -4.710000e-02>, <4 x double> %31)
  %wide.load92 = load <4 x float>, ptr %25, align 4, !tbaa !12, !alias.scope !14
  %35 = fpext <4 x float> %wide.load92 to <4 x double>
  %36 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %35, <4 x double> <double -2.281000e-01, double -2.281000e-01, double -2.281000e-01, double -2.281000e-01>, <4 x double> %34)
  %37 = getelementptr inbounds i8, ptr %25, i64 4
  %wide.load93 = load <4 x float>, ptr %37, align 4, !tbaa !12, !alias.scope !14
  %38 = fpext <4 x float> %wide.load93 to <4 x double>
  %39 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %38, <4 x double> <double -4.710000e-02, double -4.710000e-02, double -4.710000e-02, double -4.710000e-02>, <4 x double> %36)
  %40 = getelementptr inbounds i8, ptr %25, i64 8
  %wide.load94 = load <4 x float>, ptr %40, align 4, !tbaa !12, !alias.scope !14
  %41 = fpext <4 x float> %wide.load94 to <4 x double>
  %42 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %41, <4 x double> <double 1.051000e-01, double 1.051000e-01, double 1.051000e-01, double 1.051000e-01>, <4 x double> %39)
  %43 = getelementptr inbounds i8, ptr %25, i64 12
  %wide.load95 = load <4 x float>, ptr %43, align 4, !tbaa !12, !alias.scope !14
  %44 = fpext <4 x float> %wide.load95 to <4 x double>
  %45 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %44, <4 x double> <double 5.600000e-02, double 5.600000e-02, double 5.600000e-02, double 5.600000e-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 %.preheader69, label %.lr.ph.preheader96

.preheader69:                                     ; 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, -4.710000e-02
  %52 = tail call double @llvm.fmuladd.f64(double %50, double 1.611000e-01, double %51)
  %53 = tail call double @llvm.fmuladd.f64(double %50, double -2.281000e-01, double %52)
  %54 = getelementptr 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 -4.710000e-02, double %53)
  %58 = getelementptr 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.051000e-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 5.600000e-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, -4.710000e-02
  %70 = tail call double @llvm.fmuladd.f64(double %68, double 1.611000e-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.281000e-01, double %70)
  %74 = getelementptr 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 -4.710000e-02, double %73)
  %78 = getelementptr 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.051000e-01, double %77)
  %82 = getelementptr 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 5.600000e-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
  %88 = getelementptr i8, ptr %21, i64 4
  %89 = load float, ptr %88, align 4, !tbaa !12
  %90 = load float, ptr %21, align 4, !tbaa !12
  %91 = fpext float %90 to double
  %92 = fpext float %89 to double
  %93 = fmul double %92, -4.710000e-02
  %94 = tail call double @llvm.fmuladd.f64(double %91, double 1.611000e-01, double %93)
  %95 = load float, ptr %58, align 4, !tbaa !12
  %96 = fpext float %95 to double
  %97 = tail call double @llvm.fmuladd.f64(double %96, double -2.281000e-01, double %94)
  %98 = getelementptr i8, ptr %21, i64 12
  %99 = load float, ptr %98, align 4, !tbaa !12
  %100 = fpext float %99 to double
  %101 = tail call double @llvm.fmuladd.f64(double %100, double -4.710000e-02, double %97)
  %102 = getelementptr i8, ptr %21, i64 16
  %103 = load float, ptr %102, align 4, !tbaa !12
  %104 = fpext float %103 to double
  %105 = tail call double @llvm.fmuladd.f64(double %104, double 1.051000e-01, double %101)
  %106 = getelementptr i8, ptr %21, i64 20
  %107 = load float, ptr %106, align 4, !tbaa !12
  %108 = fpext float %107 to double
  %109 = tail call double @llvm.fmuladd.f64(double %108, double 5.600000e-02, double %105)
  %110 = fptrunc double %109 to float
  %111 = getelementptr inbounds i8, ptr %23, i64 8
  store float %110, ptr %111, align 4, !tbaa !12
  %112 = getelementptr inbounds float, ptr %21, i64 %13
  %113 = getelementptr float, ptr %21, i64 %14
  %114 = getelementptr i8, ptr %113, i64 4
  %.in = select i1 %.not, ptr %114, ptr %112
  %115 = load float, ptr %.in, align 4, !tbaa !12
  %116 = getelementptr inbounds i8, ptr %113, i64 -12
  %117 = load float, ptr %116, align 4, !tbaa !12
  %118 = fpext float %117 to double
  %119 = getelementptr inbounds i8, ptr %113, i64 -8
  %120 = load float, ptr %119, align 4, !tbaa !12
  %121 = fpext float %120 to double
  %122 = fmul double %121, 1.051000e-01
  %123 = tail call double @llvm.fmuladd.f64(double %118, double 5.600000e-02, double %122)
  %124 = getelementptr inbounds i8, ptr %113, i64 -4
  %125 = load float, ptr %124, align 4, !tbaa !12
  %126 = fpext float %125 to double
  %127 = tail call double @llvm.fmuladd.f64(double %126, double -4.710000e-02, double %123)
  %128 = load float, ptr %113, align 4, !tbaa !12
  %129 = fpext float %128 to double
  %130 = tail call double @llvm.fmuladd.f64(double %129, double -2.281000e-01, double %127)
  %131 = fpext float %115 to double
  %132 = tail call double @llvm.fmuladd.f64(double %131, double -4.710000e-02, double %130)
  %133 = load float, ptr %112, align 4, !tbaa !12
  %134 = fpext float %133 to double
  %135 = tail call double @llvm.fmuladd.f64(double %134, double 1.611000e-01, double %132)
  %136 = fptrunc double %135 to float
  %137 = getelementptr inbounds float, ptr %23, i64 %14
  store float %136, ptr %137, align 4, !tbaa !12
  br i1 %16, label %168, label %219, !llvm.loop !23

.lr.ph:                                           ; preds = %.lr.ph.preheader96, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader96 ]
  %138 = getelementptr inbounds float, ptr %21, i64 %indvars.iv
  %139 = getelementptr inbounds i8, ptr %138, i64 -12
  %140 = load float, ptr %139, align 4, !tbaa !12
  %141 = fpext float %140 to double
  %142 = getelementptr inbounds i8, ptr %138, i64 -8
  %143 = load float, ptr %142, align 4, !tbaa !12
  %144 = fpext float %143 to double
  %145 = fmul double %144, 1.051000e-01
  %146 = tail call double @llvm.fmuladd.f64(double %141, double 5.600000e-02, double %145)
  %147 = getelementptr inbounds i8, ptr %138, i64 -4
  %148 = load float, ptr %147, align 4, !tbaa !12
  %149 = fpext float %148 to double
  %150 = tail call double @llvm.fmuladd.f64(double %149, double -4.710000e-02, double %146)
  %151 = load float, ptr %138, align 4, !tbaa !12
  %152 = fpext float %151 to double
  %153 = tail call double @llvm.fmuladd.f64(double %152, double -2.281000e-01, double %150)
  %154 = getelementptr inbounds i8, ptr %138, i64 4
  %155 = load float, ptr %154, align 4, !tbaa !12
  %156 = fpext float %155 to double
  %157 = tail call double @llvm.fmuladd.f64(double %156, double -4.710000e-02, double %153)
  %158 = getelementptr inbounds i8, ptr %138, i64 8
  %159 = load float, ptr %158, align 4, !tbaa !12
  %160 = fpext float %159 to double
  %161 = tail call double @llvm.fmuladd.f64(double %160, double 1.051000e-01, double %157)
  %162 = getelementptr inbounds i8, ptr %138, i64 12
  %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 5.600000e-02, double %161)
  %166 = fptrunc double %165 to float
  %167 = getelementptr inbounds float, ptr %23, i64 %indvars.iv
  store float %166, ptr %167, 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 %.preheader69, label %.lr.ph, !llvm.loop !24

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

219:                                              ; preds = %168, %.preheader69
  %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 = %219, %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