; LLVM IR from cvanaret/Uno :: uno/ingredients/inequality_handling_methods/interior_point_methods/PrimalDualInte_67707d19 (b833d993)

; 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::Collection<unsigned long>::iterator" = type { ptr, i64 }
%"class.uno::Multipliers" = type { %"class.uno::Vector", %"class.uno::Vector", %"class.uno::Vector" }
%"class.uno::Vector" = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

@.str.21 = external hidden unnamed_addr constant [147 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [102 x i8], align 1
@__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d = external hidden unnamed_addr constant [149 x i8], align 1

; 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 uwtable
declare dso_local { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(72) %2, double noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %12 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %13 = alloca i64, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %17 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store double %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store double 1.000000e+00, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %21, i64 12
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr %23(ptr noundef nonnull align 8 dereferenceable(32) %20)
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = call { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
  %27 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %28 = extractvalue { ptr, i64 } %26, 0
  store ptr %28, ptr %27, align 8
  %29 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %30 = extractvalue { ptr, i64 } %26, 1
  store i64 %30, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = call { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %34 = extractvalue { ptr, i64 } %32, 0
  store ptr %34, ptr %33, align 8
  %35 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %36 = extractvalue { ptr, i64 } %32, 1
  store i64 %36, ptr %35, align 8
  br label %37

37:                                               ; preds = %70, %4
  %38 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
  br i1 %38, label %40, label %39

39:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %72

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %41 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  store i64 %41, ptr %13, align 8, !tbaa !13
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.uno::Multipliers", ptr %42, i32 0, i32 0
  %44 = load i64, ptr %13, align 8, !tbaa !13
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %44)
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = fcmp olt double %46, 0.000000e+00
  br i1 %47, label %48, label %69

48:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %49 = load double, ptr %8, align 8, !tbaa !9
  %50 = fneg double %49
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.uno::Multipliers", ptr %51, i32 0, i32 0
  %53 = load i64, ptr %13, align 8, !tbaa !13
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %53)
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = fmul double %50, %55
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.uno::Multipliers", ptr %57, i32 0, i32 0
  %59 = load i64, ptr %13, align 8, !tbaa !13
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %59)
  %61 = load double, ptr %60, align 8, !tbaa !9
  %62 = fdiv double %56, %61
  store double %62, ptr %14, align 8, !tbaa !9
  %63 = load double, ptr %14, align 8, !tbaa !9
  %64 = fcmp olt double 0.000000e+00, %63
  br i1 %64, label %65, label %68

65:                                               ; preds = %48
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %67 = load double, ptr %66, align 8, !tbaa !9
  store double %67, ptr %9, align 8, !tbaa !9
  br label %68

68:                                               ; preds = %65, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %69

69:                                               ; preds = %68, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %70

70:                                               ; preds = %69
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  br label %37

72:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = getelementptr inbounds ptr, ptr %74, i64 13
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr %76(ptr noundef nonnull align 8 dereferenceable(32) %73)
  store ptr %77, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = call { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
  %80 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %81 = extractvalue { ptr, i64 } %79, 0
  store ptr %81, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %83 = extractvalue { ptr, i64 } %79, 1
  store i64 %83, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = call { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %84)
  %86 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %87 = extractvalue { ptr, i64 } %85, 0
  store ptr %87, ptr %86, align 8
  %88 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %89 = extractvalue { ptr, i64 } %85, 1
  store i64 %89, ptr %88, align 8
  br label %90

90:                                               ; preds = %123, %72
  %91 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %125

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %94 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  store i64 %94, ptr %18, align 8, !tbaa !13
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.uno::Multipliers", ptr %95, i32 0, i32 1
  %97 = load i64, ptr %18, align 8, !tbaa !13
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %97)
  %99 = load double, ptr %98, align 8, !tbaa !9
  %100 = fcmp olt double 0.000000e+00, %99
  br i1 %100, label %101, label %122

101:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %102 = load double, ptr %8, align 8, !tbaa !9
  %103 = fneg double %102
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %"class.uno::Multipliers", ptr %104, i32 0, i32 1
  %106 = load i64, ptr %18, align 8, !tbaa !13
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %106)
  %108 = load double, ptr %107, align 8, !tbaa !9
  %109 = fmul double %103, %108
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.uno::Multipliers", ptr %110, i32 0, i32 1
  %112 = load i64, ptr %18, align 8, !tbaa !13
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %112)
  %114 = load double, ptr %113, align 8, !tbaa !9
  %115 = fdiv double %109, %114
  store double %115, ptr %19, align 8, !tbaa !9
  %116 = load double, ptr %19, align 8, !tbaa !9
  %117 = fcmp olt double 0.000000e+00, %116
  br i1 %117, label %118, label %121

118:                                              ; preds = %101
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %120 = load double, ptr %119, align 8, !tbaa !9
  store double %120, ptr %9, align 8, !tbaa !9
  br label %121

121:                                              ; preds = %118, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %122

122:                                              ; preds = %121, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %123

123:                                              ; preds = %122
  %124 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  br label %90

125:                                              ; preds = %92
  %126 = load double, ptr %9, align 8, !tbaa !9
  %127 = fcmp olt double 0.000000e+00, %126
  br i1 %127, label %128, label %132

128:                                              ; preds = %125
  %129 = load double, ptr %9, align 8, !tbaa !9
  %130 = fcmp ole double %129, 1.000000e+00
  br i1 %130, label %131, label %132

131:                                              ; preds = %128
  br label %132

132:                                              ; preds = %131, %128, %125
  %133 = phi i1 [ false, %128 ], [ false, %125 ], [ true, %131 ]
  br i1 %133, label %134, label %135

134:                                              ; preds = %132
  br label %137

135:                                              ; preds = %132
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.21, i32 noundef 381, ptr noundef @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d) #6
  unreachable

136:                                              ; No predecessors!
  br label %137

137:                                              ; preds = %136, %134
  %138 = load double, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret double %138
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = { noreturn 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 }
attributes #6 = { noreturn 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 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}


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

%"class.uno::Collection<unsigned long>::iterator" = type { ptr, i64 }

@.str.21 = external hidden unnamed_addr constant [147 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [102 x i8], align 1
@__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d = external hidden unnamed_addr constant [149 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(72) %2, double noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca double, align 8
  %6 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %7 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %10 = alloca %"class.uno::Collection<unsigned long>::iterator", align 8
  %11 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store double 1.000000e+00, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %0, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %12, i64 96
  %14 = load ptr, ptr %13, align 8
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr %14(ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %16 = tail call { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %17 = extractvalue { ptr, i64 } %16, 0
  store ptr %17, ptr %6, align 8
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  %19 = extractvalue { ptr, i64 } %16, 1
  store i64 %19, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %20 = tail call { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %21 = extractvalue { ptr, i64 } %20, 0
  store ptr %21, ptr %7, align 8
  %22 = getelementptr inbounds i8, ptr %7, i64 8
  %23 = extractvalue { ptr, i64 } %20, 1
  store i64 %23, ptr %22, align 8
  %24 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %25 = fneg double %3
  br label %42

._crit_edge:                                      ; preds = %59, %4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %26 = load ptr, ptr %0, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %26, i64 104
  %28 = load ptr, ptr %27, align 8
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr %28(ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %30 = call { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %31 = extractvalue { ptr, i64 } %30, 0
  store ptr %31, ptr %9, align 8
  %32 = getelementptr inbounds i8, ptr %9, i64 8
  %33 = extractvalue { ptr, i64 } %30, 1
  store i64 %33, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %34 = call { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %35 = extractvalue { ptr, i64 } %34, 0
  store ptr %35, ptr %10, align 8
  %36 = getelementptr inbounds i8, ptr %10, i64 8
  %37 = extractvalue { ptr, i64 } %34, 1
  store i64 %37, ptr %36, align 8
  %38 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %38, label %.lr.ph21, label %._crit_edge22

.lr.ph21:                                         ; preds = %._crit_edge
  %39 = getelementptr inbounds i8, ptr %2, i64 24
  %40 = fneg double %3
  %41 = getelementptr inbounds i8, ptr %1, i64 24
  br label %65

42:                                               ; preds = %.lr.ph, %59
  %43 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %43)
  %45 = load double, ptr %44, align 8, !tbaa !5
  %46 = fcmp olt double %45, 0.000000e+00
  br i1 %46, label %47, label %59

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43)
  %49 = load double, ptr %48, align 8, !tbaa !5
  %50 = fmul double %49, %25
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %43)
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = fdiv double %50, %52
  store double %53, ptr %8, align 8, !tbaa !5
  %54 = fcmp ogt double %53, 0.000000e+00
  br i1 %54, label %55, label %58

55:                                               ; preds = %47
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %57 = load double, ptr %56, align 8, !tbaa !5
  store double %57, ptr %5, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %55, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %59

59:                                               ; preds = %58, %42
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %61 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %61, label %42, label %._crit_edge

._crit_edge22:                                    ; preds = %82, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  %62 = load double, ptr %5, align 8
  %63 = fcmp ogt double %62, 0.000000e+00
  %64 = fcmp ole double %62, 1.000000e+00
  %or.cond = and i1 %63, %64
  br i1 %or.cond, label %85, label %.critedge

65:                                               ; preds = %.lr.ph21, %82
  %66 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %66)
  %68 = load double, ptr %67, align 8, !tbaa !5
  %69 = fcmp ogt double %68, 0.000000e+00
  br i1 %69, label %70, label %82

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %66)
  %72 = load double, ptr %71, align 8, !tbaa !5
  %73 = fmul double %72, %40
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %66)
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = fdiv double %73, %75
  store double %76, ptr %11, align 8, !tbaa !5
  %77 = fcmp ogt double %76, 0.000000e+00
  br i1 %77, label %78, label %81

78:                                               ; preds = %70
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %80 = load double, ptr %79, align 8, !tbaa !5
  store double %80, ptr %5, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %78, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %82

82:                                               ; preds = %81, %65
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %84 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %84, label %65, label %._crit_edge22

85:                                               ; preds = %._crit_edge22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  ret double %62

.critedge:                                        ; preds = %._crit_edge22
  call void @__assert_fail(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.21, i32 noundef 381, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod25dual_fraction_to_boundaryERKNS_19OptimizationProblemERKNS_11MultipliersERS4_d) #6
  unreachable
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = { noreturn 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 }
attributes #6 = { noreturn 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}


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