; LLVM IR from cvanaret/Uno :: uno/ingredients/hessian_models (ConvexifiedHessian)

; 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { i64, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.uno::ConvexifiedHessian" = type { %"class.uno::HessianModel", %"class.std::unique_ptr", double, double, double, double }
%"class.uno::HessianModel" = type { ptr, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZTIN3uno22UnstableRegularizationE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno18ConvexifiedHessian10regularizeERNS_10StatisticsERNS_15SymmetricMatrixImdEEm(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, i64 noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca %"class.std::function", align 8
  %19 = alloca %class.anon, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i8, align 1
  %29 = alloca %"class.std::basic_string_view", 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 i64 %3, ptr %8, align 8, !tbaa !9
  %30 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 4, ptr %9, align 4, !tbaa !11
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(18) @.str.3)
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_15SymmetricMatrixImdEEEERKNS_5LevelES5_RT_(ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 8 dereferenceable(8) %32)
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  store i8 10, ptr %10, align 1, !tbaa !13
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i64, ptr %8, align 8, !tbaa !9
  %37 = call noundef double @_ZNK3uno15SymmetricMatrixImdE23smallest_diagonal_entryEm(ptr noundef nonnull align 8 dereferenceable(8) %35, i64 noundef %36)
  store double %37, ptr %11, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 4, ptr %12, align 4, !tbaa !11
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA45_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(45) @.str.4)
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  store i8 10, ptr %13, align 1, !tbaa !13
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 1 dereferenceable(1) %13)
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  %41 = load double, ptr %11, align 8, !tbaa !14
  %42 = fcmp ogt double %41, 0.000000e+00
  br i1 %42, label %43, label %44

43:                                               ; preds = %4
  br label %49

44:                                               ; preds = %4
  %45 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 3
  %46 = load double, ptr %45, align 8, !tbaa !16
  %47 = load double, ptr %11, align 8, !tbaa !14
  %48 = fsub double %46, %47
  br label %49

49:                                               ; preds = %44, %43
  %50 = phi double [ 0.000000e+00, %43 ], [ %48, %44 ]
  %51 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  store double %50, ptr %51, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  store i8 0, ptr %14, align 1, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !26
  br label %52

52:                                               ; preds = %154, %49
  %53 = load i8, ptr %14, align 1, !tbaa !26, !range !28, !noundef !29
  %54 = trunc i8 %53 to i1
  %55 = xor i1 %54, true
  br i1 %55, label %56, label %155

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 4, ptr %16, align 4, !tbaa !11
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(50) @.str.5)
  %58 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 8 dereferenceable(8) %58)
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  store i8 10, ptr %17, align 1, !tbaa !13
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  %61 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %62 = load double, ptr %61, align 8, !tbaa !25
  %63 = fcmp olt double 0.000000e+00, %62
  br i1 %63, label %64, label %74

64:                                               ; preds = %56
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %66 = getelementptr inbounds %class.anon, ptr %19, i32 0, i32 0
  %67 = load i64, ptr %8, align 8, !tbaa !9
  store i64 %67, ptr %66, align 8, !tbaa !30
  %68 = getelementptr inbounds %class.anon, ptr %19, i32 0, i32 1
  store ptr %30, ptr %68, align 8, !tbaa !32
  call void @"_ZNSt8functionIFdmEEC2IZN3uno18ConvexifiedHessian10regularizeERNS3_10StatisticsERNS3_15SymmetricMatrixImdEEmE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  invoke void @_ZN3uno15SymmetricMatrixImdE18set_regularizationERKSt8functionIFdmEE(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %69 unwind label %70

69:                                               ; preds = %64
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  br label %74

70:                                               ; preds = %64
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %20, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %21, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %163

74:                                               ; preds = %69, %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 4, ptr %22, align 4, !tbaa !11
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(18) @.str.3)
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_15SymmetricMatrixImdEEEERKNS_5LevelES5_RT_(ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 8 dereferenceable(8) %76)
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  store i8 10, ptr %23, align 1, !tbaa !13
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  %79 = load i8, ptr %15, align 1, !tbaa !26, !range !28, !noundef !29
  %80 = trunc i8 %79 to i1
  br i1 %80, label %88, label %81

81:                                               ; preds = %74
  %82 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %83 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %82) #8
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = load ptr, ptr %83, align 8, !tbaa !33
  %86 = getelementptr inbounds ptr, ptr %85, i64 4
  %87 = load ptr, ptr %86, align 8
  call void %87(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %84)
  store i8 1, ptr %15, align 1, !tbaa !26
  br label %88

88:                                               ; preds = %81, %74
  %89 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %90 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %89) #8
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %90, align 8, !tbaa !33
  %93 = getelementptr inbounds ptr, ptr %92, i64 5
  %94 = load ptr, ptr %93, align 8
  call void %94(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %91)
  %95 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %96 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = getelementptr inbounds ptr, ptr %97, i64 9
  %99 = load ptr, ptr %98, align 8
  %100 = call noundef i64 %99(ptr noundef nonnull align 8 dereferenceable(8) %96)
  %101 = load i64, ptr %8, align 8, !tbaa !9
  %102 = icmp eq i64 %100, %101
  br i1 %102, label %103, label %113

103:                                              ; preds = %88
  %104 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %105 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #8
  %106 = load ptr, ptr %105, align 8, !tbaa !33
  %107 = getelementptr inbounds ptr, ptr %106, i64 7
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef i64 %108(ptr noundef nonnull align 8 dereferenceable(8) %105)
  %110 = icmp eq i64 %109, 0
  br i1 %110, label %111, label %113

111:                                              ; preds = %103
  store i8 1, ptr %14, align 1, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 4, ptr %24, align 4, !tbaa !11
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA29_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 1 dereferenceable(29) @.str.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %154

113:                                              ; preds = %103, %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 4, ptr %25, align 4, !tbaa !11
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA7_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %115 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %116 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %115) #8
  %117 = load ptr, ptr %116, align 8, !tbaa !33
  %118 = getelementptr inbounds ptr, ptr %117, i64 9
  %119 = load ptr, ptr %118, align 8
  %120 = call noundef i64 %119(ptr noundef nonnull align 8 dereferenceable(8) %116)
  store i64 %120, ptr %26, align 8, !tbaa !9
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %114, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA25_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %121, ptr noundef nonnull align 1 dereferenceable(25) @.str.8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %123 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 1
  %124 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %123) #8
  %125 = load ptr, ptr %124, align 8, !tbaa !33
  %126 = getelementptr inbounds ptr, ptr %125, i64 7
  %127 = load ptr, ptr %126, align 8
  %128 = call noundef i64 %127(ptr noundef nonnull align 8 dereferenceable(8) %124)
  store i64 %128, ptr %27, align 8, !tbaa !9
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 8 dereferenceable(8) %27)
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  store i8 10, ptr %28, align 1, !tbaa !13
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %129, ptr noundef nonnull align 1 dereferenceable(1) %28)
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  %131 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %132 = load double, ptr %131, align 8, !tbaa !25
  %133 = fcmp oeq double %132, 0.000000e+00
  br i1 %133, label %134, label %137

134:                                              ; preds = %113
  %135 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 3
  %136 = load double, ptr %135, align 8, !tbaa !16
  br label %143

137:                                              ; preds = %113
  %138 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 4
  %139 = load double, ptr %138, align 8, !tbaa !35
  %140 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %141 = load double, ptr %140, align 8, !tbaa !25
  %142 = fmul double %139, %141
  br label %143

143:                                              ; preds = %137, %134
  %144 = phi double [ %136, %134 ], [ %142, %137 ]
  %145 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  store double %144, ptr %145, align 8, !tbaa !25
  %146 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %147 = load double, ptr %146, align 8, !tbaa !25
  %148 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 5
  %149 = load double, ptr %148, align 8, !tbaa !36
  %150 = fcmp ogt double %147, %149
  br i1 %150, label %151, label %153

151:                                              ; preds = %143
  %152 = call ptr @__cxa_allocate_exception(i64 8) #8
  call void @llvm.memset.p0.i64(ptr align 16 %152, i8 0, i64 8, i1 false)
  call void @_ZN3uno22UnstableRegularizationC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %152) #8
  call void @__cxa_throw(ptr %152, ptr @_ZTIN3uno22UnstableRegularizationE, ptr @_ZNSt9exceptionD2Ev) #9
  unreachable

153:                                              ; preds = %143
  br label %154

154:                                              ; preds = %153, %111
  br label %52, !llvm.loop !37

155:                                              ; preds = %52
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef @.str.9) #8
  %157 = getelementptr inbounds %"class.uno::ConvexifiedHessian", ptr %30, i32 0, i32 2
  %158 = load double, ptr %157, align 8, !tbaa !25
  %159 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 0
  %160 = load i64, ptr %159, align 8
  %161 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 1
  %162 = load ptr, ptr %161, align 8
  call void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEEd(ptr noundef nonnull align 8 dereferenceable(144) %156, i64 %160, ptr %162, double noundef %158)
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  ret void

163:                                              ; preds = %70
  %164 = load ptr, ptr %20, align 8
  %165 = load i32, ptr %21, align 4
  %166 = insertvalue { ptr, i32 } poison, ptr %164, 0
  %167 = insertvalue { ptr, i32 } %166, i32 %165, 1
  resume { ptr, i32 } %167
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(18)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK3uno15SymmetricMatrixImdE23smallest_diagonal_entryEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA45_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(45)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(50)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno15SymmetricMatrixImdE18set_regularizationERKSt8functionIFdmEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdmEEC2IZN3uno18ConvexifiedHessian10regularizeERNS3_10StatisticsERNS3_15SymmetricMatrixImdEEmE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA29_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(29)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA25_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(25)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA7_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(7)) #3

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3uno22UnstableRegularizationC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEEd(ptr noundef nonnull align 8 dereferenceable(144), i64, ptr, double noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #4 = { inlinehint 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 #5 = { 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 #6 = { 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 #7 = { "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 #8 = { nounwind }
attributes #9 = { noreturn }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN3uno5LevelE", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !15, i64 32}
!17 = !{!"_ZTSN3uno18ConvexifiedHessianE", !18, i64 0, !19, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48}
!18 = !{!"_ZTSN3uno12HessianModelE", !10, i64 8}
!19 = !{!"_ZTSSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPN3uno37DirectSymmetricIndefiniteLinearSolverImdEELb0EE", !6, i64 0}
!25 = !{!17, !15, i64 24}
!26 = !{!27, !27, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!31, !10, i64 0}
!31 = !{!"_ZTSZN3uno18ConvexifiedHessian10regularizeERNS_10StatisticsERNS_15SymmetricMatrixImdEEmE3$_0", !10, i64 0, !6, i64 8}
!32 = !{!31, !6, i64 8}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !8, i64 0}
!35 = !{!17, !15, i64 40}
!36 = !{!17, !15, i64 48}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


; 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { i64, ptr }
%"class.std::basic_string_view" = type { i64, ptr }

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZTIN3uno22UnstableRegularizationE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno18ConvexifiedHessian10regularizeERNS_10StatisticsERNS_15SymmetricMatrixImdEEm(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, i64 noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
.peel.begin:
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::function", align 8
  %12 = alloca %class.anon, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::basic_string_view", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 4, ptr %4, align 4, !tbaa !5
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(18) @.str.3)
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_15SymmetricMatrixImdEEEERKNS_5LevelES5_RT_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  store i8 10, ptr %5, align 1, !tbaa !9
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %24 = call noundef double @_ZNK3uno15SymmetricMatrixImdE23smallest_diagonal_entryEm(ptr noundef nonnull align 8 dereferenceable(8) %2, i64 noundef %3)
  store double %24, ptr %6, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 4, ptr %7, align 4, !tbaa !5
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA45_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(45) @.str.4)
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  store i8 10, ptr %8, align 1, !tbaa !9
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %28 = load double, ptr %6, align 8, !tbaa !10
  %29 = fcmp ogt double %28, 0.000000e+00
  %30 = getelementptr inbounds i8, ptr %0, i64 32
  %31 = load double, ptr %30, align 8
  %32 = fsub double %31, %28
  %33 = select i1 %29, double 0.000000e+00, double %32
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  store double %33, ptr %34, align 8, !tbaa !12
  %35 = getelementptr inbounds i8, ptr %12, i64 8
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = getelementptr inbounds i8, ptr %0, i64 40
  %38 = getelementptr inbounds i8, ptr %0, i64 48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 4, ptr %9, align 4, !tbaa !5
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(50) @.str.5)
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 8 dereferenceable(8) %34)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  store i8 10, ptr %10, align 1, !tbaa !9
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %42 = load double, ptr %34, align 8, !tbaa !12
  %43 = fcmp ogt double %42, 0.000000e+00
  br i1 %43, label %44, label %46

44:                                               ; preds = %.peel.begin
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  store i64 %3, ptr %12, align 8, !tbaa !23
  store ptr %0, ptr %35, align 8, !tbaa !25
  call void @"_ZNSt8functionIFdmEEC2IZN3uno18ConvexifiedHessian10regularizeERNS3_10StatisticsERNS3_15SymmetricMatrixImdEEmE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  invoke void @_ZN3uno15SymmetricMatrixImdE18set_regularizationERKSt8functionIFdmEE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %45 unwind label %.loopexit.split-lp

45:                                               ; preds = %44
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %46

46:                                               ; preds = %45, %.peel.begin
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 4, ptr %13, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(18) @.str.3)
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_15SymmetricMatrixImdEEEERKNS_5LevelES5_RT_(ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  store i8 10, ptr %14, align 1, !tbaa !9
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  %50 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %51 = load ptr, ptr %50, align 8, !tbaa !26
  %52 = getelementptr inbounds i8, ptr %51, i64 32
  %53 = load ptr, ptr %52, align 8
  call void %53(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %54 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %55 = load ptr, ptr %54, align 8, !tbaa !26
  %56 = getelementptr inbounds i8, ptr %55, i64 40
  %57 = load ptr, ptr %56, align 8
  call void %57(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %58 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %59 = load ptr, ptr %58, align 8, !tbaa !26
  %60 = getelementptr inbounds i8, ptr %59, i64 72
  %61 = load ptr, ptr %60, align 8
  %62 = call noundef i64 %61(ptr noundef nonnull align 8 dereferenceable(8) %58)
  %63 = icmp eq i64 %62, %3
  br i1 %63, label %64, label %71

64:                                               ; preds = %46
  %65 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %66 = load ptr, ptr %65, align 8, !tbaa !26
  %67 = getelementptr inbounds i8, ptr %66, i64 56
  %68 = load ptr, ptr %67, align 8
  %69 = call noundef i64 %68(ptr noundef nonnull align 8 dereferenceable(8) %65)
  %70 = icmp eq i64 %69, 0
  br i1 %70, label %.loopexit22, label %71

71:                                               ; preds = %64, %46
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 4, ptr %16, align 4, !tbaa !5
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA7_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %73 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %74 = load ptr, ptr %73, align 8, !tbaa !26
  %75 = getelementptr inbounds i8, ptr %74, i64 72
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef i64 %76(ptr noundef nonnull align 8 dereferenceable(8) %73)
  store i64 %77, ptr %17, align 8, !tbaa !28
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %72, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA25_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 1 dereferenceable(25) @.str.8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %80 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %81 = load ptr, ptr %80, align 8, !tbaa !26
  %82 = getelementptr inbounds i8, ptr %81, i64 56
  %83 = load ptr, ptr %82, align 8
  %84 = call noundef i64 %83(ptr noundef nonnull align 8 dereferenceable(8) %80)
  store i64 %84, ptr %18, align 8, !tbaa !28
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %79, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 10, ptr %19, align 1, !tbaa !9
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  %87 = load double, ptr %34, align 8, !tbaa !12
  %88 = fcmp oeq double %87, 0.000000e+00
  %89 = load double, ptr %30, align 8
  %90 = load double, ptr %37, align 8
  %91 = fmul double %87, %90
  %92 = select i1 %88, double %89, double %91
  store double %92, ptr %34, align 8, !tbaa !12
  %93 = load double, ptr %38, align 8, !tbaa !29
  %94 = fcmp ogt double %92, %93
  br i1 %94, label %.loopexit23, label %.peel.newph

.peel.newph:                                      ; preds = %71, %124
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 4, ptr %9, align 4, !tbaa !5
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(50) @.str.5)
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 8 dereferenceable(8) %34)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  store i8 10, ptr %10, align 1, !tbaa !9
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %96, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %98 = load double, ptr %34, align 8, !tbaa !12
  %99 = fcmp ogt double %98, 0.000000e+00
  br i1 %99, label %100, label %103

100:                                              ; preds = %.peel.newph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  store i64 %3, ptr %12, align 8, !tbaa !23
  store ptr %0, ptr %35, align 8, !tbaa !25
  call void @"_ZNSt8functionIFdmEEC2IZN3uno18ConvexifiedHessian10regularizeERNS3_10StatisticsERNS3_15SymmetricMatrixImdEEmE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  invoke void @_ZN3uno15SymmetricMatrixImdE18set_regularizationERKSt8functionIFdmEE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %101 unwind label %.loopexit

101:                                              ; preds = %100
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %103

.loopexit:                                        ; preds = %100
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %102

.loopexit.split-lp:                               ; preds = %44
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %102

102:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  resume { ptr, i32 } %lpad.phi

103:                                              ; preds = %101, %.peel.newph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 4, ptr %13, align 4, !tbaa !5
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(18) @.str.3)
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_15SymmetricMatrixImdEEEERKNS_5LevelES5_RT_(ptr noundef nonnull align 4 dereferenceable(4) %104, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  store i8 10, ptr %14, align 1, !tbaa !9
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %105, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  %107 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %108 = load ptr, ptr %107, align 8, !tbaa !26
  %109 = getelementptr inbounds i8, ptr %108, i64 40
  %110 = load ptr, ptr %109, align 8
  call void %110(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %111 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %112 = load ptr, ptr %111, align 8, !tbaa !26
  %113 = getelementptr inbounds i8, ptr %112, i64 72
  %114 = load ptr, ptr %113, align 8
  %115 = call noundef i64 %114(ptr noundef nonnull align 8 dereferenceable(8) %111)
  %116 = icmp eq i64 %115, %3
  br i1 %116, label %117, label %124

117:                                              ; preds = %103
  %118 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %119 = load ptr, ptr %118, align 8, !tbaa !26
  %120 = getelementptr inbounds i8, ptr %119, i64 56
  %121 = load ptr, ptr %120, align 8
  %122 = call noundef i64 %121(ptr noundef nonnull align 8 dereferenceable(8) %118)
  %123 = icmp eq i64 %122, 0
  br i1 %123, label %.loopexit22, label %124

124:                                              ; preds = %117, %103
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 4, ptr %16, align 4, !tbaa !5
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA7_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(7) @.str.7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %126 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %127 = load ptr, ptr %126, align 8, !tbaa !26
  %128 = getelementptr inbounds i8, ptr %127, i64 72
  %129 = load ptr, ptr %128, align 8
  %130 = call noundef i64 %129(ptr noundef nonnull align 8 dereferenceable(8) %126)
  store i64 %130, ptr %17, align 8, !tbaa !28
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %125, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA25_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 1 dereferenceable(25) @.str.8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %133 = call noundef ptr @_ZNKSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %134 = load ptr, ptr %133, align 8, !tbaa !26
  %135 = getelementptr inbounds i8, ptr %134, i64 56
  %136 = load ptr, ptr %135, align 8
  %137 = call noundef i64 %136(ptr noundef nonnull align 8 dereferenceable(8) %133)
  store i64 %137, ptr %18, align 8, !tbaa !28
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %132, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 10, ptr %19, align 1, !tbaa !9
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %138, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  %140 = load double, ptr %34, align 8, !tbaa !12
  %141 = fcmp oeq double %140, 0.000000e+00
  %142 = load double, ptr %30, align 8
  %143 = load double, ptr %37, align 8
  %144 = fmul double %140, %143
  %145 = select i1 %141, double %142, double %144
  store double %145, ptr %34, align 8, !tbaa !12
  %146 = load double, ptr %38, align 8, !tbaa !29
  %147 = fcmp ogt double %145, %146
  br i1 %147, label %.loopexit23, label %.peel.newph, !llvm.loop !30

.loopexit23:                                      ; preds = %124, %71
  %148 = call ptr @__cxa_allocate_exception(i64 8) #7
  store i64 0, ptr %148, align 16
  call void @_ZN3uno22UnstableRegularizationC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %148) #7
  call void @__cxa_throw(ptr nonnull %148, ptr nonnull @_ZTIN3uno22UnstableRegularizationE, ptr nonnull @_ZNSt9exceptionD2Ev) #8
  unreachable

.loopexit22:                                      ; preds = %117, %64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 4, ptr %15, align 4, !tbaa !5
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA29_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(29) @.str.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef @.str.9) #7
  %150 = load double, ptr %34, align 8, !tbaa !12
  %151 = load i64, ptr %20, align 8
  %152 = getelementptr inbounds i8, ptr %20, i64 8
  %153 = load ptr, ptr %152, align 8
  call void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEEd(ptr noundef nonnull align 8 dereferenceable(144) %1, i64 %151, ptr %153, double noundef %150)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA18_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(18)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK3uno15SymmetricMatrixImdE23smallest_diagonal_entryEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA45_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(45)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(50)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno15SymmetricMatrixImdE18set_regularizationERKSt8functionIFdmEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdmEEC2IZN3uno18ConvexifiedHessian10regularizeERNS3_10StatisticsERNS3_15SymmetricMatrixImdEEmE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA29_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(29)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA25_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(25)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA7_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3uno22UnstableRegularizationC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEEd(ptr noundef nonnull align 8 dereferenceable(144), i64, ptr, double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #1 align 2

attributes #0 = { mustprogress 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 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 = { 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 #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

!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 = !{!"_ZTSN3uno5LevelE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !11, i64 24}
!13 = !{!"_ZTSN3uno18ConvexifiedHessianE", !14, i64 0, !16, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!14 = !{!"_ZTSN3uno12HessianModelE", !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt10unique_ptrIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno37DirectSymmetricIndefiniteLinearSolverImdEESt14default_deleteIS2_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPN3uno37DirectSymmetricIndefiniteLinearSolverImdEELb0EE", !22, i64 0}
!22 = !{!"any pointer", !7, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"_ZTSZN3uno18ConvexifiedHessian10regularizeERNS_10StatisticsERNS_15SymmetricMatrixImdEEmE3$_0", !15, i64 0, !22, i64 8}
!25 = !{!24, !22, i64 8}
!26 = !{!27, !27, i64 0}
!27 = !{!"vtable pointer", !8, i64 0}
!28 = !{!15, !15, i64 0}
!29 = !{!13, !11, i64 48}
!30 = distinct !{!30, !31, !32}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass