; LLVM IR from cvanaret/Uno :: uno/ingredients/inequality_handling_methods/interior_point_methods/PrimalDualInte_a9661661 (3a228acf)

; 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.41 = external hidden unnamed_addr constant [100 x i8], align 1
@__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_ = external hidden unnamed_addr constant [183 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [100 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 noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434)) #1 align 2

; 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 zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef) #3

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

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

; 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 nounwind uwtable
declare dso_local void @_ZN3uno6VectorIdE4fillEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) #2 align 2

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

45:                                               ; preds = %98, %6
  %46 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
  br i1 %46, label %48, label %47

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %100

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %49 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  store i64 %49, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load i64, ptr %16, align 8, !tbaa !11
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %51)
  %53 = load double, ptr %52, align 8, !tbaa !13
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = load i64, ptr %16, align 8, !tbaa !11
  %56 = load ptr, ptr %54, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef double %58(ptr noundef nonnull align 8 dereferenceable(32) %54, i64 noundef %55)
  %60 = fsub double %53, %59
  store double %60, ptr %17, align 8, !tbaa !13
  %61 = call noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434) %23)
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = load i64, ptr %16, align 8, !tbaa !11
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %63)
  %65 = load double, ptr %64, align 8, !tbaa !13
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.uno::Multipliers", ptr %66, i32 0, i32 0
  %68 = load i64, ptr %16, align 8, !tbaa !11
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %68)
  %70 = load double, ptr %69, align 8, !tbaa !13
  %71 = fneg double %65
  %72 = call double @llvm.fmuladd.f64(double %71, double %70, double %61)
  %73 = load double, ptr %17, align 8, !tbaa !13
  %74 = fdiv double %72, %73
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.uno::Multipliers", ptr %75, i32 0, i32 0
  %77 = load i64, ptr %16, align 8, !tbaa !11
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %77)
  %79 = load double, ptr %78, align 8, !tbaa !13
  %80 = fsub double %74, %79
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.uno::Multipliers", ptr %81, i32 0, i32 0
  %83 = load i64, ptr %16, align 8, !tbaa !11
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %83)
  store double %80, ptr %84, align 8, !tbaa !13
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.uno::Multipliers", ptr %85, i32 0, i32 0
  %87 = load i64, ptr %16, align 8, !tbaa !11
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87)
  %89 = load double, ptr %88, align 8, !tbaa !13
  %90 = call noundef zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef %89)
  br i1 %90, label %91, label %92

91:                                               ; preds = %48
  br label %92

92:                                               ; preds = %91, %48
  %93 = phi i1 [ false, %48 ], [ true, %91 ]
  br i1 %93, label %94, label %95

94:                                               ; preds = %92
  br label %97

95:                                               ; preds = %92
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.21, i32 noundef 445, ptr noundef @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_) #7
  unreachable

96:                                               ; No predecessors!
  br label %97

97:                                               ; preds = %96, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %98

98:                                               ; preds = %97
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  br label %45

100:                                              ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %102, i64 13
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr %104(ptr noundef nonnull align 8 dereferenceable(32) %101)
  store ptr %105, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %106 = load ptr, ptr %18, align 8, !tbaa !5
  %107 = call { ptr, i64 } @_ZNK3uno10CollectionImE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  %108 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %109 = extractvalue { ptr, i64 } %107, 0
  store ptr %109, ptr %108, align 8
  %110 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %111 = extractvalue { ptr, i64 } %107, 1
  store i64 %111, ptr %110, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = call { ptr, i64 } @_ZNK3uno10CollectionImE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %112)
  %114 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %115 = extractvalue { ptr, i64 } %113, 0
  store ptr %115, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %117 = extractvalue { ptr, i64 } %113, 1
  store i64 %117, ptr %116, align 8
  br label %118

118:                                              ; preds = %171, %100
  %119 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  br i1 %119, label %121, label %120

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %173

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %122 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  store i64 %122, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load i64, ptr %21, align 8, !tbaa !11
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %124)
  %126 = load double, ptr %125, align 8, !tbaa !13
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load i64, ptr %21, align 8, !tbaa !11
  %129 = load ptr, ptr %127, align 8, !tbaa !9
  %130 = getelementptr inbounds ptr, ptr %129, i64 9
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef double %131(ptr noundef nonnull align 8 dereferenceable(32) %127, i64 noundef %128)
  %133 = fsub double %126, %132
  store double %133, ptr %22, align 8, !tbaa !13
  %134 = call noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434) %23)
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = load i64, ptr %21, align 8, !tbaa !11
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %136)
  %138 = load double, ptr %137, align 8, !tbaa !13
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = getelementptr inbounds %"class.uno::Multipliers", ptr %139, i32 0, i32 1
  %141 = load i64, ptr %21, align 8, !tbaa !11
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %141)
  %143 = load double, ptr %142, align 8, !tbaa !13
  %144 = fneg double %138
  %145 = call double @llvm.fmuladd.f64(double %144, double %143, double %134)
  %146 = load double, ptr %22, align 8, !tbaa !13
  %147 = fdiv double %145, %146
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"class.uno::Multipliers", ptr %148, i32 0, i32 1
  %150 = load i64, ptr %21, align 8, !tbaa !11
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %150)
  %152 = load double, ptr %151, align 8, !tbaa !13
  %153 = fsub double %147, %152
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  %155 = getelementptr inbounds %"class.uno::Multipliers", ptr %154, i32 0, i32 1
  %156 = load i64, ptr %21, align 8, !tbaa !11
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %156)
  store double %153, ptr %157, align 8, !tbaa !13
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds %"class.uno::Multipliers", ptr %158, i32 0, i32 1
  %160 = load i64, ptr %21, align 8, !tbaa !11
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %160)
  %162 = load double, ptr %161, align 8, !tbaa !13
  %163 = call noundef zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef %162)
  br i1 %163, label %164, label %165

164:                                              ; preds = %121
  br label %165

165:                                              ; preds = %164, %121
  %166 = phi i1 [ false, %121 ], [ true, %164 ]
  br i1 %166, label %167, label %168

167:                                              ; preds = %165
  br label %170

168:                                              ; preds = %165
  call void @__assert_fail(ptr noundef @.str.43, ptr noundef @.str.21, i32 noundef 451, ptr noundef @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_) #7
  unreachable

169:                                              ; No predecessors!
  br label %170

170:                                              ; preds = %169, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %171

171:                                              ; preds = %170
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  br label %118

173:                                              ; preds = %120
  ret void
}

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !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.41 = external hidden unnamed_addr constant [100 x i8], align 1
@__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_ = external hidden unnamed_addr constant [183 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [100 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 noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434)) local_unnamed_addr #1 align 2

; 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 zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef) 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; 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 nounwind uwtable
declare dso_local void @_ZN3uno6VectorIdE4fillEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #2 align 2

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

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

.lr.ph40:                                         ; preds = %._crit_edge
  %38 = getelementptr inbounds i8, ptr %3, i64 24
  br label %66

.lr.ph:                                           ; preds = %6, %63
  %39 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %39)
  %41 = load double, ptr %40, align 8, !tbaa !8
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 64
  %44 = load ptr, ptr %43, align 8
  %45 = call noundef double %44(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %39)
  %46 = fsub double %41, %45
  %47 = call noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434) %0)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %39)
  %49 = load double, ptr %48, align 8, !tbaa !8
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %39)
  %51 = load double, ptr %50, align 8, !tbaa !8
  %52 = fneg double %49
  %53 = call double @llvm.fmuladd.f64(double %52, double %51, double %47)
  %54 = fdiv double %53, %46
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %39)
  %56 = load double, ptr %55, align 8, !tbaa !8
  %57 = fsub double %54, %56
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %39)
  store double %57, ptr %58, align 8, !tbaa !8
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %39)
  %60 = load double, ptr %59, align 8, !tbaa !8
  %61 = call noundef zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef %60)
  br i1 %61, label %63, label %62

62:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.21, i32 noundef 445, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_) #7
  unreachable

63:                                               ; preds = %.lr.ph
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %65 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %65, label %.lr.ph, label %._crit_edge

._crit_edge41:                                    ; preds = %91, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  ret void

66:                                               ; preds = %.lr.ph40, %91
  %67 = call noundef i64 @_ZNK3uno10CollectionImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %67)
  %69 = load double, ptr %68, align 8, !tbaa !8
  %70 = load ptr, ptr %1, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 72
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef double %72(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %67)
  %74 = fsub double %69, %73
  %75 = call noundef double @_ZNK3uno29PrimalDualInteriorPointMethod17barrier_parameterEv(ptr noundef nonnull align 8 dereferenceable(434) %0)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %67)
  %77 = load double, ptr %76, align 8, !tbaa !8
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %67)
  %79 = load double, ptr %78, align 8, !tbaa !8
  %80 = fneg double %77
  %81 = call double @llvm.fmuladd.f64(double %80, double %79, double %75)
  %82 = fdiv double %81, %74
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %67)
  %84 = load double, ptr %83, align 8, !tbaa !8
  %85 = fsub double %82, %84
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %67)
  store double %85, ptr %86, align 8, !tbaa !8
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3uno6VectorIdEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %67)
  %88 = load double, ptr %87, align 8, !tbaa !8
  %89 = call noundef zeroext i1 @_ZN3uno9is_finiteIdEEbT_(double noundef %88)
  br i1 %89, label %91, label %90

90:                                               ; preds = %66
  call void @__assert_fail(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.21, i32 noundef 451, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3uno29PrimalDualInteriorPointMethod28compute_bound_dual_directionERKNS_19OptimizationProblemERKNS_6VectorIdEERKNS_11MultipliersES7_RS8_) #7
  unreachable

91:                                               ; preds = %66
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3uno10CollectionImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %93 = call noundef zeroext i1 @_ZN3unoneERKNS_10CollectionImE8iteratorES4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %93, label %66, label %._crit_edge41
}

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


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