; LLVM IR from rdguez-mariano/fast_imas_IPOL :: libSimuTilts/filter.ll (Z4heatPfS_fifii)

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

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

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

declare void @_Z4copyPfS_i(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21separable_convolutionPfS_iiS_iS_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare noundef ptr @_Z5gaussifPi(i32 noundef, float noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4heatPfS_fifii(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3, float noundef %4, i32 noundef %5, i32 noundef %6) #6 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store float %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !11
  store float %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !11
  store i32 %6, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  store ptr null, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store ptr null, ptr %26, align 8, !tbaa !5
  %27 = load i32, ptr %13, align 4, !tbaa !11
  %28 = load i32, ptr %14, align 4, !tbaa !11
  %29 = mul nsw i32 %27, %28
  store i32 %29, ptr %19, align 4, !tbaa !11
  %30 = load float, ptr %12, align 4, !tbaa !9
  %31 = fpext float %30 to double
  %32 = fcmp ogt double %31, 0.000000e+00
  br i1 %32, label %33, label %36

33:                                               ; preds = %7
  %34 = load float, ptr %12, align 4, !tbaa !9
  %35 = call noundef ptr @_Z5gaussifPi(i32 noundef 0, float noundef %34, ptr noundef %18)
  store ptr %35, ptr %24, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %33, %7
  %37 = load i32, ptr %19, align 4, !tbaa !11
  %38 = sext i32 %37 to i64
  %39 = mul i64 %38, 4
  %40 = call noalias ptr @malloc(i64 noundef %39) #8
  store ptr %40, ptr %25, align 8, !tbaa !5
  %41 = load i32, ptr %19, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  %43 = mul i64 %42, 4
  %44 = call noalias ptr @malloc(i64 noundef %43) #8
  store ptr %44, ptr %26, align 8, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %45

45:                                               ; preds = %233, %36
  %46 = load i32, ptr %17, align 4, !tbaa !11
  %47 = load i32, ptr %11, align 4, !tbaa !11
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %49, label %236

49:                                               ; preds = %45
  %50 = load float, ptr %12, align 4, !tbaa !9
  %51 = fpext float %50 to double
  %52 = fcmp ogt double %51, 0.000000e+00
  br i1 %52, label %53, label %86

53:                                               ; preds = %49
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = load ptr, ptr %26, align 8, !tbaa !5
  %56 = load i32, ptr %13, align 4, !tbaa !11
  %57 = load i32, ptr %14, align 4, !tbaa !11
  %58 = load ptr, ptr %24, align 8, !tbaa !5
  %59 = load i32, ptr %18, align 4, !tbaa !11
  %60 = load ptr, ptr %24, align 8, !tbaa !5
  %61 = load i32, ptr %18, align 4, !tbaa !11
  call void @_Z21separable_convolutionPfS_iiS_iS_ii(ptr noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57, ptr noundef %58, i32 noundef %59, ptr noundef %60, i32 noundef %61, i32 noundef 1)
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %62

62:                                               ; preds = %82, %53
  %63 = load i32, ptr %15, align 4, !tbaa !11
  %64 = load i32, ptr %19, align 4, !tbaa !11
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %66, label %85

66:                                               ; preds = %62
  %67 = load ptr, ptr %26, align 8, !tbaa !5
  %68 = load i32, ptr %15, align 4, !tbaa !11
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i32, ptr %15, align 4, !tbaa !11
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !9
  %77 = fsub float %71, %76
  %78 = load ptr, ptr %25, align 8, !tbaa !5
  %79 = load i32, ptr %15, align 4, !tbaa !11
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds float, ptr %78, i64 %80
  store float %77, ptr %81, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %66
  %83 = load i32, ptr %15, align 4, !tbaa !11
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %15, align 4, !tbaa !11
  br label %62, !llvm.loop !13

85:                                               ; preds = %62
  br label %204

86:                                               ; preds = %49
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %87

87:                                               ; preds = %200, %86
  %88 = load i32, ptr %15, align 4, !tbaa !11
  %89 = load i32, ptr %13, align 4, !tbaa !11
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %91, label %203

91:                                               ; preds = %87
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %92

92:                                               ; preds = %196, %91
  %93 = load i32, ptr %16, align 4, !tbaa !11
  %94 = load i32, ptr %14, align 4, !tbaa !11
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %96, label %199

96:                                               ; preds = %92
  %97 = load i32, ptr %16, align 4, !tbaa !11
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %96
  store i32 1, ptr %23, align 4, !tbaa !11
  br label %103

100:                                              ; preds = %96
  %101 = load i32, ptr %16, align 4, !tbaa !11
  %102 = sub nsw i32 %101, 1
  store i32 %102, ptr %23, align 4, !tbaa !11
  br label %103

103:                                              ; preds = %100, %99
  %104 = load i32, ptr %16, align 4, !tbaa !11
  %105 = load i32, ptr %14, align 4, !tbaa !11
  %106 = sub nsw i32 %105, 1
  %107 = icmp eq i32 %104, %106
  br i1 %107, label %108, label %111

108:                                              ; preds = %103
  %109 = load i32, ptr %14, align 4, !tbaa !11
  %110 = sub nsw i32 %109, 2
  store i32 %110, ptr %22, align 4, !tbaa !11
  br label %114

111:                                              ; preds = %103
  %112 = load i32, ptr %16, align 4, !tbaa !11
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %22, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %111, %108
  %115 = load i32, ptr %15, align 4, !tbaa !11
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %114
  store i32 1, ptr %20, align 4, !tbaa !11
  br label %121

118:                                              ; preds = %114
  %119 = load i32, ptr %15, align 4, !tbaa !11
  %120 = sub nsw i32 %119, 1
  store i32 %120, ptr %20, align 4, !tbaa !11
  br label %121

121:                                              ; preds = %118, %117
  %122 = load i32, ptr %15, align 4, !tbaa !11
  %123 = load i32, ptr %13, align 4, !tbaa !11
  %124 = sub nsw i32 %123, 1
  %125 = icmp eq i32 %122, %124
  br i1 %125, label %126, label %129

126:                                              ; preds = %121
  %127 = load i32, ptr %13, align 4, !tbaa !11
  %128 = sub nsw i32 %127, 2
  store i32 %128, ptr %21, align 4, !tbaa !11
  br label %132

129:                                              ; preds = %121
  %130 = load i32, ptr %15, align 4, !tbaa !11
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %21, align 4, !tbaa !11
  br label %132

132:                                              ; preds = %129, %126
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = load i32, ptr %13, align 4, !tbaa !11
  %135 = load i32, ptr %16, align 4, !tbaa !11
  %136 = mul nsw i32 %134, %135
  %137 = load i32, ptr %15, align 4, !tbaa !11
  %138 = add nsw i32 %136, %137
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds float, ptr %133, i64 %139
  %141 = load float, ptr %140, align 4, !tbaa !9
  %142 = fpext float %141 to double
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = load i32, ptr %13, align 4, !tbaa !11
  %145 = load i32, ptr %16, align 4, !tbaa !11
  %146 = mul nsw i32 %144, %145
  %147 = load i32, ptr %20, align 4, !tbaa !11
  %148 = add nsw i32 %146, %147
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds float, ptr %143, i64 %149
  %151 = load float, ptr %150, align 4, !tbaa !9
  %152 = fpext float %151 to double
  %153 = call double @llvm.fmuladd.f64(double -4.000000e+00, double %142, double %152)
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = load i32, ptr %13, align 4, !tbaa !11
  %156 = load i32, ptr %16, align 4, !tbaa !11
  %157 = mul nsw i32 %155, %156
  %158 = load i32, ptr %21, align 4, !tbaa !11
  %159 = add nsw i32 %157, %158
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds float, ptr %154, i64 %160
  %162 = load float, ptr %161, align 4, !tbaa !9
  %163 = fpext float %162 to double
  %164 = fadd double %153, %163
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load i32, ptr %13, align 4, !tbaa !11
  %167 = load i32, ptr %23, align 4, !tbaa !11
  %168 = mul nsw i32 %166, %167
  %169 = load i32, ptr %15, align 4, !tbaa !11
  %170 = add nsw i32 %168, %169
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds float, ptr %165, i64 %171
  %173 = load float, ptr %172, align 4, !tbaa !9
  %174 = fpext float %173 to double
  %175 = fadd double %164, %174
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load i32, ptr %13, align 4, !tbaa !11
  %178 = load i32, ptr %22, align 4, !tbaa !11
  %179 = mul nsw i32 %177, %178
  %180 = load i32, ptr %15, align 4, !tbaa !11
  %181 = add nsw i32 %179, %180
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds float, ptr %176, i64 %182
  %184 = load float, ptr %183, align 4, !tbaa !9
  %185 = fpext float %184 to double
  %186 = fadd double %175, %185
  %187 = fptrunc double %186 to float
  %188 = load ptr, ptr %25, align 8, !tbaa !5
  %189 = load i32, ptr %16, align 4, !tbaa !11
  %190 = load i32, ptr %13, align 4, !tbaa !11
  %191 = mul nsw i32 %189, %190
  %192 = load i32, ptr %15, align 4, !tbaa !11
  %193 = add nsw i32 %191, %192
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds float, ptr %188, i64 %194
  store float %187, ptr %195, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %132
  %197 = load i32, ptr %16, align 4, !tbaa !11
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %16, align 4, !tbaa !11
  br label %92, !llvm.loop !15

199:                                              ; preds = %92
  br label %200

200:                                              ; preds = %199
  %201 = load i32, ptr %15, align 4, !tbaa !11
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %15, align 4, !tbaa !11
  br label %87, !llvm.loop !16

203:                                              ; preds = %87
  br label %204

204:                                              ; preds = %203, %85
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %205

205:                                              ; preds = %226, %204
  %206 = load i32, ptr %15, align 4, !tbaa !11
  %207 = load i32, ptr %19, align 4, !tbaa !11
  %208 = icmp slt i32 %206, %207
  br i1 %208, label %209, label %229

209:                                              ; preds = %205
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = load i32, ptr %15, align 4, !tbaa !11
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds float, ptr %210, i64 %212
  %214 = load float, ptr %213, align 4, !tbaa !9
  %215 = load float, ptr %10, align 4, !tbaa !9
  %216 = load ptr, ptr %25, align 8, !tbaa !5
  %217 = load i32, ptr %15, align 4, !tbaa !11
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds float, ptr %216, i64 %218
  %220 = load float, ptr %219, align 4, !tbaa !9
  %221 = call float @llvm.fmuladd.f32(float %215, float %220, float %214)
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = load i32, ptr %15, align 4, !tbaa !11
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds float, ptr %222, i64 %224
  store float %221, ptr %225, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %209
  %227 = load i32, ptr %15, align 4, !tbaa !11
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %15, align 4, !tbaa !11
  br label %205, !llvm.loop !17

229:                                              ; preds = %205
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = load ptr, ptr %8, align 8, !tbaa !5
  %232 = load i32, ptr %19, align 4, !tbaa !11
  call void @_Z4copyPfS_i(ptr noundef %230, ptr noundef %231, i32 noundef %232)
  br label %233

233:                                              ; preds = %229
  %234 = load i32, ptr %17, align 4, !tbaa !11
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %17, align 4, !tbaa !11
  br label %45, !llvm.loop !18

236:                                              ; preds = %45
  %237 = load ptr, ptr %25, align 8, !tbaa !5
  call void @free(ptr noundef %237) #7
  %238 = load ptr, ptr %26, align 8, !tbaa !5
  call void @free(ptr noundef %238) #7
  %239 = load ptr, ptr %24, align 8, !tbaa !5
  %240 = icmp ne ptr %239, null
  br i1 %240, label %241, label %243

241:                                              ; preds = %236
  %242 = load ptr, ptr %24, align 8, !tbaa !5
  call void @free(ptr noundef %242) #7
  br label %243

243:                                              ; preds = %241, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "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 = { 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 #4 = { nounwind allocsize(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 #5 = { nounwind "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 #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

declare void @_Z4copyPfS_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21separable_convolutionPfS_iiS_iS_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

declare noundef ptr @_Z5gaussifPi(i32 noundef, float noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4heatPfS_fifii(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3, float noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #6 {
  %8 = ptrtoint ptr %0 to i64
  %9 = ptrtoint ptr %1 to i64
  %10 = ptrtoint ptr %0 to i64
  %11 = ptrtoint ptr %1 to i64
  %12 = ptrtoint ptr %0 to i64
  %13 = ptrtoint ptr %1 to i64
  %14 = ptrtoint ptr %0 to i64
  %15 = ptrtoint ptr %1 to i64
  %16 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  %17 = mul i32 %6, %5
  %18 = fcmp ogt float %4, 0.000000e+00
  br i1 %18, label %19, label %21

19:                                               ; preds = %7
  %20 = call noundef ptr @_Z5gaussifPi(i32 noundef 0, float noundef %4, ptr noundef nonnull %16)
  br label %21

21:                                               ; preds = %19, %7
  %.0 = phi ptr [ %20, %19 ], [ null, %7 ]
  %22 = sext i32 %17 to i64
  %23 = shl nsw i64 %22, 2
  %24 = call noalias ptr @malloc(i64 noundef %23) #9
  %25 = call noalias ptr @malloc(i64 noundef %23) #9
  %26 = icmp sgt i32 %3, 0
  br i1 %26, label %.lr.ph102, label %._crit_edge103

.lr.ph102:                                        ; preds = %21
  %27 = icmp sgt i32 %6, 0
  %28 = add nsw i32 %6, -1
  %29 = add nsw i32 %6, -2
  %30 = add nsw i32 %5, -1
  %31 = add nsw i32 %5, -2
  %32 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph102.split.us.preheader, label %.lr.ph102.split

.lr.ph102.split.us.preheader:                     ; preds = %.lr.ph102
  %wide.trip.count157 = zext i32 %17 to i64
  %wide.trip.count162 = zext nneg i32 %17 to i64
  %33 = sub i64 %9, %8
  %min.iters.check259 = icmp ult i32 %17, 8
  %n.vec262 = and i64 %wide.trip.count157, 2147483640
  %cmp.n271 = icmp eq i64 %n.vec262, %wide.trip.count157
  %min.iters.check242 = icmp ult i32 %17, 8
  %diff.check239 = icmp ult i64 %33, 32
  %or.cond = or i1 %min.iters.check242, %diff.check239
  %n.vec245 = and i64 %wide.trip.count157, 2147483640
  %broadcast.splatinsert253 = insertelement <4 x float> poison, float %2, i64 0
  %broadcast.splat254 = shufflevector <4 x float> %broadcast.splatinsert253, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n256 = icmp eq i64 %n.vec245, %wide.trip.count157
  %xtraiter289 = and i64 %wide.trip.count157, 1
  %lcmp.mod290.not = icmp eq i64 %xtraiter289, 0
  %34 = add nsw i64 %wide.trip.count157, -1
  br label %.lr.ph102.split.us

.lr.ph102.split.us:                               ; preds = %.lr.ph102.split.us.preheader, %._crit_edge.us104
  %.088100.us = phi i32 [ %45, %._crit_edge.us104 ], [ 0, %.lr.ph102.split.us.preheader ]
  %35 = load i32, ptr %16, align 4, !tbaa !5
  call void @_Z21separable_convolutionPfS_iiS_iS_ii(ptr noundef %0, ptr noundef %25, i32 noundef %5, i32 noundef %6, ptr noundef %.0, i32 noundef %35, ptr noundef %.0, i32 noundef %35, i32 noundef 1)
  br i1 %32, label %.lr.ph.us.preheader, label %._crit_edge.us104

.lr.ph.us.preheader:                              ; preds = %.lr.ph102.split.us
  br i1 %min.iters.check259, label %.lr.ph.us.preheader278, label %vector.body264

.lr.ph.us.preheader278:                           ; preds = %middle.block257, %.lr.ph.us.preheader
  %indvars.iv154.ph = phi i64 [ 0, %.lr.ph.us.preheader ], [ %n.vec262, %middle.block257 ]
  br label %.lr.ph.us

vector.body264:                                   ; preds = %.lr.ph.us.preheader, %vector.body264
  %index265 = phi i64 [ %index.next270, %vector.body264 ], [ 0, %.lr.ph.us.preheader ]
  %36 = getelementptr inbounds float, ptr %25, i64 %index265
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %wide.load266 = load <4 x float>, ptr %36, align 4, !tbaa !9
  %wide.load267 = load <4 x float>, ptr %37, align 4, !tbaa !9
  %38 = getelementptr inbounds float, ptr %0, i64 %index265
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %wide.load268 = load <4 x float>, ptr %38, align 4, !tbaa !9
  %wide.load269 = load <4 x float>, ptr %39, align 4, !tbaa !9
  %40 = fsub <4 x float> %wide.load266, %wide.load268
  %41 = fsub <4 x float> %wide.load267, %wide.load269
  %42 = getelementptr inbounds float, ptr %24, i64 %index265
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store <4 x float> %40, ptr %42, align 4, !tbaa !9
  store <4 x float> %41, ptr %43, align 4, !tbaa !9
  %index.next270 = add nuw i64 %index265, 8
  %44 = icmp eq i64 %index.next270, %n.vec262
  br i1 %44, label %middle.block257, label %vector.body264, !llvm.loop !11

middle.block257:                                  ; preds = %vector.body264
  br i1 %cmp.n271, label %.loopexit.us, label %.lr.ph.us.preheader278

._crit_edge.us104:                                ; preds = %.lr.ph99.us.prol.loopexit, %.lr.ph99.us, %middle.block240, %.lr.ph102.split.us, %.loopexit.us
  call void @_Z4copyPfS_i(ptr noundef %1, ptr noundef %0, i32 noundef %17)
  %45 = add nuw nsw i32 %.088100.us, 1
  %exitcond164.not = icmp eq i32 %45, %3
  br i1 %exitcond164.not, label %._crit_edge103, label %.lr.ph102.split.us, !llvm.loop !15

.lr.ph99.us:                                      ; preds = %.lr.ph99.us.prol.loopexit, %.lr.ph99.us
  %indvars.iv159 = phi i64 [ %indvars.iv.next160.1, %.lr.ph99.us ], [ %indvars.iv159.unr, %.lr.ph99.us.prol.loopexit ]
  %46 = getelementptr inbounds float, ptr %0, i64 %indvars.iv159
  %47 = load float, ptr %46, align 4, !tbaa !9
  %48 = getelementptr inbounds float, ptr %24, i64 %indvars.iv159
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = call float @llvm.fmuladd.f32(float %2, float %49, float %47)
  %51 = getelementptr inbounds float, ptr %1, i64 %indvars.iv159
  store float %50, ptr %51, align 4, !tbaa !9
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %52 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next160
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.next160
  %55 = load float, ptr %54, align 4, !tbaa !9
  %56 = call float @llvm.fmuladd.f32(float %2, float %55, float %53)
  %57 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next160
  store float %56, ptr %57, align 4, !tbaa !9
  %indvars.iv.next160.1 = add nuw nsw i64 %indvars.iv159, 2
  %exitcond163.not.1 = icmp eq i64 %indvars.iv.next160.1, %wide.trip.count162
  br i1 %exitcond163.not.1, label %._crit_edge.us104, label %.lr.ph99.us, !llvm.loop !16

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader278, %.lr.ph.us
  %indvars.iv154 = phi i64 [ %indvars.iv.next155, %.lr.ph.us ], [ %indvars.iv154.ph, %.lr.ph.us.preheader278 ]
  %58 = getelementptr inbounds float, ptr %25, i64 %indvars.iv154
  %59 = load float, ptr %58, align 4, !tbaa !9
  %60 = getelementptr inbounds float, ptr %0, i64 %indvars.iv154
  %61 = load float, ptr %60, align 4, !tbaa !9
  %62 = fsub float %59, %61
  %63 = getelementptr inbounds float, ptr %24, i64 %indvars.iv154
  store float %62, ptr %63, align 4, !tbaa !9
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %exitcond158.not = icmp eq i64 %indvars.iv.next155, %wide.trip.count157
  br i1 %exitcond158.not, label %.loopexit.us, label %.lr.ph.us, !llvm.loop !17

.loopexit.us:                                     ; preds = %.lr.ph.us, %middle.block257
  br i1 %32, label %.lr.ph99.us.preheader, label %._crit_edge.us104

.lr.ph99.us.preheader:                            ; preds = %.loopexit.us
  br i1 %or.cond, label %.lr.ph99.us.preheader277, label %vector.body247

.lr.ph99.us.preheader277:                         ; preds = %middle.block240, %.lr.ph99.us.preheader
  %indvars.iv159.ph = phi i64 [ 0, %.lr.ph99.us.preheader ], [ %n.vec245, %middle.block240 ]
  br i1 %lcmp.mod290.not, label %.lr.ph99.us.prol.loopexit, label %.lr.ph99.us.prol

.lr.ph99.us.prol:                                 ; preds = %.lr.ph99.us.preheader277
  %64 = getelementptr inbounds float, ptr %0, i64 %indvars.iv159.ph
  %65 = load float, ptr %64, align 4, !tbaa !9
  %66 = getelementptr inbounds float, ptr %24, i64 %indvars.iv159.ph
  %67 = load float, ptr %66, align 4, !tbaa !9
  %68 = call float @llvm.fmuladd.f32(float %2, float %67, float %65)
  %69 = getelementptr inbounds float, ptr %1, i64 %indvars.iv159.ph
  store float %68, ptr %69, align 4, !tbaa !9
  %indvars.iv.next160.prol = or disjoint i64 %indvars.iv159.ph, 1
  br label %.lr.ph99.us.prol.loopexit

.lr.ph99.us.prol.loopexit:                        ; preds = %.lr.ph99.us.prol, %.lr.ph99.us.preheader277
  %indvars.iv159.unr = phi i64 [ %indvars.iv159.ph, %.lr.ph99.us.preheader277 ], [ %indvars.iv.next160.prol, %.lr.ph99.us.prol ]
  %70 = icmp eq i64 %indvars.iv159.ph, %34
  br i1 %70, label %._crit_edge.us104, label %.lr.ph99.us

vector.body247:                                   ; preds = %.lr.ph99.us.preheader, %vector.body247
  %index248 = phi i64 [ %index.next255, %vector.body247 ], [ 0, %.lr.ph99.us.preheader ]
  %71 = getelementptr inbounds float, ptr %0, i64 %index248
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  %wide.load249 = load <4 x float>, ptr %71, align 4, !tbaa !9
  %wide.load250 = load <4 x float>, ptr %72, align 4, !tbaa !9
  %73 = getelementptr inbounds float, ptr %24, i64 %index248
  %74 = getelementptr inbounds i8, ptr %73, i64 16
  %wide.load251 = load <4 x float>, ptr %73, align 4, !tbaa !9
  %wide.load252 = load <4 x float>, ptr %74, align 4, !tbaa !9
  %75 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat254, <4 x float> %wide.load251, <4 x float> %wide.load249)
  %76 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat254, <4 x float> %wide.load252, <4 x float> %wide.load250)
  %77 = getelementptr inbounds float, ptr %1, i64 %index248
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  store <4 x float> %75, ptr %77, align 4, !tbaa !9
  store <4 x float> %76, ptr %78, align 4, !tbaa !9
  %index.next255 = add nuw i64 %index248, 8
  %79 = icmp eq i64 %index.next255, %n.vec245
  br i1 %79, label %middle.block240, label %vector.body247, !llvm.loop !18

middle.block240:                                  ; preds = %vector.body247
  br i1 %cmp.n256, label %._crit_edge.us104, label %.lr.ph99.us.preheader277

.lr.ph102.split:                                  ; preds = %.lr.ph102
  %80 = icmp sgt i32 %5, 0
  br i1 %80, label %.lr.ph102.split.split.us, label %.lr.ph102.split.split

.lr.ph102.split.split.us:                         ; preds = %.lr.ph102.split
  br i1 %27, label %.preheader93.us.us.preheader, label %.lr.ph102.split.split.us.split

.preheader93.us.us.preheader:                     ; preds = %.lr.ph102.split.split.us
  %81 = zext nneg i32 %28 to i64
  %82 = zext nneg i32 %5 to i64
  %83 = zext nneg i32 %30 to i64
  %wide.trip.count146 = zext nneg i32 %5 to i64
  %wide.trip.count140 = zext nneg i32 %6 to i64
  %84 = icmp eq i32 %28, 0
  %.084.us.us.us.peel = select i1 %84, i32 %29, i32 1
  %invariant.gep172 = getelementptr inbounds float, ptr %0, i64 %82
  %85 = mul nsw i32 %.084.us.us.us.peel, %5
  %86 = sext i32 %85 to i64
  %invariant.gep174 = getelementptr float, ptr %0, i64 %86
  %exitcond141.peel.not = icmp eq i32 %6, 1
  %wide.trip.count151 = zext i32 %17 to i64
  %87 = sub i64 %11, %10
  %88 = add nsw i64 %wide.trip.count140, -1
  %min.iters.check224 = icmp ugt i32 %6, 4
  %ident.check.not = icmp eq i32 %5, 1
  %or.cond273 = and i1 %min.iters.check224, %ident.check.not
  %n.vec227 = and i64 %88, -4
  %ind.end = or disjoint i64 %n.vec227, 1
  %cmp.n237 = icmp eq i64 %88, %n.vec227
  %min.iters.check207 = icmp ult i32 %17, 8
  %diff.check204 = icmp ult i64 %87, 32
  %or.cond274 = or i1 %min.iters.check207, %diff.check204
  %n.vec210 = and i64 %wide.trip.count151, 2147483640
  %broadcast.splatinsert218 = insertelement <4 x float> poison, float %2, i64 0
  %broadcast.splat219 = shufflevector <4 x float> %broadcast.splatinsert218, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n221 = icmp eq i64 %n.vec210, %wide.trip.count151
  %xtraiter287 = and i64 %wide.trip.count151, 1
  %lcmp.mod288.not = icmp eq i64 %xtraiter287, 0
  %89 = add nsw i64 %wide.trip.count151, -1
  br label %.preheader93.us.us

.preheader93.us.us:                               ; preds = %.preheader93.us.us.preheader, %._crit_edge.us112.us
  %.088100.us105.us = phi i32 [ %90, %._crit_edge.us112.us ], [ 0, %.preheader93.us.us.preheader ]
  br label %.preheader.us.us.us

._crit_edge.us112.us:                             ; preds = %.lr.ph99.us111.us.prol.loopexit, %.lr.ph99.us111.us, %middle.block205, %..loopexit94_crit_edge.split.us.us.us
  call void @_Z4copyPfS_i(ptr noundef %1, ptr noundef nonnull %0, i32 noundef %17)
  %90 = add nuw nsw i32 %.088100.us105.us, 1
  %exitcond153.not = icmp eq i32 %90, %3
  br i1 %exitcond153.not, label %._crit_edge103, label %.preheader93.us.us, !llvm.loop !15

.lr.ph99.us111.us:                                ; preds = %.lr.ph99.us111.us.prol.loopexit, %.lr.ph99.us111.us
  %indvars.iv148 = phi i64 [ %indvars.iv.next149.1, %.lr.ph99.us111.us ], [ %indvars.iv148.unr, %.lr.ph99.us111.us.prol.loopexit ]
  %91 = getelementptr inbounds float, ptr %0, i64 %indvars.iv148
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = getelementptr inbounds float, ptr %24, i64 %indvars.iv148
  %94 = load float, ptr %93, align 4, !tbaa !9
  %95 = call float @llvm.fmuladd.f32(float %2, float %94, float %92)
  %96 = getelementptr inbounds float, ptr %1, i64 %indvars.iv148
  store float %95, ptr %96, align 4, !tbaa !9
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %97 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next149
  %98 = load float, ptr %97, align 4, !tbaa !9
  %99 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.next149
  %100 = load float, ptr %99, align 4, !tbaa !9
  %101 = call float @llvm.fmuladd.f32(float %2, float %100, float %98)
  %102 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next149
  store float %101, ptr %102, align 4, !tbaa !9
  %indvars.iv.next149.1 = add nuw nsw i64 %indvars.iv148, 2
  %exitcond152.not.1 = icmp eq i64 %indvars.iv.next149.1, %wide.trip.count151
  br i1 %exitcond152.not.1, label %._crit_edge.us112.us, label %.lr.ph99.us111.us, !llvm.loop !19

.preheader.us.us.us:                              ; preds = %._crit_edge.us.us.us, %.preheader93.us.us
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %._crit_edge.us.us.us ], [ 0, %.preheader93.us.us ]
  %103 = icmp eq i64 %indvars.iv143, 0
  %104 = shl i64 %indvars.iv143, 32
  %sext = add i64 %104, -4294967296
  %105 = ashr exact i64 %sext, 32
  %106 = icmp eq i64 %indvars.iv143, %83
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %107 = trunc nuw nsw i64 %indvars.iv.next144 to i32
  %.085.us.us.us = select i1 %106, i32 %31, i32 %107
  %108 = select i1 %103, i64 1, i64 %105
  %109 = sext i32 %.085.us.us.us to i64
  %110 = getelementptr inbounds float, ptr %0, i64 %indvars.iv143
  %111 = load float, ptr %110, align 4, !tbaa !9
  %112 = fpext float %111 to double
  %113 = getelementptr inbounds float, ptr %0, i64 %108
  %114 = load float, ptr %113, align 4, !tbaa !9
  %115 = fpext float %114 to double
  %116 = call double @llvm.fmuladd.f64(double %112, double -4.000000e+00, double %115)
  %117 = getelementptr inbounds float, ptr %0, i64 %109
  %118 = load float, ptr %117, align 4, !tbaa !9
  %119 = fpext float %118 to double
  %120 = fadd double %116, %119
  %gep173 = getelementptr inbounds float, ptr %invariant.gep172, i64 %indvars.iv143
  %121 = load float, ptr %gep173, align 4, !tbaa !9
  %122 = fpext float %121 to double
  %123 = fadd double %120, %122
  %gep175 = getelementptr float, ptr %invariant.gep174, i64 %indvars.iv143
  %124 = load float, ptr %gep175, align 4, !tbaa !9
  %125 = fpext float %124 to double
  %126 = fadd double %123, %125
  %127 = fptrunc double %126 to float
  %128 = getelementptr inbounds float, ptr %24, i64 %indvars.iv143
  store float %127, ptr %128, align 4, !tbaa !9
  br i1 %exitcond141.peel.not, label %._crit_edge.us.us.us, label %.peel.next

.peel.next:                                       ; preds = %.preheader.us.us.us
  %invariant.gep = getelementptr float, ptr %0, i64 %108
  %invariant.gep170 = getelementptr float, ptr %0, i64 %109
  %129 = getelementptr float, ptr %0, i64 %indvars.iv143
  %130 = getelementptr float, ptr %0, i64 %indvars.iv143
  br i1 %or.cond273, label %vector.body229, label %scalar.ph223.preheader

vector.body229:                                   ; preds = %.peel.next, %vector.body229
  %index230 = phi i64 [ %index.next236, %vector.body229 ], [ 0, %.peel.next ]
  %offset.idx = or disjoint i64 %index230, 1
  %131 = or disjoint i64 %index230, 2
  %132 = or disjoint i64 %index230, 3
  %133 = add i64 %index230, 4
  %134 = icmp eq i64 %offset.idx, %81
  %135 = icmp eq i64 %131, %81
  %136 = icmp eq i64 %132, %81
  %137 = icmp eq i64 %133, %81
  %138 = trunc i64 %index230 to i32
  %139 = or disjoint i32 %138, 2
  %140 = trunc i64 %index230 to i32
  %141 = or disjoint i32 %140, 3
  %142 = trunc i64 %index230 to i32
  %143 = add i32 %142, 4
  %144 = trunc i64 %index230 to i32
  %145 = add i32 %144, 5
  %146 = select i1 %134, i32 %29, i32 %139
  %147 = select i1 %135, i32 %29, i32 %141
  %148 = select i1 %136, i32 %29, i32 %143
  %149 = select i1 %137, i32 %29, i32 %145
  %150 = add nuw nsw i64 %offset.idx, %indvars.iv143
  %151 = getelementptr inbounds float, ptr %0, i64 %150
  %wide.load232 = load <4 x float>, ptr %151, align 4, !tbaa !9
  %152 = fpext <4 x float> %wide.load232 to <4 x double>
  %153 = getelementptr float, ptr %invariant.gep, i64 %offset.idx
  %wide.load233 = load <4 x float>, ptr %153, align 4, !tbaa !9
  %154 = fpext <4 x float> %wide.load233 to <4 x double>
  %155 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %152, <4 x double> <double -4.000000e+00, double -4.000000e+00, double -4.000000e+00, double -4.000000e+00>, <4 x double> %154)
  %156 = getelementptr float, ptr %invariant.gep170, i64 %offset.idx
  %wide.load234 = load <4 x float>, ptr %156, align 4, !tbaa !9
  %157 = fpext <4 x float> %wide.load234 to <4 x double>
  %158 = fadd <4 x double> %155, %157
  %sext272 = shl i64 %index230, 32
  %159 = ashr exact i64 %sext272, 30
  %160 = getelementptr i8, ptr %129, i64 %159
  %wide.load235 = load <4 x float>, ptr %160, align 4, !tbaa !9
  %161 = fpext <4 x float> %wide.load235 to <4 x double>
  %162 = fadd <4 x double> %158, %161
  %163 = sext i32 %146 to i64
  %164 = sext i32 %147 to i64
  %165 = sext i32 %148 to i64
  %166 = sext i32 %149 to i64
  %167 = getelementptr float, ptr %130, i64 %163
  %168 = getelementptr float, ptr %130, i64 %164
  %169 = getelementptr float, ptr %130, i64 %165
  %170 = getelementptr float, ptr %130, i64 %166
  %171 = load float, ptr %167, align 4, !tbaa !9
  %172 = load float, ptr %168, align 4, !tbaa !9
  %173 = load float, ptr %169, align 4, !tbaa !9
  %174 = load float, ptr %170, align 4, !tbaa !9
  %175 = insertelement <4 x float> poison, float %171, i64 0
  %176 = insertelement <4 x float> %175, float %172, i64 1
  %177 = insertelement <4 x float> %176, float %173, i64 2
  %178 = insertelement <4 x float> %177, float %174, i64 3
  %179 = fpext <4 x float> %178 to <4 x double>
  %180 = fadd <4 x double> %162, %179
  %181 = fptrunc <4 x double> %180 to <4 x float>
  %182 = getelementptr inbounds float, ptr %24, i64 %150
  store <4 x float> %181, ptr %182, align 4, !tbaa !9
  %index.next236 = add nuw i64 %index230, 4
  %183 = icmp eq i64 %index.next236, %n.vec227
  br i1 %183, label %middle.block222, label %vector.body229, !llvm.loop !20

middle.block222:                                  ; preds = %vector.body229
  br i1 %cmp.n237, label %._crit_edge.us.us.us, label %scalar.ph223.preheader

scalar.ph223.preheader:                           ; preds = %middle.block222, %.peel.next
  %indvars.iv137.ph = phi i64 [ 1, %.peel.next ], [ %ind.end, %middle.block222 ]
  br label %scalar.ph223

scalar.ph223:                                     ; preds = %scalar.ph223.preheader, %scalar.ph223
  %indvars.iv137 = phi i64 [ %indvars.iv.next138, %scalar.ph223 ], [ %indvars.iv137.ph, %scalar.ph223.preheader ]
  %184 = trunc i64 %indvars.iv137 to i32
  %185 = add i32 %184, -1
  %186 = icmp eq i64 %indvars.iv137, %81
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %187 = trunc nuw nsw i64 %indvars.iv.next138 to i32
  %.084.us.us.us = select i1 %186, i32 %29, i32 %187
  %188 = mul nuw nsw i64 %indvars.iv137, %82
  %189 = add nuw nsw i64 %188, %indvars.iv143
  %190 = getelementptr inbounds float, ptr %0, i64 %189
  %191 = load float, ptr %190, align 4, !tbaa !9
  %192 = fpext float %191 to double
  %gep = getelementptr float, ptr %invariant.gep, i64 %188
  %193 = load float, ptr %gep, align 4, !tbaa !9
  %194 = fpext float %193 to double
  %195 = call double @llvm.fmuladd.f64(double %192, double -4.000000e+00, double %194)
  %gep171 = getelementptr float, ptr %invariant.gep170, i64 %188
  %196 = load float, ptr %gep171, align 4, !tbaa !9
  %197 = fpext float %196 to double
  %198 = fadd double %195, %197
  %199 = mul nuw nsw i32 %185, %5
  %200 = sext i32 %199 to i64
  %201 = getelementptr float, ptr %129, i64 %200
  %202 = load float, ptr %201, align 4, !tbaa !9
  %203 = fpext float %202 to double
  %204 = fadd double %198, %203
  %205 = mul nsw i32 %.084.us.us.us, %5
  %206 = sext i32 %205 to i64
  %207 = getelementptr float, ptr %130, i64 %206
  %208 = load float, ptr %207, align 4, !tbaa !9
  %209 = fpext float %208 to double
  %210 = fadd double %204, %209
  %211 = fptrunc double %210 to float
  %212 = getelementptr inbounds float, ptr %24, i64 %189
  store float %211, ptr %212, align 4, !tbaa !9
  %exitcond141.not = icmp eq i64 %indvars.iv.next138, %wide.trip.count140
  br i1 %exitcond141.not, label %._crit_edge.us.us.us, label %scalar.ph223, !llvm.loop !22

._crit_edge.us.us.us:                             ; preds = %scalar.ph223, %middle.block222, %.preheader.us.us.us
  %exitcond147.not = icmp eq i64 %indvars.iv.next144, %wide.trip.count146
  br i1 %exitcond147.not, label %..loopexit94_crit_edge.split.us.us.us, label %.preheader.us.us.us, !llvm.loop !23

..loopexit94_crit_edge.split.us.us.us:            ; preds = %._crit_edge.us.us.us
  br i1 %32, label %.lr.ph99.us111.us.preheader, label %._crit_edge.us112.us

.lr.ph99.us111.us.preheader:                      ; preds = %..loopexit94_crit_edge.split.us.us.us
  br i1 %or.cond274, label %.lr.ph99.us111.us.preheader279, label %vector.body212

.lr.ph99.us111.us.preheader279:                   ; preds = %middle.block205, %.lr.ph99.us111.us.preheader
  %indvars.iv148.ph = phi i64 [ 0, %.lr.ph99.us111.us.preheader ], [ %n.vec210, %middle.block205 ]
  br i1 %lcmp.mod288.not, label %.lr.ph99.us111.us.prol.loopexit, label %.lr.ph99.us111.us.prol

.lr.ph99.us111.us.prol:                           ; preds = %.lr.ph99.us111.us.preheader279
  %213 = getelementptr inbounds float, ptr %0, i64 %indvars.iv148.ph
  %214 = load float, ptr %213, align 4, !tbaa !9
  %215 = getelementptr inbounds float, ptr %24, i64 %indvars.iv148.ph
  %216 = load float, ptr %215, align 4, !tbaa !9
  %217 = call float @llvm.fmuladd.f32(float %2, float %216, float %214)
  %218 = getelementptr inbounds float, ptr %1, i64 %indvars.iv148.ph
  store float %217, ptr %218, align 4, !tbaa !9
  %indvars.iv.next149.prol = or disjoint i64 %indvars.iv148.ph, 1
  br label %.lr.ph99.us111.us.prol.loopexit

.lr.ph99.us111.us.prol.loopexit:                  ; preds = %.lr.ph99.us111.us.prol, %.lr.ph99.us111.us.preheader279
  %indvars.iv148.unr = phi i64 [ %indvars.iv148.ph, %.lr.ph99.us111.us.preheader279 ], [ %indvars.iv.next149.prol, %.lr.ph99.us111.us.prol ]
  %219 = icmp eq i64 %indvars.iv148.ph, %89
  br i1 %219, label %._crit_edge.us112.us, label %.lr.ph99.us111.us

vector.body212:                                   ; preds = %.lr.ph99.us111.us.preheader, %vector.body212
  %index213 = phi i64 [ %index.next220, %vector.body212 ], [ 0, %.lr.ph99.us111.us.preheader ]
  %220 = getelementptr inbounds float, ptr %0, i64 %index213
  %221 = getelementptr inbounds i8, ptr %220, i64 16
  %wide.load214 = load <4 x float>, ptr %220, align 4, !tbaa !9
  %wide.load215 = load <4 x float>, ptr %221, align 4, !tbaa !9
  %222 = getelementptr inbounds float, ptr %24, i64 %index213
  %223 = getelementptr inbounds i8, ptr %222, i64 16
  %wide.load216 = load <4 x float>, ptr %222, align 4, !tbaa !9
  %wide.load217 = load <4 x float>, ptr %223, align 4, !tbaa !9
  %224 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat219, <4 x float> %wide.load216, <4 x float> %wide.load214)
  %225 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat219, <4 x float> %wide.load217, <4 x float> %wide.load215)
  %226 = getelementptr inbounds float, ptr %1, i64 %index213
  %227 = getelementptr inbounds i8, ptr %226, i64 16
  store <4 x float> %224, ptr %226, align 4, !tbaa !9
  store <4 x float> %225, ptr %227, align 4, !tbaa !9
  %index.next220 = add nuw i64 %index213, 8
  %228 = icmp eq i64 %index.next220, %n.vec210
  br i1 %228, label %middle.block205, label %vector.body212, !llvm.loop !24

middle.block205:                                  ; preds = %vector.body212
  br i1 %cmp.n221, label %._crit_edge.us112.us, label %.lr.ph99.us111.us.preheader279

.lr.ph102.split.split.us.split:                   ; preds = %.lr.ph102.split.split.us
  br i1 %32, label %.preheader93.us.us117.preheader, label %.preheader93.us

.preheader93.us.us117.preheader:                  ; preds = %.lr.ph102.split.split.us.split
  %wide.trip.count134 = zext nneg i32 %17 to i64
  %229 = sub i64 %13, %12
  %min.iters.check188 = icmp ult i32 %17, 8
  %diff.check185 = icmp ult i64 %229, 32
  %or.cond275 = or i1 %min.iters.check188, %diff.check185
  %n.vec191 = and i64 %wide.trip.count134, 2147483640
  %broadcast.splatinsert199 = insertelement <4 x float> poison, float %2, i64 0
  %broadcast.splat200 = shufflevector <4 x float> %broadcast.splatinsert199, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n202 = icmp eq i64 %n.vec191, %wide.trip.count134
  %xtraiter285 = and i64 %wide.trip.count134, 1
  %lcmp.mod286.not = icmp eq i64 %xtraiter285, 0
  %230 = add nsw i64 %wide.trip.count134, -1
  br label %.preheader93.us.us117

.preheader93.us.us117:                            ; preds = %.preheader93.us.us117.preheader, %._crit_edge.us112.us121
  %.088100.us105.us118 = phi i32 [ %259, %._crit_edge.us112.us121 ], [ 0, %.preheader93.us.us117.preheader ]
  br i1 %or.cond275, label %..loopexit94_crit_edge.split.us109.us.preheader, label %vector.body193

vector.body193:                                   ; preds = %.preheader93.us.us117, %vector.body193
  %index194 = phi i64 [ %index.next201, %vector.body193 ], [ 0, %.preheader93.us.us117 ]
  %231 = getelementptr inbounds float, ptr %0, i64 %index194
  %232 = getelementptr inbounds i8, ptr %231, i64 16
  %wide.load195 = load <4 x float>, ptr %231, align 4, !tbaa !9
  %wide.load196 = load <4 x float>, ptr %232, align 4, !tbaa !9
  %233 = getelementptr inbounds float, ptr %24, i64 %index194
  %234 = getelementptr inbounds i8, ptr %233, i64 16
  %wide.load197 = load <4 x float>, ptr %233, align 4, !tbaa !9
  %wide.load198 = load <4 x float>, ptr %234, align 4, !tbaa !9
  %235 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat200, <4 x float> %wide.load197, <4 x float> %wide.load195)
  %236 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat200, <4 x float> %wide.load198, <4 x float> %wide.load196)
  %237 = getelementptr inbounds float, ptr %1, i64 %index194
  %238 = getelementptr inbounds i8, ptr %237, i64 16
  store <4 x float> %235, ptr %237, align 4, !tbaa !9
  store <4 x float> %236, ptr %238, align 4, !tbaa !9
  %index.next201 = add nuw i64 %index194, 8
  %239 = icmp eq i64 %index.next201, %n.vec191
  br i1 %239, label %middle.block186, label %vector.body193, !llvm.loop !25

middle.block186:                                  ; preds = %vector.body193
  br i1 %cmp.n202, label %._crit_edge.us112.us121, label %..loopexit94_crit_edge.split.us109.us.preheader

..loopexit94_crit_edge.split.us109.us.preheader:  ; preds = %middle.block186, %.preheader93.us.us117
  %indvars.iv131.ph = phi i64 [ 0, %.preheader93.us.us117 ], [ %n.vec191, %middle.block186 ]
  br i1 %lcmp.mod286.not, label %..loopexit94_crit_edge.split.us109.us.prol.loopexit, label %..loopexit94_crit_edge.split.us109.us.prol

..loopexit94_crit_edge.split.us109.us.prol:       ; preds = %..loopexit94_crit_edge.split.us109.us.preheader
  %240 = getelementptr inbounds float, ptr %0, i64 %indvars.iv131.ph
  %241 = load float, ptr %240, align 4, !tbaa !9
  %242 = getelementptr inbounds float, ptr %24, i64 %indvars.iv131.ph
  %243 = load float, ptr %242, align 4, !tbaa !9
  %244 = call float @llvm.fmuladd.f32(float %2, float %243, float %241)
  %245 = getelementptr inbounds float, ptr %1, i64 %indvars.iv131.ph
  store float %244, ptr %245, align 4, !tbaa !9
  %indvars.iv.next132.prol = or disjoint i64 %indvars.iv131.ph, 1
  br label %..loopexit94_crit_edge.split.us109.us.prol.loopexit

..loopexit94_crit_edge.split.us109.us.prol.loopexit: ; preds = %..loopexit94_crit_edge.split.us109.us.prol, %..loopexit94_crit_edge.split.us109.us.preheader
  %indvars.iv131.unr = phi i64 [ %indvars.iv131.ph, %..loopexit94_crit_edge.split.us109.us.preheader ], [ %indvars.iv.next132.prol, %..loopexit94_crit_edge.split.us109.us.prol ]
  %246 = icmp eq i64 %indvars.iv131.ph, %230
  br i1 %246, label %._crit_edge.us112.us121, label %..loopexit94_crit_edge.split.us109.us

..loopexit94_crit_edge.split.us109.us:            ; preds = %..loopexit94_crit_edge.split.us109.us.prol.loopexit, %..loopexit94_crit_edge.split.us109.us
  %indvars.iv131 = phi i64 [ %indvars.iv.next132.1, %..loopexit94_crit_edge.split.us109.us ], [ %indvars.iv131.unr, %..loopexit94_crit_edge.split.us109.us.prol.loopexit ]
  %247 = getelementptr inbounds float, ptr %0, i64 %indvars.iv131
  %248 = load float, ptr %247, align 4, !tbaa !9
  %249 = getelementptr inbounds float, ptr %24, i64 %indvars.iv131
  %250 = load float, ptr %249, align 4, !tbaa !9
  %251 = call float @llvm.fmuladd.f32(float %2, float %250, float %248)
  %252 = getelementptr inbounds float, ptr %1, i64 %indvars.iv131
  store float %251, ptr %252, align 4, !tbaa !9
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %253 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next132
  %254 = load float, ptr %253, align 4, !tbaa !9
  %255 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.next132
  %256 = load float, ptr %255, align 4, !tbaa !9
  %257 = call float @llvm.fmuladd.f32(float %2, float %256, float %254)
  %258 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next132
  store float %257, ptr %258, align 4, !tbaa !9
  %indvars.iv.next132.1 = add nuw nsw i64 %indvars.iv131, 2
  %exitcond135.not.1 = icmp eq i64 %indvars.iv.next132.1, %wide.trip.count134
  br i1 %exitcond135.not.1, label %._crit_edge.us112.us121, label %..loopexit94_crit_edge.split.us109.us, !llvm.loop !26

._crit_edge.us112.us121:                          ; preds = %..loopexit94_crit_edge.split.us109.us.prol.loopexit, %..loopexit94_crit_edge.split.us109.us, %middle.block186
  call void @_Z4copyPfS_i(ptr noundef nonnull %1, ptr noundef nonnull %0, i32 noundef %17)
  %259 = add nuw nsw i32 %.088100.us105.us118, 1
  %exitcond136.not = icmp eq i32 %259, %3
  br i1 %exitcond136.not, label %._crit_edge103, label %.preheader93.us.us117, !llvm.loop !15

.preheader93.us:                                  ; preds = %.lr.ph102.split.split.us.split, %.preheader93.us
  %.088100.us105 = phi i32 [ %260, %.preheader93.us ], [ 0, %.lr.ph102.split.split.us.split ]
  call void @_Z4copyPfS_i(ptr noundef %1, ptr noundef %0, i32 noundef %17)
  %260 = add nuw nsw i32 %.088100.us105, 1
  %exitcond130.not = icmp eq i32 %260, %3
  br i1 %exitcond130.not, label %._crit_edge103, label %.preheader93.us, !llvm.loop !15

.lr.ph102.split.split:                            ; preds = %.lr.ph102.split
  br i1 %32, label %.preheader93.us113.preheader, label %.preheader93

.preheader93.us113.preheader:                     ; preds = %.lr.ph102.split.split
  %wide.trip.count = zext nneg i32 %17 to i64
  %261 = sub i64 %15, %14
  %min.iters.check = icmp ult i32 %17, 8
  %diff.check = icmp ult i64 %261, 32
  %or.cond276 = or i1 %min.iters.check, %diff.check
  %n.vec = and i64 %wide.trip.count, 2147483640
  %broadcast.splatinsert = insertelement <4 x float> poison, float %2, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %262 = add nsw i64 %wide.trip.count, -1
  br label %.preheader93.us113

.preheader93.us113:                               ; preds = %.preheader93.us113.preheader, %._crit_edge.us
  %.088100.us114 = phi i32 [ %291, %._crit_edge.us ], [ 0, %.preheader93.us113.preheader ]
  br i1 %or.cond276, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader93.us113, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader93.us113 ]
  %263 = getelementptr inbounds float, ptr %0, i64 %index
  %264 = getelementptr inbounds i8, ptr %263, i64 16
  %wide.load = load <4 x float>, ptr %263, align 4, !tbaa !9
  %wide.load181 = load <4 x float>, ptr %264, align 4, !tbaa !9
  %265 = getelementptr inbounds float, ptr %24, i64 %index
  %266 = getelementptr inbounds i8, ptr %265, i64 16
  %wide.load182 = load <4 x float>, ptr %265, align 4, !tbaa !9
  %wide.load183 = load <4 x float>, ptr %266, align 4, !tbaa !9
  %267 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load182, <4 x float> %wide.load)
  %268 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load183, <4 x float> %wide.load181)
  %269 = getelementptr inbounds float, ptr %1, i64 %index
  %270 = getelementptr inbounds i8, ptr %269, i64 16
  store <4 x float> %267, ptr %269, align 4, !tbaa !9
  store <4 x float> %268, ptr %270, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 8
  %271 = icmp eq i64 %index.next, %n.vec
  br i1 %271, label %middle.block, label %vector.body, !llvm.loop !27

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

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader93.us113
  %indvars.iv.ph = phi i64 [ 0, %.preheader93.us113 ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %272 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.ph
  %273 = load float, ptr %272, align 4, !tbaa !9
  %274 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.ph
  %275 = load float, ptr %274, align 4, !tbaa !9
  %276 = call float @llvm.fmuladd.f32(float %2, float %275, float %273)
  %277 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.ph
  store float %276, ptr %277, align 4, !tbaa !9
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %278 = icmp eq i64 %indvars.iv.ph, %262
  br i1 %278, label %._crit_edge.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %279 = getelementptr inbounds float, ptr %0, i64 %indvars.iv
  %280 = load float, ptr %279, align 4, !tbaa !9
  %281 = getelementptr inbounds float, ptr %24, i64 %indvars.iv
  %282 = load float, ptr %281, align 4, !tbaa !9
  %283 = call float @llvm.fmuladd.f32(float %2, float %282, float %280)
  %284 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  store float %283, ptr %284, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %285 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next
  %286 = load float, ptr %285, align 4, !tbaa !9
  %287 = getelementptr inbounds float, ptr %24, i64 %indvars.iv.next
  %288 = load float, ptr %287, align 4, !tbaa !9
  %289 = call float @llvm.fmuladd.f32(float %2, float %288, float %286)
  %290 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next
  store float %289, ptr %290, align 4, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond128.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond128.not.1, label %._crit_edge.us, label %scalar.ph, !llvm.loop !28

._crit_edge.us:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  call void @_Z4copyPfS_i(ptr noundef nonnull %1, ptr noundef nonnull %0, i32 noundef %17)
  %291 = add nuw nsw i32 %.088100.us114, 1
  %exitcond129.not = icmp eq i32 %291, %3
  br i1 %exitcond129.not, label %._crit_edge103, label %.preheader93.us113, !llvm.loop !15

.preheader93:                                     ; preds = %.lr.ph102.split.split, %.preheader93
  %.088100 = phi i32 [ %292, %.preheader93 ], [ 0, %.lr.ph102.split.split ]
  call void @_Z4copyPfS_i(ptr noundef %1, ptr noundef %0, i32 noundef %17)
  %292 = add nuw nsw i32 %.088100, 1
  %exitcond.not = icmp eq i32 %292, %3
  br i1 %exitcond.not, label %._crit_edge103, label %.preheader93, !llvm.loop !15

._crit_edge103:                                   ; preds = %.preheader93, %._crit_edge.us, %.preheader93.us, %._crit_edge.us112.us121, %._crit_edge.us112.us, %._crit_edge.us104, %21
  call void @free(ptr noundef %24) #8
  call void @free(ptr noundef %25) #8
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %294, label %293

293:                                              ; preds = %._crit_edge103
  call void @free(ptr noundef nonnull %.0) #8
  br label %294

294:                                              ; preds = %293, %._crit_edge103
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  ret void
}

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

; 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>) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "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 = { 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 #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #5 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12, !13}
!17 = distinct !{!17, !12, !14, !13}
!18 = distinct !{!18, !12, !13, !14}
!19 = distinct !{!19, !12, !13}
!20 = distinct !{!20, !12, !21, !13, !14}
!21 = !{!"llvm.loop.peeled.count", i32 1}
!22 = distinct !{!22, !12, !21, !13}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12, !13, !14}
!25 = distinct !{!25, !12, !13, !14}
!26 = distinct !{!26, !12, !13}
!27 = distinct !{!27, !12, !13, !14}
!28 = distinct !{!28, !12, !13}


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