; LLVM IR from Mjolnir-MD/Mjolnir :: test/core/test_clementi_dihedral_potential.ll (ZN22ClementiDihedral_float11test_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::unit_test::lazy_ostream_impl.320" = type { %"class.boost::unit_test::lazy_ostream.base", ptr, ptr }
%"class.boost::unit_test::lazy_ostream.base" = type <{ ptr, i8 }>
%"class.mjolnir::ClementiDihedralPotential.321" = type { float, float, float }
%"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.225" }
%"class.boost::test_tools::assertion_result::readonly_property65" = type { %"class.boost::unit_test::readonly_property.213" }
%"class.boost::unit_test::readonly_property.213" = type { %"class.boost::unit_test::class_property.98" }
%"class.boost::unit_test::class_property.98" = type { i8 }
%"class.boost::shared_ptr.225" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322" = type <{ ptr, %"class.std::__cxx11::list.314", i8, [7 x i8] }>
%"class.std::__cxx11::list.314" = type { %"class.std::__cxx11::_List_base.315" }
%"class.std::__cxx11::_List_base.315" = type { %"struct.std::__cxx11::_List_base<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>, std::allocator<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>, std::allocator<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.boost::test_tools::assertion::binary_expr.324" = type { %"class.boost::test_tools::assertion::value_expr.326", float }
%"class.boost::test_tools::assertion::value_expr.326" = type { float }
%"class.boost::test_tools::assertion::seed" = type { i8 }
%"struct.boost::test_tools::tt_detail::tolerance_manip.328" = type { float }
%"struct.boost::test_tools::tt_detail::assertion_type" = type { i32 }

@_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE = external hidden global ptr, align 8
@.str.401 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.402 = external hidden unnamed_addr constant [58 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local 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, ...) #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detail14assertion_textERKNS_9unit_test12lazy_ostreamES5_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) #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.320") align 8, ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(16)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5boost10test_tools9tt_detail14assertion_typecvNS1_10check_typeEEv(ptr noundef nonnull align 4 dereferenceable(4)) #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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN22ClementiDihedral_float11test_methodEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %"class.mjolnir::ClementiDihedralPotential.321", align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i64, align 8
  %16 = alloca float, align 4
  %17 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %18 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %19 = alloca %"class.boost::test_tools::assertion_result", align 8
  %20 = alloca %"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322", align 8
  %21 = alloca %"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322", align 8
  %22 = alloca %"class.boost::test_tools::assertion::binary_expr.324", align 4
  %23 = alloca %"class.boost::test_tools::assertion::value_expr.326", align 4
  %24 = alloca %"class.boost::test_tools::assertion::seed", align 1
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.boost::unit_test::lazy_ostream_impl.320", align 8
  %31 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %32 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  %33 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %34 = alloca %"struct.boost::test_tools::tt_detail::assertion_type", align 4
  %35 = alloca %"struct.boost::test_tools::tt_detail::assertion_type", align 4
  %36 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %37 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 100, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 0x3F847AE140000000, ptr %4, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store float 0x3F847AE140000000, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store float 0x400921FB60000000, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 0x401921FB60000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 1.000000e+00, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store float 2.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float 0x4000C15240000000, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #6
  call void @_ZN7mjolnir25ClementiDihedralPotentialIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 0x4000C15240000000)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store float 0.000000e+00, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store float 0x401921FB60000000, ptr %13, align 4, !tbaa !11
  call void @_ZN7mjolnir4test15check_potentialINS_25ClementiDihedralPotentialIfEEEEvRKT_NS4_9real_typeES7_S7_S7_m(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef 0.000000e+00, float noundef 0x401921FB60000000, float noundef 0x3F847AE140000000, float noundef 0x3F847AE140000000, i64 noundef 100)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0x3FB015BFA0000000, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %86, %1
  %39 = load i64, ptr %15, align 8, !tbaa !9
  %40 = icmp ult i64 %39, 100
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %128

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %43 = load i64, ptr %15, align 8, !tbaa !9
  %44 = uitofp i64 %43 to float
  %45 = call float @llvm.fmuladd.f32(float 0x3FB015BFA0000000, float %44, float 0.000000e+00)
  store float %45, ptr %16, align 4, !tbaa !11
  br label %46

46:                                               ; preds = %83, %42
  %47 = 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) %17, ptr noundef @.str.401, i64 noundef 98)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef %17, i64 noundef 69, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %48 = load float, ptr %16, align 4, !tbaa !11
  %49 = call noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef %48) #6
  store float %49, ptr %25, align 4, !tbaa !11
  call void @_ZNK5boost10test_tools9assertion4seedpmIfEENS1_10value_exprIT_EEOS5_(ptr dead_on_unwind writable sret(%"class.boost::test_tools::assertion::value_expr.326") align 4 %23, ptr noundef nonnull align 1 dereferenceable(1) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %50 = load float, ptr %16, align 4, !tbaa !11
  %51 = fadd float %50, 0x401921FB60000000
  %52 = call noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef %51) #6
  store float %52, ptr %26, align 4, !tbaa !11
  call void @_ZN5boost10test_tools9assertion15expression_baseINS1_10value_exprIfEEfEeqIfEENS1_11binary_exprIS4_T_NS1_2op2EQIfNS5_4RhsTIS8_E4typeEvEEEEOS8_(ptr dead_on_unwind writable sret(%"class.boost::test_tools::assertion::binary_expr.324") align 4 %22, ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 4 dereferenceable(4) %26)
  call void @_ZN5boost10test_tools9tt_detail18assertion_evaluateINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEENS1_20assertion_evaluate_tIT_EERKSC_(ptr dead_on_unwind writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8 %21, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %53 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %54 unwind label %89

54:                                               ; preds = %46
  %55 = getelementptr inbounds %"struct.boost::test_tools::tt_detail::tolerance_manip.328", ptr %27, i32 0, i32 0
  store float %53, ptr %55, align 4
  invoke void @_ZN5boost10test_tools9tt_detaillsINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEfEENS1_20assertion_evaluate_tIT_EERKSD_RKNS1_15tolerance_manipIT0_EE(ptr dead_on_unwind writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8 %20, ptr noundef nonnull align 8 dereferenceable(33) %21, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %56 unwind label %89

56:                                               ; preds = %54
  invoke void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEcvNS0_16assertion_resultEEv(ptr dead_on_unwind writable sret(%"class.boost::test_tools::assertion_result") align 8 %19, ptr noundef nonnull align 8 dereferenceable(33) %20)
          to label %57 unwind label %93

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %58 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %59 unwind label %97

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef @.str.402, i64 noundef 57)
          to label %60 unwind label %101

60:                                               ; preds = %59
  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.320") align 8 %30, ptr noundef nonnull align 8 dereferenceable(9) %58, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %61 unwind label %101

61:                                               ; preds = %60
  %62 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
          to label %63 unwind label %105

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %64 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %65 unwind label %109

65:                                               ; preds = %63
  %66 = getelementptr inbounds %"struct.boost::test_tools::tt_detail::tolerance_manip.328", ptr %32, i32 0, i32 0
  store float %64, ptr %66, align 4
  %67 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detaillsIfEERNS_9unit_test12lazy_ostreamES5_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 8 dereferenceable(9) %62, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %68 unwind label %109

68:                                               ; preds = %65
  %69 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detail14assertion_textERKNS_9unit_test12lazy_ostreamES5_(ptr noundef nonnull align 8 dereferenceable(9) %30, ptr noundef nonnull align 8 dereferenceable(9) %67)
          to label %70 unwind label %109

70:                                               ; preds = %68
  invoke void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef @.str.401, i64 noundef 98)
          to label %71 unwind label %109

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  invoke void @_ZN5boost10test_tools9tt_detail14assertion_typeC2ENS1_10check_typeE(ptr noundef nonnull align 4 dereferenceable(4) %35, i32 noundef 1)
          to label %72 unwind label %113

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %73 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %74 unwind label %117

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"struct.boost::test_tools::tt_detail::tolerance_manip.328", ptr %36, i32 0, i32 0
  store float %73, ptr %75, align 4
  %76 = invoke i32 @_ZN5boost10test_tools9tt_detaillsIfEENS1_14assertion_typeERKS3_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %77 unwind label %117

77:                                               ; preds = %74
  %78 = getelementptr inbounds %"struct.boost::test_tools::tt_detail::assertion_type", ptr %34, i32 0, i32 0
  store i32 %76, ptr %78, align 4
  %79 = invoke noundef i32 @_ZN5boost10test_tools9tt_detail14assertion_typecvNS1_10check_typeEEv(ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %80 unwind label %117

80:                                               ; preds = %77
  %81 = 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) %19, ptr noundef nonnull align 8 dereferenceable(9) %69, ptr noundef %33, i64 noundef 69, i32 noundef 1, i32 noundef %79, i64 noundef 0)
          to label %82 unwind label %117

82:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %83

83:                                               ; preds = %82
  %84 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %84, label %46, label %85, !llvm.loop !13

85:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %15, align 8, !tbaa !9
  %88 = add i64 %87, 1
  store i64 %88, ptr %15, align 8, !tbaa !9
  br label %38, !llvm.loop !15

89:                                               ; preds = %54, %46
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %28, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %29, align 4
  br label %127

93:                                               ; preds = %56
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %28, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %29, align 4
  br label %126

97:                                               ; preds = %57
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %28, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %29, align 4
  br label %125

101:                                              ; preds = %60, %59
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %28, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %29, align 4
  br label %124

105:                                              ; preds = %61
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %28, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %29, align 4
  br label %123

109:                                              ; preds = %70, %68, %65, %63
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %28, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %29, align 4
  br label %122

113:                                              ; preds = %71
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %28, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %29, align 4
  br label %121

117:                                              ; preds = %80, %77, %74, %72
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %28, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %121

121:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br label %122

122:                                              ; preds = %121, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %123

123:                                              ; preds = %122, %105
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %124

124:                                              ; preds = %123, %101
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  br label %125

125:                                              ; preds = %124, %97
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %126

126:                                              ; preds = %125, %93
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %20) #6
  br label %127

127:                                              ; preds = %126, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %129

128:                                              ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void

129:                                              ; preds = %127
  %130 = load ptr, ptr %28, align 8
  %131 = load i32, ptr %29, align 4
  %132 = insertvalue { ptr, i32 } poison, ptr %130, 0
  %133 = insertvalue { ptr, i32 } %132, i32 %131, 1
  resume { ptr, i32 } %133
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7mjolnir25ClementiDihedralPotentialIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7mjolnir4test15check_potentialINS_25ClementiDihedralPotentialIfEEEEvRKT_NS4_9real_typeES7_S7_S7_m(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef, float noundef, i64 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detaillsINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEfEENS1_20assertion_evaluate_tIT_EERKSD_RKNS1_15tolerance_manipIT0_EE(ptr dead_on_unwind noalias writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail18assertion_evaluateINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEENS1_20assertion_evaluate_tIT_EERKSC_(ptr dead_on_unwind noalias writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8, ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5boost10test_tools9assertion4seedpmIfEENS1_10value_exprIT_EEOS5_(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion::value_expr.326") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9assertion15expression_baseINS1_10value_exprIfEEfEeqIfEENS1_11binary_exprIS4_T_NS1_2op2EQIfNS5_4RhsTIS8_E4typeEvEEEEOS8_(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion::binary_expr.324") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEcvNS0_16assertion_resultEEv(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion_result") align 8, ptr noundef nonnull align 8 dereferenceable(33)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5boost10test_tools9tt_detaillsIfEENS1_14assertion_typeERKS3_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #2 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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::lazy_ostream_impl.320" = type { %"class.boost::unit_test::lazy_ostream.base", ptr, ptr }
%"class.boost::unit_test::lazy_ostream.base" = type <{ ptr, i8 }>
%"class.mjolnir::ClementiDihedralPotential.321" = type { float, float, float }
%"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.225" }
%"class.boost::test_tools::assertion_result::readonly_property65" = type { %"class.boost::unit_test::readonly_property.213" }
%"class.boost::unit_test::readonly_property.213" = type { %"class.boost::unit_test::class_property.98" }
%"class.boost::unit_test::class_property.98" = type { i8 }
%"class.boost::shared_ptr.225" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322" = type <{ ptr, %"class.std::__cxx11::list.314", i8, [7 x i8] }>
%"class.std::__cxx11::list.314" = type { %"class.std::__cxx11::_List_base.315" }
%"class.std::__cxx11::_List_base.315" = type { %"struct.std::__cxx11::_List_base<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>, std::allocator<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>, std::allocator<boost::shared_ptr<boost::test_tools::tt_detail::assertion_evaluation_context>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.boost::test_tools::assertion::binary_expr.324" = type { %"class.boost::test_tools::assertion::value_expr.326", float }
%"class.boost::test_tools::assertion::value_expr.326" = type { float }
%"class.boost::test_tools::assertion::seed" = type { i8 }
%"struct.boost::test_tools::tt_detail::tolerance_manip.328" = type { float }
%"struct.boost::test_tools::tt_detail::assertion_type" = type { i32 }

@_ZN5boost9unit_test12_GLOBAL__N_113unit_test_logE = external hidden local_unnamed_addr global ptr, align 8
@.str.401 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.402 = external hidden unnamed_addr constant [58 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; 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: mustprogress uwtable
declare dso_local 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 #3

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

; Function Attrs: mustprogress uwtable
declare dso_local 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 #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detail14assertion_textERKNS_9unit_test12lazy_ostreamES5_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #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.320") align 8, ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5boost10test_tools9tt_detail14assertion_typecvNS1_10check_typeEEv(ptr noundef nonnull align 4 dereferenceable(4)) local_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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN22ClementiDihedral_float11test_methodEv(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.mjolnir::ClementiDihedralPotential.321", align 4
  %3 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %4 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %5 = alloca %"class.boost::test_tools::assertion_result", align 8
  %6 = alloca %"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322", align 8
  %7 = alloca %"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322", align 8
  %8 = alloca %"class.boost::test_tools::assertion::binary_expr.324", align 4
  %9 = alloca %"class.boost::test_tools::assertion::value_expr.326", align 4
  %10 = alloca %"class.boost::test_tools::assertion::seed", align 1
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  %14 = alloca %"class.boost::unit_test::lazy_ostream_impl.320", align 8
  %15 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %16 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  %17 = alloca %"class.boost::unit_test::basic_cstring", align 8
  %18 = alloca %"struct.boost::test_tools::tt_detail::assertion_type", align 4
  %19 = alloca %"struct.boost::test_tools::tt_detail::assertion_type", align 4
  %20 = alloca %"struct.boost::test_tools::tt_detail::tolerance_manip.328", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  call void @_ZN7mjolnir25ClementiDihedralPotentialIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 0x4000C15240000000)
  call void @_ZN7mjolnir4test15check_potentialINS_25ClementiDihedralPotentialIfEEEEvRKT_NS4_9real_typeES7_S7_S7_m(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef 0.000000e+00, float noundef 0x401921FB60000000, float noundef 0x3F847AE140000000, float noundef 0x3F847AE140000000, i64 noundef 100)
  br label %22

21:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  ret void

22:                                               ; preds = %1, %49
  %.01116 = phi i64 [ 0, %1 ], [ %50, %49 ]
  %23 = uitofp nneg i64 %.01116 to float
  %24 = call float @llvm.fmuladd.f32(float %23, float 0x3FB015BFA0000000, float 0.000000e+00)
  %25 = fadd float %24, 0x401921FB60000000
  br label %26

26:                                               ; preds = %47, %22
  %27 = 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) %3, ptr noundef nonnull @.str.401, i64 noundef 98)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN5boost9unit_test15unit_test_log_t14set_checkpointENS0_13basic_cstringIKcEEmS4_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull %3, i64 noundef 69, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %28 = call noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %24) #6
  store float %28, ptr %11, align 4, !tbaa !9
  call void @_ZNK5boost10test_tools9assertion4seedpmIfEENS1_10value_exprIT_EEOS5_(ptr dead_on_unwind nonnull writable sret(%"class.boost::test_tools::assertion::value_expr.326") align 4 %9, ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  %29 = call noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %25) #6
  store float %29, ptr %12, align 4, !tbaa !9
  call void @_ZN5boost10test_tools9assertion15expression_baseINS1_10value_exprIfEEfEeqIfEENS1_11binary_exprIS4_T_NS1_2op2EQIfNS5_4RhsTIS8_E4typeEvEEEEOS8_(ptr dead_on_unwind nonnull writable sret(%"class.boost::test_tools::assertion::binary_expr.324") align 4 %8, ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @_ZN5boost10test_tools9tt_detail18assertion_evaluateINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEENS1_20assertion_evaluate_tIT_EERKSC_(ptr dead_on_unwind nonnull writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8 %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %30 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %31 unwind label %51

31:                                               ; preds = %26
  store float %30, ptr %13, align 4
  invoke void @_ZN5boost10test_tools9tt_detaillsINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEfEENS1_20assertion_evaluate_tIT_EERKSD_RKNS1_15tolerance_manipIT0_EE(ptr dead_on_unwind nonnull writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8 %6, ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %32 unwind label %51

32:                                               ; preds = %31
  invoke void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEcvNS0_16assertion_resultEEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::test_tools::assertion_result") align 8 %5, ptr noundef nonnull align 8 dereferenceable(33) %6)
          to label %33 unwind label %53

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  %34 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull @.str.402, i64 noundef 57)
  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.320") align 8 %14, ptr noundef nonnull align 8 dereferenceable(9) %34, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %35 unwind label %55

35:                                               ; preds = %33
  %36 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost9unit_test12lazy_ostream8instanceEv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %37 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %38 unwind label %57

38:                                               ; preds = %35
  store float %37, ptr %16, align 4
  %39 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detaillsIfEERNS_9unit_test12lazy_ostreamES5_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 8 dereferenceable(9) %36, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %40 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN5boost10test_tools9tt_detail14assertion_textERKNS_9unit_test12lazy_ostreamES5_(ptr noundef nonnull align 8 dereferenceable(9) %14, ptr noundef nonnull align 8 dereferenceable(9) %39)
  call void @_ZN5boost9unit_test13basic_cstringIKcEC2ImEEPS2_T_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str.401, i64 noundef 98)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  call void @_ZN5boost10test_tools9tt_detail14assertion_typeC2ENS1_10check_typeE(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  %41 = invoke float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef 0x3F847AE140000000)
          to label %42 unwind label %59

42:                                               ; preds = %38
  store float %41, ptr %20, align 4
  %43 = invoke i32 @_ZN5boost10test_tools9tt_detaillsIfEENS1_14assertion_typeERKS3_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %44 unwind label %59

44:                                               ; preds = %42
  store i32 %43, ptr %18, align 4
  %45 = call noundef i32 @_ZN5boost10test_tools9tt_detail14assertion_typecvNS1_10check_typeEEv(ptr noundef nonnull align 4 dereferenceable(4) %18)
  %46 = 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) %5, ptr noundef nonnull align 8 dereferenceable(9) %40, ptr noundef nonnull %17, i64 noundef 69, i32 noundef 1, i32 noundef %45, i64 noundef 0)
          to label %47 unwind label %59

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  %48 = call noundef zeroext i1 @_ZN5boost10test_tools9tt_detail10dummy_condEv()
  br i1 %48, label %26, label %49, !llvm.loop !11

49:                                               ; preds = %47
  %50 = add nuw nsw i64 %.01116, 1
  %exitcond.not = icmp eq i64 %50, 100
  br i1 %exitcond.not, label %21, label %22, !llvm.loop !13

51:                                               ; preds = %31, %26
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %64

53:                                               ; preds = %32
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %63

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

57:                                               ; preds = %35
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %44, %42, %38
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br label %61

61:                                               ; preds = %59, %57
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @_ZN5boost9unit_test12lazy_ostreamD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %62

62:                                               ; preds = %61, %55
  %.pn.pn = phi { ptr, i32 } [ %.pn, %61 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @_ZN5boost10test_tools16assertion_resultD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %63

63:                                               ; preds = %62, %53
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %62 ], [ %54, %53 ]
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  br label %64

64:                                               ; preds = %63, %51
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %63 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7mjolnir25ClementiDihedralPotentialIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7mjolnir4test15check_potentialINS_25ClementiDihedralPotentialIfEEEEvRKT_NS4_9real_typeES7_S7_S7_m(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef, float noundef, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detaillsINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEfEENS1_20assertion_evaluate_tIT_EERKSD_RKNS1_15tolerance_manipIT0_EE(ptr dead_on_unwind noalias writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail18assertion_evaluateINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEENS1_20assertion_evaluate_tIT_EERKSC_(ptr dead_on_unwind noalias writable sret(%"struct.boost::test_tools::tt_detail::assertion_evaluate_t.322") align 8, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5boost10test_tools9assertion4seedpmIfEENS1_10value_exprIT_EEOS5_(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion::value_expr.326") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7mjolnir25ClementiDihedralPotentialIfE9potentialEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9assertion15expression_baseINS1_10value_exprIfEEfEeqIfEENS1_11binary_exprIS4_T_NS1_2op2EQIfNS5_4RhsTIS8_E4typeEvEEEEOS8_(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion::binary_expr.324") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local float @_ZN5boost10test_tools9toleranceIfEENS0_9tt_detail15tolerance_manipIT_EES4_(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEEcvNS0_16assertion_resultEEv(ptr dead_on_unwind noalias writable sret(%"class.boost::test_tools::assertion_result") align 8, ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5boost10test_tools9tt_detaillsIfEENS1_14assertion_typeERKS3_RKNS1_15tolerance_manipIT_EE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost10test_tools9tt_detail20assertion_evaluate_tINS0_9assertion11binary_exprINS3_10value_exprIfEEfNS3_2op2EQIffvEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #2 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass