; LLVM IR from cvanaret/Uno :: uno/ingredients/globalization_mechanisms (TrustRegionStrategy)

; 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::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.10" = type { i8 }
%"class.uno::TrustRegionStrategy" = type { %"class.uno::GlobalizationMechanism", double, double, double, double, double, double, double, double }
%"class.uno::GlobalizationMechanism" = type { ptr, %"class.std::unique_ptr", %"class.uno::Direction" }
%"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 }
%"class.uno::Direction" = type { i64, i64, %"class.uno::Vector", %"class.uno::Multipliers", %"class.uno::Multipliers", i32, double, double }
%"class.uno::Vector" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.uno::Multipliers" = type { %"class.uno::Vector", %"class.uno::Vector", %"class.uno::Vector" }
%"struct.uno::WarmstartInformation" = type { i8, i8, i8, i8, i8, i8 }

@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIN3uno15EvaluationErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.20 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZN3uno6Logger5levelE = external global i32, align 4
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN3uno28ConstraintRelaxationStrategy23set_trust_region_radiusEd(ptr noundef nonnull align 8 dereferenceable(81), double noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno19TrustRegionStrategy20compute_next_iterateERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(532) %3, ptr noundef nonnull align 8 dereferenceable(532) %4, ptr noundef nonnull align 1 dereferenceable(6) %5, ptr noundef nonnull align 1 %6) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %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 ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i64, align 8
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.10", align 1
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.10", align 1
  %29 = alloca ptr, align 8
  %30 = alloca %"class.std::basic_string_view", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.10", align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %33 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 5, ptr %15, align 4, !tbaa !9
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA17_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(17) @.str.19)
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_7IterateEEERKNS_5LevelES4_RT_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 8 dereferenceable(532) %35)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 10, ptr %16, align 1, !tbaa !11
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIcEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store i64 0, ptr %17, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i8 0, ptr %18, align 1, !tbaa !14
  br label %38

38:                                               ; preds = %258, %7
  %39 = load i8, ptr %18, align 1, !tbaa !14, !range !16, !noundef !17
  %40 = trunc i8 %39 to i1
  %41 = xor i1 %40, true
  br i1 %41, label %42, label %260

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 0, ptr %19, align 1, !tbaa !14
  %43 = load i64, ptr %17, align 8, !tbaa !12
  %44 = add i64 %43, 1
  store i64 %44, ptr %17, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 4, ptr %20, align 4, !tbaa !9
  %45 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA36_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(36) @.str.20)
          to label %46 unwind label %61

46:                                               ; preds = %42
  %47 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %48 unwind label %61

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA14_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 1 dereferenceable(14) @.str.21)
          to label %50 unwind label %61

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.uno::TrustRegionStrategy", ptr %33, i32 0, i32 1
  %52 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %53 unwind label %61

53:                                               ; preds = %50
  %54 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA3_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 1 dereferenceable(3) @.str.22)
          to label %55 unwind label %61

55:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %56 = load i64, ptr %17, align 8, !tbaa !12
  %57 = icmp ult i64 1, %56
  br i1 %57, label %58, label %69

58:                                               ; preds = %55
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3uno10Statistics14start_new_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %59)
          to label %60 unwind label %65

60:                                               ; preds = %58
  br label %69

61:                                               ; preds = %53, %50, %48, %46, %42
  %62 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %21, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %152

65:                                               ; preds = %217, %207, %205, %197, %184, %180, %175, %172, %171, %140, %127, %119, %118, %106, %93, %77, %72, %69, %58
  %66 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %21, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %22, align 4
  br label %152

69:                                               ; preds = %60, %55
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = load i64, ptr %17, align 8, !tbaa !12
  invoke void @_ZNK3uno19TrustRegionStrategy27set_trust_region_statisticsERNS_10StatisticsEm(ptr noundef nonnull align 8 dereferenceable(288) %33, ptr noundef nonnull align 8 dereferenceable(144) %70, i64 noundef %71)
          to label %72 unwind label %65

72:                                               ; preds = %69
  %73 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 1
  %74 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  %75 = getelementptr inbounds %"class.uno::TrustRegionStrategy", ptr %33, i32 0, i32 1
  %76 = load double, ptr %75, align 8, !tbaa !18
  invoke void @_ZN3uno28ConstraintRelaxationStrategy23set_trust_region_radiusEd(ptr noundef nonnull align 8 dereferenceable(81) %74, double noundef %76)
          to label %77 unwind label %65

77:                                               ; preds = %72
  %78 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 1
  %79 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #7
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = load ptr, ptr %79, align 8, !tbaa !36
  %86 = getelementptr inbounds ptr, ptr %85, i64 3
  %87 = load ptr, ptr %86, align 8
  invoke void %87(ptr noundef nonnull align 8 dereferenceable(81) %79, ptr noundef nonnull align 8 dereferenceable(144) %80, ptr noundef nonnull align 8 dereferenceable(64) %81, ptr noundef nonnull align 8 dereferenceable(532) %82, ptr noundef nonnull align 8 dereferenceable(208) %83, ptr noundef nonnull align 1 dereferenceable(6) %84)
          to label %88 unwind label %65

88:                                               ; preds = %77
  %89 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %90 = getelementptr inbounds %"class.uno::Direction", ptr %89, i32 0, i32 5
  %91 = load i32, ptr %90, align 8, !tbaa !38
  %92 = icmp eq i32 %91, 1
  br i1 %92, label %93, label %122

93:                                               ; preds = %88
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  invoke void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288) %33, ptr noundef nonnull align 8 dereferenceable(144) %94, ptr noundef nonnull align 8 dereferenceable(208) %95)
          to label %96 unwind label %65

96:                                               ; preds = %93
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %98 unwind label %109

98:                                               ; preds = %96
  %99 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 0
  %100 = load i64, ptr %99, align 8
  %101 = getelementptr inbounds { i64, ptr }, ptr %23, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %97, i64 %100, ptr %102, ptr noundef %24)
          to label %103 unwind label %113

103:                                              ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  %104 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !9
  %105 = icmp eq i32 %104, 3
  br i1 %105, label %106, label %118

106:                                              ; preds = %103
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %107)
          to label %108 unwind label %65

108:                                              ; preds = %106
  br label %118

109:                                              ; preds = %96
  %110 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %21, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %22, align 4
  br label %117

113:                                              ; preds = %98
  %114 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %21, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %117

117:                                              ; preds = %113, %109
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  br label %152

118:                                              ; preds = %108, %103
  invoke void @_ZN3uno19TrustRegionStrategy28decrease_radius_aggressivelyEv(ptr noundef nonnull align 8 dereferenceable(288) %33)
          to label %119 unwind label %65

119:                                              ; preds = %118
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6) %120)
          to label %121 unwind label %65

121:                                              ; preds = %119
  br label %222

122:                                              ; preds = %88
  %123 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %124 = getelementptr inbounds %"class.uno::Direction", ptr %123, i32 0, i32 5
  %125 = load i32, ptr %124, align 8, !tbaa !38
  %126 = icmp eq i32 %125, 3
  br i1 %126, label %127, label %175

127:                                              ; preds = %122
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  invoke void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288) %33, ptr noundef nonnull align 8 dereferenceable(144) %128, ptr noundef nonnull align 8 dereferenceable(208) %129)
          to label %130 unwind label %65

130:                                              ; preds = %127
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %132 unwind label %143

132:                                              ; preds = %130
  %133 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 0
  %134 = load i64, ptr %133, align 8
  %135 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %131, i64 %134, ptr %136, ptr noundef %27)
          to label %137 unwind label %147

137:                                              ; preds = %132
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  %138 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !9
  %139 = icmp eq i32 %138, 3
  br i1 %139, label %140, label %171

140:                                              ; preds = %137
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %141)
          to label %142 unwind label %65

142:                                              ; preds = %140
  br label %171

143:                                              ; preds = %130
  %144 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %21, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %22, align 4
  br label %151

147:                                              ; preds = %132
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %21, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %151

151:                                              ; preds = %147, %143
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %152

152:                                              ; preds = %151, %117, %65, %61
  %153 = load i32, ptr %22, align 4
  %154 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN3uno15EvaluationErrorE) #7
  %155 = icmp eq i32 %153, %154
  br i1 %155, label %156, label %259

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %157 = load ptr, ptr %21, align 8
  %158 = call ptr @__cxa_begin_catch(ptr %157) #7
  store ptr %158, ptr %29, align 8
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %160 unwind label %223

160:                                              ; preds = %156
  %161 = getelementptr inbounds { i64, ptr }, ptr %30, i32 0, i32 0
  %162 = load i64, ptr %161, align 8
  %163 = getelementptr inbounds { i64, ptr }, ptr %30, i32 0, i32 1
  %164 = load ptr, ptr %163, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %159, i64 %162, ptr %164, ptr noundef %31)
          to label %165 unwind label %227

165:                                              ; preds = %160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  %166 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !9
  %167 = icmp eq i32 %166, 3
  br i1 %167, label %168, label %236

168:                                              ; preds = %165
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %169)
          to label %170 unwind label %232

170:                                              ; preds = %168
  br label %236

171:                                              ; preds = %142, %137
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %33)
          to label %172 unwind label %65

172:                                              ; preds = %171
  %173 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6) %173)
          to label %174 unwind label %65

174:                                              ; preds = %172
  br label %221

175:                                              ; preds = %122
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  invoke void @_ZN3uno22GlobalizationMechanism22assemble_trial_iterateERKNS_5ModelERNS_7IterateES5_RKNS_9DirectionEdd(ptr noundef nonnull align 8 dereferenceable(64) %176, ptr noundef nonnull align 8 dereferenceable(532) %177, ptr noundef nonnull align 8 dereferenceable(532) %178, ptr noundef nonnull align 8 dereferenceable(208) %179, double noundef 1.000000e+00, double noundef 1.000000e+00)
          to label %180 unwind label %65

180:                                              ; preds = %175
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %183 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNK3uno19TrustRegionStrategy37reset_active_trust_region_multipliersERKNS_5ModelERKNS_9DirectionERNS_7IterateE(ptr noundef nonnull align 8 dereferenceable(288) %33, ptr noundef nonnull align 8 dereferenceable(64) %181, ptr noundef nonnull align 8 dereferenceable(208) %182, ptr noundef nonnull align 8 dereferenceable(532) %183)
          to label %184 unwind label %65

184:                                              ; preds = %180
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = load ptr, ptr %14, align 8, !tbaa !5
  %192 = invoke noundef zeroext i1 @_ZN3uno19TrustRegionStrategy21is_iterate_acceptableERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RKNS_9DirectionERNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288) %33, ptr noundef nonnull align 8 dereferenceable(144) %185, ptr noundef nonnull align 8 dereferenceable(64) %186, ptr noundef nonnull align 8 dereferenceable(532) %187, ptr noundef nonnull align 8 dereferenceable(532) %188, ptr noundef nonnull align 8 dereferenceable(208) %189, ptr noundef nonnull align 1 dereferenceable(6) %190, ptr noundef nonnull align 1 %191)
          to label %193 unwind label %65

193:                                              ; preds = %184
  %194 = zext i1 %192 to i8
  store i8 %194, ptr %19, align 1, !tbaa !14
  %195 = load i8, ptr %19, align 1, !tbaa !14, !range !16, !noundef !17
  %196 = trunc i8 %195 to i1
  br i1 %196, label %197, label %207

197:                                              ; preds = %193
  %198 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 1
  %199 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %198) #7
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  %202 = load ptr, ptr %199, align 8, !tbaa !36
  %203 = getelementptr inbounds ptr, ptr %202, i64 8
  %204 = load ptr, ptr %203, align 8
  invoke void %204(ptr noundef nonnull align 8 dereferenceable(81) %199, ptr noundef nonnull align 8 dereferenceable(144) %200, ptr noundef nonnull align 8 dereferenceable(532) %201)
          to label %205 unwind label %65

205:                                              ; preds = %197
  invoke void @_ZN3uno19TrustRegionStrategy12reset_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %33)
          to label %206 unwind label %65

206:                                              ; preds = %205
  store i8 1, ptr %18, align 1, !tbaa !14
  br label %214

207:                                              ; preds = %193
  %208 = getelementptr inbounds %"class.uno::GlobalizationMechanism", ptr %33, i32 0, i32 2
  %209 = getelementptr inbounds %"class.uno::Direction", ptr %208, i32 0, i32 6
  %210 = load double, ptr %209, align 8, !tbaa !39
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEd(ptr noundef nonnull align 8 dereferenceable(288) %33, double noundef %210)
          to label %211 unwind label %65

211:                                              ; preds = %207
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.uno::WarmstartInformation", ptr %212, i32 0, i32 3
  store i8 1, ptr %213, align 1, !tbaa !40
  br label %214

214:                                              ; preds = %211, %206
  %215 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !9
  %216 = icmp eq i32 %215, 3
  br i1 %216, label %217, label %220

217:                                              ; preds = %214
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %218)
          to label %219 unwind label %65

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219, %214
  br label %221

221:                                              ; preds = %220, %174
  br label %222

222:                                              ; preds = %221, %121
  br label %240

223:                                              ; preds = %156
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %21, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %22, align 4
  br label %231

227:                                              ; preds = %160
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %21, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  br label %231

231:                                              ; preds = %227, %223
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  br label %252

232:                                              ; preds = %237, %236, %168
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %21, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %22, align 4
  br label %252

236:                                              ; preds = %170, %165
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %33)
          to label %237 unwind label %232

237:                                              ; preds = %236
  %238 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6) %238)
          to label %239 unwind label %232

239:                                              ; preds = %237
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %240

240:                                              ; preds = %239, %222
  %241 = load i8, ptr %19, align 1, !tbaa !14, !range !16, !noundef !17
  %242 = trunc i8 %241 to i1
  br i1 %242, label %258, label %243

243:                                              ; preds = %240
  %244 = getelementptr inbounds %"class.uno::TrustRegionStrategy", ptr %33, i32 0, i32 1
  %245 = load double, ptr %244, align 8, !tbaa !18
  %246 = getelementptr inbounds %"class.uno::TrustRegionStrategy", ptr %33, i32 0, i32 6
  %247 = load double, ptr %246, align 8, !tbaa !42
  %248 = fcmp olt double %245, %247
  br i1 %248, label %249, label %258

249:                                              ; preds = %243
  %250 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %250, ptr noundef @.str.27)
          to label %251 unwind label %254

251:                                              ; preds = %249
  call void @__cxa_throw(ptr %250, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
  unreachable

252:                                              ; preds = %232, %231
  invoke void @__cxa_end_catch()
          to label %253 unwind label %266

253:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %259

254:                                              ; preds = %249
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %21, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %22, align 4
  call void @__cxa_free_exception(ptr %250) #7
  br label %259

258:                                              ; preds = %243, %240
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %38, !llvm.loop !43

259:                                              ; preds = %254, %253, %152
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %261

260:                                              ; preds = %38
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  ret void

261:                                              ; preds = %259
  %262 = load ptr, ptr %21, align 8
  %263 = load i32, ptr %22, align 4
  %264 = insertvalue { ptr, i32 } poison, ptr %262, 0
  %265 = insertvalue { ptr, i32 } %264, i32 %263, 1
  resume { ptr, i32 } %265

266:                                              ; preds = %252
  %267 = landingpad { ptr, i32 }
          catch ptr null
  %268 = extractvalue { ptr, i32 } %267, 0
  call void @__clang_call_terminate(ptr %268) #9
  unreachable
}

; 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)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA3_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3)) #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)) #2

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

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

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

declare void @_ZN3uno10Statistics14start_new_lineEv(ptr noundef nonnull align 8 dereferenceable(144)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(208)) #2 align 2

declare void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144), i64, ptr, ptr noundef) #3

declare void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno19TrustRegionStrategy28decrease_radius_aggressivelyEv(ptr noundef nonnull align 8 dereferenceable(288)) #2 align 2

declare void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno19TrustRegionStrategy15decrease_radiusEv(ptr noundef nonnull align 8 dereferenceable(288)) #2 align 2

declare void @_ZN3uno22GlobalizationMechanism22assemble_trial_iterateERKNS_5ModelERNS_7IterateES5_RKNS_9DirectionEdd(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(208), double noundef, double noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3uno19TrustRegionStrategy37reset_active_trust_region_multipliersERKNS_5ModelERKNS_9DirectionERNS_7IterateE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(532)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3uno19TrustRegionStrategy21is_iterate_acceptableERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RKNS_9DirectionERNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 1) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno19TrustRegionStrategy12reset_radiusEv(ptr noundef nonnull align 8 dereferenceable(288)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3uno19TrustRegionStrategy15decrease_radiusEd(ptr noundef nonnull align 8 dereferenceable(288), double noundef) #2 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind memory(none) }
attributes #5 = { noinline noreturn nounwind uwtable "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 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { 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 = !{!"_ZTSN3uno5LevelE", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !35, i64 224}
!19 = !{!"_ZTSN3uno19TrustRegionStrategyE", !20, i64 0, !35, i64 224, !35, i64 232, !35, i64 240, !35, i64 248, !35, i64 256, !35, i64 264, !35, i64 272, !35, i64 280}
!20 = !{!"_ZTSN3uno22GlobalizationMechanismE", !21, i64 8, !27, i64 16}
!21 = !{!"_ZTSSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJPN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EPN3uno28ConstraintRelaxationStrategyELb0EE", !6, i64 0}
!27 = !{!"_ZTSN3uno9DirectionE", !13, i64 0, !13, i64 8, !28, i64 16, !33, i64 40, !33, i64 112, !34, i64 184, !35, i64 192, !35, i64 200}
!28 = !{!"_ZTSN3uno6VectorIdEE", !29, i64 0}
!29 = !{!"_ZTSSt6vectorIdSaIdEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSN3uno11MultipliersE", !28, i64 0, !28, i64 24, !28, i64 48}
!34 = !{!"_ZTSN3uno16SubproblemStatusE", !7, i64 0}
!35 = !{!"double", !7, i64 0}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !8, i64 0}
!38 = !{!20, !34, i64 200}
!39 = !{!20, !35, i64 208}
!40 = !{!41, !15, i64 3}
!41 = !{!"_ZTSN3uno20WarmstartInformationE", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5}
!42 = !{!19, !35, i64 264}
!43 = distinct !{!43, !44}
!44 = !{!"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::basic_string_view" = type { i64, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.10" = type { i8 }

@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIN3uno15EvaluationErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.20 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZN3uno6Logger5levelE = external local_unnamed_addr global i32, align 4
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

; 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; 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 void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #1 align 2

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

declare void @_ZN3uno28ConstraintRelaxationStrategy23set_trust_region_radiusEd(ptr noundef nonnull align 8 dereferenceable(81), double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3uno19TrustRegionStrategy20compute_next_iterateERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(532) %3, ptr noundef nonnull align 8 dereferenceable(532) %4, ptr noundef nonnull align 1 dereferenceable(6) %5, ptr noundef nonnull align 1 %6) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.10", align 1
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.10", align 1
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.10", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 5, ptr %8, align 4, !tbaa !5
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA17_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(17) @.str.19)
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsINS_7IterateEEERKNS_5LevelES4_RT_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 8 dereferenceable(532) %3)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  store i8 10, ptr %9, 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) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store i64 0, ptr %10, align 8, !tbaa !10
  %24 = getelementptr inbounds i8, ptr %0, i64 224
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = getelementptr inbounds i8, ptr %0, i64 200
  %28 = getelementptr inbounds i8, ptr %15, i64 8
  %29 = getelementptr inbounds i8, ptr %12, i64 8
  %30 = getelementptr inbounds i8, ptr %0, i64 208
  %31 = getelementptr inbounds i8, ptr %5, i64 3
  %32 = getelementptr inbounds i8, ptr %18, i64 8
  %33 = getelementptr inbounds i8, ptr %0, i64 264
  br label %34

34:                                               ; preds = %7, %146
  %35 = load i64, ptr %10, align 8, !tbaa !10
  %36 = add i64 %35, 1
  store i64 %36, ptr %10, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 4, ptr %11, align 4, !tbaa !5
  %37 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA36_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(36) @.str.20)
          to label %38 unwind label %50

38:                                               ; preds = %34
  %39 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %40 unwind label %50

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA14_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 1 dereferenceable(14) @.str.21)
          to label %42 unwind label %50

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RT_(ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %44 unwind label %50

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA3_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 1 dereferenceable(3) @.str.22)
          to label %46 unwind label %50

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %47 = load i64, ptr %10, align 8, !tbaa !10
  %48 = icmp ugt i64 %47, 1
  br i1 %48, label %49, label %54

49:                                               ; preds = %46
  invoke void @_ZN3uno10Statistics14start_new_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
          to label %._crit_edge unwind label %52

._crit_edge:                                      ; preds = %49
  %.pre = load i64, ptr %10, align 8, !tbaa !10
  br label %54

50:                                               ; preds = %44, %42, %40, %38, %34
  %51 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %95

52:                                               ; preds = %.invoke, %125, %119, %118, %113, %110, %109, %108, %107, %89, %81, %80, %74, %66, %59, %56, %54, %49
  %.051 = phi i1 [ false, %80 ], [ false, %74 ], [ false, %66 ], [ false, %107 ], [ false, %89 ], [ false, %81 ], [ %111, %125 ], [ true, %118 ], [ true, %113 ], [ false, %119 ], [ false, %110 ], [ false, %109 ], [ false, %108 ], [ false, %59 ], [ false, %56 ], [ false, %54 ], [ false, %49 ], [ false, %.invoke ]
  %.1 = phi i1 [ false, %80 ], [ false, %74 ], [ false, %66 ], [ false, %107 ], [ false, %89 ], [ false, %81 ], [ %111, %125 ], [ false, %118 ], [ false, %113 ], [ false, %119 ], [ false, %110 ], [ false, %109 ], [ false, %108 ], [ false, %59 ], [ false, %56 ], [ false, %54 ], [ false, %49 ], [ false, %.invoke ]
  %53 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  br label %95

54:                                               ; preds = %._crit_edge, %46
  %55 = phi i64 [ %.pre, %._crit_edge ], [ %47, %46 ]
  invoke void @_ZNK3uno19TrustRegionStrategy27set_trust_region_statisticsERNS_10StatisticsEm(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, i64 noundef %55)
          to label %56 unwind label %52

56:                                               ; preds = %54
  %57 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %58 = load double, ptr %24, align 8, !tbaa !12
  invoke void @_ZN3uno28ConstraintRelaxationStrategy23set_trust_region_radiusEd(ptr noundef nonnull align 8 dereferenceable(81) %57, double noundef %58)
          to label %59 unwind label %52

59:                                               ; preds = %56
  %60 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %61 = load ptr, ptr %60, align 8, !tbaa !31
  %62 = getelementptr inbounds i8, ptr %61, i64 24
  %63 = load ptr, ptr %62, align 8
  invoke void %63(ptr noundef nonnull align 8 dereferenceable(81) %60, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(532) %3, ptr noundef nonnull align 8 dereferenceable(208) %26, ptr noundef nonnull align 1 dereferenceable(6) %5)
          to label %64 unwind label %52

64:                                               ; preds = %59
  %65 = load i32, ptr %27, align 8, !tbaa !33
  switch i32 %65, label %108 [
    i32 1, label %66
    i32 3, label %81
  ]

66:                                               ; preds = %64
  invoke void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(208) %26)
          to label %67 unwind label %52

67:                                               ; preds = %66
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %68 unwind label %75

68:                                               ; preds = %67
  %69 = load i64, ptr %12, align 8
  %70 = load ptr, ptr %29, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %1, i64 %69, ptr %70, ptr noundef nonnull %13)
          to label %71 unwind label %77

71:                                               ; preds = %68
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  %72 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 3
  br i1 %73, label %74, label %80

74:                                               ; preds = %71
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
          to label %80 unwind label %52

75:                                               ; preds = %67
  %76 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  br label %79

77:                                               ; preds = %68
  %78 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %79

79:                                               ; preds = %77, %75
  %.pn56 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %95

80:                                               ; preds = %74, %71
  invoke void @_ZN3uno19TrustRegionStrategy28decrease_radius_aggressivelyEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
          to label %.invoke unwind label %52

81:                                               ; preds = %64
  invoke void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(208) %26)
          to label %82 unwind label %52

82:                                               ; preds = %81
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %83 unwind label %90

83:                                               ; preds = %82
  %84 = load i64, ptr %15, align 8
  %85 = load ptr, ptr %28, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %1, i64 %84, ptr %85, ptr noundef nonnull %16)
          to label %86 unwind label %92

86:                                               ; preds = %83
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  %87 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !5
  %88 = icmp eq i32 %87, 3
  br i1 %88, label %89, label %107

89:                                               ; preds = %86
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
          to label %107 unwind label %52

90:                                               ; preds = %82
  %91 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  br label %94

92:                                               ; preds = %83
  %93 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN3uno15EvaluationErrorE
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %94

94:                                               ; preds = %92, %90
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  br label %95

95:                                               ; preds = %94, %79, %52, %50
  %.152 = phi i1 [ %.051, %52 ], [ false, %79 ], [ false, %94 ], [ false, %50 ]
  %.pn58 = phi { ptr, i32 } [ %53, %52 ], [ %.pn56, %79 ], [ %.pn, %94 ], [ %51, %50 ]
  %.2 = phi i1 [ %.1, %52 ], [ false, %79 ], [ false, %94 ], [ false, %50 ]
  %.242 = extractvalue { ptr, i32 } %.pn58, 1
  %96 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN3uno15EvaluationErrorE) #7
  %97 = icmp eq i32 %.242, %96
  br i1 %97, label %98, label %.loopexit

98:                                               ; preds = %95
  %.247 = extractvalue { ptr, i32 } %.pn58, 0
  %99 = call ptr @__cxa_begin_catch(ptr %.247) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %100 unwind label %126

100:                                              ; preds = %98
  %101 = load i64, ptr %18, align 8
  %102 = load ptr, ptr %32, align 8
  invoke void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %1, i64 %101, ptr %102, ptr noundef nonnull %19)
          to label %103 unwind label %128

103:                                              ; preds = %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  %104 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !5
  %105 = icmp eq i32 %104, 3
  br i1 %105, label %106, label %133

106:                                              ; preds = %103
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
          to label %133 unwind label %131

107:                                              ; preds = %89, %86
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
          to label %.invoke unwind label %52

.invoke:                                          ; preds = %107, %80
  invoke void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6) %5)
          to label %.thread unwind label %52

108:                                              ; preds = %64
  invoke void @_ZN3uno22GlobalizationMechanism22assemble_trial_iterateERKNS_5ModelERNS_7IterateES5_RKNS_9DirectionEdd(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(532) %3, ptr noundef nonnull align 8 dereferenceable(532) %4, ptr noundef nonnull align 8 dereferenceable(208) %26, double noundef 1.000000e+00, double noundef 1.000000e+00)
          to label %109 unwind label %52

109:                                              ; preds = %108
  invoke void @_ZNK3uno19TrustRegionStrategy37reset_active_trust_region_multipliersERKNS_5ModelERKNS_9DirectionERNS_7IterateE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(208) %26, ptr noundef nonnull align 8 dereferenceable(532) %4)
          to label %110 unwind label %52

110:                                              ; preds = %109
  %111 = invoke noundef zeroext i1 @_ZN3uno19TrustRegionStrategy21is_iterate_acceptableERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RKNS_9DirectionERNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(532) %3, ptr noundef nonnull align 8 dereferenceable(532) %4, ptr noundef nonnull align 8 dereferenceable(208) %26, ptr noundef nonnull align 1 dereferenceable(6) %5, ptr noundef nonnull align 1 %6)
          to label %112 unwind label %52

112:                                              ; preds = %110
  br i1 %111, label %113, label %119

113:                                              ; preds = %112
  %114 = call noundef ptr @_ZNKSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %115 = load ptr, ptr %114, align 8, !tbaa !31
  %116 = getelementptr inbounds i8, ptr %115, i64 64
  %117 = load ptr, ptr %116, align 8
  invoke void %117(ptr noundef nonnull align 8 dereferenceable(81) %114, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(532) %4)
          to label %118 unwind label %52

118:                                              ; preds = %113
  invoke void @_ZN3uno19TrustRegionStrategy12reset_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
          to label %122 unwind label %52

119:                                              ; preds = %112
  %120 = load double, ptr %30, align 8, !tbaa !34
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEd(ptr noundef nonnull align 8 dereferenceable(288) %0, double noundef %120)
          to label %121 unwind label %52

121:                                              ; preds = %119
  store i8 1, ptr %31, align 1, !tbaa !35
  br label %122

122:                                              ; preds = %118, %121
  %123 = load i32, ptr @_ZN3uno6Logger5levelE, align 4, !tbaa !5
  %124 = icmp eq i32 %123, 3
  br i1 %124, label %125, label %136

125:                                              ; preds = %122
  invoke void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
          to label %136 unwind label %52

126:                                              ; preds = %98
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %130

128:                                              ; preds = %100
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %130

130:                                              ; preds = %128, %126
  %.pn60 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  br label %143

131:                                              ; preds = %134, %133, %106
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %143

133:                                              ; preds = %106, %103
  invoke void @_ZN3uno19TrustRegionStrategy15decrease_radiusEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
          to label %134 unwind label %131

134:                                              ; preds = %133
  invoke void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6) %5)
          to label %135 unwind label %131

135:                                              ; preds = %134
  call void @__cxa_end_catch()
  br i1 %.152, label %146, label %.thread

136:                                              ; preds = %122, %125
  br i1 %111, label %.thread75, label %.thread

.thread:                                          ; preds = %.invoke, %135, %136
  %.466 = phi i1 [ false, %136 ], [ %.2, %135 ], [ false, %.invoke ]
  %137 = load double, ptr %24, align 8, !tbaa !12
  %138 = load double, ptr %33, align 8, !tbaa !38
  %139 = fcmp olt double %137, %138
  br i1 %139, label %140, label %146

140:                                              ; preds = %.thread
  %141 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %141, ptr noundef nonnull @.str.27)
          to label %142 unwind label %144

142:                                              ; preds = %140
  call void @__cxa_throw(ptr nonnull %141, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
  unreachable

143:                                              ; preds = %131, %130
  %.pn62 = phi { ptr, i32 } [ %132, %131 ], [ %.pn60, %130 ]
  invoke void @__cxa_end_catch()
          to label %.loopexit unwind label %147

144:                                              ; preds = %140
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %141) #7
  br label %.loopexit

146:                                              ; preds = %135, %.thread
  %.467 = phi i1 [ %.466, %.thread ], [ %.2, %135 ]
  br i1 %.467, label %.thread75, label %34, !llvm.loop !39

.loopexit:                                        ; preds = %95, %143, %144
  %.merged = phi { ptr, i32 } [ %145, %144 ], [ %.pn62, %143 ], [ %.pn58, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  resume { ptr, i32 } %.merged

.thread75:                                        ; preds = %136, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  ret void

147:                                              ; preds = %143
  %148 = landingpad { ptr, i32 }
          catch ptr null
  %149 = extractvalue { ptr, i32 } %148, 0
  call void @__clang_call_terminate(ptr %149) #9
  unreachable
}

; 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_7IterateEEERKNS_5LevelES4_RT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(532)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA3_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3)) 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 @_ZN3unolsIA14_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsImEERKNS_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 @_ZN3unolsIA36_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(36)) local_unnamed_addr #2

declare void @_ZN3uno10Statistics14start_new_lineEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3uno19TrustRegionStrategy27set_trust_region_statisticsERNS_10StatisticsEm(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(144), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3uno19TrustRegionStrategy14set_statisticsERNS_10StatisticsERKNS_9DirectionE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #2 align 2

declare void @_ZN3uno10Statistics3setESt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS3_SaIcEEE(ptr noundef nonnull align 8 dereferenceable(144), i64, ptr, ptr noundef) local_unnamed_addr #3

declare void @_ZN3uno10Statistics18print_current_lineEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

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

declare void @_ZN3uno20WarmstartInformation21whole_problem_changedEv(ptr noundef nonnull align 1 dereferenceable(6)) local_unnamed_addr #3

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

declare void @_ZN3uno22GlobalizationMechanism22assemble_trial_iterateERKNS_5ModelERNS_7IterateES5_RKNS_9DirectionEdd(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(208), double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3uno19TrustRegionStrategy37reset_active_trust_region_multipliersERKNS_5ModelERKNS_9DirectionERNS_7IterateE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(532)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3uno19TrustRegionStrategy21is_iterate_acceptableERNS_10StatisticsERKNS_5ModelERNS_7IterateES7_RKNS_9DirectionERNS_20WarmstartInformationERNS_13UserCallbacksE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(532), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 1) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { "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 = { nofree nosync nounwind memory(none) }
attributes #5 = { noinline noreturn nounwind uwtable "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 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { 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 = !{!"_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 = !{!"long", !7, i64 0}
!12 = !{!13, !30, i64 224}
!13 = !{!"_ZTSN3uno19TrustRegionStrategyE", !14, i64 0, !30, i64 224, !30, i64 232, !30, i64 240, !30, i64 248, !30, i64 256, !30, i64 264, !30, i64 272, !30, i64 280}
!14 = !{!"_ZTSN3uno22GlobalizationMechanismE", !15, i64 8, !22, i64 16}
!15 = !{!"_ZTSSt10unique_ptrIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_ELb1ELb1EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_implIN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt5tupleIJPN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno28ConstraintRelaxationStrategyESt14default_deleteIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_Head_baseILm0EPN3uno28ConstraintRelaxationStrategyELb0EE", !21, i64 0}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!"_ZTSN3uno9DirectionE", !11, i64 0, !11, i64 8, !23, i64 16, !28, i64 40, !28, i64 112, !29, i64 184, !30, i64 192, !30, i64 200}
!23 = !{!"_ZTSN3uno6VectorIdEE", !24, i64 0}
!24 = !{!"_ZTSSt6vectorIdSaIdEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!28 = !{!"_ZTSN3uno11MultipliersE", !23, i64 0, !23, i64 24, !23, i64 48}
!29 = !{!"_ZTSN3uno16SubproblemStatusE", !7, i64 0}
!30 = !{!"double", !7, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!14, !29, i64 200}
!34 = !{!14, !30, i64 208}
!35 = !{!36, !37, i64 3}
!36 = !{!"_ZTSN3uno20WarmstartInformationE", !37, i64 0, !37, i64 1, !37, i64 2, !37, i64 3, !37, i64 4, !37, i64 5}
!37 = !{!"bool", !7, i64 0}
!38 = !{!13, !30, i64 264}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}


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