; LLVM IR from tivole/Numerary :: test (test_lagrange_polynomial)

; 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::unit_test::basic_cstring" = type { ptr, ptr }
%"class.boost::test_tools::assertion_result" = type { %"class.boost::test_tools::assertion_result::readonly_property65", %"class.boost::shared_ptr" }
%"class.boost::test_tools::assertion_result::readonly_property65" = type { %"class.boost::unit_test::readonly_property" }
%"class.boost::unit_test::readonly_property" = type { %"class.boost::unit_test::class_property" }
%"class.boost::unit_test::class_property" = type { i8 }
%"class.boost::shared_ptr" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { 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 global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8numerary22TestLagrangePolynomial24test_lagrange_polynomial11test_methodEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %20 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %21 = alloca %"class.boost::test_tools::assertion_result", align 8
  %22 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %26 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %27 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %28 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %29 = alloca %"class.boost::test_tools::assertion_result", align 8
  %30 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %31 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %32 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %33 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %34 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %35 = alloca %"class.boost::test_tools::assertion_result", align 8
  %36 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %37 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %38 = alloca %"class.boost::unit_test::basic_cstring", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %39 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  store i32 11, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  store i32 51, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %40 = call noalias noundef nonnull ptr @_Znam(i64 noundef 88) #11
  store ptr %40, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %41 = call noalias noundef nonnull ptr @_Znam(i64 noundef 88) #11
  store ptr %41, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %42 = call noalias noundef nonnull ptr @_Znam(i64 noundef 408) #11
  store ptr %42, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %43 = call noalias noundef nonnull ptr @_Znam(i64 noundef 408) #11
  store ptr %43, ptr %15, align 8, !tbaa !5
  store double -5.000000e+00, ptr %6, align 8, !tbaa !11
  store double 5.000000e+00, ptr %7, align 8, !tbaa !11
  %44 = load double, ptr %7, align 8, !tbaa !11
  %45 = load double, ptr %6, align 8, !tbaa !11
  %46 = fsub double %44, %45
  %47 = fdiv double %46, 1.000000e+01
  store double %47, ptr %8, align 8, !tbaa !11
  %48 = load double, ptr %6, align 8, !tbaa !11
  store double %48, ptr %9, align 8, !tbaa !11
  %49 = load double, ptr %6, align 8, !tbaa !11
  %50 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %49)
  store double %50, ptr %10, align 8, !tbaa !11
  %51 = load double, ptr %6, align 8, !tbaa !11
  %52 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %51)
  store double %52, ptr %11, align 8, !tbaa !11
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %100, %1
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = icmp slt i32 %54, 11
  br i1 %55, label %56, label %106

56:                                               ; preds = %53
  %57 = load double, ptr %9, align 8, !tbaa !11
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = load i32, ptr %5, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %58, i64 %60
  store double %57, ptr %61, align 8, !tbaa !11
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %62, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %66)
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = load i32, ptr %5, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %68, i64 %70
  store double %67, ptr %71, align 8, !tbaa !11
  %72 = load double, ptr %10, align 8, !tbaa !11
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = fcmp ogt double %72, %77
  br i1 %78, label %79, label %85

79:                                               ; preds = %56
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = load i32, ptr %5, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !11
  store double %84, ptr %10, align 8, !tbaa !11
  br label %85

85:                                               ; preds = %79, %56
  %86 = load double, ptr %11, align 8, !tbaa !11
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds double, ptr %87, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !11
  %92 = fcmp olt double %86, %91
  br i1 %92, label %93, label %99

93:                                               ; preds = %85
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = load i32, ptr %5, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds double, ptr %94, i64 %96
  %98 = load double, ptr %97, align 8, !tbaa !11
  store double %98, ptr %11, align 8, !tbaa !11
  br label %99

99:                                               ; preds = %93, %85
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %5, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %5, align 4, !tbaa !9
  %103 = load double, ptr %8, align 8, !tbaa !11
  %104 = load double, ptr %9, align 8, !tbaa !11
  %105 = fadd double %104, %103
  store double %105, ptr %9, align 8, !tbaa !11
  br label %53, !llvm.loop !13

106:                                              ; preds = %53
  %107 = load double, ptr %7, align 8, !tbaa !11
  %108 = load double, ptr %6, align 8, !tbaa !11
  %109 = fsub double %107, %108
  %110 = fdiv double %109, 5.000000e+01
  store double %110, ptr %8, align 8, !tbaa !11
  %111 = load double, ptr %6, align 8, !tbaa !11
  store double %111, ptr %9, align 8, !tbaa !11
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %112

112:                                              ; preds = %132, %106
  %113 = load i32, ptr %5, align 4, !tbaa !9
  %114 = icmp slt i32 %113, 51
  br i1 %114, label %115, label %138

115:                                              ; preds = %112
  %116 = load double, ptr %9, align 8, !tbaa !11
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %117, i64 %119
  store double %116, ptr %120, align 8, !tbaa !11
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = load i32, ptr %5, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = call noundef double @_ZN8numerary8Numerary19lagrange_polynomialEPdS1_RKdRKi(ptr noundef %121, ptr noundef %122, ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %128 = load ptr, ptr %15, align 8, !tbaa !5
  %129 = load i32, ptr %5, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds double, ptr %128, i64 %130
  store double %127, ptr %131, align 8, !tbaa !11
  br label %132

132:                                              ; preds = %115
  %133 = load i32, ptr %5, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %5, align 4, !tbaa !9
  %135 = load double, ptr %8, align 8, !tbaa !11
  %136 = load double, ptr %9, align 8, !tbaa !11
  %137 = fadd double %136, %135
  store double %137, ptr %9, align 8, !tbaa !11
  br label %112, !llvm.loop !15

138:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = getelementptr inbounds double, ptr %139, i64 0
  %141 = load double, ptr %140, align 8, !tbaa !11
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = getelementptr inbounds double, ptr %142, i64 0
  %144 = load double, ptr %143, align 8, !tbaa !11
  %145 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %144)
  %146 = fsub double %141, %145
  %147 = fptosi double %146 to i32
  %148 = call i32 @llvm.abs.i32(i32 %147, i1 true)
  %149 = sitofp i32 %148 to double
  store double %149, ptr %16, align 8, !tbaa !11
  %150 = load ptr, ptr %15, align 8, !tbaa !5
  %151 = getelementptr inbounds double, ptr %150, i64 0
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = load ptr, ptr %14, align 8, !tbaa !5
  %154 = getelementptr inbounds double, ptr %153, i64 0
  %155 = load double, ptr %154, align 8, !tbaa !11
  %156 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %155)
  %157 = fsub double %152, %156
  %158 = fptosi double %157 to i32
  %159 = call i32 @llvm.abs.i32(i32 %158, i1 true)
  %160 = sitofp i32 %159 to double
  store double %160, ptr %17, align 8, !tbaa !11
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  %162 = getelementptr inbounds double, ptr %161, i64 0
  %163 = load double, ptr %162, align 8, !tbaa !11
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = getelementptr inbounds double, ptr %164, i64 0
  %166 = load double, ptr %165, align 8, !tbaa !11
  %167 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %166)
  %168 = fsub double %163, %167
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = getelementptr inbounds double, ptr %169, i64 0
  %171 = load double, ptr %170, align 8, !tbaa !11
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = getelementptr inbounds double, ptr %172, i64 0
  %174 = load double, ptr %173, align 8, !tbaa !11
  %175 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %174)
  %176 = fsub double %171, %175
  %177 = fmul double %168, %176
  store double %177, ptr %18, align 8, !tbaa !11
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %178

178:                                              ; preds = %210, %138
  %179 = load i32, ptr %5, align 4, !tbaa !9
  %180 = icmp slt i32 %179, 51
  br i1 %180, label %181, label %213

181:                                              ; preds = %178
  %182 = load ptr, ptr %15, align 8, !tbaa !5
  %183 = load i32, ptr %5, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %182, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !11
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = load i32, ptr %5, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !11
  %192 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %191)
  %193 = fsub double %186, %192
  %194 = fptosi double %193 to i32
  %195 = call i32 @llvm.abs.i32(i32 %194, i1 true)
  %196 = sitofp i32 %195 to double
  store double %196, ptr %9, align 8, !tbaa !11
  %197 = load double, ptr %9, align 8, !tbaa !11
  %198 = load double, ptr %16, align 8, !tbaa !11
  %199 = fcmp ogt double %197, %198
  br i1 %199, label %200, label %202

200:                                              ; preds = %181
  %201 = load double, ptr %9, align 8, !tbaa !11
  store double %201, ptr %16, align 8, !tbaa !11
  br label %202

202:                                              ; preds = %200, %181
  %203 = load double, ptr %9, align 8, !tbaa !11
  %204 = load double, ptr %17, align 8, !tbaa !11
  %205 = fadd double %204, %203
  store double %205, ptr %17, align 8, !tbaa !11
  %206 = load double, ptr %9, align 8, !tbaa !11
  %207 = load double, ptr %9, align 8, !tbaa !11
  %208 = load double, ptr %18, align 8, !tbaa !11
  %209 = call double @llvm.fmuladd.f64(double %206, double %207, double %208)
  store double %209, ptr %18, align 8, !tbaa !11
  br label %210

210:                                              ; preds = %202
  %211 = load i32, ptr %5, align 4, !tbaa !9
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %5, align 4, !tbaa !9
  br label %178, !llvm.loop !16

213:                                              ; preds = %178
  %214 = load double, ptr %18, align 8, !tbaa !11
  %215 = call double @sqrt(double noundef %214) #10
  store double %215, ptr %18, align 8, !tbaa !11
  br label %216

216:                                              ; preds = %227, %213
  %217 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !5
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %217, ptr noundef %19, i64 noundef 67, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  %218 = load double, ptr %16, align 8, !tbaa !11
  %219 = fcmp olt double %218, 1.000000e-02
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %21, i1 noundef zeroext %219)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #10
  %220 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %221 unwind label %274

221:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #10
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.6, i64 noundef 14)
          to label %222 unwind label %278

222:                                              ; preds = %221
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %22, ptr noundef nonnull align 8 dereferenceable(9) %220, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %223 unwind label %278

223:                                              ; preds = %222
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef @.str.3, i64 noundef 82)
          to label %224 unwind label %282

224:                                              ; preds = %223
  %225 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(9) %22, ptr noundef %26, i64 noundef 67, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %226 unwind label %282

226:                                              ; preds = %224
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %227

227:                                              ; preds = %226
  %228 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %228, label %216, label %229, !llvm.loop !17

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %241, %229
  %231 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !5
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef %27, i64 noundef 68, ptr noundef %28)
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #10
  %232 = load double, ptr %17, align 8, !tbaa !11
  %233 = fcmp olt double %232, 1.000000e-01
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %29, i1 noundef zeroext %233)
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #10
  %234 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %235 unwind label %288

235:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #10
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef @.str.7, i64 noundef 14)
          to label %236 unwind label %292

236:                                              ; preds = %235
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %30, ptr noundef nonnull align 8 dereferenceable(9) %234, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %237 unwind label %292

237:                                              ; preds = %236
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef @.str.3, i64 noundef 82)
          to label %238 unwind label %296

238:                                              ; preds = %237
  %239 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(9) %30, ptr noundef %32, i64 noundef 68, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %240 unwind label %296

240:                                              ; preds = %238
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #10
  br label %241

241:                                              ; preds = %240
  %242 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %242, label %230, label %243, !llvm.loop !18

243:                                              ; preds = %241
  br label %244

244:                                              ; preds = %255, %243
  %245 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !5
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef %33, i64 noundef 69, ptr noundef %34)
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #10
  %246 = load double, ptr %18, align 8, !tbaa !11
  %247 = fcmp olt double %246, 1.000000e-01
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %35, i1 noundef zeroext %247)
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #10
  %248 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %249 unwind label %302

249:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #10
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef @.str.8, i64 noundef 14)
          to label %250 unwind label %306

250:                                              ; preds = %249
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %36, ptr noundef nonnull align 8 dereferenceable(9) %248, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %251 unwind label %306

251:                                              ; preds = %250
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef @.str.3, i64 noundef 82)
          to label %252 unwind label %310

252:                                              ; preds = %251
  %253 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(9) %36, ptr noundef %38, i64 noundef 69, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %254 unwind label %310

254:                                              ; preds = %252
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #10
  br label %255

255:                                              ; preds = %254
  %256 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %256, label %244, label %257, !llvm.loop !19

257:                                              ; preds = %255
  %258 = load ptr, ptr %12, align 8, !tbaa !5
  %259 = icmp eq ptr %258, null
  br i1 %259, label %261, label %260

260:                                              ; preds = %257
  call void @_ZdaPv(ptr noundef %258) #12
  br label %261

261:                                              ; preds = %260, %257
  %262 = load ptr, ptr %13, align 8, !tbaa !5
  %263 = icmp eq ptr %262, null
  br i1 %263, label %265, label %264

264:                                              ; preds = %261
  call void @_ZdaPv(ptr noundef %262) #12
  br label %265

265:                                              ; preds = %264, %261
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  %267 = icmp eq ptr %266, null
  br i1 %267, label %269, label %268

268:                                              ; preds = %265
  call void @_ZdaPv(ptr noundef %266) #12
  br label %269

269:                                              ; preds = %268, %265
  %270 = load ptr, ptr %15, align 8, !tbaa !5
  %271 = icmp eq ptr %270, null
  br i1 %271, label %273, label %272

272:                                              ; preds = %269
  call void @_ZdaPv(ptr noundef %270) #12
  br label %273

273:                                              ; preds = %272, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  ret void

274:                                              ; preds = %216
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %23, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %24, align 4
  br label %287

278:                                              ; preds = %222, %221
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %23, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %24, align 4
  br label %286

282:                                              ; preds = %224, %223
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %23, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %24, align 4
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %286

286:                                              ; preds = %282, %278
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  br label %287

287:                                              ; preds = %286, %274
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %316

288:                                              ; preds = %230
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %23, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %24, align 4
  br label %301

292:                                              ; preds = %236, %235
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %23, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %24, align 4
  br label %300

296:                                              ; preds = %238, %237
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %23, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %24, align 4
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  br label %300

300:                                              ; preds = %296, %292
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  br label %301

301:                                              ; preds = %300, %288
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #10
  br label %316

302:                                              ; preds = %244
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %23, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %24, align 4
  br label %315

306:                                              ; preds = %250, %249
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %23, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %24, align 4
  br label %314

310:                                              ; preds = %252, %251
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %23, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %24, align 4
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  br label %314

314:                                              ; preds = %310, %306
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #10
  br label %315

315:                                              ; preds = %314, %302
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #10
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #10
  br label %316

316:                                              ; preds = %315, %301, %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %317

317:                                              ; preds = %316
  %318 = load ptr, ptr %23, align 8
  %319 = load i32, ptr %24, align 4
  %320 = insertvalue { ptr, i32 } poison, ptr %318, 0
  %321 = insertvalue { ptr, i32 } %320, i32 %319, 1
  resume { ptr, i32 } %321
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

declare noundef double @_ZN8numerary8Numerary19lagrange_polynomialEPdS1_RKdRKi(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #5

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #6

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: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #0 align 2

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

declare noundef zeroext i1 @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, ...) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(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 8 dereferenceable(16)) #7

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(9)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nobuiltin allocsize(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nobuiltin 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !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::unit_test::basic_cstring" = type { ptr, ptr }
%"class.boost::test_tools::assertion_result" = type { %"class.boost::test_tools::assertion_result::readonly_property65", %"class.boost::shared_ptr" }
%"class.boost::test_tools::assertion_result::readonly_property65" = type { %"class.boost::unit_test::readonly_property" }
%"class.boost::unit_test::readonly_property" = type { %"class.boost::unit_test::class_property" }
%"class.boost::unit_test::class_property" = type { i8 }
%"class.boost::shared_ptr" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { 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
@.str.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8numerary22TestLagrangePolynomial24test_lagrange_polynomial11test_methodEv(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
.preheader101.preheader:
  %1 = alloca i32, align 4
  %2 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %3 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %4 = alloca %"class.boost::test_tools::assertion_result", align 8
  %5 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %6 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %7 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %8 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %9 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %10 = alloca %"class.boost::test_tools::assertion_result", align 8
  %11 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %12 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %13 = alloca %"class.boost::unit_test::basic_cstring", 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::test_tools::assertion_result", align 8
  %17 = alloca %"class.boost::unit_test::lazy_ostream_impl", align 8
  %18 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %19 = alloca %"class.boost::unit_test::basic_cstring", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #11
  store i32 11, ptr %1, align 4, !tbaa !5
  %20 = tail call noalias noundef nonnull dereferenceable(88) ptr @_Znam(i64 noundef 88) #12
  %21 = tail call noalias noundef nonnull dereferenceable(88) ptr @_Znam(i64 noundef 88) #12
  %22 = tail call noalias noundef nonnull dereferenceable(408) ptr @_Znam(i64 noundef 408) #12
  %23 = tail call noalias noundef nonnull dereferenceable(408) ptr @_Znam(i64 noundef 408) #12
  %24 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -5.000000e+00)
  %25 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -5.000000e+00)
  store double -5.000000e+00, ptr %20, align 8, !tbaa !9
  %26 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -5.000000e+00)
  store double %26, ptr %21, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %20, i64 8
  store double -4.000000e+00, ptr %27, align 8, !tbaa !9
  %28 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -4.000000e+00)
  %29 = getelementptr inbounds i8, ptr %21, i64 8
  store double %28, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %20, i64 16
  store double -3.000000e+00, ptr %30, align 8, !tbaa !9
  %31 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -3.000000e+00)
  %32 = getelementptr inbounds i8, ptr %21, i64 16
  store double %31, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %20, i64 24
  store double -2.000000e+00, ptr %33, align 8, !tbaa !9
  %34 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -2.000000e+00)
  %35 = getelementptr inbounds i8, ptr %21, i64 24
  store double %34, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %20, i64 32
  store double -1.000000e+00, ptr %36, align 8, !tbaa !9
  %37 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef -1.000000e+00)
  %38 = getelementptr inbounds i8, ptr %21, i64 32
  store double %37, ptr %38, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %20, i64 40
  store double 0.000000e+00, ptr %39, align 8, !tbaa !9
  %40 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 0.000000e+00)
  %41 = getelementptr inbounds i8, ptr %21, i64 40
  store double %40, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %20, i64 48
  store double 1.000000e+00, ptr %42, align 8, !tbaa !9
  %43 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 1.000000e+00)
  %44 = getelementptr inbounds i8, ptr %21, i64 48
  store double %43, ptr %44, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %20, i64 56
  store double 2.000000e+00, ptr %45, align 8, !tbaa !9
  %46 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 2.000000e+00)
  %47 = getelementptr inbounds i8, ptr %21, i64 56
  store double %46, ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %20, i64 64
  store double 3.000000e+00, ptr %48, align 8, !tbaa !9
  %49 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 3.000000e+00)
  %50 = getelementptr inbounds i8, ptr %21, i64 64
  store double %49, ptr %50, align 8, !tbaa !9
  %51 = getelementptr inbounds i8, ptr %20, i64 72
  store double 4.000000e+00, ptr %51, align 8, !tbaa !9
  %52 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 4.000000e+00)
  %53 = getelementptr inbounds i8, ptr %21, i64 72
  store double %52, ptr %53, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %20, i64 80
  store double 5.000000e+00, ptr %54, align 8, !tbaa !9
  %55 = tail call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef 5.000000e+00)
  %56 = getelementptr inbounds i8, ptr %21, i64 80
  store double %55, ptr %56, align 8, !tbaa !9
  br label %.preheader101

.preheader101:                                    ; preds = %.preheader101.preheader, %.preheader101
  %indvars.iv = phi i64 [ 0, %.preheader101.preheader ], [ %indvars.iv.next, %.preheader101 ]
  %.186106 = phi double [ -5.000000e+00, %.preheader101.preheader ], [ %60, %.preheader101 ]
  %57 = getelementptr inbounds double, ptr %22, i64 %indvars.iv
  store double %.186106, ptr %57, align 8, !tbaa !9
  %58 = call noundef double @_ZN8numerary8Numerary19lagrange_polynomialEPdS1_RKdRKi(ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %59 = getelementptr inbounds double, ptr %23, i64 %indvars.iv
  store double %58, ptr %59, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = fadd double %.186106, 2.000000e-01
  %exitcond.not = icmp eq i64 %indvars.iv.next, 51
  br i1 %exitcond.not, label %61, label %.preheader101, !llvm.loop !11

61:                                               ; preds = %.preheader101
  %62 = load double, ptr %23, align 8, !tbaa !9
  %63 = load double, ptr %22, align 8, !tbaa !9
  %64 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %63)
  %65 = load double, ptr %22, align 8, !tbaa !9
  %66 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %65)
  %67 = insertelement <2 x double> poison, double %62, i64 0
  %68 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> zeroinitializer
  %69 = insertelement <2 x double> poison, double %66, i64 0
  %70 = insertelement <2 x double> %69, double %64, i64 1
  %71 = fsub <2 x double> %68, %70
  %72 = fptosi <2 x double> %71 to <2 x i32>
  %73 = call <2 x i32> @llvm.abs.v2i32(<2 x i32> %72, i1 true)
  %74 = uitofp nneg <2 x i32> %73 to <2 x double>
  %75 = load double, ptr %22, align 8, !tbaa !9
  %76 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %75)
  %77 = fsub double %62, %76
  %78 = load double, ptr %22, align 8, !tbaa !9
  %79 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %78)
  %80 = fsub double %62, %79
  %81 = fmul double %77, %80
  br label %82

82:                                               ; preds = %61, %82
  %indvars.iv115 = phi i64 [ 1, %61 ], [ %indvars.iv.next116, %82 ]
  %.078111 = phi double [ %81, %61 ], [ %97, %82 ]
  %83 = phi <2 x double> [ %74, %61 ], [ %99, %82 ]
  %84 = getelementptr inbounds double, ptr %23, i64 %indvars.iv115
  %85 = load double, ptr %84, align 8, !tbaa !9
  %86 = getelementptr inbounds double, ptr %22, i64 %indvars.iv115
  %87 = load double, ptr %86, align 8, !tbaa !9
  %88 = call noundef double @_ZN8numerary22TestLagrangePolynomial35test_lagrange_polynomial_function_1Ed(double noundef %87)
  %89 = fsub double %85, %88
  %90 = fptosi double %89 to i32
  %91 = call i32 @llvm.abs.i32(i32 %90, i1 true)
  %92 = uitofp nneg i32 %91 to double
  %93 = extractelement <2 x double> %83, i64 1
  %94 = fcmp olt double %93, %92
  %.181 = select i1 %94, double %92, double %93
  %95 = extractelement <2 x double> %83, i64 0
  %96 = fadd double %95, %92
  %97 = call double @llvm.fmuladd.f64(double %92, double %92, double %.078111)
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next116, 51
  %98 = insertelement <2 x double> poison, double %96, i64 0
  %99 = insertelement <2 x double> %98, double %.181, i64 1
  br i1 %exitcond118.not, label %100, label %82, !llvm.loop !13

100:                                              ; preds = %82
  %101 = call double @sqrt(double noundef %97) #11
  %102 = fcmp olt double %.181, 1.000000e-02
  br label %103

103:                                              ; preds = %108, %100
  %104 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !14
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull %2, i64 noundef 67, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %4, i1 noundef zeroext %102)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #11
  %105 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull @.str.6, i64 noundef 14)
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind nonnull writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %5, ptr noundef nonnull align 8 dereferenceable(9) %105, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %106 unwind label %127

106:                                              ; preds = %103
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.3, i64 noundef 82)
  %107 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(9) %5, ptr noundef nonnull %7, i64 noundef 67, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %108 unwind label %129

108:                                              ; preds = %106
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  %109 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %109, label %103, label %.preheader100, !llvm.loop !16

.preheader100:                                    ; preds = %108
  %110 = fcmp olt double %96, 1.000000e-01
  br label %111

111:                                              ; preds = %.preheader100, %116
  %112 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !14
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull %8, i64 noundef 68, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #11
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %10, i1 noundef zeroext %110)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #11
  %113 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull @.str.7, i64 noundef 14)
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind nonnull writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(9) %113, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %114 unwind label %132

114:                                              ; preds = %111
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull @.str.3, i64 noundef 82)
  %115 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(9) %11, ptr noundef nonnull %13, i64 noundef 68, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %116 unwind label %134

116:                                              ; preds = %114
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #11
  %117 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %117, label %111, label %.preheader, !llvm.loop !17

.preheader:                                       ; preds = %116
  %118 = fcmp olt double %101, 1.000000e-01
  br label %119

119:                                              ; preds = %.preheader, %124
  %120 = load ptr, ptr @_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE, align 8, !tbaa !14
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull @.str.3, i64 noundef 82)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull %14, i64 noundef 69, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #11
  call void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24) %16, i1 noundef zeroext %118)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #11
  %121 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #11
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull @.str.8, i64 noundef 14)
  invoke void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(ptr dead_on_unwind nonnull writable sret(%"class.boost::unit_test::lazy_ostream_impl") align 8 %17, ptr noundef nonnull align 8 dereferenceable(9) %121, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %122 unwind label %137

122:                                              ; preds = %119
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull @.str.3, i64 noundef 82)
  %123 = invoke noundef zeroext i1 (ptr, ptr, ptr, i64, i32, i32, i64, ...) @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(9) %17, ptr noundef nonnull %19, i64 noundef 69, i32 noundef 1, i32 noundef 0, i64 noundef 0)
          to label %124 unwind label %139

124:                                              ; preds = %122
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #11
  %125 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %125, label %119, label %126, !llvm.loop !18

126:                                              ; preds = %124
  call void @_ZdaPv(ptr noundef nonnull %20) #13
  call void @_ZdaPv(ptr noundef nonnull %21) #13
  call void @_ZdaPv(ptr noundef nonnull %22) #13
  call void @_ZdaPv(ptr noundef nonnull %23) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #11
  ret void

127:                                              ; preds = %103
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %106
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  br label %131

131:                                              ; preds = %129, %127
  %.pn = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  br label %142

132:                                              ; preds = %111
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %114
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  br label %136

136:                                              ; preds = %134, %132
  %.pn95 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #11
  br label %142

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

139:                                              ; preds = %122
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  br label %141

141:                                              ; preds = %139, %137
  %.pn97 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #11
  br label %142

142:                                              ; preds = %141, %136, %131
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %141 ], [ %.pn95, %136 ], [ %.pn, %131 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #11
  resume { ptr, i32 } %.pn97.pn
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

declare noundef double @_ZN8numerary8Numerary19lagrange_polynomialEPdS1_RKdRKi(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #5

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

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

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: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #0 align 2

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

declare noundef zeroext i1 @_ZN5boost10test_tools9tt_detail16report_assertionERKNS0_16assertion_resultERKNS_9unit_test12lazy_ostreamENS5_13basic_cstringIKcEEmNS1_10tool_levelENS1_10check_typeEmz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools16assertion_resultC2Eb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost9unit_testlsINS0_13basic_cstringIKcEEEENS0_17lazy_ostream_implINS0_12lazy_ostreamET_RKS7_EERKS6_S9_(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 8 dereferenceable(16)) local_unnamed_addr #7

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #9

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.abs.v2i32(<2 x i32>, i1 immarg) #10

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


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