; LLVM IR from cvanaret/Uno :: uno/ingredients/constraint_relaxation_strategies (l1Relaxation)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.uno::l1Relaxation" = type { %"class.uno::ConstraintRelaxationStrategy.base", double, double, i8, %"class.std::unique_ptr.10", %"class.std::unique_ptr.10", double, %"struct.uno::l1RelaxationParameters", double, %"class.uno::Multipliers" }
%"class.uno::ConstraintRelaxationStrategy.base" = type <{ ptr, %"class.std::unique_ptr", %"class.std::unique_ptr.2", i32, i32, double, double, double, i64, i64, double, i8 }>
%"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.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%"struct.uno::l1RelaxationParameters" = type { i8, double, double, double, double }
%"class.uno::Multipliers" = type { %"class.uno::Vector", %"class.uno::Vector", %"class.uno::Vector" }
%"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::Iterate" = type <{ i64, i64, %"class.uno::Vector", %"class.uno::Multipliers", %"class.uno::Multipliers", double, %"struct.uno::Evaluations", i8, i8, i8, i8, [4 x i8], double, %"class.uno::DualResiduals", %"class.uno::DualResiduals", %"struct.uno::ProgressMeasures", i32, [4 x i8] }>
%"struct.uno::Evaluations" = type { double, %"class.std::vector", %"class.uno::SparseVector", %"class.uno::RectangularMatrix" }
%"class.uno::SparseVector" = type { %"class.std::vector.46", %"class.std::vector", i64 }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.uno::RectangularMatrix" = type { %"class.std::vector.51" }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<uno::SparseVector<double>, std::allocator<uno::SparseVector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<uno::SparseVector<double>, std::allocator<uno::SparseVector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<uno::SparseVector<double>, std::allocator<uno::SparseVector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<uno::SparseVector<double>, std::allocator<uno::SparseVector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.uno::DualResiduals" = type { double, double, double, double, %"class.uno::LagrangianGradient" }
%"class.uno::LagrangianGradient" = type { %"class.uno::Vector", %"class.uno::Vector" }
%"struct.uno::ProgressMeasures" = type { double, %"class.std::function", double }
%"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 } }

@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3uno12l1Relaxation39linearized_residual_sufficient_decreaseERKNS_7IterateEdd(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(532) %1, double noundef %2, double noundef %3) #1 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store double %2, ptr %8, align 8, !tbaa !9
  store double %3, ptr %9, align 8, !tbaa !9
  %13 = load ptr, ptr %6, align 8
  %14 = load double, ptr %9, align 8, !tbaa !9
  %15 = getelementptr inbounds %"class.uno::l1Relaxation", ptr %13, i32 0, i32 7
  %16 = getelementptr inbounds %"struct.uno::l1RelaxationParameters", ptr %15, i32 0, i32 4
  %17 = load double, ptr %16, align 8, !tbaa !11
  %18 = fcmp ole double %14, %17
  br i1 %18, label %19, label %25

19:                                               ; preds = %4
  %20 = load double, ptr %8, align 8, !tbaa !9
  %21 = getelementptr inbounds %"class.uno::l1Relaxation", ptr %13, i32 0, i32 7
  %22 = getelementptr inbounds %"struct.uno::l1RelaxationParameters", ptr %21, i32 0, i32 4
  %23 = load double, ptr %22, align 8, !tbaa !11
  %24 = fcmp ole double %20, %23
  store i1 %24, ptr %5, align 1
  br label %52

25:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.uno::Iterate", ptr %26, i32 0, i32 15
  %28 = getelementptr inbounds %"struct.uno::ProgressMeasures", ptr %27, i32 0, i32 0
  %29 = load double, ptr %28, align 8, !tbaa !42
  %30 = load double, ptr %8, align 8, !tbaa !9
  %31 = fsub double %29, %30
  store double %31, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.uno::Iterate", ptr %32, i32 0, i32 15
  %34 = getelementptr inbounds %"struct.uno::ProgressMeasures", ptr %33, i32 0, i32 0
  %35 = load double, ptr %34, align 8, !tbaa !42
  %36 = load double, ptr %9, align 8, !tbaa !9
  %37 = fsub double %35, %36
  store double %37, ptr %11, align 8, !tbaa !9
  %38 = load double, ptr %11, align 8, !tbaa !9
  %39 = fcmp olt double %38, 0.000000e+00
  br i1 %39, label %40, label %44

40:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  store i32 2, ptr %12, align 4, !tbaa !61
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA40_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(40) @.str.32)
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 1 dereferenceable(50) @.str.33)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  br label %44

44:                                               ; preds = %40, %25
  %45 = load double, ptr %10, align 8, !tbaa !9
  %46 = getelementptr inbounds %"class.uno::l1Relaxation", ptr %13, i32 0, i32 7
  %47 = getelementptr inbounds %"struct.uno::l1RelaxationParameters", ptr %46, i32 0, i32 2
  %48 = load double, ptr %47, align 8, !tbaa !63
  %49 = load double, ptr %11, align 8, !tbaa !9
  %50 = fmul double %48, %49
  %51 = fcmp oge double %45, %50
  store i1 %51, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %52

52:                                               ; preds = %44, %19
  %53 = load i1, ptr %5, align 1
  ret i1 %53
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 168}
!12 = !{!"_ZTSN3uno12l1RelaxationE", !13, i64 0, !10, i64 88, !10, i64 96, !28, i64 104, !29, i64 112, !29, i64 120, !10, i64 128, !35, i64 136, !10, i64 176, !36, i64 184}
!13 = !{!"_ZTSN3uno28ConstraintRelaxationStrategyE", !14, i64 8, !20, i64 16, !26, i64 24, !26, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !27, i64 56, !27, i64 64, !10, i64 72, !28, i64 80}
!14 = !{!"_ZTSSt10unique_ptrIN3uno21GlobalizationStrategyESt14default_deleteIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno21GlobalizationStrategyESt14default_deleteIS1_ELb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_implIN3uno21GlobalizationStrategyESt14default_deleteIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt5tupleIJPN3uno21GlobalizationStrategyESt14default_deleteIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno21GlobalizationStrategyESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_Head_baseILm0EPN3uno21GlobalizationStrategyELb0EE", !6, i64 0}
!20 = !{!"_ZTSSt10unique_ptrIN3uno24InequalityHandlingMethodESt14default_deleteIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno24InequalityHandlingMethodESt14default_deleteIS1_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIN3uno24InequalityHandlingMethodESt14default_deleteIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPN3uno24InequalityHandlingMethodESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno24InequalityHandlingMethodESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPN3uno24InequalityHandlingMethodELb0EE", !6, i64 0}
!26 = !{!"_ZTSN3uno4NormE", !7, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"_ZTSSt10unique_ptrIN3uno12HessianModelESt14default_deleteIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno12HessianModelESt14default_deleteIS1_ELb1ELb1EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_implIN3uno12HessianModelESt14default_deleteIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt5tupleIJPN3uno12HessianModelESt14default_deleteIS1_EEE", !33, i64 0}
!33 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno12HessianModelESt14default_deleteIS1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt10_Head_baseILm0EPN3uno12HessianModelELb0EE", !6, i64 0}
!35 = !{!"_ZTSN3uno22l1RelaxationParametersE", !28, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!36 = !{!"_ZTSN3uno11MultipliersE", !37, i64 0, !37, i64 24, !37, i64 48}
!37 = !{!"_ZTSN3uno6VectorIdEE", !38, i64 0}
!38 = !{!"_ZTSSt6vectorIdSaIdEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!43, !10, i64 480}
!43 = !{!"_ZTSN3uno7IterateE", !27, i64 0, !27, i64 8, !37, i64 16, !36, i64 40, !36, i64 112, !10, i64 184, !44, i64 192, !28, i64 304, !28, i64 305, !28, i64 306, !28, i64 307, !10, i64 312, !55, i64 320, !55, i64 400, !57, i64 480, !60, i64 528}
!44 = !{!"_ZTSN3uno11EvaluationsE", !10, i64 0, !38, i64 8, !45, i64 32, !50, i64 88}
!45 = !{!"_ZTSN3uno12SparseVectorIdEE", !46, i64 0, !38, i64 24, !27, i64 48}
!46 = !{!"_ZTSSt6vectorImSaImEE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseImSaImEE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN3uno17RectangularMatrixIdEE", !51, i64 0}
!51 = !{!"_ZTSSt6vectorIN3uno12SparseVectorIdEESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSN3uno13DualResidualsE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !56, i64 32}
!56 = !{!"_ZTSN3uno18LagrangianGradientIdEE", !37, i64 0, !37, i64 24}
!57 = !{!"_ZTSN3uno16ProgressMeasuresE", !10, i64 0, !58, i64 8, !10, i64 40}
!58 = !{!"_ZTSSt8functionIFddEE", !59, i64 0, !6, i64 24}
!59 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!60 = !{!"_ZTSN3uno13IterateStatusE", !7, i64 0}
!61 = !{!62, !62, i64 0}
!62 = !{!"_ZTSN3uno5LevelE", !7, i64 0}
!63 = !{!12, !10, i64 152}


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

@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef 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 #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3uno12l1Relaxation39linearized_residual_sufficient_decreaseERKNS_7IterateEdd(ptr nocapture noundef nonnull readonly align 8 dereferenceable(256) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(532) %1, double noundef %2, double noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = getelementptr inbounds i8, ptr %0, i64 168
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = fcmp ult double %8, %3
  br i1 %9, label %12, label %10

10:                                               ; preds = %4
  %11 = fcmp oge double %8, %2
  br label %28

12:                                               ; preds = %4
  %13 = getelementptr inbounds i8, ptr %1, i64 480
  %14 = load double, ptr %13, align 8, !tbaa !40
  %15 = fsub double %14, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
  %16 = fsub double %14, %3
  store double %16, ptr %5, align 8, !tbaa !59
  %17 = fcmp olt double %16, 0.000000e+00
  br i1 %17, label %18, label %22

18:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #2
  store i32 2, ptr %6, align 4, !tbaa !60
  %19 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA40_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(40) @.str.32)
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIdEERKNS_5LevelES3_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3unolsIA50_cEERKNS_5LevelES4_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(50) @.str.33)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #2
  %.pre = load double, ptr %5, align 8, !tbaa !59
  br label %22

22:                                               ; preds = %18, %12
  %23 = phi double [ %.pre, %18 ], [ %16, %12 ]
  %24 = getelementptr inbounds i8, ptr %0, i64 152
  %25 = load double, ptr %24, align 8, !tbaa !62
  %26 = fmul double %25, %23
  %27 = fcmp oge double %15, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
  br label %28

28:                                               ; preds = %22, %10
  %.0 = phi i1 [ %11, %10 ], [ %27, %22 ]
  ret i1 %.0
}

; 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 #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !24, i64 168}
!6 = !{!"_ZTSN3uno12l1RelaxationE", !7, i64 0, !24, i64 88, !24, i64 96, !26, i64 104, !27, i64 112, !27, i64 120, !24, i64 128, !33, i64 136, !24, i64 176, !34, i64 184}
!7 = !{!"_ZTSN3uno28ConstraintRelaxationStrategyE", !8, i64 8, !17, i64 16, !23, i64 24, !23, i64 28, !24, i64 32, !24, i64 40, !24, i64 48, !25, i64 56, !25, i64 64, !24, i64 72, !26, i64 80}
!8 = !{!"_ZTSSt10unique_ptrIN3uno21GlobalizationStrategyESt14default_deleteIS1_EE", !9, i64 0}
!9 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno21GlobalizationStrategyESt14default_deleteIS1_ELb1ELb1EE", !10, i64 0}
!10 = !{!"_ZTSSt15__uniq_ptr_implIN3uno21GlobalizationStrategyESt14default_deleteIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt5tupleIJPN3uno21GlobalizationStrategyESt14default_deleteIS1_EEE", !12, i64 0}
!12 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno21GlobalizationStrategyESt14default_deleteIS1_EEE", !13, i64 0}
!13 = !{!"_ZTSSt10_Head_baseILm0EPN3uno21GlobalizationStrategyELb0EE", !14, i64 0}
!14 = !{!"any pointer", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"_ZTSSt10unique_ptrIN3uno24InequalityHandlingMethodESt14default_deleteIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno24InequalityHandlingMethodESt14default_deleteIS1_ELb1ELb1EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_implIN3uno24InequalityHandlingMethodESt14default_deleteIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt5tupleIJPN3uno24InequalityHandlingMethodESt14default_deleteIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno24InequalityHandlingMethodESt14default_deleteIS1_EEE", !22, i64 0}
!22 = !{!"_ZTSSt10_Head_baseILm0EPN3uno24InequalityHandlingMethodELb0EE", !14, i64 0}
!23 = !{!"_ZTSN3uno4NormE", !15, i64 0}
!24 = !{!"double", !15, i64 0}
!25 = !{!"long", !15, i64 0}
!26 = !{!"bool", !15, i64 0}
!27 = !{!"_ZTSSt10unique_ptrIN3uno12HessianModelESt14default_deleteIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_dataIN3uno12HessianModelESt14default_deleteIS1_ELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_implIN3uno12HessianModelESt14default_deleteIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt5tupleIJPN3uno12HessianModelESt14default_deleteIS1_EEE", !31, i64 0}
!31 = !{!"_ZTSSt11_Tuple_implILm0EJPN3uno12HessianModelESt14default_deleteIS1_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_Head_baseILm0EPN3uno12HessianModelELb0EE", !14, i64 0}
!33 = !{!"_ZTSN3uno22l1RelaxationParametersE", !26, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !24, i64 32}
!34 = !{!"_ZTSN3uno11MultipliersE", !35, i64 0, !35, i64 24, !35, i64 48}
!35 = !{!"_ZTSN3uno6VectorIdEE", !36, i64 0}
!36 = !{!"_ZTSSt6vectorIdSaIdEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!40 = !{!41, !24, i64 480}
!41 = !{!"_ZTSN3uno7IterateE", !25, i64 0, !25, i64 8, !35, i64 16, !34, i64 40, !34, i64 112, !24, i64 184, !42, i64 192, !26, i64 304, !26, i64 305, !26, i64 306, !26, i64 307, !24, i64 312, !53, i64 320, !53, i64 400, !55, i64 480, !58, i64 528}
!42 = !{!"_ZTSN3uno11EvaluationsE", !24, i64 0, !36, i64 8, !43, i64 32, !48, i64 88}
!43 = !{!"_ZTSN3uno12SparseVectorIdEE", !44, i64 0, !36, i64 24, !25, i64 48}
!44 = !{!"_ZTSSt6vectorImSaImEE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseImSaImEE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!48 = !{!"_ZTSN3uno17RectangularMatrixIdEE", !49, i64 0}
!49 = !{!"_ZTSSt6vectorIN3uno12SparseVectorIdEESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN3uno12SparseVectorIdEESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!53 = !{!"_ZTSN3uno13DualResidualsE", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !54, i64 32}
!54 = !{!"_ZTSN3uno18LagrangianGradientIdEE", !35, i64 0, !35, i64 24}
!55 = !{!"_ZTSN3uno16ProgressMeasuresE", !24, i64 0, !56, i64 8, !24, i64 40}
!56 = !{!"_ZTSSt8functionIFddEE", !57, i64 0, !14, i64 24}
!57 = !{!"_ZTSSt14_Function_base", !15, i64 0, !14, i64 16}
!58 = !{!"_ZTSN3uno13IterateStatusE", !15, i64 0}
!59 = !{!24, !24, i64 0}
!60 = !{!61, !61, i64 0}
!61 = !{!"_ZTSN3uno5LevelE", !15, i64 0}
!62 = !{!6, !24, i64 152}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass