; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx/maxvolume.ll (ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE)

; 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::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.22 = type { ptr, 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.anon.23 = type { ptr, ptr, ptr }
%"class.ipx::Maxvolume" = type { ptr, i32, i32, i32, i32, double, double, i32, double, double }
%"struct.ipx::Maxvolume::Slice" = type { %"class.std::valarray", %"class.std::valarray", %"class.std::vector.18", %"class.std::valarray", %"class.ipx::IndexedVector", %"class.ipx::IndexedVector", %"class.std::valarray" }
%"class.std::vector.18" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.ipx::IndexedVector" = type <{ %"class.std::valarray", %"class.std::vector.4", i32, [4 x i8] }>
%"class.std::valarray" = type { i64, ptr }

@.str.12 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE = external hidden unnamed_addr constant [45 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [21 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx5Basis5modelEv(ptr noundef nonnull align 8 dereferenceable(176)) #2

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) #2

declare void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44)) #2

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

declare noundef i32 @_ZN3ipx5Basis16ExchangeIfStableEiidiPb(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef) #2

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

; Function Attrs: nounwind
declare double @log2(double noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(200) %2) #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca %"class.std::vector.4", align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.std::vector.4", align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca %class.anon.22, align 8
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca i8, align 1
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca %class.anon.23, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx5Basis5modelEv(ptr noundef nonnull align 8 dereferenceable(176) %48)
  store ptr %49, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %50)
  store i32 %51, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %52)
  store i32 %53, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model2AIEv(ptr noundef nonnull align 8 dereferenceable(704) %54)
  store ptr %55, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %56 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !11
  %58 = call noundef double @_ZNK3ipx7Control10volume_tolEv(ptr noundef nonnull align 8 dereferenceable(1496) %57)
  store double %58, ptr %13, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store double 1.000000e+00, ptr %14, align 8, !tbaa !14
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %60 = load double, ptr %59, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  store double %60, ptr %12, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %61 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = call noundef i32 @_ZNK3ipx7Control15maxskip_updatesEv(ptr noundef nonnull align 8 dereferenceable(1496) %62)
  store i32 %63, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %64, i32 0, i32 0
  store ptr %65, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %66, i32 0, i32 1
  store ptr %67, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %68, i32 0, i32 2
  store ptr %69, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %70, i32 0, i32 3
  store ptr %71, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %72, i32 0, i32 4
  store ptr %73, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %74, i32 0, i32 5
  store ptr %75, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.ipx::Maxvolume::Slice", ptr %76, i32 0, i32 6
  store ptr %77, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %101, %3
  %79 = load i32, ptr %23, align 4, !tbaa !9
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %104

83:                                               ; preds = %78
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = load i32, ptr %23, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = call noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %84, i64 noundef %86)
  br i1 %87, label %88, label %94

88:                                               ; preds = %83
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = load i32, ptr %23, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %89, i64 noundef %91) #8
  %93 = load double, ptr %92, align 8, !tbaa !14
  br label %95

94:                                               ; preds = %83
  br label %95

95:                                               ; preds = %94, %88
  %96 = phi double [ %93, %88 ], [ 0.000000e+00, %94 ]
  %97 = load ptr, ptr %22, align 8, !tbaa !5
  %98 = load i32, ptr %23, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %97, i64 noundef %99) #8
  store double %96, ptr %100, align 8, !tbaa !14
  br label %101

101:                                              ; preds = %95
  %102 = load i32, ptr %23, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %23, align 4, !tbaa !9
  br label %78, !llvm.loop !15

104:                                              ; preds = %82
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = load ptr, ptr %22, align 8, !tbaa !5
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK3ipx5Basis10SolveDenseERKSt8valarrayIdERS2_c(ptr noundef nonnull align 8 dereferenceable(176) %105, ptr noundef nonnull align 8 dereferenceable(16) %106, ptr noundef nonnull align 8 dereferenceable(16) %107, i8 noundef signext 84)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %152, %104
  %109 = load i32, ptr %24, align 4, !tbaa !9
  %110 = load i32, ptr %9, align 4, !tbaa !9
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = add nsw i32 %110, %111
  %113 = icmp slt i32 %109, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %155

115:                                              ; preds = %108
  %116 = load ptr, ptr %16, align 8, !tbaa !5
  %117 = load i32, ptr %24, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %116, i64 noundef %118) #8
  %120 = load double, ptr %119, align 8, !tbaa !14
  %121 = fcmp une double %120, 0.000000e+00
  br i1 %121, label %122, label %146

122:                                              ; preds = %115
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = load i32, ptr %24, align 4, !tbaa !9
  %125 = call noundef i32 @_ZNK3ipx5Basis8StatusOfEi(ptr noundef nonnull align 8 dereferenceable(176) %123, i32 noundef %124)
  %126 = icmp eq i32 %125, -1
  br i1 %126, label %127, label %128

127:                                              ; preds = %122
  br label %130

128:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.12, i32 noundef 224, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

129:                                              ; No predecessors!
  br label %130

130:                                              ; preds = %129, %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = load i32, ptr %24, align 4, !tbaa !9
  %133 = load ptr, ptr %22, align 8, !tbaa !5
  %134 = call noundef double @_ZN3ipx9DotColumnERKNS_12SparseMatrixEiRKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(128) %131, i32 noundef %132, ptr noundef nonnull align 8 dereferenceable(16) %133)
  store double %134, ptr %25, align 8, !tbaa !14
  %135 = load double, ptr %25, align 8, !tbaa !14
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  %137 = load i32, ptr %24, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %136, i64 noundef %138) #8
  %140 = load double, ptr %139, align 8, !tbaa !14
  %141 = fmul double %135, %140
  %142 = load ptr, ptr %19, align 8, !tbaa !5
  %143 = load i32, ptr %24, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %142, i64 noundef %144) #8
  store double %141, ptr %145, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %151

146:                                              ; preds = %115
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = load i32, ptr %24, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %147, i64 noundef %149) #8
  store double 0.000000e+00, ptr %150, align 8, !tbaa !14
  br label %151

151:                                              ; preds = %146, %130
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %24, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %24, align 4, !tbaa !9
  br label %108, !llvm.loop !17

155:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %501, %499, %155
  br label %157

157:                                              ; preds = %156
  %158 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br i1 %158, label %159, label %173

159:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #8
  %160 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN3ipxL11FindLargestERKSt8valarrayIdE(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %160)
          to label %161 unwind label %167

161:                                              ; preds = %159
  %162 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  %163 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  %164 = xor i1 %163, true
  br i1 %164, label %165, label %166

165:                                              ; preds = %161
  br label %172

166:                                              ; preds = %161
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.12, i32 noundef 238, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

167:                                              ; preds = %159
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %29, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  br label %522

171:                                              ; No predecessors!
  br label %172

172:                                              ; preds = %171, %165
  br label %173

173:                                              ; preds = %172, %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  %175 = load i32, ptr %174, align 4, !tbaa !9
  store i32 %175, ptr %31, align 4, !tbaa !9
  %176 = load i32, ptr %31, align 4, !tbaa !9
  %177 = icmp sge i32 %176, 0
  br i1 %177, label %178, label %184

178:                                              ; preds = %173
  %179 = load i32, ptr %31, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  %181 = load i32, ptr %8, align 4, !tbaa !9
  %182 = add nsw i32 %180, %181
  %183 = icmp slt i32 %179, %182
  br label %184

184:                                              ; preds = %178, %173
  %185 = phi i1 [ false, %173 ], [ %183, %178 ]
  br i1 %185, label %186, label %187

186:                                              ; preds = %184
  br label %189

187:                                              ; preds = %184
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.12, i32 noundef 241, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

188:                                              ; No predecessors!
  br label %189

189:                                              ; preds = %188, %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %190 = load ptr, ptr %19, align 8, !tbaa !5
  %191 = load i32, ptr %31, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %190, i64 noundef %192) #8
  %194 = load double, ptr %193, align 8, !tbaa !14
  store double %194, ptr %32, align 8, !tbaa !14
  %195 = load double, ptr %32, align 8, !tbaa !14
  %196 = fcmp oeq double %195, 0.000000e+00
  br i1 %196, label %197, label %198

197:                                              ; preds = %189
  store i32 9, ptr %33, align 4
  br label %499

198:                                              ; preds = %189
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load i32, ptr %31, align 4, !tbaa !9
  %201 = invoke noundef i32 @_ZNK3ipx5Basis8StatusOfEi(ptr noundef nonnull align 8 dereferenceable(176) %199, i32 noundef %200)
          to label %202 unwind label %206

202:                                              ; preds = %198
  %203 = icmp eq i32 %201, -1
  br i1 %203, label %204, label %205

204:                                              ; preds = %202
  br label %211

205:                                              ; preds = %202
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.12, i32 noundef 245, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

206:                                              ; preds = %228, %221, %198
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %29, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %30, align 4
  br label %515

210:                                              ; No predecessors!
  br label %211

211:                                              ; preds = %210, %204
  %212 = load ptr, ptr %16, align 8, !tbaa !5
  %213 = load i32, ptr %31, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %212, i64 noundef %214) #8
  %216 = load double, ptr %215, align 8, !tbaa !14
  %217 = fcmp ogt double %216, 0.000000e+00
  br i1 %217, label %218, label %219

218:                                              ; preds = %211
  br label %221

219:                                              ; preds = %211
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.12, i32 noundef 246, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

220:                                              ; No predecessors!
  br label %221

221:                                              ; preds = %220, %218
  %222 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 0
  %223 = load ptr, ptr %222, align 8, !tbaa !11
  %224 = invoke noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496) %223, i32 noundef -1)
          to label %225 unwind label %206

225:                                              ; preds = %221
  store i32 %224, ptr %11, align 4, !tbaa !9
  %226 = icmp ne i32 %224, 0
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  store i32 9, ptr %33, align 4
  br label %499

228:                                              ; preds = %225
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  %230 = load i32, ptr %31, align 4, !tbaa !9
  %231 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176) %229, i32 noundef %230, ptr noundef nonnull align 8 dereferenceable(44) %231)
          to label %232 unwind label %206

232:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %233 = load ptr, ptr %16, align 8, !tbaa !5
  %234 = load i32, ptr %31, align 4, !tbaa !9
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %233, i64 noundef %235) #8
  %237 = load double, ptr %236, align 8, !tbaa !14
  %238 = load ptr, ptr %17, align 8, !tbaa !5
  %239 = load ptr, ptr %20, align 8, !tbaa !5
  %240 = invoke noundef i32 @_ZN3ipx9Maxvolume10ScaleFtranEdRKSt8valarrayIdERNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(64) %47, double noundef %237, ptr noundef nonnull align 8 dereferenceable(16) %238, ptr noundef nonnull align 8 dereferenceable(44) %239)
          to label %241 unwind label %270

241:                                              ; preds = %232
  store i32 %240, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = load i32, ptr %34, align 4, !tbaa !9
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %242, i32 noundef %243)
          to label %245 unwind label %274

245:                                              ; preds = %241
  %246 = load double, ptr %244, align 8, !tbaa !14
  store double %246, ptr %35, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %247 = load double, ptr %35, align 8, !tbaa !14
  %248 = invoke noundef double @_ZSt3absd(double noundef %247)
          to label %249 unwind label %278

249:                                              ; preds = %245
  store double %248, ptr %36, align 8, !tbaa !14
  %250 = load double, ptr %36, align 8, !tbaa !14
  %251 = load double, ptr %12, align 8, !tbaa !14
  %252 = fcmp ole double %250, %251
  br i1 %252, label %253, label %283

253:                                              ; preds = %249
  %254 = load ptr, ptr %19, align 8, !tbaa !5
  %255 = load i32, ptr %31, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %254, i64 noundef %256) #8
  store double 0.000000e+00, ptr %257, align 8, !tbaa !14
  %258 = load ptr, ptr %16, align 8, !tbaa !5
  %259 = load i32, ptr %31, align 4, !tbaa !9
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %258, i64 noundef %260) #8
  store double 0.000000e+00, ptr %261, align 8, !tbaa !14
  call void @_ZNSt6vectorIiSaIiEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  %262 = load i32, ptr %27, align 4, !tbaa !9
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %27, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = icmp sgt i32 %263, %264
  br i1 %265, label %266, label %282

266:                                              ; preds = %253
  %267 = load i32, ptr %15, align 4, !tbaa !9
  %268 = icmp sge i32 %267, 0
  br i1 %268, label %269, label %282

269:                                              ; preds = %266
  store i32 9, ptr %33, align 4
  br label %498

270:                                              ; preds = %232
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %29, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %30, align 4
  br label %514

274:                                              ; preds = %241
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %29, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %30, align 4
  br label %513

278:                                              ; preds = %245
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %29, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %30, align 4
  br label %512

282:                                              ; preds = %266, %253
  store i32 8, ptr %33, align 4
  br label %498, !llvm.loop !18

283:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  store double 0.000000e+00, ptr %37, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #8
  %284 = getelementptr inbounds %class.anon.22, ptr %38, i32 0, i32 0
  %285 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %285, ptr %284, align 8, !tbaa !5
  %286 = getelementptr inbounds %class.anon.22, ptr %38, i32 0, i32 1
  store ptr %37, ptr %286, align 8, !tbaa !5
  %287 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_0EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44) %287, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %288 unwind label %294

288:                                              ; preds = %283
  %289 = load double, ptr %37, align 8, !tbaa !14
  %290 = invoke noundef zeroext i1 @_ZSt8isfinited(double noundef %289)
          to label %291 unwind label %294

291:                                              ; preds = %288
  br i1 %290, label %292, label %293

292:                                              ; preds = %291
  br label %299

293:                                              ; preds = %291
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.12, i32 noundef 274, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

294:                                              ; preds = %288, %283
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %29, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %30, align 4
  br label %511

298:                                              ; No predecessors!
  br label %299

299:                                              ; preds = %298, %292
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = load i32, ptr %34, align 4, !tbaa !9
  %302 = invoke noundef i32 @_ZNK3ipx5BasisixEi(ptr noundef nonnull align 8 dereferenceable(176) %300, i32 noundef %301)
          to label %303 unwind label %333

303:                                              ; preds = %299
  store i32 %302, ptr %39, align 4, !tbaa !9
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = load i32, ptr %39, align 4, !tbaa !9
  %306 = load ptr, ptr %20, align 8, !tbaa !5
  %307 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176) %304, i32 noundef %305, ptr noundef nonnull align 8 dereferenceable(44) %306, ptr noundef nonnull align 8 dereferenceable(44) %307, i1 noundef zeroext true)
          to label %308 unwind label %333

308:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %309 = load ptr, ptr %21, align 8, !tbaa !5
  %310 = load i32, ptr %31, align 4, !tbaa !9
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %309, i32 noundef %310)
          to label %312 unwind label %337

312:                                              ; preds = %308
  %313 = load double, ptr %311, align 8, !tbaa !14
  store double %313, ptr %40, align 8, !tbaa !14
  %314 = load double, ptr %40, align 8, !tbaa !14
  %315 = invoke noundef double @_ZSt3absd(double noundef %314)
          to label %316 unwind label %337

316:                                              ; preds = %312
  %317 = fcmp olt double %315, 1.000000e-03
  br i1 %317, label %318, label %350

318:                                              ; preds = %316
  %319 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 0
  %320 = load ptr, ptr %319, align 8, !tbaa !11
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %320, i32 noundef 3)
          to label %322 unwind label %337

322:                                              ; preds = %318
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef @.str.20)
          to label %324 unwind label %337

324:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  %325 = load double, ptr %40, align 8, !tbaa !14
  %326 = invoke noundef double @_ZSt3absd(double noundef %325)
          to label %327 unwind label %341

327:                                              ; preds = %324
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, double noundef %326)
          to label %328 unwind label %341

328:                                              ; preds = %327
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %330 unwind label %345

330:                                              ; preds = %328
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef @.str.21)
          to label %332 unwind label %345

332:                                              ; preds = %330
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br label %350

333:                                              ; preds = %303, %299
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %29, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %30, align 4
  br label %510

337:                                              ; preds = %322, %318, %312, %308
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %29, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %30, align 4
  br label %509

341:                                              ; preds = %327, %324
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %29, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %30, align 4
  br label %349

345:                                              ; preds = %330, %328
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %29, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %30, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  br label %349

349:                                              ; preds = %345, %341
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br label %509

350:                                              ; preds = %332, %316
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #8
  %351 = load ptr, ptr %5, align 8, !tbaa !5
  %352 = load i32, ptr %39, align 4, !tbaa !9
  %353 = load i32, ptr %31, align 4, !tbaa !9
  %354 = load double, ptr %40, align 8, !tbaa !14
  %355 = invoke noundef i32 @_ZN3ipx5Basis16ExchangeIfStableEiidiPb(ptr noundef nonnull align 8 dereferenceable(176) %351, i32 noundef %352, i32 noundef %353, double noundef %354, i32 noundef 0, ptr noundef %42)
          to label %356 unwind label %360

356:                                              ; preds = %350
  store i32 %355, ptr %11, align 4, !tbaa !9
  %357 = load i32, ptr %11, align 4, !tbaa !9
  %358 = icmp ne i32 %357, 0
  br i1 %358, label %359, label %364

359:                                              ; preds = %356
  store i32 9, ptr %33, align 4
  br label %497

360:                                              ; preds = %350
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %29, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %30, align 4
  br label %508

364:                                              ; preds = %356
  %365 = load i8, ptr %42, align 1, !tbaa !19, !range !21, !noundef !22
  %366 = trunc i8 %365 to i1
  br i1 %366, label %368, label %367

367:                                              ; preds = %364
  store i32 8, ptr %33, align 4
  br label %497, !llvm.loop !18

368:                                              ; preds = %364
  %369 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 1
  %370 = load i32, ptr %369, align 8, !tbaa !23
  %371 = add nsw i32 %370, 1
  store i32 %371, ptr %369, align 8, !tbaa !23
  %372 = load double, ptr %36, align 8, !tbaa !14
  %373 = call double @log2(double noundef %372) #8
  %374 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 5
  %375 = load double, ptr %374, align 8, !tbaa !24
  %376 = fadd double %375, %373
  store double %376, ptr %374, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %377 = load ptr, ptr %16, align 8, !tbaa !5
  %378 = load i32, ptr %31, align 4, !tbaa !9
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %377, i64 noundef %379) #8
  %381 = load double, ptr %380, align 8, !tbaa !14
  store double %381, ptr %43, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %382 = load ptr, ptr %17, align 8, !tbaa !5
  %383 = load i32, ptr %34, align 4, !tbaa !9
  %384 = sext i32 %383 to i64
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %382, i64 noundef %384) #8
  %386 = load double, ptr %385, align 8, !tbaa !14
  store double %386, ptr %44, align 8, !tbaa !14
  %387 = load ptr, ptr %16, align 8, !tbaa !5
  %388 = load i32, ptr %39, align 4, !tbaa !9
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %387, i64 noundef %389) #8
  %391 = load double, ptr %390, align 8, !tbaa !14
  %392 = fcmp oeq double %391, 0.000000e+00
  br i1 %392, label %393, label %394

393:                                              ; preds = %368
  br label %396

394:                                              ; preds = %368
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.12, i32 noundef 297, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

395:                                              ; No predecessors!
  br label %396

396:                                              ; preds = %395, %393
  %397 = load ptr, ptr %17, align 8, !tbaa !5
  %398 = load i32, ptr %34, align 4, !tbaa !9
  %399 = sext i32 %398 to i64
  %400 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %397, i64 noundef %399) #8
  %401 = load double, ptr %400, align 8, !tbaa !14
  %402 = fdiv double 1.000000e+00, %401
  %403 = load ptr, ptr %16, align 8, !tbaa !5
  %404 = load i32, ptr %39, align 4, !tbaa !9
  %405 = sext i32 %404 to i64
  %406 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %403, i64 noundef %405) #8
  store double %402, ptr %406, align 8, !tbaa !14
  %407 = load ptr, ptr %16, align 8, !tbaa !5
  %408 = load i32, ptr %31, align 4, !tbaa !9
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %407, i64 noundef %409) #8
  %411 = load double, ptr %410, align 8, !tbaa !14
  %412 = fdiv double 1.000000e+00, %411
  %413 = load ptr, ptr %17, align 8, !tbaa !5
  %414 = load i32, ptr %34, align 4, !tbaa !9
  %415 = sext i32 %414 to i64
  %416 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %413, i64 noundef %415) #8
  store double %412, ptr %416, align 8, !tbaa !14
  %417 = load ptr, ptr %16, align 8, !tbaa !5
  %418 = load i32, ptr %31, align 4, !tbaa !9
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %417, i64 noundef %419) #8
  store double 0.000000e+00, ptr %420, align 8, !tbaa !14
  %421 = load ptr, ptr %16, align 8, !tbaa !5
  %422 = load i32, ptr %39, align 4, !tbaa !9
  %423 = sext i32 %422 to i64
  %424 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %421, i64 noundef %423) #8
  %425 = load double, ptr %424, align 8, !tbaa !14
  %426 = invoke noundef zeroext i1 @_ZSt8isfinited(double noundef %425)
          to label %427 unwind label %430

427:                                              ; preds = %396
  br i1 %426, label %428, label %429

428:                                              ; preds = %427
  br label %435

429:                                              ; preds = %427
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.12, i32 noundef 301, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

430:                                              ; preds = %435, %396
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %29, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %30, align 4
  br label %507

434:                                              ; No predecessors!
  br label %435

435:                                              ; preds = %434, %428
  %436 = load ptr, ptr %17, align 8, !tbaa !5
  %437 = load i32, ptr %34, align 4, !tbaa !9
  %438 = sext i32 %437 to i64
  %439 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %436, i64 noundef %438) #8
  %440 = load double, ptr %439, align 8, !tbaa !14
  %441 = invoke noundef zeroext i1 @_ZSt8isfinited(double noundef %440)
          to label %442 unwind label %430

442:                                              ; preds = %435
  br i1 %441, label %443, label %444

443:                                              ; preds = %442
  br label %446

444:                                              ; preds = %442
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.12, i32 noundef 302, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

445:                                              ; No predecessors!
  br label %446

446:                                              ; preds = %445, %443
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %447 = load ptr, ptr %18, align 8, !tbaa !5
  %448 = load i32, ptr %34, align 4, !tbaa !9
  %449 = sext i32 %448 to i64
  %450 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %447, i64 noundef %449)
          to label %451 unwind label %465

451:                                              ; preds = %446
  %452 = zext i1 %450 to i32
  %453 = sitofp i32 %452 to double
  %454 = load double, ptr %37, align 8, !tbaa !14
  %455 = fsub double %453, %454
  %456 = load double, ptr %43, align 8, !tbaa !14
  %457 = load double, ptr %40, align 8, !tbaa !14
  %458 = fmul double %456, %457
  %459 = fdiv double %455, %458
  store double %459, ptr %45, align 8, !tbaa !14
  %460 = load double, ptr %45, align 8, !tbaa !14
  %461 = invoke noundef zeroext i1 @_ZSt8isfinited(double noundef %460)
          to label %462 unwind label %465

462:                                              ; preds = %451
  br i1 %461, label %463, label %464

463:                                              ; preds = %462
  br label %470

464:                                              ; preds = %462
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.12, i32 noundef 306, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

465:                                              ; preds = %451, %446
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %29, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %30, align 4
  br label %506

469:                                              ; No predecessors!
  br label %470

470:                                              ; preds = %469, %463
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #8
  %471 = getelementptr inbounds %class.anon.23, ptr %46, i32 0, i32 0
  %472 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %472, ptr %471, align 8, !tbaa !5
  %473 = getelementptr inbounds %class.anon.23, ptr %46, i32 0, i32 1
  store ptr %45, ptr %473, align 8, !tbaa !5
  %474 = getelementptr inbounds %class.anon.23, ptr %46, i32 0, i32 2
  %475 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %475, ptr %474, align 8, !tbaa !5
  %476 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_1EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44) %476, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %477 unwind label %502

477:                                              ; preds = %470
  %478 = load ptr, ptr %18, align 8, !tbaa !5
  %479 = load i32, ptr %34, align 4, !tbaa !9
  %480 = sext i32 %479 to i64
  %481 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %478, i64 noundef %480)
          to label %482 unwind label %502

482:                                              ; preds = %477
  %483 = zext i1 %481 to i32
  %484 = sitofp i32 %483 to double
  %485 = load double, ptr %45, align 8, !tbaa !14
  %486 = load double, ptr %44, align 8, !tbaa !14
  %487 = fdiv double %485, %486
  %488 = fadd double %484, %487
  %489 = load ptr, ptr %19, align 8, !tbaa !5
  %490 = load i32, ptr %39, align 4, !tbaa !9
  %491 = sext i32 %490 to i64
  %492 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %489, i64 noundef %491) #8
  store double %488, ptr %492, align 8, !tbaa !14
  %493 = load ptr, ptr %19, align 8, !tbaa !5
  %494 = load i32, ptr %31, align 4, !tbaa !9
  %495 = sext i32 %494 to i64
  %496 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %493, i64 noundef %495) #8
  store double 0.000000e+00, ptr %496, align 8, !tbaa !14
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  store i32 0, ptr %33, align 4
  br label %497

497:                                              ; preds = %482, %367, %359
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %498

498:                                              ; preds = %497, %282, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %499

499:                                              ; preds = %498, %227, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  %500 = load i32, ptr %33, align 4
  switch i32 %500, label %528 [
    i32 0, label %501
    i32 9, label %516
    i32 8, label %156
  ]

501:                                              ; preds = %499
  br label %156, !llvm.loop !18

502:                                              ; preds = %477, %470
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %29, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #8
  br label %506

506:                                              ; preds = %502, %465
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %507

507:                                              ; preds = %506, %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %508

508:                                              ; preds = %507, %360
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  br label %509

509:                                              ; preds = %508, %349, %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %510

510:                                              ; preds = %509, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %511

511:                                              ; preds = %510, %294
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %512

512:                                              ; preds = %511, %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %513

513:                                              ; preds = %512, %274
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %514

514:                                              ; preds = %513, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %515

515:                                              ; preds = %514, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %522

516:                                              ; preds = %499
  %517 = load i32, ptr %27, align 4, !tbaa !9
  %518 = getelementptr inbounds %"class.ipx::Maxvolume", ptr %47, i32 0, i32 2
  %519 = load i32, ptr %518, align 4, !tbaa !25
  %520 = add nsw i32 %519, %517
  store i32 %520, ptr %518, align 4, !tbaa !25
  %521 = load i32, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret i32 %521

522:                                              ; preds = %515, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %523

523:                                              ; preds = %522
  %524 = load ptr, ptr %29, align 8
  %525 = load i32, ptr %30, align 4
  %526 = insertvalue { ptr, i32 } poison, ptr %524, 0
  %527 = insertvalue { ptr, i32 } %526, i32 %525, 1
  resume { ptr, i32 } %527

528:                                              ; preds = %499
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #6 align 2

declare void @_ZNK3ipx5Basis10SolveDenseERKSt8valarrayIdERS2_c(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3ipx9DotColumnERKNS_12SparseMatrixEiRKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3ipxL11FindLargestERKSt8valarrayIdE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.4") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3ipx9Maxvolume10ScaleFtranEdRKSt8valarrayIdERNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(64), double noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(44)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_0EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(16)) #6

declare void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(44), i1 noundef zeroext) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #7

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) #7

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_1EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(24)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN3ipx9MaxvolumeE", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !13, i64 48, !13, i64 56}
!13 = !{!"double", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!12, !10, i64 8}
!24 = !{!12, !13, i64 24}
!25 = !{!12, !10, i64 12}


; 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::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.22 = type { ptr, 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.anon.23 = type { ptr, ptr, ptr }

@.str.12 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE = external hidden unnamed_addr constant [45 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [21 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx5Basis5modelEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #2

declare void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #2

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

declare noundef i32 @_ZN3ipx5Basis16ExchangeIfStableEiidiPb(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log2(double noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(200) %2) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca %"class.std::vector.4", align 8
  %7 = alloca %"class.std::vector.4", align 8
  %8 = alloca double, align 8
  %9 = alloca %class.anon.22, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i8, align 1
  %12 = alloca double, align 8
  %13 = alloca %class.anon.23, align 8
  %14 = tail call noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx5Basis5modelEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  %15 = tail call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %14)
  %16 = tail call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %14)
  %17 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model2AIEv(ptr noundef nonnull align 8 dereferenceable(704) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = tail call noundef double @_ZNK3ipx7Control10volume_tolEv(ptr noundef nonnull align 8 dereferenceable(1496) %18)
  store double %19, ptr %4, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  store double 1.000000e+00, ptr %5, align 8, !tbaa !12
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %21 = load double, ptr %20, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %22 = load ptr, ptr %0, align 8, !tbaa !5
  %23 = call noundef i32 @_ZNK3ipx7Control15maxskip_updatesEv(ptr noundef nonnull align 8 dereferenceable(1496) %22)
  %24 = getelementptr inbounds i8, ptr %2, i64 16
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = getelementptr inbounds i8, ptr %2, i64 72
  %27 = getelementptr inbounds i8, ptr %2, i64 88
  %28 = getelementptr inbounds i8, ptr %2, i64 136
  %29 = getelementptr inbounds i8, ptr %2, i64 184
  %30 = icmp sgt i32 %15, 0
  br i1 %30, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = zext nneg i32 %15 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %37, %3
  call void @_ZNK3ipx5Basis10SolveDenseERKSt8valarrayIdERS2_c(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %29, i8 noundef signext 84)
  %31 = add nsw i32 %16, %15
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph180.preheader, label %._crit_edge181

.lr.ph180.preheader:                              ; preds = %._crit_edge
  %wide.trip.count186 = zext nneg i32 %31 to i64
  br label %.lr.ph180

.lr.ph:                                           ; preds = %.lr.ph.preheader, %37
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %37 ]
  %33 = call noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %25, i64 noundef %indvars.iv)
  br i1 %33, label %34, label %37

34:                                               ; preds = %.lr.ph
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %indvars.iv) #8
  %36 = load double, ptr %35, align 8, !tbaa !12
  br label %37

37:                                               ; preds = %.lr.ph, %34
  %38 = phi double [ %36, %34 ], [ 0.000000e+00, %.lr.ph ]
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %29, i64 noundef %indvars.iv) #8
  store double %38, ptr %39, align 8, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge181:                                   ; preds = %59, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %40 = icmp sgt i32 %23, -1
  %41 = getelementptr inbounds i8, ptr %9, i64 8
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  %43 = getelementptr inbounds i8, ptr %0, i64 24
  %44 = getelementptr inbounds i8, ptr %13, i64 8
  %45 = getelementptr inbounds i8, ptr %13, i64 16
  br label %61

.lr.ph180:                                        ; preds = %.lr.ph180.preheader, %59
  %indvars.iv183 = phi i64 [ 0, %.lr.ph180.preheader ], [ %indvars.iv.next184, %59 ]
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %indvars.iv183) #8
  %47 = load double, ptr %46, align 8, !tbaa !12
  %48 = fcmp une double %47, 0.000000e+00
  br i1 %48, label %49, label %59

49:                                               ; preds = %.lr.ph180
  %50 = trunc nuw nsw i64 %indvars.iv183 to i32
  %51 = call noundef i32 @_ZNK3ipx5Basis8StatusOfEi(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %50)
  %52 = icmp eq i32 %51, -1
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.12, i32 noundef 224, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

54:                                               ; preds = %49
  %55 = call noundef double @_ZN3ipx9DotColumnERKNS_12SparseMatrixEiRKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(128) %17, i32 noundef %50, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %indvars.iv183) #8
  %57 = load double, ptr %56, align 8, !tbaa !12
  %58 = fmul double %55, %57
  br label %59

59:                                               ; preds = %.lr.ph180, %54
  %.sink = phi double [ %58, %54 ], [ 0.000000e+00, %.lr.ph180 ]
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %indvars.iv183) #8
  store double %.sink, ptr %60, align 8, !tbaa !12
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %exitcond187.not = icmp eq i64 %indvars.iv.next184, %wide.trip.count186
  br i1 %exitcond187.not, label %._crit_edge181, label %.lr.ph180, !llvm.loop !15

61:                                               ; preds = %213, %._crit_edge181
  %.0132 = phi i32 [ 0, %._crit_edge181 ], [ %.2134, %213 ]
  %.0 = phi i32 [ 0, %._crit_edge181 ], [ %.2, %213 ]
  %62 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br i1 %62, label %63, label %70

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  invoke void @_ZN3ipxL11FindLargestERKSt8valarrayIdE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %64 unwind label %68

64:                                               ; preds = %63
  %65 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  %66 = call noundef zeroext i1 @_ZNKSt6vectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br i1 %66, label %67, label %70

67:                                               ; preds = %64
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.12, i32 noundef 238, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

68:                                               ; preds = %63
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %222

70:                                               ; preds = %64, %61
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %72 = load i32, ptr %71, align 4, !tbaa !16
  %73 = icmp sgt i32 %72, -1
  %74 = icmp slt i32 %72, %31
  %or.cond168 = and i1 %73, %74
  br i1 %or.cond168, label %75, label %.critedge

.critedge:                                        ; preds = %70
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.12, i32 noundef 241, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

75:                                               ; preds = %70
  %76 = zext nneg i32 %72 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %76) #8
  %78 = load double, ptr %77, align 8, !tbaa !12
  %79 = fcmp oeq double %78, 0.000000e+00
  br i1 %79, label %.thread, label %80

80:                                               ; preds = %75
  %81 = call noundef i32 @_ZNK3ipx5Basis8StatusOfEi(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %72)
  %82 = icmp eq i32 %81, -1
  br i1 %82, label %86, label %83

83:                                               ; preds = %80
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.12, i32 noundef 245, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

84:                                               ; preds = %95, %91
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %222

86:                                               ; preds = %80
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  %88 = load double, ptr %87, align 8, !tbaa !12
  %89 = fcmp ogt double %88, 0.000000e+00
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.12, i32 noundef 246, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

91:                                               ; preds = %86
  %92 = load ptr, ptr %0, align 8, !tbaa !5
  %93 = invoke noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496) %92, i32 noundef -1)
          to label %94 unwind label %84

94:                                               ; preds = %91
  %.not = icmp eq i32 %93, 0
  br i1 %.not, label %95, label %.thread

95:                                               ; preds = %94
  invoke void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %72, ptr noundef nonnull align 8 dereferenceable(44) %27)
          to label %96 unwind label %84

96:                                               ; preds = %95
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  %98 = load double, ptr %97, align 8, !tbaa !12
  %99 = invoke noundef i32 @_ZN3ipx9Maxvolume10ScaleFtranEdRKSt8valarrayIdERNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(64) %0, double noundef %98, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(44) %27)
          to label %100 unwind label %110

100:                                              ; preds = %96
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %27, i32 noundef %99)
  %102 = load double, ptr %101, align 8, !tbaa !12
  %103 = call noundef double @_ZSt3absd(double noundef %102)
  %104 = fcmp ugt double %103, %21
  br i1 %104, label %112, label %105

105:                                              ; preds = %100
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %76) #8
  store double 0.000000e+00, ptr %106, align 8, !tbaa !12
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  store double 0.000000e+00, ptr %107, align 8, !tbaa !12
  call void @_ZNSt6vectorIiSaIiEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %108 = add nsw i32 %.0132, 1
  %109 = icmp sge i32 %.0132, %23
  %or.cond = and i1 %40, %109
  br i1 %or.cond, label %.thread, label %213

110:                                              ; preds = %96
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %222

112:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store double 0.000000e+00, ptr %8, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  store ptr %25, ptr %9, align 8, !tbaa !17
  store ptr %8, ptr %41, align 8, !tbaa !17
  invoke void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_0EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44) %27, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %113 unwind label %117

113:                                              ; preds = %112
  %114 = load double, ptr %8, align 8, !tbaa !12
  %115 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %114)
  br i1 %115, label %119, label %116

116:                                              ; preds = %113
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.12, i32 noundef 274, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

117:                                              ; preds = %112
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %218

119:                                              ; preds = %113
  %120 = call noundef i32 @_ZNK3ipx5BasisixEi(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %99)
  invoke void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %120, ptr noundef nonnull align 8 dereferenceable(44) %27, ptr noundef nonnull align 8 dereferenceable(44) %28, i1 noundef zeroext true)
          to label %121 unwind label %138

121:                                              ; preds = %119
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %28, i32 noundef %72)
  %123 = load double, ptr %122, align 8, !tbaa !12
  %124 = call noundef double @_ZSt3absd(double noundef %123)
  %125 = fcmp olt double %124, 1.000000e-03
  br i1 %125, label %126, label %147

126:                                              ; preds = %121
  %127 = load ptr, ptr %0, align 8, !tbaa !5
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %127, i32 noundef 3)
          to label %129 unwind label %140

129:                                              ; preds = %126
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @.str.20)
          to label %131 unwind label %140

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  %132 = call noundef double @_ZSt3absd(double noundef %123)
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, double noundef %132)
          to label %133 unwind label %142

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %135 unwind label %144

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull @.str.21)
          to label %137 unwind label %144

137:                                              ; preds = %135
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %147

138:                                              ; preds = %119
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %218

140:                                              ; preds = %129, %126
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %218

142:                                              ; preds = %131
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %135, %133
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %146

146:                                              ; preds = %144, %142
  %.pn = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %218

147:                                              ; preds = %137, %121
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  %148 = invoke noundef i32 @_ZN3ipx5Basis16ExchangeIfStableEiidiPb(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %120, i32 noundef %72, double noundef %123, i32 noundef 0, ptr noundef nonnull %11)
          to label %149 unwind label %150

149:                                              ; preds = %147
  %.not158 = icmp eq i32 %148, 0
  br i1 %.not158, label %152, label %212

150:                                              ; preds = %147
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %217

152:                                              ; preds = %149
  %153 = load i8, ptr %11, align 1, !tbaa !18, !range !20, !noundef !21
  %154 = trunc nuw i8 %153 to i1
  br i1 %154, label %155, label %212, !llvm.loop !22

155:                                              ; preds = %152
  %156 = load i32, ptr %42, align 8, !tbaa !23
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %42, align 8, !tbaa !23
  %158 = call double @log2(double noundef %103) #8
  %159 = load double, ptr %43, align 8, !tbaa !24
  %160 = fadd double %158, %159
  store double %160, ptr %43, align 8, !tbaa !24
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  %162 = load double, ptr %161, align 8, !tbaa !12
  %163 = sext i32 %99 to i64
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %163) #8
  %165 = load double, ptr %164, align 8, !tbaa !12
  %166 = sext i32 %120 to i64
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %166) #8
  %168 = load double, ptr %167, align 8, !tbaa !12
  %169 = fcmp oeq double %168, 0.000000e+00
  br i1 %169, label %171, label %170

170:                                              ; preds = %155
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.12, i32 noundef 297, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

171:                                              ; preds = %155
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %163) #8
  %173 = load double, ptr %172, align 8, !tbaa !12
  %174 = fdiv double 1.000000e+00, %173
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %166) #8
  store double %174, ptr %175, align 8, !tbaa !12
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  %177 = load double, ptr %176, align 8, !tbaa !12
  %178 = fdiv double 1.000000e+00, %177
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %163) #8
  store double %178, ptr %179, align 8, !tbaa !12
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %76) #8
  store double 0.000000e+00, ptr %180, align 8, !tbaa !12
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %166) #8
  %182 = load double, ptr %181, align 8, !tbaa !12
  %183 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %182)
  br i1 %183, label %185, label %184

184:                                              ; preds = %171
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.12, i32 noundef 301, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

185:                                              ; preds = %171
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef %163) #8
  %187 = load double, ptr %186, align 8, !tbaa !12
  %188 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %187)
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.12, i32 noundef 302, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %191 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %25, i64 noundef %163)
          to label %192 unwind label %200

192:                                              ; preds = %190
  %193 = uitofp i1 %191 to double
  %194 = load double, ptr %8, align 8, !tbaa !12
  %195 = fsub double %193, %194
  %196 = fmul double %123, %162
  %197 = fdiv double %195, %196
  store double %197, ptr %12, align 8, !tbaa !12
  %198 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %197)
  br i1 %198, label %202, label %199

199:                                              ; preds = %192
  call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.12, i32 noundef 306, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx9Maxvolume6DriverERNS_5BasisERNS0_5SliceE) #9
  unreachable

200:                                              ; preds = %190
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %216

202:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  store ptr %26, ptr %13, align 8, !tbaa !17
  store ptr %12, ptr %44, align 8, !tbaa !17
  store ptr %2, ptr %45, align 8, !tbaa !17
  invoke void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_1EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44) %28, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %203 unwind label %214

203:                                              ; preds = %202
  %204 = invoke noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %25, i64 noundef %163)
          to label %205 unwind label %214

205:                                              ; preds = %203
  %206 = uitofp i1 %204 to double
  %207 = load double, ptr %12, align 8, !tbaa !12
  %208 = fdiv double %207, %165
  %209 = fadd double %208, %206
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %166) #8
  store double %209, ptr %210, align 8, !tbaa !12
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef %76) #8
  store double 0.000000e+00, ptr %211, align 8, !tbaa !12
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %212

212:                                              ; preds = %152, %149, %205
  %.0147 = phi i32 [ 0, %205 ], [ 9, %149 ], [ 8, %152 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %213

213:                                              ; preds = %105, %212
  %.2149 = phi i32 [ %.0147, %212 ], [ 8, %105 ]
  %.2134 = phi i32 [ %.0132, %212 ], [ %108, %105 ]
  %.2 = phi i32 [ %148, %212 ], [ 0, %105 ]
  %switch = icmp eq i32 %.2149, 9
  br i1 %switch, label %.thread, label %61

214:                                              ; preds = %203, %202
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %216

216:                                              ; preds = %214, %200
  %.pn159 = phi { ptr, i32 } [ %215, %214 ], [ %201, %200 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %217

217:                                              ; preds = %216, %150
  %.pn159.pn = phi { ptr, i32 } [ %.pn159, %216 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %218

218:                                              ; preds = %138, %217, %146, %140, %117
  %.pn159.pn.pn.pn.pn = phi { ptr, i32 } [ %118, %117 ], [ %139, %138 ], [ %.pn159.pn, %217 ], [ %.pn, %146 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %222

.thread:                                          ; preds = %105, %94, %75, %213
  %.2175 = phi i32 [ %.2, %213 ], [ %93, %94 ], [ %.0, %75 ], [ 0, %105 ]
  %.2134174 = phi i32 [ %.2134, %213 ], [ %.0132, %94 ], [ %.0132, %75 ], [ %108, %105 ]
  %219 = getelementptr inbounds i8, ptr %0, i64 12
  %220 = load i32, ptr %219, align 4, !tbaa !25
  %221 = add nsw i32 %220, %.2134174
  store i32 %221, ptr %219, align 4, !tbaa !25
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  ret i32 %.2175

222:                                              ; preds = %84, %218, %110, %68
  %.pn159.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %69, %68 ], [ %85, %84 ], [ %.pn159.pn.pn.pn.pn, %218 ], [ %111, %110 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  resume { ptr, i32 } %.pn159.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #6 align 2

declare void @_ZNK3ipx5Basis10SolveDenseERKSt8valarrayIdERS2_c(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3ipx9DotColumnERKNS_12SparseMatrixEiRKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3ipxL11FindLargestERKSt8valarrayIdE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.4") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3ipx9Maxvolume10ScaleFtranEdRKSt8valarrayIdERNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(64), double noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_0EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

declare void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(44), i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3ipx16for_each_nonzeroIZNS_9Maxvolume6DriverERNS_5BasisERNS1_5SliceEE3$_1EEvRNS_13IndexedVectorERT_"(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
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, !7, i64 0}
!6 = !{!"_ZTSN3ipx9MaxvolumeE", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !11, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!10, !10, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !8, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !14}
!23 = !{!6, !10, i64 8}
!24 = !{!6, !11, i64 24}
!25 = !{!6, !10, i64 12}


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