; LLVM IR from cvanaret/Uno :: uno/ingredients/globalization_strategies/switching_methods/filter_methods/filter_98a77ed9 (ZN3uno6Filter3addEdd)

; 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.uno::Filter" = type { ptr, i64, %"class.std::vector", %"class.std::vector", double, i64, %"struct.uno::FilterParameters" }
%"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 }
%"struct.uno::FilterParameters" = type { double, double }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3uno6Filter29set_infeasibility_upper_boundEd(ptr noundef nonnull align 8 dereferenceable(96), double noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno6Filter10left_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96), i64 noundef, 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) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno6Filter3addEdd(ptr noundef nonnull align 8 dereferenceable(96) %0, double noundef %1, double noundef %2) unnamed_addr #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !11
  br label %12

12:                                               ; preds = %26, %3
  %13 = load i64, ptr %7, align 8, !tbaa !11
  %14 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %15 = load i64, ptr %14, align 8, !tbaa !13
  %16 = icmp ult i64 %13, %15
  br i1 %16, label %17, label %24

17:                                               ; preds = %12
  %18 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 2
  %19 = load i64, ptr %7, align 8, !tbaa !11
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %19) #4
  %21 = load double, ptr %20, align 8, !tbaa !9
  %22 = load double, ptr %5, align 8, !tbaa !9
  %23 = fcmp olt double %21, %22
  br label %24

24:                                               ; preds = %17, %12
  %25 = phi i1 [ false, %12 ], [ %23, %17 ]
  br i1 %25, label %26, label %29

26:                                               ; preds = %24
  %27 = load i64, ptr %7, align 8, !tbaa !11
  %28 = add i64 %27, 1
  store i64 %28, ptr %7, align 8, !tbaa !11
  br label %12, !llvm.loop !20

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %30 = load i64, ptr %7, align 8, !tbaa !11
  store i64 %30, ptr %8, align 8, !tbaa !11
  br label %31

31:                                               ; preds = %45, %29
  %32 = load i64, ptr %8, align 8, !tbaa !11
  %33 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %34 = load i64, ptr %33, align 8, !tbaa !13
  %35 = icmp ult i64 %32, %34
  br i1 %35, label %36, label %43

36:                                               ; preds = %31
  %37 = load double, ptr %6, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 3
  %39 = load i64, ptr %8, align 8, !tbaa !11
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %39) #4
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = fcmp ole double %37, %41
  br label %43

43:                                               ; preds = %36, %31
  %44 = phi i1 [ false, %31 ], [ %42, %36 ]
  br i1 %44, label %45, label %48

45:                                               ; preds = %43
  %46 = load i64, ptr %8, align 8, !tbaa !11
  %47 = add i64 %46, 1
  store i64 %47, ptr %8, align 8, !tbaa !11
  br label %31, !llvm.loop !22

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %49 = load i64, ptr %8, align 8, !tbaa !11
  %50 = load i64, ptr %7, align 8, !tbaa !11
  %51 = sub i64 %49, %50
  store i64 %51, ptr %9, align 8, !tbaa !11
  %52 = load i64, ptr %9, align 8, !tbaa !11
  %53 = icmp ult i64 0, %52
  br i1 %53, label %54, label %61

54:                                               ; preds = %48
  %55 = load i64, ptr %7, align 8, !tbaa !11
  %56 = load i64, ptr %9, align 8, !tbaa !11
  call void @_ZN3uno6Filter10left_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96) %11, i64 noundef %55, i64 noundef %56)
  %57 = load i64, ptr %9, align 8, !tbaa !11
  %58 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %59 = load i64, ptr %58, align 8, !tbaa !13
  %60 = sub i64 %59, %57
  store i64 %60, ptr %58, align 8, !tbaa !13
  br label %61

61:                                               ; preds = %54, %48
  %62 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %63 = load i64, ptr %62, align 8, !tbaa !13
  %64 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !23
  %66 = icmp uge i64 %63, %65
  br i1 %66, label %67, label %84

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %68 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 4
  %69 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 2
  %70 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %71 = load i64, ptr %70, align 8, !tbaa !13
  %72 = sub i64 %71, 1
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %72) #4
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %73)
  %75 = load double, ptr %74, align 8, !tbaa !9
  store double %75, ptr %10, align 8, !tbaa !9
  %76 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 6
  %77 = getelementptr inbounds %"struct.uno::FilterParameters", ptr %76, i32 0, i32 0
  %78 = load double, ptr %77, align 8, !tbaa !24
  %79 = load double, ptr %10, align 8, !tbaa !9
  %80 = fmul double %78, %79
  call void @_ZN3uno6Filter29set_infeasibility_upper_boundEd(ptr noundef nonnull align 8 dereferenceable(96) %11, double noundef %80)
  %81 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %82 = load i64, ptr %81, align 8, !tbaa !13
  %83 = add i64 %82, -1
  store i64 %83, ptr %81, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %84

84:                                               ; preds = %67, %61
  store i64 0, ptr %7, align 8, !tbaa !11
  br label %85

85:                                               ; preds = %100, %84
  %86 = load i64, ptr %7, align 8, !tbaa !11
  %87 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %88 = load i64, ptr %87, align 8, !tbaa !13
  %89 = icmp ult i64 %86, %88
  br i1 %89, label %90, label %98

90:                                               ; preds = %85
  %91 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 2
  %92 = load i64, ptr %7, align 8, !tbaa !11
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %92) #4
  %94 = load double, ptr %93, align 8, !tbaa !9
  %95 = load double, ptr %5, align 8, !tbaa !9
  %96 = call noundef zeroext i1 @_ZNK3uno6Filter34infeasibility_sufficient_reductionEdd(ptr noundef nonnull align 8 dereferenceable(96) %11, double noundef %94, double noundef %95)
  %97 = xor i1 %96, true
  br label %98

98:                                               ; preds = %90, %85
  %99 = phi i1 [ false, %85 ], [ %97, %90 ]
  br i1 %99, label %100, label %103

100:                                              ; preds = %98
  %101 = load i64, ptr %7, align 8, !tbaa !11
  %102 = add i64 %101, 1
  store i64 %102, ptr %7, align 8, !tbaa !11
  br label %85, !llvm.loop !25

103:                                              ; preds = %98
  %104 = load i64, ptr %7, align 8, !tbaa !11
  %105 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %106 = load i64, ptr %105, align 8, !tbaa !13
  %107 = icmp ult i64 %104, %106
  br i1 %107, label %108, label %110

108:                                              ; preds = %103
  %109 = load i64, ptr %7, align 8, !tbaa !11
  call void @_ZN3uno6Filter11right_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96) %11, i64 noundef %109, i64 noundef 1)
  br label %110

110:                                              ; preds = %108, %103
  %111 = load double, ptr %5, align 8, !tbaa !9
  %112 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 2
  %113 = load i64, ptr %7, align 8, !tbaa !11
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %113) #4
  store double %111, ptr %114, align 8, !tbaa !9
  %115 = load double, ptr %6, align 8, !tbaa !9
  %116 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 3
  %117 = load i64, ptr %7, align 8, !tbaa !11
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %117) #4
  store double %115, ptr %118, align 8, !tbaa !9
  %119 = getelementptr inbounds %"class.uno::Filter", ptr %11, i32 0, i32 5
  %120 = load i64, ptr %119, align 8, !tbaa !13
  %121 = add i64 %120, 1
  store i64 %121, ptr %119, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3uno6Filter34infeasibility_sufficient_reductionEdd(ptr noundef nonnull align 8 dereferenceable(96), double noundef, double noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 72}
!14 = !{!"_ZTSN3uno6FilterE", !12, i64 8, !15, i64 16, !15, i64 40, !10, i64 64, !12, i64 72, !19, i64 80}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSN3uno16FilterParametersE", !10, i64 0, !10, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!14, !12, i64 8}
!24 = !{!14, !10, i64 80}
!25 = distinct !{!25, !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 nounwind uwtable
declare dso_local void @_ZN3uno6Filter29set_infeasibility_upper_boundEd(ptr noundef nonnull align 8 dereferenceable(96), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno6Filter10left_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96), i64 noundef, 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 #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno6Filter11right_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno6Filter3addEdd(ptr noundef nonnull align 8 dereferenceable(96) %0, double noundef %1, double noundef %2) unnamed_addr #1 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = getelementptr inbounds i8, ptr %0, i64 72
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %.not47 = icmp eq i64 %6, 0
  br i1 %.not47, label %.critedge.thread, label %.lr.ph

.critedge.thread:                                 ; preds = %3
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  br label %.critedge2._crit_edge

.lr.ph:                                           ; preds = %3, %11
  %.034 = phi i64 [ %12, %11 ], [ 0, %3 ]
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.034) #3
  %9 = load double, ptr %8, align 8, !tbaa !17
  %10 = fcmp olt double %9, %1
  %.pre.pre = load i64, ptr %5, align 8, !tbaa !5
  br i1 %10, label %11, label %.critedge

11:                                               ; preds = %.lr.ph
  %12 = add nuw i64 %.034, 1
  %13 = icmp ult i64 %12, %.pre.pre
  br i1 %13, label %.lr.ph, label %.critedge, !llvm.loop !18

.critedge:                                        ; preds = %.lr.ph, %11
  %.0.lcssa = phi i64 [ %.034, %.lr.ph ], [ %12, %11 ]
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = icmp ult i64 %.0.lcssa, %.pre.pre
  br i1 %15, label %.lr.ph38, label %.critedge2._crit_edge

.lr.ph38:                                         ; preds = %.critedge, %19
  %.03037 = phi i64 [ %20, %19 ], [ %.0.lcssa, %.critedge ]
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.03037) #3
  %17 = load double, ptr %16, align 8, !tbaa !17
  %18 = fcmp ult double %17, %2
  br i1 %18, label %.critedge2, label %19

19:                                               ; preds = %.lr.ph38
  %20 = add nuw i64 %.03037, 1
  %21 = load i64, ptr %5, align 8, !tbaa !5
  %22 = icmp ult i64 %20, %21
  br i1 %22, label %.lr.ph38, label %.critedge2, !llvm.loop !20

.critedge2:                                       ; preds = %.lr.ph38, %19
  %.030.lcssa = phi i64 [ %.03037, %.lr.ph38 ], [ %20, %19 ]
  %.not = icmp eq i64 %.030.lcssa, %.0.lcssa
  br i1 %.not, label %.critedge2._crit_edge, label %24

.critedge2._crit_edge:                            ; preds = %.critedge.thread, %.critedge, %.critedge2
  %23 = phi ptr [ %14, %.critedge2 ], [ %7, %.critedge.thread ], [ %14, %.critedge ]
  %.pre49 = load i64, ptr %5, align 8, !tbaa !5
  br label %28

24:                                               ; preds = %.critedge2
  %25 = sub i64 %.030.lcssa, %.0.lcssa
  tail call void @_ZN3uno6Filter10left_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96) %0, i64 noundef %.0.lcssa, i64 noundef %25)
  %26 = load i64, ptr %5, align 8, !tbaa !5
  %27 = sub i64 %26, %25
  store i64 %27, ptr %5, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %.critedge2._crit_edge, %24
  %29 = phi ptr [ %23, %.critedge2._crit_edge ], [ %14, %24 ]
  %30 = phi i64 [ %.pre49, %.critedge2._crit_edge ], [ %27, %24 ]
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !21
  %.not33 = icmp ult i64 %30, %32
  br i1 %.not33, label %44, label %33

33:                                               ; preds = %28
  %34 = getelementptr inbounds i8, ptr %0, i64 64
  %35 = add i64 %30, -1
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %35) #3
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %38 = load double, ptr %37, align 8, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %0, i64 80
  %40 = load double, ptr %39, align 8, !tbaa !22
  %41 = fmul double %38, %40
  tail call void @_ZN3uno6Filter29set_infeasibility_upper_boundEd(ptr noundef nonnull align 8 dereferenceable(96) %0, double noundef %41)
  %42 = load i64, ptr %5, align 8, !tbaa !5
  %43 = add i64 %42, -1
  store i64 %43, ptr %5, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %33, %28
  %45 = phi i64 [ %43, %33 ], [ %30, %28 ]
  %.not48 = icmp eq i64 %45, 0
  br i1 %.not48, label %.critedge4.thread, label %.lr.ph43

.lr.ph43:                                         ; preds = %44, %49
  %.142 = phi i64 [ %50, %49 ], [ 0, %44 ]
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.142) #3
  %47 = load double, ptr %46, align 8, !tbaa !17
  %48 = tail call noundef zeroext i1 @_ZNK3uno6Filter34infeasibility_sufficient_reductionEdd(ptr noundef nonnull align 8 dereferenceable(96) %0, double noundef %47, double noundef %1)
  %.pre50.pre = load i64, ptr %5, align 8, !tbaa !5
  br i1 %48, label %.critedge4, label %49

49:                                               ; preds = %.lr.ph43
  %50 = add nuw i64 %.142, 1
  %51 = icmp ult i64 %50, %.pre50.pre
  br i1 %51, label %.lr.ph43, label %.critedge4, !llvm.loop !23

.critedge4:                                       ; preds = %.lr.ph43, %49
  %.1.lcssa = phi i64 [ %.142, %.lr.ph43 ], [ %50, %49 ]
  %52 = icmp ult i64 %.1.lcssa, %.pre50.pre
  br i1 %52, label %53, label %.critedge4.thread

53:                                               ; preds = %.critedge4
  tail call void @_ZN3uno6Filter11right_shiftEmm(ptr noundef nonnull align 8 dereferenceable(96) %0, i64 noundef %.1.lcssa, i64 noundef 1)
  br label %.critedge4.thread

.critedge4.thread:                                ; preds = %44, %53, %.critedge4
  %.1.lcssa57 = phi i64 [ %.1.lcssa, %53 ], [ %.1.lcssa, %.critedge4 ], [ 0, %44 ]
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.1.lcssa57) #3
  store double %1, ptr %54, align 8, !tbaa !17
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %.1.lcssa57) #3
  store double %2, ptr %55, align 8, !tbaa !17
  %56 = load i64, ptr %5, align 8, !tbaa !5
  %57 = add i64 %56, 1
  store i64 %57, ptr %5, align 8, !tbaa !5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3uno6Filter34infeasibility_sufficient_reductionEdd(ptr noundef nonnull align 8 dereferenceable(96), double noundef, double noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 72}
!6 = !{!"_ZTSN3uno6FilterE", !7, i64 8, !10, i64 16, !10, i64 40, !15, i64 64, !7, i64 72, !16, i64 80}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIdSaIdEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN3uno16FilterParametersE", !15, i64 0, !15, i64 8}
!17 = !{!15, !15, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!6, !7, i64 8}
!22 = !{!6, !15, i64 80}
!23 = distinct !{!23, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass