; LLVM IR from ddemidov/amgcl :: tests/test_qr.ll (ZN7test_qr11qr_issue_3911test_methodEv)

; 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.boost::detail::multi_array::extent_gen" = type { %"class.boost::array" }
%"class.boost::array" = type { [1 x %"class.boost::detail::multi_array::extent_range"] }
%"class.boost::detail::multi_array::extent_range" = type { %"struct.std::pair" }
%"struct.std::pair" = type { i64, i64 }
%"class.boost::multi_array" = type { %"class.boost::multi_array_ref", ptr, i64 }
%"class.boost::multi_array_ref" = type { %"class.boost::const_multi_array_ref" }
%"class.boost::const_multi_array_ref" = type { ptr, %"class.boost::general_storage_order", %"class.boost::array.1", %"class.boost::array.3", %"class.boost::array.3", i64, i64, i64 }
%"class.boost::general_storage_order" = type <{ %"class.boost::array.1", %"class.boost::array.2", [6 x i8] }>
%"class.boost::array.2" = type { [2 x i8] }
%"class.boost::array.1" = type { [2 x i64] }
%"class.boost::array.3" = type { [2 x i64] }
%"class.boost::detail::multi_array::extent_gen.7" = type { %"class.boost::array.8" }
%"class.boost::array.8" = type { [2 x %"class.boost::detail::multi_array::extent_range"] }
%"class.boost::detail::multi_array::extent_gen.9" = type { %"class.boost::array" }
%"class.std::allocator.4" = type { i8 }
%"class.boost::detail::multi_array::sub_array" = type { %"class.boost::detail::multi_array::const_sub_array" }
%"class.boost::detail::multi_array::const_sub_array" = type { ptr, ptr, ptr, ptr }
%"class.amgcl::detail::QR" = type { i32, i32, i32, i32, ptr, %"class.std::vector.11", %"class.std::vector.11", %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::unit_test::basic_cstring" = type { ptr, ptr }
%"struct.boost::test_tools::check_is_small_t" = type { i8 }
%"class.boost::unit_test::lazy_ostream_impl" = type { %"class.boost::unit_test::lazy_ostream.base", ptr, ptr }
%"class.boost::unit_test::lazy_ostream.base" = type <{ ptr, i8 }>

@_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE = external hidden global ptr, align 8
@_ZN5boost12_GLOBAL__N_17extentsE = external hidden global %"class.boost::detail::multi_array::extent_gen", align 8
@.str.11 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 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: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7test_qr11qr_issue_3911test_methodEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.boost::multi_array", align 8
  %4 = alloca %"class.boost::detail::multi_array::extent_gen.7", align 8
  %5 = alloca %"class.boost::detail::multi_array::extent_gen.9", align 8
  %6 = alloca %"class.std::allocator.4", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %10 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %11 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %12 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %13 = alloca %"class.boost::multi_array", align 8
  %14 = alloca %"class.amgcl::detail::QR", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %21 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %22 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %23 = alloca %"struct.boost::test_tools::check_is_small_t", align 1
  %24 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %25 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %26 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %27 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 120, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  %28 = call { i64, i64 } @_ZN5boost6detail11multi_array10extent_genILm0EEixEl(ptr noundef nonnull align 8 dereferenceable(16) @_ZN5boost12_GLOBAL__N_17extentsE, i64 noundef 2)
  %29 = getelementptr inbounds %"class.boost::detail::multi_array::extent_gen.9", ptr %5, i32 0, i32 0
  %30 = getelementptr inbounds %"class.boost::array", ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 0
  %32 = extractvalue { i64, i64 } %28, 0
  store i64 %32, ptr %31, align 8
  %33 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 1
  %34 = extractvalue { i64, i64 } %28, 1
  store i64 %34, ptr %33, align 8
  call void @_ZN5boost6detail11multi_array10extent_genILm1EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::extent_gen.7") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 2)
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZN5boost11multi_arrayIdLm2ESaIdEEC2ERKNS_6detail11multi_array10extent_genILm2EEERKS1_(ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %35 unwind label %57

35:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %9, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef 0)
          to label %36 unwind label %61

36:                                               ; preds = %35
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 0)
          to label %38 unwind label %65

38:                                               ; preds = %36
  store double 1.000000e+00, ptr %37, align 8, !tbaa !9
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %10, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef 0)
          to label %39 unwind label %70

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef 1)
          to label %41 unwind label %74

41:                                               ; preds = %39
  store double 1.000000e+00, ptr %40, align 8, !tbaa !9
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %11, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef 1)
          to label %42 unwind label %79

42:                                               ; preds = %41
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef 0)
          to label %44 unwind label %83

44:                                               ; preds = %42
  store double 1.000000e-08, ptr %43, align 8, !tbaa !9
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %12, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef 1)
          to label %45 unwind label %88

45:                                               ; preds = %44
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 1)
          to label %47 unwind label %92

47:                                               ; preds = %45
  store double 1.000000e+00, ptr %46, align 8, !tbaa !9
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr %13) #7
  invoke void @_ZN5boost11multi_arrayIdLm2ESaIdEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(120) %13, ptr noundef nonnull align 8 dereferenceable(120) %3)
          to label %48 unwind label %97

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #7
  invoke void @_ZN5amgcl6detail2QRIdvEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14)
          to label %49 unwind label %101

49:                                               ; preds = %48
  %50 = invoke noundef ptr @_ZN5boost15multi_array_refIdLm2EE4dataEv(ptr noundef nonnull align 8 dereferenceable(104) %13)
          to label %51 unwind label %105

51:                                               ; preds = %49
  invoke void @_ZN5amgcl6detail2QRIdvE9factorizeEiiPdNS0_13storage_orderE(ptr noundef nonnull align 8 dereferenceable(96) %14, i32 noundef 2, i32 noundef 2, ptr noundef %50, i32 noundef 0)
          to label %52 unwind label %105

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %53

53:                                               ; preds = %195, %52
  %54 = load i32, ptr %15, align 4, !tbaa !11
  %55 = icmp slt i32 %54, 2
  br i1 %55, label %109, label %56

56:                                               ; preds = %53
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %198

57:                                               ; preds = %1
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #7
  br label %203

61:                                               ; preds = %35
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  br label %69

65:                                               ; preds = %36
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %69

69:                                               ; preds = %65, %61
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  br label %202

70:                                               ; preds = %38
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  br label %78

74:                                               ; preds = %39
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %78

78:                                               ; preds = %74, %70
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  br label %202

79:                                               ; preds = %41
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %7, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %8, align 4
  br label %87

83:                                               ; preds = %42
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %87

87:                                               ; preds = %83, %79
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  br label %202

88:                                               ; preds = %44
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %96

92:                                               ; preds = %45
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %96

96:                                               ; preds = %92, %88
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br label %202

97:                                               ; preds = %47
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  br label %201

101:                                              ; preds = %48
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  br label %200

105:                                              ; preds = %51, %49
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  br label %199

109:                                              ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %110

110:                                              ; preds = %163, %109
  %111 = load i32, ptr %17, align 4, !tbaa !11
  %112 = icmp slt i32 %111, 2
  br i1 %112, label %114, label %113

113:                                              ; preds = %110
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %194

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %115

115:                                              ; preds = %130, %114
  %116 = load i32, ptr %19, align 4, !tbaa !11
  %117 = icmp slt i32 %116, 2
  br i1 %117, label %119, label %118

118:                                              ; preds = %115
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %137

119:                                              ; preds = %115
  %120 = load i32, ptr %15, align 4, !tbaa !11
  %121 = load i32, ptr %19, align 4, !tbaa !11
  %122 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1QEii(ptr noundef nonnull align 8 dereferenceable(96) %14, i32 noundef %120, i32 noundef %121)
          to label %123 unwind label %133

123:                                              ; preds = %119
  %124 = load i32, ptr %19, align 4, !tbaa !11
  %125 = load i32, ptr %17, align 4, !tbaa !11
  %126 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96) %14, i32 noundef %124, i32 noundef %125)
          to label %127 unwind label %133

127:                                              ; preds = %123
  %128 = load double, ptr %18, align 8, !tbaa !9
  %129 = call double @llvm.fmuladd.f64(double %122, double %126, double %128)
  store double %129, ptr %18, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %127
  %131 = load i32, ptr %19, align 4, !tbaa !11
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %19, align 4, !tbaa !11
  br label %115, !llvm.loop !13

133:                                              ; preds = %123, %119
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %7, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %193

137:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  %138 = load i32, ptr %15, align 4, !tbaa !11
  %139 = sext i32 %138 to i64
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %20, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef %139)
          to label %140 unwind label %166

140:                                              ; preds = %137
  %141 = load i32, ptr %17, align 4, !tbaa !11
  %142 = sext i32 %141 to i64
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %142)
          to label %144 unwind label %170

144:                                              ; preds = %140
  %145 = load double, ptr %143, align 8, !tbaa !9
  %146 = load double, ptr %18, align 8, !tbaa !9
  %147 = fsub double %146, %145
  store double %147, ptr %18, align 8, !tbaa !9
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %148

148:                                              ; preds = %161, %144
  %149 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef @.str.11, i64 noundef 65)
          to label %150 unwind label %175

150:                                              ; preds = %148
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %151 unwind label %175

151:                                              ; preds = %150
  invoke void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef %21, i64 noundef 204, ptr noundef %22)
          to label %152 unwind label %175

152:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  %153 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %154 unwind label %179

154:                                              ; preds = %152
  invoke void @_ZN5boost9unit_testlsIA1_cEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS5_EERKS4_S7_(ptr dead_on_unwind writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %24, ptr noundef nonnull align 8 dereferenceable(9) %153, ptr noundef nonnull align 1 dereferenceable(1) @.str.18)
          to label %155 unwind label %179

155:                                              ; preds = %154
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.11, i64 noundef 65)
          to label %156 unwind label %183

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store double 1.000000e-08, ptr %26, align 8, !tbaa !9
  %157 = invoke noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10check_frwdINS0_16check_is_small_tEddEEbT_RKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeERKT0_PSA_RKT1_SH_(ptr noundef nonnull align 8 dereferenceable(9) %24, ptr noundef %25, i64 noundef 204, i32 noundef 1, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef @.str.19, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @.str.20)
          to label %158 unwind label %187

158:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %159

159:                                              ; preds = %158
  %160 = invoke noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
          to label %161 unwind label %175

161:                                              ; preds = %159
  br i1 %160, label %148, label %162, !llvm.loop !15

162:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %163

163:                                              ; preds = %162
  %164 = load i32, ptr %17, align 4, !tbaa !11
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %17, align 4, !tbaa !11
  br label %110, !llvm.loop !16

166:                                              ; preds = %137
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %7, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %8, align 4
  br label %174

170:                                              ; preds = %140
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %7, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %8, align 4
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %174

174:                                              ; preds = %170, %166
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %193

175:                                              ; preds = %159, %151, %150, %148
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %7, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %8, align 4
  br label %193

179:                                              ; preds = %154, %152
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %7, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %8, align 4
  br label %192

183:                                              ; preds = %155
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  br label %191

187:                                              ; preds = %156
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %7, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %191

191:                                              ; preds = %187, %183
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %192

192:                                              ; preds = %191, %179
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %193

193:                                              ; preds = %192, %175, %174, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %199

194:                                              ; preds = %113
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %15, align 4, !tbaa !11
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %15, align 4, !tbaa !11
  br label %53, !llvm.loop !17

198:                                              ; preds = %56
  call void @_ZN5amgcl6detail2QRIdvED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %13) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %13) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %3) #7
  ret void

199:                                              ; preds = %193, %105
  call void @_ZN5amgcl6detail2QRIdvED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #7
  br label %200

200:                                              ; preds = %199, %101
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %13) #7
  br label %201

201:                                              ; preds = %200, %97
  call void @llvm.lifetime.end.p0(i64 120, ptr %13) #7
  br label %202

202:                                              ; preds = %201, %96, %87, %78, %69
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #7
  br label %203

203:                                              ; preds = %202, %57
  call void @llvm.lifetime.end.p0(i64 120, ptr %3) #7
  br label %204

204:                                              ; preds = %203
  %205 = load ptr, ptr %7, align 8
  %206 = load i32, ptr %8, align 4
  %207 = insertvalue { ptr, i32 } poison, ptr %205, 0
  %208 = insertvalue { ptr, i32 } %207, i32 %206, 1
  resume { ptr, i32 } %208
}

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZN5boost6detail11multi_array10extent_genILm0EEixEl(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost6detail11multi_array10extent_genILm1EEixEl(ptr dead_on_unwind noalias writable sret(%"class.boost::detail::multi_array::extent_gen.7") align 8, ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind noalias writable sret(%"class.boost::detail::multi_array::sub_array") align 8, ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amgcl6detail2QRIdvE9factorizeEiiPdNS0_13storage_orderE(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef, i32 noundef) #2 align 2

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

declare void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i64 noundef, ptr noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10check_frwdINS0_16check_is_small_tEddEEbT_RKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeERKT0_PSA_RKT1_SH_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost9unit_testlsIA1_cEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS5_EERKS4_S7_(ptr dead_on_unwind noalias writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8, ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(1)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv() #6

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 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 = { 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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.boost::detail::multi_array::extent_gen" = type { %"class.boost::array" }
%"class.boost::array" = type { [1 x %"class.boost::detail::multi_array::extent_range"] }
%"class.boost::detail::multi_array::extent_range" = type { %"struct.std::pair" }
%"struct.std::pair" = type { i64, i64 }
%"class.boost::multi_array" = type { %"class.boost::multi_array_ref", ptr, i64 }
%"class.boost::multi_array_ref" = type { %"class.boost::const_multi_array_ref" }
%"class.boost::const_multi_array_ref" = type { ptr, %"class.boost::general_storage_order", %"class.boost::array.1", %"class.boost::array.3", %"class.boost::array.3", i64, i64, i64 }
%"class.boost::general_storage_order" = type <{ %"class.boost::array.1", %"class.boost::array.2", [6 x i8] }>
%"class.boost::array.2" = type { [2 x i8] }
%"class.boost::array.1" = type { [2 x i64] }
%"class.boost::array.3" = type { [2 x i64] }
%"class.boost::detail::multi_array::extent_gen.7" = type { %"class.boost::array.8" }
%"class.boost::array.8" = type { [2 x %"class.boost::detail::multi_array::extent_range"] }
%"class.boost::detail::multi_array::extent_gen.9" = type { %"class.boost::array" }
%"class.std::allocator.4" = type { i8 }
%"class.boost::detail::multi_array::sub_array" = type { %"class.boost::detail::multi_array::const_sub_array" }
%"class.boost::detail::multi_array::const_sub_array" = type { ptr, ptr, ptr, ptr }
%"class.amgcl::detail::QR" = type { i32, i32, i32, i32, ptr, %"class.std::vector.11", %"class.std::vector.11", %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::unit_test::basic_cstring" = type { ptr, ptr }
%"class.boost::unit_test::lazy_ostream_impl" = type { %"class.boost::unit_test::lazy_ostream.base", ptr, ptr }
%"class.boost::unit_test::lazy_ostream.base" = type <{ ptr, i8 }>

@_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE = external hidden local_unnamed_addr global ptr, align 8
@_ZN5boost12_GLOBAL__N_17extentsE = external hidden global %"class.boost::detail::multi_array::extent_gen", align 8
@.str.11 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7test_qr11qr_issue_3911test_methodEv(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.boost::multi_array", align 8
  %3 = alloca %"class.boost::detail::multi_array::extent_gen.7", align 8
  %4 = alloca %"class.boost::detail::multi_array::extent_gen.9", align 8
  %5 = alloca %"class.std::allocator.4", align 1
  %6 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %7 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %8 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %9 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %10 = alloca %"class.boost::multi_array", align 8
  %11 = alloca %"class.amgcl::detail::QR", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.boost::detail::multi_array::sub_array", align 8
  %14 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %15 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %16 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %17 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %18 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %19 = tail call { i64, i64 } @_ZN5boost6detail11multi_array10extent_genILm0EEixEl(ptr noundef nonnull align 8 dereferenceable(16) @_ZN5boost12_GLOBAL__N_17extentsE, i64 noundef 2)
  %20 = extractvalue { i64, i64 } %19, 0
  store i64 %20, ptr %4, align 8
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  %22 = extractvalue { i64, i64 } %19, 1
  store i64 %22, ptr %21, align 8
  call void @_ZN5boost6detail11multi_array10extent_genILm1EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::extent_gen.7") align 8 %3, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 2)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZN5boost11multi_arrayIdLm2ESaIdEEC2ERKNS_6detail11multi_array10extent_genILm2EEERKS1_(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %23 unwind label %43

23:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %6, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef 0)
          to label %24 unwind label %45

24:                                               ; preds = %23
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %26 unwind label %47

26:                                               ; preds = %24
  store double 1.000000e+00, ptr %25, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %7, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef 0)
          to label %27 unwind label %50

27:                                               ; preds = %26
  %28 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 1)
          to label %29 unwind label %52

29:                                               ; preds = %27
  store double 1.000000e+00, ptr %28, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %8, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef 1)
          to label %30 unwind label %55

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 0)
          to label %32 unwind label %57

32:                                               ; preds = %30
  store double 1.000000e-08, ptr %31, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %9, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef 1)
          to label %33 unwind label %60

33:                                               ; preds = %32
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 1)
          to label %35 unwind label %62

35:                                               ; preds = %33
  store double 1.000000e+00, ptr %34, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %10) #7
  invoke void @_ZN5boost11multi_arrayIdLm2ESaIdEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(120) %10, ptr noundef nonnull align 8 dereferenceable(120) %2)
          to label %36 unwind label %65

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #7
  call void @_ZN5amgcl6detail2QRIdvEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %11)
  %37 = call noundef ptr @_ZN5boost15multi_array_refIdLm2EE4dataEv(ptr noundef nonnull align 8 dereferenceable(104) %10)
  invoke void @_ZN5amgcl6detail2QRIdvE9factorizeEiiPdNS0_13storage_orderE(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef 2, i32 noundef 2, ptr noundef %37, i32 noundef 0)
          to label %.preheader unwind label %67

.preheader:                                       ; preds = %36, %120
  %38 = phi i1 [ false, %120 ], [ true, %36 ]
  %indvars.iv = phi i64 [ 1, %120 ], [ 0, %36 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 0.000000e+00, ptr %12, align 8, !tbaa !5
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  %40 = call noundef double @_ZNK5amgcl6detail2QRIdvE1QEii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef %39, i32 noundef 0)
  %41 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef 0, i32 noundef 0)
          to label %69 unwind label %77

42:                                               ; preds = %120
  call void @_ZN5amgcl6detail2QRIdvED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %10) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %2) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #7
  ret void

43:                                               ; preds = %1
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  br label %132

45:                                               ; preds = %23
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %24
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %49

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %131

50:                                               ; preds = %26
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %27
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %54

54:                                               ; preds = %52, %50
  %.pn29 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %131

55:                                               ; preds = %29
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %30
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %59

59:                                               ; preds = %57, %55
  %.pn31 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %131

60:                                               ; preds = %32
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %33
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %64

64:                                               ; preds = %62, %60
  %.pn33 = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %131

65:                                               ; preds = %35
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %130

67:                                               ; preds = %36
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %129

69:                                               ; preds = %.preheader
  %70 = load double, ptr %12, align 8, !tbaa !5
  %71 = call double @llvm.fmuladd.f64(double %40, double %41, double %70)
  store double %71, ptr %12, align 8, !tbaa !5
  %72 = call noundef double @_ZNK5amgcl6detail2QRIdvE1QEii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef %39, i32 noundef 1)
  %73 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef 1, i32 noundef 0)
          to label %74 unwind label %77

74:                                               ; preds = %69
  %75 = load double, ptr %12, align 8, !tbaa !5
  %76 = call double @llvm.fmuladd.f64(double %72, double %73, double %75)
  store double %76, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %13, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef %indvars.iv)
          to label %79 unwind label %121

77:                                               ; preds = %97, %94, %69, %.preheader
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %128

79:                                               ; preds = %74
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef 0)
          to label %81 unwind label %123

81:                                               ; preds = %79
  %82 = load double, ptr %80, align 8, !tbaa !5
  %83 = load double, ptr %12, align 8, !tbaa !5
  %84 = fsub double %83, %82
  store double %84, ptr %12, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %85

85:                                               ; preds = %92, %81
  %86 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !9
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull @.str.11, i64 noundef 65)
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %87 unwind label %.loopexit

87:                                               ; preds = %85
  invoke void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull %14, i64 noundef 204, ptr noundef nonnull %15)
          to label %88 unwind label %.loopexit

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  %89 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  invoke void @_ZN5boost9unit_testlsIA1_cEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS5_EERKS4_S7_(ptr dead_on_unwind nonnull writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %16, ptr noundef nonnull align 8 dereferenceable(9) %89, ptr noundef nonnull align 1 dereferenceable(1) @.str.18)
          to label %90 unwind label %.loopexit50

90:                                               ; preds = %88
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str.11, i64 noundef 65)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store double 1.000000e-08, ptr %18, align 8, !tbaa !5
  %91 = invoke noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10check_frwdINS0_16check_is_small_tEddEEbT_RKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeERKT0_PSA_RKT1_SH_(ptr noundef nonnull align 8 dereferenceable(9) %16, ptr noundef nonnull %17, i64 noundef 204, i32 noundef 1, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull @.str.19, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @.str.20)
          to label %92 unwind label %.loopexit55

92:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  %93 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %93, label %85, label %94, !llvm.loop !11

94:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 0.000000e+00, ptr %12, align 8, !tbaa !5
  %95 = call noundef double @_ZNK5amgcl6detail2QRIdvE1QEii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef %39, i32 noundef 0)
  %96 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef 0, i32 noundef 1)
          to label %97 unwind label %77

97:                                               ; preds = %94
  %98 = load double, ptr %12, align 8, !tbaa !5
  %99 = call double @llvm.fmuladd.f64(double %95, double %96, double %98)
  store double %99, ptr %12, align 8, !tbaa !5
  %100 = call noundef double @_ZNK5amgcl6detail2QRIdvE1QEii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef %39, i32 noundef 1)
  %101 = invoke noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96) %11, i32 noundef 1, i32 noundef 1)
          to label %102 unwind label %77

102:                                              ; preds = %97
  %103 = load double, ptr %12, align 8, !tbaa !5
  %104 = call double @llvm.fmuladd.f64(double %100, double %101, double %103)
  store double %104, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  invoke void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind nonnull writable sret(%"class.boost::detail::multi_array::sub_array") align 8 %13, ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef %indvars.iv)
          to label %105 unwind label %121

105:                                              ; preds = %102
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost6detail11multi_array9sub_arrayIdLm1EEixEl(ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef 1)
          to label %107 unwind label %123

107:                                              ; preds = %105
  %108 = load double, ptr %106, align 8, !tbaa !5
  %109 = load double, ptr %12, align 8, !tbaa !5
  %110 = fsub double %109, %108
  store double %110, ptr %12, align 8, !tbaa !5
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %111

111:                                              ; preds = %118, %107
  %112 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !9
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull @.str.11, i64 noundef 65)
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %113 unwind label %.loopexit.split-lp

113:                                              ; preds = %111
  invoke void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull %14, i64 noundef 204, ptr noundef nonnull %15)
          to label %114 unwind label %.loopexit.split-lp

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  %115 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  invoke void @_ZN5boost9unit_testlsIA1_cEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS5_EERKS4_S7_(ptr dead_on_unwind nonnull writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %16, ptr noundef nonnull align 8 dereferenceable(9) %115, ptr noundef nonnull align 1 dereferenceable(1) @.str.18)
          to label %116 unwind label %.loopexit.split-lp51

116:                                              ; preds = %114
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str.11, i64 noundef 65)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store double 1.000000e-08, ptr %18, align 8, !tbaa !5
  %117 = invoke noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10check_frwdINS0_16check_is_small_tEddEEbT_RKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeERKT0_PSA_RKT1_SH_(ptr noundef nonnull align 8 dereferenceable(9) %16, ptr noundef nonnull %17, i64 noundef 204, i32 noundef 1, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull @.str.19, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @.str.20)
          to label %118 unwind label %.loopexit.split-lp56

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  %119 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %119, label %111, label %120, !llvm.loop !11

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %38, label %.preheader, label %42, !llvm.loop !13

121:                                              ; preds = %102, %74
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %105, %79
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost6detail11multi_array18value_accessor_oneIdED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %125

125:                                              ; preds = %123, %121
  %.pn35 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %128

.loopexit:                                        ; preds = %85, %87
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %128

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

.loopexit50:                                      ; preds = %88
  %lpad.loopexit52 = landingpad { ptr, i32 }
          cleanup
  br label %127

.loopexit.split-lp51:                             ; preds = %114
  %lpad.loopexit.split-lp53 = landingpad { ptr, i32 }
          cleanup
  br label %127

.loopexit55:                                      ; preds = %90
  %lpad.loopexit57 = landingpad { ptr, i32 }
          cleanup
  br label %126

.loopexit.split-lp56:                             ; preds = %116
  %lpad.loopexit.split-lp58 = landingpad { ptr, i32 }
          cleanup
  br label %126

126:                                              ; preds = %.loopexit.split-lp56, %.loopexit55
  %lpad.phi59 = phi { ptr, i32 } [ %lpad.loopexit57, %.loopexit55 ], [ %lpad.loopexit.split-lp58, %.loopexit.split-lp56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %127

127:                                              ; preds = %.loopexit50, %.loopexit.split-lp51, %126
  %.pn37 = phi { ptr, i32 } [ %lpad.phi59, %126 ], [ %lpad.loopexit52, %.loopexit50 ], [ %lpad.loopexit.split-lp53, %.loopexit.split-lp51 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %128

128:                                              ; preds = %.loopexit, %.loopexit.split-lp, %127, %125, %77
  %.pn39 = phi { ptr, i32 } [ %78, %77 ], [ %.pn37, %127 ], [ %.pn35, %125 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %129

129:                                              ; preds = %128, %67
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %128 ], [ %68, %67 ]
  call void @_ZN5amgcl6detail2QRIdvED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #7
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #7
  br label %130

130:                                              ; preds = %129, %65
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %129 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %10) #7
  br label %131

131:                                              ; preds = %130, %64, %59, %54, %49
  %.pn39.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn, %130 ], [ %.pn33, %64 ], [ %.pn31, %59 ], [ %.pn29, %54 ], [ %.pn, %49 ]
  call void @_ZN5boost11multi_arrayIdLm2ESaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %2) #7
  br label %132

132:                                              ; preds = %131, %43
  %.pn39.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn, %131 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn39.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZN5boost6detail11multi_array10extent_genILm0EEixEl(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost6detail11multi_array10extent_genILm1EEixEl(ptr dead_on_unwind noalias writable sret(%"class.boost::detail::multi_array::extent_gen.7") align 8, ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost15multi_array_refIdLm2EEixEl(ptr dead_on_unwind noalias writable sret(%"class.boost::detail::multi_array::sub_array") align 8, ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK5amgcl6detail2QRIdvE1REii(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

declare void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10check_frwdINS0_16check_is_small_tEddEEbT_RKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeERKT0_PSA_RKT1_SH_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost9unit_testlsIA1_cEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS5_EERKS4_S7_(ptr dead_on_unwind noalias writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8, ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv() local_unnamed_addr #6

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 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 = { 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 #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, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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