; LLVM IR from sp-nitech/SPTK :: src/math (levinson_durbin_recursion)

; 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.sptk::LevinsonDurbinRecursion" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.sptk::LevinsonDurbinRecursion::Buffer" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion3RunERKSt6vectorIdSaIdEEPS3_PbPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %24 = getelementptr inbounds %"class.sptk::LevinsonDurbinRecursion", ptr %23, i32 0, i32 1
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %12, align 4, !tbaa !13
  %27 = getelementptr inbounds %"class.sptk::LevinsonDurbinRecursion", ptr %23, i32 0, i32 2
  %28 = load i8, ptr %27, align 4, !tbaa !14, !range !15, !noundef !16
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %45

30:                                               ; preds = %5
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %33 = load i32, ptr %12, align 4, !tbaa !13
  %34 = sext i32 %33 to i64
  %35 = icmp ne i64 %32, %34
  br i1 %35, label %45, label %36

36:                                               ; preds = %30
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = icmp eq ptr null, %37
  br i1 %38, label %45, label %39

39:                                               ; preds = %36
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = icmp eq ptr null, %40
  br i1 %41, label %45, label %42

42:                                               ; preds = %39
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  %44 = icmp eq ptr null, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %42, %39, %36, %30, %5
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %214

46:                                               ; preds = %42
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %49 = load i32, ptr %12, align 4, !tbaa !13
  %50 = sext i32 %49 to i64
  %51 = icmp ne i64 %48, %50
  br i1 %51, label %52, label %56

52:                                               ; preds = %46
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = load i32, ptr %12, align 4, !tbaa !13
  %55 = sext i32 %54 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55)
  br label %56

56:                                               ; preds = %52, %46
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.sptk::LevinsonDurbinRecursion::Buffer", ptr %57, i32 0, i32 1
  %59 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  %60 = load i32, ptr %12, align 4, !tbaa !13
  %61 = sext i32 %60 to i64
  %62 = icmp ne i64 %59, %61
  br i1 %62, label %63, label %68

63:                                               ; preds = %56
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.sptk::LevinsonDurbinRecursion::Buffer", ptr %64, i32 0, i32 1
  %66 = load i32, ptr %12, align 4, !tbaa !13
  %67 = sext i32 %66 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67)
  br label %68

68:                                               ; preds = %63, %56
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 1, ptr %69, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef 0) #5
  store ptr %71, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef 0) #5
  store ptr %73, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.sptk::LevinsonDurbinRecursion::Buffer", ptr %74, i32 0, i32 1
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef 0) #5
  store ptr %76, ptr %16, align 8, !tbaa !5
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %77, i64 0
  store double 0.000000e+00, ptr %78, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  %80 = getelementptr inbounds double, ptr %79, i64 0
  %81 = load double, ptr %80, align 8, !tbaa !18
  store double %81, ptr %17, align 8, !tbaa !18
  %82 = load double, ptr %17, align 8, !tbaa !18
  %83 = fcmp oeq double 0.000000e+00, %82
  br i1 %83, label %87, label %84

84:                                               ; preds = %68
  %85 = load double, ptr %17, align 8, !tbaa !18
  %86 = call noundef zeroext i1 @_ZSt5isnand(double noundef %85)
  br i1 %86, label %87, label %88

87:                                               ; preds = %84, %68
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %213

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !13
  br label %89

89:                                               ; preds = %203, %88
  %90 = load i32, ptr %18, align 4, !tbaa !13
  %91 = load i32, ptr %12, align 4, !tbaa !13
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 2, ptr %13, align 4
  br label %206

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load i32, ptr %18, align 4, !tbaa !13
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !18
  %100 = fneg double %99
  store double %100, ptr %19, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 1, ptr %20, align 4, !tbaa !13
  br label %101

101:                                              ; preds = %122, %94
  %102 = load i32, ptr %20, align 4, !tbaa !13
  %103 = load i32, ptr %18, align 4, !tbaa !13
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %125

106:                                              ; preds = %101
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load i32, ptr %20, align 4, !tbaa !13
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds double, ptr %107, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !18
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = load i32, ptr %18, align 4, !tbaa !13
  %114 = load i32, ptr %20, align 4, !tbaa !13
  %115 = sub nsw i32 %113, %114
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds double, ptr %112, i64 %116
  %118 = load double, ptr %117, align 8, !tbaa !18
  %119 = load double, ptr %19, align 8, !tbaa !18
  %120 = fneg double %111
  %121 = call double @llvm.fmuladd.f64(double %120, double %118, double %119)
  store double %121, ptr %19, align 8, !tbaa !18
  br label %122

122:                                              ; preds = %106
  %123 = load i32, ptr %20, align 4, !tbaa !13
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %20, align 4, !tbaa !13
  br label %101, !llvm.loop !20

125:                                              ; preds = %105
  %126 = load double, ptr %17, align 8, !tbaa !18
  %127 = load double, ptr %19, align 8, !tbaa !18
  %128 = fdiv double %127, %126
  store double %128, ptr %19, align 8, !tbaa !18
  %129 = load double, ptr %19, align 8, !tbaa !18
  %130 = call double @llvm.fabs.f64(double %129)
  %131 = fcmp ole double 1.000000e+00, %130
  br i1 %131, label %132, label %134

132:                                              ; preds = %125
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 0, ptr %133, align 1, !tbaa !17
  br label %134

134:                                              ; preds = %132, %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 1, ptr %21, align 4, !tbaa !13
  br label %135

135:                                              ; preds = %159, %134
  %136 = load i32, ptr %21, align 4, !tbaa !13
  %137 = load i32, ptr %18, align 4, !tbaa !13
  %138 = icmp slt i32 %136, %137
  br i1 %138, label %140, label %139

139:                                              ; preds = %135
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %162

140:                                              ; preds = %135
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = load i32, ptr %21, align 4, !tbaa !13
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds double, ptr %141, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !18
  %146 = load double, ptr %19, align 8, !tbaa !18
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = load i32, ptr %18, align 4, !tbaa !13
  %149 = load i32, ptr %21, align 4, !tbaa !13
  %150 = sub nsw i32 %148, %149
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds double, ptr %147, i64 %151
  %153 = load double, ptr %152, align 8, !tbaa !18
  %154 = call double @llvm.fmuladd.f64(double %146, double %153, double %145)
  %155 = load ptr, ptr %15, align 8, !tbaa !5
  %156 = load i32, ptr %21, align 4, !tbaa !13
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds double, ptr %155, i64 %157
  store double %154, ptr %158, align 8, !tbaa !18
  br label %159

159:                                              ; preds = %140
  %160 = load i32, ptr %21, align 4, !tbaa !13
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %21, align 4, !tbaa !13
  br label %135, !llvm.loop !22

162:                                              ; preds = %139
  %163 = load double, ptr %19, align 8, !tbaa !18
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = load i32, ptr %18, align 4, !tbaa !13
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds double, ptr %164, i64 %166
  store double %163, ptr %167, align 8, !tbaa !18
  %168 = load double, ptr %19, align 8, !tbaa !18
  %169 = load double, ptr %19, align 8, !tbaa !18
  %170 = fneg double %168
  %171 = call double @llvm.fmuladd.f64(double %170, double %169, double 1.000000e+00)
  %172 = load double, ptr %17, align 8, !tbaa !18
  %173 = fmul double %172, %171
  store double %173, ptr %17, align 8, !tbaa !18
  %174 = load double, ptr %17, align 8, !tbaa !18
  %175 = fcmp oeq double 0.000000e+00, %174
  br i1 %175, label %179, label %176

176:                                              ; preds = %162
  %177 = load double, ptr %17, align 8, !tbaa !18
  %178 = call noundef zeroext i1 @_ZSt5isnand(double noundef %177)
  br i1 %178, label %179, label %180

179:                                              ; preds = %176, %162
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %200

180:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !13
  br label %181

181:                                              ; preds = %196, %180
  %182 = load i32, ptr %22, align 4, !tbaa !13
  %183 = load i32, ptr %18, align 4, !tbaa !13
  %184 = icmp sle i32 %182, %183
  br i1 %184, label %186, label %185

185:                                              ; preds = %181
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %199

186:                                              ; preds = %181
  %187 = load ptr, ptr %15, align 8, !tbaa !5
  %188 = load i32, ptr %22, align 4, !tbaa !13
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !18
  %192 = load ptr, ptr %16, align 8, !tbaa !5
  %193 = load i32, ptr %22, align 4, !tbaa !13
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds double, ptr %192, i64 %194
  store double %191, ptr %195, align 8, !tbaa !18
  br label %196

196:                                              ; preds = %186
  %197 = load i32, ptr %22, align 4, !tbaa !13
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %22, align 4, !tbaa !13
  br label %181, !llvm.loop !23

199:                                              ; preds = %185
  store i32 0, ptr %13, align 4
  br label %200

200:                                              ; preds = %199, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %201 = load i32, ptr %13, align 4
  switch i32 %201, label %206 [
    i32 0, label %202
  ]

202:                                              ; preds = %200
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %18, align 4, !tbaa !13
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %18, align 4, !tbaa !13
  br label %89, !llvm.loop !24

206:                                              ; preds = %200, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %207 = load i32, ptr %13, align 4
  switch i32 %207, label %213 [
    i32 2, label %208
  ]

208:                                              ; preds = %206
  %209 = load double, ptr %17, align 8, !tbaa !18
  %210 = call double @sqrt(double noundef %209) #5
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  %212 = getelementptr inbounds double, ptr %211, i64 0
  store double %210, ptr %212, align 8, !tbaa !18
  store i1 true, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %213

213:                                              ; preds = %208, %206, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %214

214:                                              ; preds = %213, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %215 = load i1, ptr %6, align 1
  ret i1 %215
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) #2

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

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

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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) }
attributes #4 = { 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 #5 = { 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, !11, i64 8}
!10 = !{!"_ZTSN4sptk23LevinsonDurbinRecursionE", !11, i64 8, !12, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !12, i64 12}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!12, !12, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}


; 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 uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion3RunERKSt6vectorIdSaIdEEPS3_PbPNS0_6BufferE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(13) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 align 2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  %9 = load i8, ptr %8, align 4, !tbaa !11, !range !12, !noundef !13
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %.critedge

11:                                               ; preds = %5
  %12 = add i32 %7, 1
  %13 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %14 = sext i32 %12 to i64
  %15 = icmp ne i64 %13, %14
  %16 = icmp eq ptr %2, null
  %or.cond = or i1 %16, %15
  %17 = icmp eq ptr %3, null
  %or.cond4 = or i1 %17, %or.cond
  %18 = icmp eq ptr %4, null
  %or.cond6 = or i1 %18, %or.cond4
  br i1 %or.cond6, label %.critedge, label %19

19:                                               ; preds = %11
  %20 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %.not = icmp eq i64 %20, %13
  br i1 %.not, label %22, label %21

21:                                               ; preds = %19
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %13)
  br label %22

22:                                               ; preds = %21, %19
  %23 = getelementptr inbounds i8, ptr %4, i64 8
  %24 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %.not91 = icmp eq i64 %24, %13
  br i1 %.not91, label %26, label %25

25:                                               ; preds = %22
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %13)
  br label %26

26:                                               ; preds = %25, %22
  store i8 1, ptr %3, align 1, !tbaa !14
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #5
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %29 = ptrtoint ptr %28 to i64
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #5
  %31 = ptrtoint ptr %30 to i64
  store double 0.000000e+00, ptr %28, align 8, !tbaa !15
  %32 = load double, ptr %27, align 8, !tbaa !15
  %33 = fcmp oeq double %32, 0.000000e+00
  br i1 %33, label %.critedge, label %34

34:                                               ; preds = %26
  %35 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %32)
  br i1 %35, label %.critedge, label %.preheader96

.preheader96:                                     ; preds = %34
  %.not92105 = icmp slt i32 %7, 1
  br i1 %.not92105, label %.critedge.thread, label %.lr.ph108.preheader

.lr.ph108.preheader:                              ; preds = %.preheader96
  %wide.trip.count132 = zext i32 %12 to i64
  %36 = sub i64 %31, %29
  %scevgep = getelementptr inbounds i8, ptr %28, i64 8
  %scevgep141 = getelementptr inbounds i8, ptr %30, i64 8
  %diff.check = icmp ult i64 %36, 32
  br label %.lr.ph108

.lr.ph108:                                        ; preds = %.lr.ph108.preheader, %.loopexit
  %indvar = phi i64 [ 0, %.lr.ph108.preheader ], [ %indvar.next, %.loopexit ]
  %indvars.iv127 = phi i64 [ 1, %.lr.ph108.preheader ], [ %indvars.iv.next128, %.loopexit ]
  %indvars.iv125 = phi i64 [ 2, %.lr.ph108.preheader ], [ %indvars.iv.next126, %.loopexit ]
  %.080106 = phi double [ %32, %.lr.ph108.preheader ], [ %93, %.loopexit ]
  %37 = shl nuw nsw i64 %indvar, 3
  %38 = add nuw i64 %37, 8
  %scevgep140 = getelementptr i8, ptr %28, i64 %38
  %scevgep142 = getelementptr i8, ptr %30, i64 %38
  %39 = getelementptr inbounds double, ptr %27, i64 %indvars.iv127
  %40 = load double, ptr %39, align 8, !tbaa !15
  %41 = fneg double %40
  %42 = icmp ugt i64 %indvars.iv127, 1
  br i1 %42, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph108
  %xtraiter = and i64 %indvar, 1
  %43 = icmp eq i64 %indvar, 1
  br i1 %43, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %indvar, -2
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi double [ poison, %.lr.ph.preheader ], [ %67, %.lr.ph ]
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %.07898.unr = phi double [ %41, %.lr.ph.preheader ], [ %67, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa
  %44 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.unr
  %45 = load double, ptr %44, align 8, !tbaa !15
  %46 = sub nsw i64 %indvars.iv127, %indvars.iv.unr
  %47 = getelementptr inbounds double, ptr %27, i64 %46
  %48 = load double, ptr %47, align 8, !tbaa !15
  %49 = fneg double %45
  %50 = tail call double @llvm.fmuladd.f64(double %49, double %48, double %.07898.unr)
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.loopexit.unr-lcssa, %.lr.ph108
  %.078.lcssa = phi double [ %41, %.lr.ph108 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %50, %.lr.ph.epil ]
  %51 = fdiv double %.078.lcssa, %.080106
  %52 = tail call double @llvm.fabs.f64(double %51)
  %53 = fcmp ult double %52, 1.000000e+00
  br i1 %53, label %69, label %68

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %.07898 = phi double [ %41, %.lr.ph.preheader.new ], [ %67, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %54 = getelementptr inbounds double, ptr %30, i64 %indvars.iv
  %55 = load double, ptr %54, align 8, !tbaa !15
  %56 = sub nsw i64 %indvars.iv127, %indvars.iv
  %57 = getelementptr inbounds double, ptr %27, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !15
  %59 = fneg double %55
  %60 = tail call double @llvm.fmuladd.f64(double %59, double %58, double %.07898)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %61 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next
  %62 = load double, ptr %61, align 8, !tbaa !15
  %63 = sub nsw i64 %indvars.iv127, %indvars.iv.next
  %64 = getelementptr inbounds double, ptr %27, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !15
  %66 = fneg double %62
  %67 = tail call double @llvm.fmuladd.f64(double %66, double %65, double %60)
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !17

68:                                               ; preds = %._crit_edge
  store i8 0, ptr %3, align 1, !tbaa !14
  br label %69

69:                                               ; preds = %68, %._crit_edge
  br i1 %42, label %.lr.ph102.preheader, label %._crit_edge103

.lr.ph102.preheader:                              ; preds = %69
  %min.iters.check145 = icmp ult i64 %indvar, 4
  br i1 %min.iters.check145, label %.lr.ph102.preheader161, label %vector.memcheck139

.lr.ph102.preheader161:                           ; preds = %middle.block143, %vector.memcheck139, %.lr.ph102.preheader
  %indvars.iv113.ph = phi i64 [ 1, %vector.memcheck139 ], [ 1, %.lr.ph102.preheader ], [ %ind.end, %middle.block143 ]
  %70 = and i64 %indvars.iv127, 1
  %lcmp.mod166.not.not = icmp eq i64 %70, 0
  br i1 %lcmp.mod166.not.not, label %.lr.ph102.prol, label %.lr.ph102.prol.loopexit

.lr.ph102.prol:                                   ; preds = %.lr.ph102.preheader161
  %71 = getelementptr inbounds double, ptr %30, i64 %indvars.iv113.ph
  %72 = load double, ptr %71, align 8, !tbaa !15
  %73 = sub nsw i64 %indvars.iv127, %indvars.iv113.ph
  %74 = getelementptr inbounds double, ptr %30, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !15
  %76 = tail call double @llvm.fmuladd.f64(double %51, double %75, double %72)
  %77 = getelementptr inbounds double, ptr %28, i64 %indvars.iv113.ph
  store double %76, ptr %77, align 8, !tbaa !15
  %indvars.iv.next114.prol = add nuw nsw i64 %indvars.iv113.ph, 1
  br label %.lr.ph102.prol.loopexit

.lr.ph102.prol.loopexit:                          ; preds = %.lr.ph102.prol, %.lr.ph102.preheader161
  %indvars.iv113.unr = phi i64 [ %indvars.iv113.ph, %.lr.ph102.preheader161 ], [ %indvars.iv.next114.prol, %.lr.ph102.prol ]
  %78 = icmp eq i64 %indvar, %indvars.iv113.ph
  br i1 %78, label %._crit_edge103, label %.lr.ph102

vector.memcheck139:                               ; preds = %.lr.ph102.preheader
  %bound0 = icmp ult ptr %scevgep, %scevgep142
  %bound1 = icmp ult ptr %scevgep141, %scevgep140
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph102.preheader161, label %vector.ph146

vector.ph146:                                     ; preds = %vector.memcheck139
  %n.vec148 = and i64 %indvar, -4
  %ind.end = or disjoint i64 %n.vec148, 1
  %broadcast.splatinsert = insertelement <2 x double> poison, double %51, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body150

vector.body150:                                   ; preds = %vector.body150, %vector.ph146
  %index151 = phi i64 [ 0, %vector.ph146 ], [ %index.next157, %vector.body150 ]
  %offset.idx = or disjoint i64 %index151, 1
  %79 = getelementptr inbounds double, ptr %30, i64 %offset.idx
  %80 = getelementptr inbounds i8, ptr %79, i64 16
  %wide.load152 = load <2 x double>, ptr %79, align 8, !tbaa !15, !alias.scope !19
  %wide.load153 = load <2 x double>, ptr %80, align 8, !tbaa !15, !alias.scope !19
  %81 = sub nsw i64 %indvars.iv127, %offset.idx
  %82 = getelementptr inbounds double, ptr %30, i64 %81
  %83 = getelementptr inbounds i8, ptr %82, i64 -8
  %84 = getelementptr inbounds i8, ptr %82, i64 -24
  %wide.load154 = load <2 x double>, ptr %83, align 8, !tbaa !15, !alias.scope !19
  %reverse = shufflevector <2 x double> %wide.load154, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %wide.load155 = load <2 x double>, ptr %84, align 8, !tbaa !15, !alias.scope !19
  %reverse156 = shufflevector <2 x double> %wide.load155, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %85 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %reverse, <2 x double> %wide.load152)
  %86 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %reverse156, <2 x double> %wide.load153)
  %87 = getelementptr inbounds double, ptr %28, i64 %offset.idx
  %88 = getelementptr inbounds i8, ptr %87, i64 16
  store <2 x double> %85, ptr %87, align 8, !tbaa !15, !alias.scope !22, !noalias !19
  store <2 x double> %86, ptr %88, align 8, !tbaa !15, !alias.scope !22, !noalias !19
  %index.next157 = add nuw i64 %index151, 4
  %89 = icmp eq i64 %index.next157, %n.vec148
  br i1 %89, label %middle.block143, label %vector.body150, !llvm.loop !24

middle.block143:                                  ; preds = %vector.body150
  %cmp.n158 = icmp eq i64 %indvar, %n.vec148
  br i1 %cmp.n158, label %._crit_edge103, label %.lr.ph102.preheader161

._crit_edge103:                                   ; preds = %.lr.ph102.prol.loopexit, %.lr.ph102, %middle.block143, %69
  %90 = getelementptr inbounds double, ptr %28, i64 %indvars.iv127
  store double %51, ptr %90, align 8, !tbaa !15
  %91 = fneg double %51
  %92 = tail call double @llvm.fmuladd.f64(double %91, double %51, double 1.000000e+00)
  %93 = fmul double %.080106, %92
  %94 = fcmp oeq double %93, 0.000000e+00
  br i1 %94, label %.critedge, label %109

.lr.ph102:                                        ; preds = %.lr.ph102.prol.loopexit, %.lr.ph102
  %indvars.iv113 = phi i64 [ %indvars.iv.next114.1, %.lr.ph102 ], [ %indvars.iv113.unr, %.lr.ph102.prol.loopexit ]
  %95 = getelementptr inbounds double, ptr %30, i64 %indvars.iv113
  %96 = load double, ptr %95, align 8, !tbaa !15
  %97 = sub nsw i64 %indvars.iv127, %indvars.iv113
  %98 = getelementptr inbounds double, ptr %30, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !15
  %100 = tail call double @llvm.fmuladd.f64(double %51, double %99, double %96)
  %101 = getelementptr inbounds double, ptr %28, i64 %indvars.iv113
  store double %100, ptr %101, align 8, !tbaa !15
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %102 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next114
  %103 = load double, ptr %102, align 8, !tbaa !15
  %104 = sub nsw i64 %indvars.iv127, %indvars.iv.next114
  %105 = getelementptr inbounds double, ptr %30, i64 %104
  %106 = load double, ptr %105, align 8, !tbaa !15
  %107 = tail call double @llvm.fmuladd.f64(double %51, double %106, double %103)
  %108 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next114
  store double %107, ptr %108, align 8, !tbaa !15
  %indvars.iv.next114.1 = add nuw nsw i64 %indvars.iv113, 2
  %exitcond117.not.1 = icmp eq i64 %indvars.iv.next114.1, %indvars.iv127
  br i1 %exitcond117.not.1, label %._crit_edge103, label %.lr.ph102, !llvm.loop !27

109:                                              ; preds = %._crit_edge103
  %110 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %93)
  br i1 %110, label %.critedge, label %.preheader.preheader

.preheader.preheader:                             ; preds = %109
  %min.iters.check = icmp ult i64 %indvars.iv125, 4
  %or.cond159 = or i1 %min.iters.check, %diff.check
  br i1 %or.cond159, label %.preheader.preheader160, label %vector.ph

vector.ph:                                        ; preds = %.preheader.preheader
  %n.vec = and i64 %indvars.iv125, 9223372036854775804
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %111 = getelementptr inbounds double, ptr %28, i64 %index
  %112 = getelementptr inbounds i8, ptr %111, i64 16
  %wide.load = load <2 x double>, ptr %111, align 8, !tbaa !15
  %wide.load138 = load <2 x double>, ptr %112, align 8, !tbaa !15
  %113 = getelementptr inbounds double, ptr %30, i64 %index
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  store <2 x double> %wide.load, ptr %113, align 8, !tbaa !15
  store <2 x double> %wide.load138, ptr %114, align 8, !tbaa !15
  %index.next = add nuw i64 %index, 4
  %115 = icmp eq i64 %index.next, %n.vec
  br i1 %115, label %middle.block, label %vector.body, !llvm.loop !28

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %indvars.iv125, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.preheader.preheader160

.preheader.preheader160:                          ; preds = %middle.block, %.preheader.preheader
  %indvars.iv118.ph = phi i64 [ 0, %.preheader.preheader ], [ %n.vec, %middle.block ]
  %116 = sub nsw i64 %indvars.iv127, %indvars.iv118.ph
  %xtraiter167 = and i64 %indvars.iv125, 3
  %lcmp.mod168.not = icmp eq i64 %xtraiter167, 0
  br i1 %lcmp.mod168.not, label %.preheader.prol.loopexit, label %.preheader.prol

.preheader.prol:                                  ; preds = %.preheader.preheader160, %.preheader.prol
  %indvars.iv118.prol = phi i64 [ %indvars.iv.next119.prol, %.preheader.prol ], [ %indvars.iv118.ph, %.preheader.preheader160 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.preheader.prol ], [ 0, %.preheader.preheader160 ]
  %117 = getelementptr inbounds double, ptr %28, i64 %indvars.iv118.prol
  %118 = load double, ptr %117, align 8, !tbaa !15
  %119 = getelementptr inbounds double, ptr %30, i64 %indvars.iv118.prol
  store double %118, ptr %119, align 8, !tbaa !15
  %indvars.iv.next119.prol = add nuw nsw i64 %indvars.iv118.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter167
  br i1 %prol.iter.cmp.not, label %.preheader.prol.loopexit, label %.preheader.prol, !llvm.loop !29

.preheader.prol.loopexit:                         ; preds = %.preheader.prol, %.preheader.preheader160
  %indvars.iv118.unr = phi i64 [ %indvars.iv118.ph, %.preheader.preheader160 ], [ %indvars.iv.next119.prol, %.preheader.prol ]
  %120 = icmp ult i64 %116, 3
  br i1 %120, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.preheader.prol.loopexit, %.preheader
  %indvars.iv118 = phi i64 [ %indvars.iv.next119.3, %.preheader ], [ %indvars.iv118.unr, %.preheader.prol.loopexit ]
  %121 = getelementptr inbounds double, ptr %28, i64 %indvars.iv118
  %122 = load double, ptr %121, align 8, !tbaa !15
  %123 = getelementptr inbounds double, ptr %30, i64 %indvars.iv118
  store double %122, ptr %123, align 8, !tbaa !15
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %124 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next119
  %125 = load double, ptr %124, align 8, !tbaa !15
  %126 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next119
  store double %125, ptr %126, align 8, !tbaa !15
  %indvars.iv.next119.1 = add nuw nsw i64 %indvars.iv118, 2
  %127 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next119.1
  %128 = load double, ptr %127, align 8, !tbaa !15
  %129 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next119.1
  store double %128, ptr %129, align 8, !tbaa !15
  %indvars.iv.next119.2 = add nuw nsw i64 %indvars.iv118, 3
  %130 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next119.2
  %131 = load double, ptr %130, align 8, !tbaa !15
  %132 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next119.2
  store double %131, ptr %132, align 8, !tbaa !15
  %indvars.iv.next119.3 = add nuw nsw i64 %indvars.iv118, 4
  %exitcond124.not.3 = icmp eq i64 %indvars.iv.next119.3, %indvars.iv125
  br i1 %exitcond124.not.3, label %.loopexit, label %.preheader, !llvm.loop !31

.loopexit:                                        ; preds = %.preheader.prol.loopexit, %.preheader, %middle.block
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %exitcond133.not = icmp eq i64 %indvars.iv.next128, %wide.trip.count132
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond133.not, label %.critedge.thread, label %.lr.ph108, !llvm.loop !32

.critedge.thread:                                 ; preds = %.loopexit, %.preheader96
  %.080.lcssa = phi double [ %32, %.preheader96 ], [ %93, %.loopexit ]
  %133 = tail call double @sqrt(double noundef %.080.lcssa) #5
  store double %133, ptr %28, align 8, !tbaa !15
  br label %.critedge

.critedge:                                        ; preds = %._crit_edge103, %109, %.critedge.thread, %34, %26, %5, %11
  %.4 = phi i1 [ false, %11 ], [ false, %5 ], [ true, %.critedge.thread ], [ false, %34 ], [ false, %26 ], [ false, %109 ], [ false, %._crit_edge103 ]
  ret i1 %.4
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

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

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !7, i64 8}
!6 = !{!"_ZTSN4sptk23LevinsonDurbinRecursionE", !7, i64 8, !10, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20}
!20 = distinct !{!20, !21}
!21 = distinct !{!21, !"LVerDomain"}
!22 = !{!23}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !18, !25, !26}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !18, !25}
!28 = distinct !{!28, !18, !25, !26}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.unroll.disable"}
!31 = distinct !{!31, !18, !25}
!32 = distinct !{!32, !18}


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