; LLVM IR from AdaptiveCpp/AdaptiveCpp :: tests/pcuda (pcuda_test_suite)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::set.120" = type { %"class.std::_Rb_tree.121" }
%"class.std::_Rb_tree.121" = type { %"struct.std::_Rb_tree<boost::unit_test::global_fixture *, boost::unit_test::global_fixture *, std::_Identity<boost::unit_test::global_fixture *>, std::less<boost::unit_test::global_fixture *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::unit_test::global_fixture *, boost::unit_test::global_fixture *, std::_Identity<boost::unit_test::global_fixture *>, std::less<boost::unit_test::global_fixture *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.boost::unit_test::for_each::static_any" = type { %"struct.std::_Rb_tree_const_iterator" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.mpl_::bool_" = type { i8 }
%"struct.boost::is_const" = type { i8 }
%"struct.boost::type" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.110" }
%"class.std::_Rb_tree.110" = type { %"struct.std::_Rb_tree<boost::unit_test::test_observer *, boost::unit_test::test_observer *, std::_Identity<boost::unit_test::test_observer *>, boost::unit_test::framework::state::priority_order>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::unit_test::test_observer *, boost::unit_test::test_observer *, std::_Identity<boost::unit_test::test_observer *>, boost::unit_test::framework::state::priority_order>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.boost::unit_test::for_each::static_any.134" = type { %"struct.std::_Rb_tree_const_iterator.135" }
%"struct.std::_Rb_tree_const_iterator.135" = type { ptr }
%"struct.boost::is_const.136" = type { i8 }
%"struct.boost::type.137" = type { i8 }
%"class.boost::unit_test::framework::state" = type { ptr, %"class.std::vector.100", i64, %"class.std::map.105", i64, i64, i8, %"class.std::set", %"class.std::vector.115", i32, %"class.std::set.120", %"class.boost::execution_monitor", %"class.std::map.126", %"class.boost::unit_test::runtime_config::stream_holder" }
%"class.std::vector.100" = type { %"struct.std::_Vector_base.101" }
%"struct.std::_Vector_base.101" = type { %"struct.std::_Vector_base<boost::unit_test::test_suite *, std::allocator<boost::unit_test::test_suite *>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::unit_test::test_suite *, std::allocator<boost::unit_test::test_suite *>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::unit_test::test_suite *, std::allocator<boost::unit_test::test_suite *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::unit_test::test_suite *, std::allocator<boost::unit_test::test_suite *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.105" = type { %"class.std::_Rb_tree.106" }
%"class.std::_Rb_tree.106" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, boost::unit_test::test_unit *>, std::_Select1st<std::pair<const unsigned long, boost::unit_test::test_unit *>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, boost::unit_test::test_unit *>, std::_Select1st<std::pair<const unsigned long, boost::unit_test::test_unit *>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.115" = type { %"struct.std::_Vector_base.116" }
%"struct.std::_Vector_base.116" = type { %"struct.std::_Vector_base<boost::unit_test::framework::state::context_frame, std::allocator<boost::unit_test::framework::state::context_frame>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::unit_test::framework::state::context_frame, std::allocator<boost::unit_test::framework::state::context_frame>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::unit_test::framework::state::context_frame, std::allocator<boost::unit_test::framework::state::context_frame>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::unit_test::framework::state::context_frame, std::allocator<boost::unit_test::framework::state::context_frame>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::execution_monitor" = type { %"class.boost::unit_test::readwrite_property.97", %"class.boost::unit_test::readwrite_property.97", %"class.boost::unit_test::readwrite_property.22", %"class.boost::unit_test::readwrite_property.97", %"class.boost::unit_test::readwrite_property.20", %"class.boost::shared_ptr.99", %"class.boost::scoped_array" }
%"class.boost::unit_test::readwrite_property.22" = type { %"class.boost::unit_test::class_property" }
%"class.boost::unit_test::class_property" = type { i64 }
%"class.boost::unit_test::readwrite_property.97" = type { %"class.boost::unit_test::class_property.98" }
%"class.boost::unit_test::class_property.98" = type { i8 }
%"class.boost::unit_test::readwrite_property.20" = type { %"class.boost::unit_test::class_property.21" }
%"class.boost::unit_test::class_property.21" = type { i32 }
%"class.boost::shared_ptr.99" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"class.boost::scoped_array" = type { ptr }
%"class.std::map.126" = type { %"class.std::_Rb_tree.127" }
%"class.std::_Rb_tree.127" = type { %"struct.std::_Rb_tree<boost::unit_test::output_format, std::pair<const boost::unit_test::output_format, boost::unit_test::runtime_config::stream_holder>, std::_Select1st<std::pair<const boost::unit_test::output_format, boost::unit_test::runtime_config::stream_holder>>, std::less<boost::unit_test::output_format>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::unit_test::output_format, std::pair<const boost::unit_test::output_format, boost::unit_test::runtime_config::stream_holder>, std::_Select1st<std::pair<const boost::unit_test::output_format, boost::unit_test::runtime_config::stream_holder>>, std::less<boost::unit_test::output_format>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.boost::unit_test::runtime_config::stream_holder" = type { %"class.boost::shared_ptr.132", ptr }
%"class.boost::shared_ptr.132" = type { ptr, %"class.boost::detail::shared_count" }

; 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 uwtable
declare hidden noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv() #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5boost9unit_test9framework4impl43unregister_global_fixture_and_configurationEv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::set.120", align 8
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.boost::unit_test::for_each::static_any", align 8
  %4 = alloca %"struct.mpl_::bool_", align 1
  %5 = alloca %"struct.boost::is_const", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.boost::is_const", align 1
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.boost::unit_test::for_each::static_any", align 8
  %11 = alloca %"struct.mpl_::bool_", align 1
  %12 = alloca %"struct.boost::is_const", align 1
  %13 = alloca %"struct.boost::is_const", align 1
  %14 = alloca i8, align 1
  %15 = alloca %"struct.mpl_::bool_", align 1
  %16 = alloca %"struct.boost::is_const", align 1
  %17 = alloca %"struct.boost::is_const", align 1
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.boost::type", align 1
  %21 = alloca %"struct.mpl_::bool_", align 1
  %22 = alloca %"struct.boost::is_const", align 1
  %23 = alloca %"struct.boost::is_const", align 1
  %24 = alloca %"struct.mpl_::bool_", align 1
  %25 = alloca %"struct.boost::is_const", align 1
  %26 = alloca %"struct.boost::is_const", align 1
  %27 = alloca %"class.std::set", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"struct.boost::unit_test::for_each::static_any.134", align 8
  %30 = alloca %"struct.mpl_::bool_", align 1
  %31 = alloca %"struct.boost::is_const.136", align 1
  %32 = alloca %"struct.boost::is_const.136", align 1
  %33 = alloca ptr, align 8
  %34 = alloca %"struct.boost::unit_test::for_each::static_any.134", align 8
  %35 = alloca %"struct.mpl_::bool_", align 1
  %36 = alloca %"struct.boost::is_const.136", align 1
  %37 = alloca %"struct.boost::is_const.136", align 1
  %38 = alloca i8, align 1
  %39 = alloca %"struct.mpl_::bool_", align 1
  %40 = alloca %"struct.boost::is_const.136", align 1
  %41 = alloca %"struct.boost::is_const.136", align 1
  %42 = alloca ptr, align 8
  %43 = alloca %"struct.boost::type.137", align 1
  %44 = alloca %"struct.mpl_::bool_", align 1
  %45 = alloca %"struct.boost::is_const.136", align 1
  %46 = alloca %"struct.boost::is_const.136", align 1
  %47 = alloca %"struct.mpl_::bool_", align 1
  %48 = alloca %"struct.boost::is_const.136", align 1
  %49 = alloca %"struct.boost::is_const.136", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %1) #5
  %50 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
  %51 = getelementptr inbounds %"class.boost::unit_test::framework::state", ptr %50, i32 0, i32 10
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(48) %51)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %52 unwind label %63

52:                                               ; preds = %0
  %53 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %54 unwind label %63

54:                                               ; preds = %52
  %55 = invoke ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %56 unwind label %63

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"struct.boost::unit_test::for_each::static_any", ptr %3, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %57, i32 0, i32 0
  store ptr %55, ptr %58, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  store ptr %3, ptr %2, align 8, !tbaa !5
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = invoke noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %61 unwind label %67

61:                                               ; preds = %56
  br i1 %60, label %62, label %71

62:                                               ; preds = %61
  br label %160

63:                                               ; preds = %54, %52, %0
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %6, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  br label %180

67:                                               ; preds = %56
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  br label %179

71:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %72 unwind label %83

72:                                               ; preds = %71
  %73 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %74 unwind label %83

74:                                               ; preds = %72
  %75 = invoke ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %76 unwind label %83

76:                                               ; preds = %74
  %77 = getelementptr inbounds %"struct.boost::unit_test::for_each::static_any", ptr %10, i32 0, i32 0
  %78 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %77, i32 0, i32 0
  store ptr %75, ptr %78, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  store ptr %10, ptr %9, align 8, !tbaa !5
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = invoke noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %81 unwind label %87

81:                                               ; preds = %76
  br i1 %80, label %82, label %91

82:                                               ; preds = %81
  br label %157

83:                                               ; preds = %74, %72, %71
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %6, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %159

87:                                               ; preds = %76
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %6, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %7, align 4
  br label %158

91:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %92

92:                                               ; preds = %150, %91
  %93 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %94 = trunc i8 %93 to i1
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  br i1 %94, label %95, label %104

95:                                               ; preds = %92
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %98 unwind label %107

98:                                               ; preds = %95
  %99 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %100 unwind label %107

100:                                              ; preds = %98
  %101 = invoke noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEbRKNS1_15static_any_baseESC_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %96, ptr noundef nonnull align 1 dereferenceable(1) %97, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %102 unwind label %107

102:                                              ; preds = %100
  %103 = xor i1 %101, true
  br label %104

104:                                              ; preds = %102, %92
  %105 = phi i1 [ false, %92 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br i1 %105, label %111, label %106

106:                                              ; preds = %104
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  br label %156

107:                                              ; preds = %100, %98, %95
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %6, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %155

111:                                              ; preds = %104
  store i8 0, ptr %14, align 1, !tbaa !9
  br i1 false, label %112, label %113

112:                                              ; preds = %111
  br label %139

113:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %115 unwind label %125

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %117 unwind label %125

117:                                              ; preds = %115
  %118 = invoke noundef ptr @_ZN5boost9unit_test8for_each5derefIPNS0_14global_fixtureESt3setIS4_St4lessIS4_ESaIS4_EEEET_RKNS1_15static_any_baseERT0_NS_4typeISA_EEN4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %114, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %119 unwind label %125

119:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  store ptr %118, ptr %19, align 8, !tbaa !5
  br label %120

120:                                              ; preds = %132, %119
  %121 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %122 = trunc i8 %121 to i1
  %123 = xor i1 %122, true
  br i1 %123, label %129, label %124

124:                                              ; preds = %120
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %138

125:                                              ; preds = %117, %115, %113
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %6, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  br label %137

129:                                              ; preds = %120
  %130 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test14global_fixture25unregister_from_frameworkEv(ptr noundef nonnull align 8 dereferenceable(9) %130)
          to label %131 unwind label %133

131:                                              ; preds = %129
  br label %132

132:                                              ; preds = %131
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %120, !llvm.loop !13

133:                                              ; preds = %129
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %6, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %7, align 4
  br label %137

137:                                              ; preds = %133, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %155

138:                                              ; preds = %124
  br label %139

139:                                              ; preds = %138, %112
  br label %140

140:                                              ; preds = %139
  %141 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %142 = trunc i8 %141 to i1
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  br i1 %142, label %143, label %149

143:                                              ; preds = %140
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %145 unwind label %151

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %147 unwind label %151

147:                                              ; preds = %145
  invoke void @_ZN5boost9unit_test8for_each4nextISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEvRKNS1_15static_any_baseERT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %144, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %148 unwind label %151

148:                                              ; preds = %147
  br label %150

149:                                              ; preds = %140
  br label %150

150:                                              ; preds = %149, %148
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  br label %92, !llvm.loop !15

151:                                              ; preds = %147, %145, %143
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %6, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  br label %155

155:                                              ; preds = %151, %137, %107
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  br label %158

156:                                              ; preds = %106
  br label %157

157:                                              ; preds = %156, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %160

158:                                              ; preds = %155, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %159

159:                                              ; preds = %158, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %179

160:                                              ; preds = %157, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %161 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %162 unwind label %181

162:                                              ; preds = %160
  %163 = getelementptr inbounds %"class.boost::unit_test::framework::state", ptr %161, i32 0, i32 10
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %163) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #5
  %164 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %165 unwind label %185

165:                                              ; preds = %162
  %166 = getelementptr inbounds %"class.boost::unit_test::framework::state", ptr %164, i32 0, i32 7
  invoke void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(48) %166)
          to label %167 unwind label %185

167:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %168 unwind label %189

168:                                              ; preds = %167
  %169 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %170 unwind label %189

170:                                              ; preds = %168
  %171 = invoke ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %172 unwind label %189

172:                                              ; preds = %170
  %173 = getelementptr inbounds %"struct.boost::unit_test::for_each::static_any.134", ptr %29, i32 0, i32 0
  %174 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.135", ptr %173, i32 0, i32 0
  store ptr %171, ptr %174, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  store ptr %29, ptr %28, align 8, !tbaa !5
  %175 = load ptr, ptr %28, align 8, !tbaa !5
  %176 = invoke noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %175)
          to label %177 unwind label %193

177:                                              ; preds = %172
  br i1 %176, label %178, label %197

178:                                              ; preds = %177
  br label %286

179:                                              ; preds = %159, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %180

180:                                              ; preds = %179, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %298

181:                                              ; preds = %160
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %6, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %7, align 4
  br label %298

185:                                              ; preds = %165, %162
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %6, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %7, align 4
  br label %297

189:                                              ; preds = %170, %168, %167
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %6, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  br label %291

193:                                              ; preds = %172
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %6, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %7, align 4
  br label %290

197:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %198 unwind label %209

198:                                              ; preds = %197
  %199 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %200 unwind label %209

200:                                              ; preds = %198
  %201 = invoke ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %202 unwind label %209

202:                                              ; preds = %200
  %203 = getelementptr inbounds %"struct.boost::unit_test::for_each::static_any.134", ptr %34, i32 0, i32 0
  %204 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.135", ptr %203, i32 0, i32 0
  store ptr %201, ptr %204, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  store ptr %34, ptr %33, align 8, !tbaa !5
  %205 = load ptr, ptr %33, align 8, !tbaa !5
  %206 = invoke noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %205)
          to label %207 unwind label %213

207:                                              ; preds = %202
  br i1 %206, label %208, label %217

208:                                              ; preds = %207
  br label %283

209:                                              ; preds = %200, %198, %197
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %6, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  br label %285

213:                                              ; preds = %202
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %6, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %7, align 4
  br label %284

217:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %218

218:                                              ; preds = %276, %217
  %219 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %220 = trunc i8 %219 to i1
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #5
  br i1 %220, label %221, label %230

221:                                              ; preds = %218
  %222 = load ptr, ptr %28, align 8, !tbaa !5
  %223 = load ptr, ptr %33, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %224 unwind label %233

224:                                              ; preds = %221
  %225 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %226 unwind label %233

226:                                              ; preds = %224
  %227 = invoke noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEbRKNS1_15static_any_baseESD_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %222, ptr noundef nonnull align 1 dereferenceable(1) %223, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %228 unwind label %233

228:                                              ; preds = %226
  %229 = xor i1 %227, true
  br label %230

230:                                              ; preds = %228, %218
  %231 = phi i1 [ false, %218 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #5
  br i1 %231, label %237, label %232

232:                                              ; preds = %230
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  br label %282

233:                                              ; preds = %226, %224, %221
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %6, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #5
  br label %281

237:                                              ; preds = %230
  store i8 0, ptr %38, align 1, !tbaa !9
  br i1 false, label %238, label %239

238:                                              ; preds = %237
  br label %265

239:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %240 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %241 unwind label %251

241:                                              ; preds = %239
  %242 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %243 unwind label %251

243:                                              ; preds = %241
  %244 = invoke noundef ptr @_ZN5boost9unit_test8for_each5derefIPNS0_13test_observerESt3setIS4_NS0_9framework5state14priority_orderESaIS4_EEEET_RKNS1_15static_any_baseERT0_NS_4typeISB_EEN4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %240, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %245 unwind label %251

245:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  store ptr %244, ptr %42, align 8, !tbaa !5
  br label %246

246:                                              ; preds = %258, %245
  %247 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %248 = trunc i8 %247 to i1
  %249 = xor i1 %248, true
  br i1 %249, label %255, label %250

250:                                              ; preds = %246
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %264

251:                                              ; preds = %243, %241, %239
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %6, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  br label %263

255:                                              ; preds = %246
  %256 = load ptr, ptr %42, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test9framework19deregister_observerERNS0_13test_observerE(ptr noundef nonnull align 8 dereferenceable(8) %256)
          to label %257 unwind label %259

257:                                              ; preds = %255
  br label %258

258:                                              ; preds = %257
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %246, !llvm.loop !16

259:                                              ; preds = %255
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %6, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %7, align 4
  br label %263

263:                                              ; preds = %259, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %281

264:                                              ; preds = %250
  br label %265

265:                                              ; preds = %264, %238
  br label %266

266:                                              ; preds = %265
  %267 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %268 = trunc i8 %267 to i1
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #5
  br i1 %268, label %269, label %275

269:                                              ; preds = %266
  %270 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %271 unwind label %277

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %273 unwind label %277

273:                                              ; preds = %271
  invoke void @_ZN5boost9unit_test8for_each4nextISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEvRKNS1_15static_any_baseERT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %270, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %274 unwind label %277

274:                                              ; preds = %273
  br label %276

275:                                              ; preds = %266
  br label %276

276:                                              ; preds = %275, %274
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #5
  br label %218, !llvm.loop !17

277:                                              ; preds = %273, %271, %269
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %6, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #5
  br label %281

281:                                              ; preds = %277, %263, %233
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  br label %284

282:                                              ; preds = %232
  br label %283

283:                                              ; preds = %282, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %286

284:                                              ; preds = %281, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %285

285:                                              ; preds = %284, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %290

286:                                              ; preds = %283, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  %287 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %288 unwind label %292

288:                                              ; preds = %286
  %289 = getelementptr inbounds %"class.boost::unit_test::framework::state", ptr %287, i32 0, i32 7
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %289) #5
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #5
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %1) #5
  ret void

290:                                              ; preds = %285, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %291

291:                                              ; preds = %290, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %296

292:                                              ; preds = %286
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %6, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %7, align 4
  br label %296

296:                                              ; preds = %292, %291
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  br label %297

297:                                              ; preds = %296, %185
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #5
  br label %298

298:                                              ; preds = %297, %181, %180
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %1) #5
  br label %299

299:                                              ; preds = %298
  %300 = load ptr, ptr %6, align 8
  %301 = load i32, ptr %7, align 4
  %302 = insertvalue { ptr, i32 } poison, ptr %300, 0
  %303 = insertvalue { ptr, i32 } %302, i32 %301, 1
  resume { ptr, i32 } %303
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEbRKNS1_15static_any_baseESC_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(48)) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEbRKNS1_15static_any_baseESD_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(48)) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

%"class.std::set.120" = type { %"class.std::_Rb_tree.121" }
%"class.std::_Rb_tree.121" = type { %"struct.std::_Rb_tree<boost::unit_test::global_fixture *, boost::unit_test::global_fixture *, std::_Identity<boost::unit_test::global_fixture *>, std::less<boost::unit_test::global_fixture *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::unit_test::global_fixture *, boost::unit_test::global_fixture *, std::_Identity<boost::unit_test::global_fixture *>, std::less<boost::unit_test::global_fixture *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.boost::unit_test::for_each::static_any" = type { %"struct.std::_Rb_tree_const_iterator" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.boost::is_const" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.110" }
%"class.std::_Rb_tree.110" = type { %"struct.std::_Rb_tree<boost::unit_test::test_observer *, boost::unit_test::test_observer *, std::_Identity<boost::unit_test::test_observer *>, boost::unit_test::framework::state::priority_order>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::unit_test::test_observer *, boost::unit_test::test_observer *, std::_Identity<boost::unit_test::test_observer *>, boost::unit_test::framework::state::priority_order>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.boost::unit_test::for_each::static_any.134" = type { %"struct.std::_Rb_tree_const_iterator.135" }
%"struct.std::_Rb_tree_const_iterator.135" = type { ptr }
%"struct.boost::is_const.136" = type { i8 }

; 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 uwtable
declare hidden noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5boost9unit_test9framework4impl43unregister_global_fixture_and_configurationEv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::set.120", align 8
  %2 = alloca %"struct.boost::unit_test::for_each::static_any", align 8
  %3 = alloca %"struct.boost::is_const", align 1
  %4 = alloca %"struct.boost::unit_test::for_each::static_any", align 8
  %5 = alloca %"struct.boost::is_const", align 1
  %6 = alloca %"struct.boost::is_const", align 1
  %7 = alloca %"struct.boost::is_const", align 1
  %8 = alloca %"struct.boost::is_const", align 1
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %"struct.boost::unit_test::for_each::static_any.134", align 8
  %11 = alloca %"struct.boost::is_const.136", align 1
  %12 = alloca %"struct.boost::unit_test::for_each::static_any.134", align 8
  %13 = alloca %"struct.boost::is_const.136", align 1
  %14 = alloca %"struct.boost::is_const.136", align 1
  %15 = alloca %"struct.boost::is_const.136", align 1
  %16 = alloca %"struct.boost::is_const.136", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #5
  %17 = tail call noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
  %18 = getelementptr inbounds i8, ptr %17, i64 192
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(48) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %19 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %3)
  %20 = invoke ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %21 unwind label %23

21:                                               ; preds = %0
  store ptr %20, ptr %2, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  %22 = call noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
  br i1 %22, label %46, label %25

23:                                               ; preds = %0
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  br label %93

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  %27 = invoke ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %28 unwind label %30

28:                                               ; preds = %25
  store ptr %27, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  %29 = call noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %4)
  br i1 %29, label %.loopexit48, label %.preheader47

.preheader47:                                     ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  br label %32

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  br label %45

32:                                               ; preds = %40, %.preheader47
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  %34 = invoke noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEbRKNS1_15static_any_baseESC_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %35 unwind label %36

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  br i1 %34, label %.loopexit48, label %.critedge

36:                                               ; preds = %32
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  br label %44

.critedge:                                        ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %7)
  %39 = call noundef ptr @_ZN5boost9unit_test8for_each5derefIPNS0_14global_fixtureESt3setIS4_St4lessIS4_ESaIS4_EEEET_RKNS1_15static_any_baseERT0_NS_4typeISA_EEN4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  invoke void @_ZN5boost9unit_test14global_fixture25unregister_from_frameworkEv(ptr noundef nonnull align 8 dereferenceable(9) %39)
          to label %40 unwind label %42, !llvm.loop !5

40:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS_8is_constIT_EERSB_(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @_ZN5boost9unit_test8for_each4nextISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEvRKNS1_15static_any_baseERT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  br label %32

42:                                               ; preds = %.critedge
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %44

44:                                               ; preds = %42, %36
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %45

.loopexit48:                                      ; preds = %35, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %46

45:                                               ; preds = %44, %30
  %.pn.pn = phi { ptr, i32 } [ %.pn, %44 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %93

46:                                               ; preds = %21, %.loopexit48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %47 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %48 unwind label %58

48:                                               ; preds = %46
  %49 = getelementptr inbounds i8, ptr %47, i64 192
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %49) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  %50 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %51 unwind label %60

51:                                               ; preds = %48
  %52 = getelementptr inbounds i8, ptr %50, i64 112
  invoke void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %53 unwind label %60

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %54 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %11)
  %55 = invoke ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %56 unwind label %62

56:                                               ; preds = %53
  store ptr %55, ptr %10, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %57 = call noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %10)
  br i1 %57, label %85, label %64

58:                                               ; preds = %46
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %93

60:                                               ; preds = %51, %48
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %92

62:                                               ; preds = %53
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %91

64:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %13)
  %66 = invoke ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %67 unwind label %69

67:                                               ; preds = %64
  store ptr %66, ptr %12, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  %68 = call noundef zeroext i1 @_ZNK5boost9unit_test8for_each15static_any_basecvbEv(ptr noundef nonnull align 1 dereferenceable(1) %12)
  br i1 %68, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %67
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  br label %71

69:                                               ; preds = %64
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  br label %84

71:                                               ; preds = %79, %.preheader
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %14)
  %73 = invoke noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEbRKNS1_15static_any_baseESD_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %74 unwind label %75

74:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br i1 %73, label %.loopexit, label %.critedge54

75:                                               ; preds = %71
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %83

.critedge54:                                      ; preds = %74
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %77 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %15)
  %78 = call noundef ptr @_ZN5boost9unit_test8for_each5derefIPNS0_13test_observerESt3setIS4_NS0_9framework5state14priority_orderESaIS4_EEEET_RKNS1_15static_any_baseERT0_NS_4typeISB_EEN4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 8 dereferenceable(48) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  invoke void @_ZN5boost9unit_test9framework19deregister_observerERNS0_13test_observerE(ptr noundef nonnull align 8 dereferenceable(8) %78)
          to label %79 unwind label %81, !llvm.loop !7

79:                                               ; preds = %.critedge54
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZN5boost9unit_test8for_each13is_const_collISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS_8is_constIT_EERSC_(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %80 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK5boost17integral_constantIbLb0EEcvRKN4mpl_5bool_ILb0EEEEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @_ZN5boost9unit_test8for_each4nextISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEvRKNS1_15static_any_baseERT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 8 dereferenceable(48) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  br label %71

81:                                               ; preds = %.critedge54
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %81, %75
  %.pn39 = phi { ptr, i32 } [ %82, %81 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %84

.loopexit:                                        ; preds = %74, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %85

84:                                               ; preds = %83, %69
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %83 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %91

85:                                               ; preds = %56, %.loopexit
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %86 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN5boost9unit_test9framework4impl12_GLOBAL__N_111s_frk_stateEv()
          to label %87 unwind label %89

87:                                               ; preds = %85
  %88 = getelementptr inbounds i8, ptr %86, i64 112
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %88) #5
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #5
  ret void

89:                                               ; preds = %85
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %91

91:                                               ; preds = %62, %84, %89
  %.pn43 = phi { ptr, i32 } [ %90, %89 ], [ %.pn39.pn, %84 ], [ %63, %62 ]
  call void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  br label %92

92:                                               ; preds = %91, %60
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %91 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %93

93:                                               ; preds = %23, %45, %92, %58
  %.pn43.pn.pn = phi { ptr, i32 } [ %.pn43.pn, %92 ], [ %59, %58 ], [ %.pn.pn, %45 ], [ %24, %23 ]
  call void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn43.pn.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSB_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_14global_fixtureESt4lessIS5_ESaIS5_EEEEbRKNS1_15static_any_baseESC_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each5beginISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost9unit_test8for_each3endISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEENS1_10static_anyINT_8iteratorEEERSC_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5boost9unit_test8for_each4doneISt3setIPNS0_13test_observerENS0_9framework5state14priority_orderESaIS5_EEEEbRKNS1_15static_any_baseESD_RT_N4mpl_5bool_ILb0EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test13test_observerENS1_9framework5state14priority_orderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIPN5boost9unit_test14global_fixtureESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


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