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

; 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.ipx::Basis" = type { ptr, ptr, %"class.std::vector", %"class.std::vector", %"class.std::unique_ptr", i8, i32, i32, i32, i32, i32, i32, double, double, double, double, %"class.std::vector.5", double, double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.12 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b = external hidden unnamed_addr constant [73 x i8], align 1

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

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

; Function Attrs: mustprogress 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

; 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 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44)) #3 align 2

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

declare noundef zeroext i1 @_ZNK3ipx13IndexedVector6sparseEv(ptr noundef nonnull align 8 dereferenceable(44)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(44) %2, ptr noundef nonnull align 8 dereferenceable(44) %3, i1 noundef zeroext %4) #3 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca double, align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %42 = zext i1 %4 to i8
  store i8 %42, ptr %10, align 1, !tbaa !11
  %43 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %44 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !13
  %46 = call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %45)
  store i32 %46, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %47 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %48)
  store i32 %49, ptr %12, align 4, !tbaa !9
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = call noundef zeroext i1 @_ZNK3ipx5Basis7IsBasicEi(ptr noundef nonnull align 8 dereferenceable(176) %43, i32 noundef %50)
  br i1 %51, label %52, label %53

52:                                               ; preds = %5
  br label %55

53:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.12, i32 noundef 226, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b) #8
  unreachable

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %52
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176) %43, i32 noundef %56, ptr noundef nonnull align 8 dereferenceable(44) %57)
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZNK3ipx13IndexedVector6sparseEv(ptr noundef nonnull align 8 dereferenceable(44) %58)
  %60 = zext i1 %59 to i8
  store i8 %60, ptr %13, align 1, !tbaa !11
  %61 = load i8, ptr %13, align 1, !tbaa !11, !range !30, !noundef !31
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %104

63:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %64 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !13
  %66 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model3AItEv(ptr noundef nonnull align 8 dereferenceable(704) %65)
  store ptr %66, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %67)
  store ptr %68, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %90, %63
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %71)
  %73 = icmp slt i32 %70, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %93

75:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i32, ptr %76, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !9
  store i32 %80, ptr %18, align 4, !tbaa !9
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %81, i32 noundef %82)
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %84, i32 noundef %85)
  %87 = sub nsw i32 %83, %86
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = add nsw i32 %88, %87
  store i32 %89, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %90

90:                                               ; preds = %75
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %17, align 4, !tbaa !9
  br label %69, !llvm.loop !32

93:                                               ; preds = %74
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = sdiv i32 %94, 2
  store i32 %95, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = sitofp i32 %96 to double
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = sitofp i32 %98 to double
  %100 = fmul double 1.000000e-01, %99
  %101 = fcmp ogt double %97, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %93
  store i8 0, ptr %13, align 1, !tbaa !11
  br label %103

103:                                              ; preds = %102, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %104

104:                                              ; preds = %103, %55
  %105 = load i8, ptr %13, align 1, !tbaa !11, !range !30, !noundef !31
  %106 = trunc i8 %105 to i1
  br i1 %106, label %107, label %233

107:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %108 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model3AItEv(ptr noundef nonnull align 8 dereferenceable(704) %109)
  store ptr %110, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %111 = load ptr, ptr %19, align 8, !tbaa !5
  %112 = call noundef ptr @_ZNK3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %111)
  store ptr %112, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %113 = load ptr, ptr %19, align 8, !tbaa !5
  %114 = call noundef ptr @_ZNK3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %113)
  store ptr %114, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %115)
  store ptr %116, ptr %22, align 8, !tbaa !5
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3ipx13IndexedVector11set_to_zeroEv(ptr noundef nonnull align 8 dereferenceable(44) %117)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %118)
  store ptr %119, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %207, %107
  %121 = load i32, ptr %25, align 4, !tbaa !9
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %122)
  %124 = icmp slt i32 %121, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %120
  store i32 5, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %210

126:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %127 = load ptr, ptr %22, align 8, !tbaa !5
  %128 = load i32, ptr %25, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds i32, ptr %127, i64 %129
  %131 = load i32, ptr %130, align 4, !tbaa !9
  store i32 %131, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = load i32, ptr %27, align 4, !tbaa !9
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %132, i32 noundef %133)
  %135 = load double, ptr %134, align 8, !tbaa !34
  store double %135, ptr %28, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = load i32, ptr %27, align 4, !tbaa !9
  %138 = call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %136, i32 noundef %137)
  store i32 %138, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %139 = load ptr, ptr %19, align 8, !tbaa !5
  %140 = load i32, ptr %27, align 4, !tbaa !9
  %141 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %139, i32 noundef %140)
  store i32 %141, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %142 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %142, ptr %31, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %203, %126
  %144 = load i32, ptr %31, align 4, !tbaa !9
  %145 = load i32, ptr %30, align 4, !tbaa !9
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 8, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %206

148:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = load i32, ptr %31, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %149, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  store i32 %153, ptr %32, align 4, !tbaa !9
  %154 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %155 = load i32, ptr %32, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #7
  %158 = load i32, ptr %157, align 4, !tbaa !9
  %159 = icmp eq i32 %158, -1
  br i1 %159, label %170, label %160

160:                                              ; preds = %148
  %161 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %162 = load i32, ptr %32, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef %163) #7
  %165 = load i32, ptr %164, align 4, !tbaa !9
  %166 = icmp eq i32 %165, -2
  br i1 %166, label %167, label %183

167:                                              ; preds = %160
  %168 = load i8, ptr %10, align 1, !tbaa !11, !range !30, !noundef !31
  %169 = trunc i8 %168 to i1
  br i1 %169, label %183, label %170

170:                                              ; preds = %167, %148
  %171 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %172 = load i32, ptr %32, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %173) #7
  %175 = load i32, ptr %174, align 4, !tbaa !9
  %176 = sub nsw i32 %175, 2
  store i32 %176, ptr %174, align 4, !tbaa !9
  %177 = load i32, ptr %32, align 4, !tbaa !9
  %178 = load ptr, ptr %23, align 8, !tbaa !5
  %179 = load i32, ptr %24, align 4, !tbaa !9
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %24, align 4, !tbaa !9
  %181 = sext i32 %179 to i64
  %182 = getelementptr inbounds i32, ptr %178, i64 %181
  store i32 %177, ptr %182, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %170, %167, %160
  %184 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %185 = load i32, ptr %32, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #7
  %188 = load i32, ptr %187, align 4, !tbaa !9
  %189 = icmp slt i32 %188, -2
  br i1 %189, label %190, label %202

190:                                              ; preds = %183
  %191 = load double, ptr %28, align 8, !tbaa !34
  %192 = load ptr, ptr %21, align 8, !tbaa !5
  %193 = load i32, ptr %31, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds double, ptr %192, i64 %194
  %196 = load double, ptr %195, align 8, !tbaa !34
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = load i32, ptr %32, align 4, !tbaa !9
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %197, i32 noundef %198)
  %200 = load double, ptr %199, align 8, !tbaa !34
  %201 = call double @llvm.fmuladd.f64(double %191, double %196, double %200)
  store double %201, ptr %199, align 8, !tbaa !34
  br label %202

202:                                              ; preds = %190, %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %31, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %31, align 4, !tbaa !9
  br label %143, !llvm.loop !35

206:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %25, align 4, !tbaa !9
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %25, align 4, !tbaa !9
  br label %120, !llvm.loop !36

210:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %227, %210
  %212 = load i32, ptr %33, align 4, !tbaa !9
  %213 = load i32, ptr %24, align 4, !tbaa !9
  %214 = icmp slt i32 %212, %213
  br i1 %214, label %216, label %215

215:                                              ; preds = %211
  store i32 11, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %230

216:                                              ; preds = %211
  %217 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %218 = load ptr, ptr %23, align 8, !tbaa !5
  %219 = load i32, ptr %33, align 4, !tbaa !9
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds i32, ptr %218, i64 %220
  %222 = load i32, ptr %221, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef %223) #7
  %225 = load i32, ptr %224, align 4, !tbaa !9
  %226 = add nsw i32 %225, 2
  store i32 %226, ptr %224, align 4, !tbaa !9
  br label %227

227:                                              ; preds = %216
  %228 = load i32, ptr %33, align 4, !tbaa !9
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %33, align 4, !tbaa !9
  br label %211, !llvm.loop !37

230:                                              ; preds = %215
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = load i32, ptr %24, align 4, !tbaa !9
  call void @_ZN3ipx13IndexedVector7set_nnzEi(ptr noundef nonnull align 8 dereferenceable(44) %231, i32 noundef %232)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %308

233:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %234 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 1
  %235 = load ptr, ptr %234, align 8, !tbaa !13
  %236 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model2AIEv(ptr noundef nonnull align 8 dereferenceable(704) %235)
  store ptr %236, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %237 = load ptr, ptr %34, align 8, !tbaa !5
  %238 = call noundef ptr @_ZNK3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %237)
  store ptr %238, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %239 = load ptr, ptr %34, align 8, !tbaa !5
  %240 = call noundef ptr @_ZNK3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %239)
  store ptr %240, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %303, %233
  %242 = load i32, ptr %37, align 4, !tbaa !9
  %243 = load i32, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %11, align 4, !tbaa !9
  %245 = add nsw i32 %243, %244
  %246 = icmp slt i32 %242, %245
  br i1 %246, label %248, label %247

247:                                              ; preds = %241
  store i32 14, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %306

248:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  store double 0.000000e+00, ptr %38, align 8, !tbaa !34
  %249 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %250 = load i32, ptr %37, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %249, i64 noundef %251) #7
  %253 = load i32, ptr %252, align 4, !tbaa !9
  %254 = icmp eq i32 %253, -1
  br i1 %254, label %265, label %255

255:                                              ; preds = %248
  %256 = getelementptr inbounds %"class.ipx::Basis", ptr %43, i32 0, i32 3
  %257 = load i32, ptr %37, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %256, i64 noundef %258) #7
  %260 = load i32, ptr %259, align 4, !tbaa !9
  %261 = icmp eq i32 %260, -2
  br i1 %261, label %262, label %298

262:                                              ; preds = %255
  %263 = load i8, ptr %10, align 1, !tbaa !11, !range !30, !noundef !31
  %264 = trunc i8 %263 to i1
  br i1 %264, label %298, label %265

265:                                              ; preds = %262, %248
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  %266 = load ptr, ptr %34, align 8, !tbaa !5
  %267 = load i32, ptr %37, align 4, !tbaa !9
  %268 = call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %266, i32 noundef %267)
  store i32 %268, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %269 = load ptr, ptr %34, align 8, !tbaa !5
  %270 = load i32, ptr %37, align 4, !tbaa !9
  %271 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %269, i32 noundef %270)
  store i32 %271, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  %272 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %272, ptr %41, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %294, %265
  %274 = load i32, ptr %41, align 4, !tbaa !9
  %275 = load i32, ptr %40, align 4, !tbaa !9
  %276 = icmp slt i32 %274, %275
  br i1 %276, label %278, label %277

277:                                              ; preds = %273
  store i32 17, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %297

278:                                              ; preds = %273
  %279 = load ptr, ptr %36, align 8, !tbaa !5
  %280 = load i32, ptr %41, align 4, !tbaa !9
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds double, ptr %279, i64 %281
  %283 = load double, ptr %282, align 8, !tbaa !34
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = load ptr, ptr %35, align 8, !tbaa !5
  %286 = load i32, ptr %41, align 4, !tbaa !9
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds i32, ptr %285, i64 %287
  %289 = load i32, ptr %288, align 4, !tbaa !9
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %284, i32 noundef %289)
  %291 = load double, ptr %290, align 8, !tbaa !34
  %292 = load double, ptr %38, align 8, !tbaa !34
  %293 = call double @llvm.fmuladd.f64(double %283, double %291, double %292)
  store double %293, ptr %38, align 8, !tbaa !34
  br label %294

294:                                              ; preds = %278
  %295 = load i32, ptr %41, align 4, !tbaa !9
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %41, align 4, !tbaa !9
  br label %273, !llvm.loop !38

297:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %298

298:                                              ; preds = %297, %262, %255
  %299 = load double, ptr %38, align 8, !tbaa !34
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = load i32, ptr %37, align 4, !tbaa !9
  %302 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %300, i32 noundef %301)
  store double %299, ptr %302, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %303

303:                                              ; preds = %298
  %304 = load i32, ptr %37, align 4, !tbaa !9
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %37, align 4, !tbaa !9
  br label %241, !llvm.loop !39

306:                                              ; preds = %247
  %307 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3ipx13IndexedVector17InvalidatePatternEv(ptr noundef nonnull align 8 dereferenceable(44) %307)
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %308

308:                                              ; preds = %306, %230
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  ret void
}

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

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

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

declare void @_ZN3ipx13IndexedVector11set_to_zeroEv(ptr noundef nonnull align 8 dereferenceable(44)) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ipx13IndexedVector17InvalidatePatternEv(ptr noundef nonnull align 8 dereferenceable(44)) #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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { 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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN3ipx5BasisE", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 40, !19, i64 64, !12, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !25, i64 104, !25, i64 112, !25, i64 120, !25, i64 128, !26, i64 136, !25, i64 160, !25, i64 168}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt10unique_ptrIN3ipx8LuUpdateESt14default_deleteIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIN3ipx8LuUpdateESt14default_deleteIS1_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIN3ipx8LuUpdateESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPN3ipx8LuUpdateESt14default_deleteIS1_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPN3ipx8LuUpdateESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPN3ipx8LuUpdateELb0EE", !6, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTSSt6vectorIdSaIdEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!25, !25, i64 0}
!35 = distinct !{!35, !33}
!36 = distinct !{!36, !33}
!37 = distinct !{!37, !33}
!38 = distinct !{!38, !33}
!39 = distinct !{!39, !33}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.12 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b = external hidden unnamed_addr constant [73 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; 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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #2 align 2

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

declare noundef zeroext i1 @_ZNK3ipx13IndexedVector6sparseEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(44) %2, ptr noundef nonnull align 8 dereferenceable(44) %3, i1 noundef zeroext %4) local_unnamed_addr #2 align 2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %7)
  %9 = load ptr, ptr %6, align 8, !tbaa !5
  %10 = tail call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %9)
  %11 = tail call noundef zeroext i1 @_ZNK3ipx5Basis7IsBasicEi(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1)
  br i1 %11, label %13, label %12

12:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.12, i32 noundef 226, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx5Basis10TableauRowEiRNS_13IndexedVectorES2_b) #6
  unreachable

13:                                               ; preds = %5
  tail call void @_ZN3ipx5Basis14SolveForUpdateEiRNS_13IndexedVectorE(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(44) %2)
  %14 = tail call noundef zeroext i1 @_ZNK3ipx13IndexedVector6sparseEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  br i1 %14, label %15, label %.thread

15:                                               ; preds = %13
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model3AItEv(ptr noundef nonnull align 8 dereferenceable(704) %16)
  %18 = tail call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %19 = tail call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %15 ]
  %.090104 = phi i32 [ %26, %.lr.ph ], [ 0, %15 ]
  %21 = getelementptr inbounds i32, ptr %18, i64 %indvars.iv
  %22 = load i32, ptr %21, align 4, !tbaa !27
  %23 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %17, i32 noundef %22)
  %24 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %17, i32 noundef %22)
  %25 = add i32 %23, %.090104
  %26 = sub i32 %25, %24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %27 = tail call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %28 = sext i32 %27 to i64
  %29 = icmp slt i64 %indvars.iv.next, %28
  br i1 %29, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !28

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %30 = sdiv i32 %26, 2
  %31 = sitofp i32 %30 to double
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %15
  %.090.lcssa = phi double [ 0.000000e+00, %15 ], [ %31, %._crit_edge.loopexit ]
  %32 = sitofp i32 %10 to double
  %33 = fmul double %32, 1.000000e-01
  %34 = fcmp uge double %33, %.090.lcssa
  br i1 %34, label %35, label %.thread

35:                                               ; preds = %._crit_edge
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model3AItEv(ptr noundef nonnull align 8 dereferenceable(704) %36)
  %38 = tail call noundef ptr @_ZNK3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %37)
  %39 = tail call noundef ptr @_ZNK3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %37)
  %40 = tail call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  tail call void @_ZN3ipx13IndexedVector11set_to_zeroEv(ptr noundef nonnull align 8 dereferenceable(44) %3)
  %41 = tail call noundef ptr @_ZN3ipx13IndexedVector7patternEv(ptr noundef nonnull align 8 dereferenceable(44) %3)
  %42 = tail call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph122, label %._crit_edge127

.lr.ph122:                                        ; preds = %35
  %44 = getelementptr inbounds i8, ptr %0, i64 40
  br i1 %4, label %.lr.ph122.split.us, label %.lr.ph122.split

.lr.ph122.split.us:                               ; preds = %.lr.ph122, %._crit_edge117.split.us.us
  %indvars.iv151 = phi i64 [ %indvars.iv.next152, %._crit_edge117.split.us.us ], [ 0, %.lr.ph122 ]
  %.095120.us = phi i32 [ %.196.lcssa.us, %._crit_edge117.split.us.us ], [ 0, %.lr.ph122 ]
  %45 = getelementptr inbounds i32, ptr %40, i64 %indvars.iv151
  %46 = load i32, ptr %45, align 4, !tbaa !27
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %2, i32 noundef %46)
  %48 = load double, ptr %47, align 8, !tbaa !30
  %49 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %37, i32 noundef %46)
  %50 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %37, i32 noundef %46)
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %.lr.ph116.us.preheader, label %._crit_edge117.split.us.us

.lr.ph116.us.preheader:                           ; preds = %.lr.ph122.split.us
  %52 = sext i32 %49 to i64
  br label %.lr.ph116.us

._crit_edge117.split.us.us:                       ; preds = %79, %.lr.ph122.split.us
  %.196.lcssa.us = phi i32 [ %.095120.us, %.lr.ph122.split.us ], [ %.2.us.us, %79 ]
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  %53 = tail call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %54 = sext i32 %53 to i64
  %55 = icmp slt i64 %indvars.iv.next152, %54
  br i1 %55, label %.lr.ph122.split.us, label %.preheader, !llvm.loop !31

.lr.ph116.us:                                     ; preds = %.lr.ph116.us.preheader, %79
  %indvars.iv146 = phi i64 [ %52, %.lr.ph116.us.preheader ], [ %indvars.iv.next147, %79 ]
  %.196114.us.us = phi i32 [ %.095120.us, %.lr.ph116.us.preheader ], [ %.2.us.us, %79 ]
  %56 = getelementptr inbounds i32, ptr %38, i64 %indvars.iv146
  %57 = load i32, ptr %56, align 4, !tbaa !27
  %58 = sext i32 %57 to i64
  %59 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %58) #7
  %60 = load i32, ptr %59, align 4, !tbaa !27
  %61 = icmp eq i32 %60, -1
  %62 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %58) #7
  br i1 %61, label %63, label %69

63:                                               ; preds = %.lr.ph116.us
  %64 = load i32, ptr %62, align 4, !tbaa !27
  %65 = add nsw i32 %64, -2
  store i32 %65, ptr %62, align 4, !tbaa !27
  %66 = add nsw i32 %.196114.us.us, 1
  %67 = sext i32 %.196114.us.us to i64
  %68 = getelementptr inbounds i32, ptr %41, i64 %67
  store i32 %57, ptr %68, align 4, !tbaa !27
  br label %69

69:                                               ; preds = %.lr.ph116.us, %63
  %.2.us.us = phi i32 [ %66, %63 ], [ %.196114.us.us, %.lr.ph116.us ]
  %70 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %58) #7
  %71 = load i32, ptr %70, align 4, !tbaa !27
  %72 = icmp slt i32 %71, -2
  br i1 %72, label %73, label %79

73:                                               ; preds = %69
  %74 = getelementptr inbounds double, ptr %39, i64 %indvars.iv146
  %75 = load double, ptr %74, align 8, !tbaa !30
  %76 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %3, i32 noundef %57)
  %77 = load double, ptr %76, align 8, !tbaa !30
  %78 = tail call double @llvm.fmuladd.f64(double %48, double %75, double %77)
  store double %78, ptr %76, align 8, !tbaa !30
  br label %79

79:                                               ; preds = %73, %69
  %indvars.iv.next147 = add nsw i64 %indvars.iv146, 1
  %lftr.wideiv149 = trunc i64 %indvars.iv.next147 to i32
  %exitcond150.not = icmp eq i32 %50, %lftr.wideiv149
  br i1 %exitcond150.not, label %._crit_edge117.split.us.us, label %.lr.ph116.us, !llvm.loop !32

.preheader:                                       ; preds = %._crit_edge117.split, %._crit_edge117.split.us.us
  %.095.lcssa = phi i32 [ %.196.lcssa.us, %._crit_edge117.split.us.us ], [ %.196.lcssa, %._crit_edge117.split ]
  %80 = icmp sgt i32 %.095.lcssa, 0
  br i1 %80, label %.lr.ph126, label %._crit_edge127

.lr.ph126:                                        ; preds = %.preheader
  %81 = getelementptr inbounds i8, ptr %0, i64 40
  %wide.trip.count157 = zext nneg i32 %.095.lcssa to i64
  br label %120

.lr.ph122.split:                                  ; preds = %.lr.ph122, %._crit_edge117.split
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %._crit_edge117.split ], [ 0, %.lr.ph122 ]
  %.095120 = phi i32 [ %.196.lcssa, %._crit_edge117.split ], [ 0, %.lr.ph122 ]
  %82 = getelementptr inbounds i32, ptr %40, i64 %indvars.iv143
  %83 = load i32, ptr %82, align 4, !tbaa !27
  %84 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %2, i32 noundef %83)
  %85 = load double, ptr %84, align 8, !tbaa !30
  %86 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %37, i32 noundef %83)
  %87 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %37, i32 noundef %83)
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %.lr.ph116.preheader, label %._crit_edge117.split

.lr.ph116.preheader:                              ; preds = %.lr.ph122.split
  %89 = sext i32 %86 to i64
  br label %.lr.ph116

._crit_edge117.split:                             ; preds = %119, %.lr.ph122.split
  %.196.lcssa = phi i32 [ %.095120, %.lr.ph122.split ], [ %.2, %119 ]
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %90 = tail call noundef i32 @_ZNK3ipx13IndexedVector3nnzEv(ptr noundef nonnull align 8 dereferenceable(44) %2)
  %91 = sext i32 %90 to i64
  %92 = icmp slt i64 %indvars.iv.next144, %91
  br i1 %92, label %.lr.ph122.split, label %.preheader, !llvm.loop !31

.lr.ph116:                                        ; preds = %.lr.ph116.preheader, %119
  %indvars.iv138 = phi i64 [ %89, %.lr.ph116.preheader ], [ %indvars.iv.next139, %119 ]
  %.196114 = phi i32 [ %.095120, %.lr.ph116.preheader ], [ %.2, %119 ]
  %93 = getelementptr inbounds i32, ptr %38, i64 %indvars.iv138
  %94 = load i32, ptr %93, align 4, !tbaa !27
  %95 = sext i32 %94 to i64
  %96 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %95) #7
  %97 = load i32, ptr %96, align 4, !tbaa !27
  %98 = icmp eq i32 %97, -1
  br i1 %98, label %102, label %99

99:                                               ; preds = %.lr.ph116
  %100 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %95) #7
  %101 = load i32, ptr %100, align 4, !tbaa !27
  %.not = icmp eq i32 %101, -2
  br i1 %.not, label %102, label %109

102:                                              ; preds = %99, %.lr.ph116
  %103 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %95) #7
  %104 = load i32, ptr %103, align 4, !tbaa !27
  %105 = add nsw i32 %104, -2
  store i32 %105, ptr %103, align 4, !tbaa !27
  %106 = add nsw i32 %.196114, 1
  %107 = sext i32 %.196114 to i64
  %108 = getelementptr inbounds i32, ptr %41, i64 %107
  store i32 %94, ptr %108, align 4, !tbaa !27
  br label %109

109:                                              ; preds = %99, %102
  %.2 = phi i32 [ %106, %102 ], [ %.196114, %99 ]
  %110 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %95) #7
  %111 = load i32, ptr %110, align 4, !tbaa !27
  %112 = icmp slt i32 %111, -2
  br i1 %112, label %113, label %119

113:                                              ; preds = %109
  %114 = getelementptr inbounds double, ptr %39, i64 %indvars.iv138
  %115 = load double, ptr %114, align 8, !tbaa !30
  %116 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %3, i32 noundef %94)
  %117 = load double, ptr %116, align 8, !tbaa !30
  %118 = tail call double @llvm.fmuladd.f64(double %85, double %115, double %117)
  store double %118, ptr %116, align 8, !tbaa !30
  br label %119

119:                                              ; preds = %113, %109
  %indvars.iv.next139 = add nsw i64 %indvars.iv138, 1
  %lftr.wideiv141 = trunc i64 %indvars.iv.next139 to i32
  %exitcond142.not = icmp eq i32 %87, %lftr.wideiv141
  br i1 %exitcond142.not, label %._crit_edge117.split, label %.lr.ph116, !llvm.loop !32

._crit_edge127:                                   ; preds = %120, %35, %.preheader
  %.095.lcssa160 = phi i32 [ %.095.lcssa, %.preheader ], [ 0, %35 ], [ %.095.lcssa, %120 ]
  tail call void @_ZN3ipx13IndexedVector7set_nnzEi(ptr noundef nonnull align 8 dereferenceable(44) %3, i32 noundef %.095.lcssa160)
  br label %156

120:                                              ; preds = %.lr.ph126, %120
  %indvars.iv154 = phi i64 [ 0, %.lr.ph126 ], [ %indvars.iv.next155, %120 ]
  %121 = getelementptr inbounds i32, ptr %41, i64 %indvars.iv154
  %122 = load i32, ptr %121, align 4, !tbaa !27
  %123 = sext i32 %122 to i64
  %124 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %123) #7
  %125 = load i32, ptr %124, align 4, !tbaa !27
  %126 = add nsw i32 %125, 2
  store i32 %126, ptr %124, align 4, !tbaa !27
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %exitcond158.not = icmp eq i64 %indvars.iv.next155, %wide.trip.count157
  br i1 %exitcond158.not, label %._crit_edge127, label %120, !llvm.loop !33

.thread:                                          ; preds = %13, %._crit_edge
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3ipx5Model2AIEv(ptr noundef nonnull align 8 dereferenceable(704) %127)
  %129 = tail call noundef ptr @_ZNK3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %128)
  %130 = tail call noundef ptr @_ZNK3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %128)
  %131 = add nsw i32 %10, %8
  %132 = icmp sgt i32 %131, 0
  br i1 %132, label %.lr.ph111, label %._crit_edge112

.lr.ph111:                                        ; preds = %.thread
  %133 = getelementptr inbounds i8, ptr %0, i64 40
  %wide.trip.count = zext nneg i32 %131 to i64
  br label %134

._crit_edge112:                                   ; preds = %.loopexit, %.thread
  tail call void @_ZN3ipx13IndexedVector17InvalidatePatternEv(ptr noundef nonnull align 8 dereferenceable(44) %3)
  br label %156

134:                                              ; preds = %.lr.ph111, %.loopexit
  %indvars.iv134 = phi i64 [ 0, %.lr.ph111 ], [ %indvars.iv.next135, %.loopexit ]
  %135 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %indvars.iv134) #7
  %136 = load i32, ptr %135, align 4, !tbaa !27
  %137 = icmp eq i32 %136, -1
  br i1 %137, label %142, label %138

138:                                              ; preds = %134
  %139 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %indvars.iv134) #7
  %140 = load i32, ptr %139, align 4, !tbaa !27
  %141 = icmp ne i32 %140, -2
  %brmerge101 = or i1 %141, %4
  br i1 %brmerge101, label %..loopexit_crit_edge, label %142

..loopexit_crit_edge:                             ; preds = %138
  %.pre = trunc nuw nsw i64 %indvars.iv134 to i32
  br label %.loopexit

142:                                              ; preds = %138, %134
  %143 = trunc nuw nsw i64 %indvars.iv134 to i32
  %144 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %128, i32 noundef %143)
  %145 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %128, i32 noundef %143)
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %.lr.ph108.preheader, label %.loopexit

.lr.ph108.preheader:                              ; preds = %142
  %147 = sext i32 %144 to i64
  br label %.lr.ph108

.lr.ph108:                                        ; preds = %.lr.ph108.preheader, %.lr.ph108
  %indvars.iv131 = phi i64 [ %147, %.lr.ph108.preheader ], [ %indvars.iv.next132, %.lr.ph108 ]
  %.091105 = phi double [ 0.000000e+00, %.lr.ph108.preheader ], [ %154, %.lr.ph108 ]
  %148 = getelementptr inbounds double, ptr %130, i64 %indvars.iv131
  %149 = load double, ptr %148, align 8, !tbaa !30
  %150 = getelementptr inbounds i32, ptr %129, i64 %indvars.iv131
  %151 = load i32, ptr %150, align 4, !tbaa !27
  %152 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %2, i32 noundef %151)
  %153 = load double, ptr %152, align 8, !tbaa !30
  %154 = tail call double @llvm.fmuladd.f64(double %149, double %153, double %.091105)
  %indvars.iv.next132 = add nsw i64 %indvars.iv131, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next132 to i32
  %exitcond.not = icmp eq i32 %145, %lftr.wideiv
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph108, !llvm.loop !34

.loopexit:                                        ; preds = %.lr.ph108, %..loopexit_crit_edge, %142
  %.pre-phi = phi i32 [ %.pre, %..loopexit_crit_edge ], [ %143, %142 ], [ %143, %.lr.ph108 ]
  %.192 = phi double [ 0.000000e+00, %..loopexit_crit_edge ], [ 0.000000e+00, %142 ], [ %154, %.lr.ph108 ]
  %155 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx13IndexedVectorixEi(ptr noundef nonnull align 8 dereferenceable(44) %3, i32 noundef %.pre-phi)
  store double %.192, ptr %155, align 8, !tbaa !30
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %exitcond137.not = icmp eq i64 %indvars.iv.next135, %wide.trip.count
  br i1 %exitcond137.not, label %._crit_edge112, label %134, !llvm.loop !35

156:                                              ; preds = %._crit_edge112, %._crit_edge127
  ret void
}

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

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

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

declare void @_ZN3ipx13IndexedVector11set_to_zeroEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #3

; 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 #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3ipx13IndexedVector17InvalidatePatternEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 8}
!6 = !{!"_ZTSN3ipx5BasisE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 40, !14, i64 64, !20, i64 72, !21, i64 76, !21, i64 80, !21, i64 84, !21, i64 88, !21, i64 92, !21, i64 96, !22, i64 104, !22, i64 112, !22, i64 120, !22, i64 128, !23, i64 136, !22, i64 160, !22, i64 168}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIiSaIiEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSSt10unique_ptrIN3ipx8LuUpdateESt14default_deleteIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_dataIN3ipx8LuUpdateESt14default_deleteIS1_ELb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_implIN3ipx8LuUpdateESt14default_deleteIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt5tupleIJPN3ipx8LuUpdateESt14default_deleteIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSSt11_Tuple_implILm0EJPN3ipx8LuUpdateESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_Head_baseILm0EPN3ipx8LuUpdateELb0EE", !7, i64 0}
!20 = !{!"bool", !8, i64 0}
!21 = !{!"int", !8, i64 0}
!22 = !{!"double", !8, i64 0}
!23 = !{!"_ZTSSt6vectorIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!27 = !{!21, !21, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!22, !22, i64 0}
!31 = distinct !{!31, !29}
!32 = distinct !{!32, !29}
!33 = distinct !{!33, !29}
!34 = distinct !{!34, !29}
!35 = distinct !{!35, !29}


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