; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/util/tests (test_slow_construction)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.boost::function" = type { %"class.boost::function0" }
%"class.boost::function0" = type { %"class.boost::function_base" }
%"class.boost::function_base" = type { ptr, %"union.boost::detail::function::function_buffer" }
%"union.boost::detail::function::function_buffer" = type { %"union.boost::detail::function::function_buffer_members" }
%"union.boost::detail::function::function_buffer_members" = type { %"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" }
%"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" = type { { i64, i64 }, ptr }
%"class.boost::lambda::lambda_functor.5" = type { %"class.boost::lambda::lambda_functor_base" }
%"class.boost::lambda::lambda_functor_base" = type { %"class.boost::tuples::tuple" }
%"class.boost::tuples::tuple" = type { %"struct.boost::tuples::cons" }
%"struct.boost::tuples::cons" = type { [4 x i8], %"struct.boost::tuples::cons.6" }
%"struct.boost::tuples::cons.6" = type { i32 }
%"struct.boost::lambda::new_ptr" = type { i8 }
%class.slowConstruction = type { ptr, i8, ptr, ptr, ptr, ptr, %"class.boost::shared_mutex" }
%"class.boost::shared_mutex" = type { %"class.boost::shared_mutex::state_data", %"class.boost::mutex", %"class.boost::condition_variable", %"class.boost::condition_variable", %"class.boost::condition_variable" }
%"class.boost::shared_mutex::state_data" = type <{ i32, i8, i8, i8, i8 }>
%"class.boost::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.boost::condition_variable" = type { %union.pthread_mutex_t, %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.slowConstruction<timedConstr>::helper" = type { ptr, ptr }
%class.sequentialConstructions = type { i8, %"class.std::vector", %"class.std::vector", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.boost::function", align 8
  %3 = alloca %"class.boost::lambda::lambda_functor.5", align 4
  %4 = alloca %"struct.boost::lambda::new_ptr", align 1
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %class.slowConstruction, align 8
  %9 = alloca %"class.boost::function", align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %13 = alloca %class.sequentialConstructions, align 8
  %14 = alloca %class.slowConstruction, align 8
  %15 = alloca %"class.boost::function", align 8
  %16 = alloca %class.slowConstruction, align 8
  %17 = alloca %"class.boost::function", align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %21 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %22 = alloca %class.slowConstruction, align 8
  %23 = alloca %"class.boost::function", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  store i32 2, ptr %5, align 4, !tbaa !5
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5boost6lambda10make_constIiEERKT_S4_(ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @_ZN5boost6lambda4bindINS0_7new_ptrI11timedConstrEEiEEKNS0_14lambda_functorINS0_19lambda_functor_baseINS0_6actionILi2ENS0_15function_actionILi2ENS0_6detail11unspecifiedEEEEENS9_17bind_tuple_mapperIKT_KT0_NS_6tuples9null_typeESJ_SJ_SJ_SJ_SJ_SJ_SJ_E4typeEEEEERSF_RSH_(ptr dead_on_unwind writable sret(%"class.boost::lambda::lambda_functor.5") align 4 %3, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @_ZN5boost8functionIFP11timedConstrvEEC2INS_6lambda14lambda_functorINS6_19lambda_functor_baseINS6_6actionILi2ENS6_15function_actionILi2ENS6_6detail11unspecifiedEEEEENS_6tuples5tupleIKNS6_7new_ptrIS1_EEKiNSF_9null_typeESL_SL_SL_SL_SL_SL_SL_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISP_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %3, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #10
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %26 unwind label %36

26:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 360, ptr %8) #10
  %27 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 4) #11
          to label %28 unwind label %40

28:                                               ; preds = %26
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef 0)
          to label %29 unwind label %44

29:                                               ; preds = %28
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %30 unwind label %40

30:                                               ; preds = %29
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %8, ptr noundef %27, ptr noundef %9, i1 noundef zeroext true, ptr noundef null)
          to label %31 unwind label %48

31:                                               ; preds = %30
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  store double 1.000000e-01, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  br label %32

32:                                               ; preds = %73, %31
  %33 = load double, ptr %11, align 8, !tbaa !9
  %34 = fcmp olt double %33, 3.000000e+00
  br i1 %34, label %52, label %35

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %91

36:                                               ; preds = %201, %91, %0
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %6, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %7, align 4
  br label %227

40:                                               ; preds = %29, %26
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %6, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %7, align 4
  br label %110

44:                                               ; preds = %28
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %6, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %27, i64 noundef 4) #12
  br label %110

48:                                               ; preds = %30
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %6, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %7, align 4
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  br label %110

52:                                               ; preds = %32
  %53 = load double, ptr %11, align 8, !tbaa !9
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %53)
          to label %55 unwind label %77

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @.str.8)
          to label %57 unwind label %77

57:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %12, ptr noundef nonnull align 8 dereferenceable(360) %8)
          to label %58 unwind label %81

58:                                               ; preds = %57
  %59 = invoke noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %60 unwind label %85

60:                                               ; preds = %58
  %61 = invoke noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %62 unwind label %85

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %56, i32 noundef %61)
          to label %64 unwind label %85

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef @.str.9)
          to label %66 unwind label %85

66:                                               ; preds = %64
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  %67 = load double, ptr %10, align 8, !tbaa !9
  %68 = fmul double %67, 1.000000e+03
  %69 = fmul double %68, 1.000000e+03
  %70 = fptoui double %69 to i32
  %71 = invoke i32 @usleep(i32 noundef %70)
          to label %72 unwind label %77

72:                                               ; preds = %66
  br label %73

73:                                               ; preds = %72
  %74 = load double, ptr %10, align 8, !tbaa !9
  %75 = load double, ptr %11, align 8, !tbaa !9
  %76 = fadd double %75, %74
  store double %76, ptr %11, align 8, !tbaa !9
  br label %32, !llvm.loop !11

77:                                               ; preds = %66, %55, %52
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  br label %90

81:                                               ; preds = %57
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %6, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %7, align 4
  br label %89

85:                                               ; preds = %64, %62, %60, %58
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %6, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %7, align 4
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #10
  br label %89

89:                                               ; preds = %85, %81
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  br label %90

90:                                               ; preds = %89, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %8) #10
  br label %110

91:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %8) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr %8) #10
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %93 unwind label %36

93:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #10
  invoke void @_ZN23sequentialConstructionsC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13)
          to label %94 unwind label %111

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 360, ptr %14) #10
  %95 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 4) #11
          to label %96 unwind label %115

96:                                               ; preds = %94
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %95, i32 noundef 0)
          to label %97 unwind label %119

97:                                               ; preds = %96
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %98 unwind label %115

98:                                               ; preds = %97
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %14, ptr noundef %95, ptr noundef %15, i1 noundef zeroext true, ptr noundef %13)
          to label %99 unwind label %123

99:                                               ; preds = %98
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.start.p0(i64 360, ptr %16) #10
  %100 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 4) #11
          to label %101 unwind label %127

101:                                              ; preds = %99
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %100, i32 noundef 0)
          to label %102 unwind label %131

102:                                              ; preds = %101
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %103 unwind label %127

103:                                              ; preds = %102
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %16, ptr noundef %100, ptr noundef %17, i1 noundef zeroext true, ptr noundef %13)
          to label %104 unwind label %135

104:                                              ; preds = %103
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  invoke void @_ZN23sequentialConstructions5startEv(ptr noundef nonnull align 8 dereferenceable(64) %13)
          to label %105 unwind label %139

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  store double 1.000000e-01, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  store double 0.000000e+00, ptr %19, align 8, !tbaa !9
  br label %106

106:                                              ; preds = %173, %105
  %107 = load double, ptr %19, align 8, !tbaa !9
  %108 = fcmp olt double %107, 5.000000e+00
  br i1 %108, label %143, label %109

109:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %201

110:                                              ; preds = %90, %48, %44, %40
  call void @llvm.lifetime.end.p0(i64 360, ptr %8) #10
  br label %227

111:                                              ; preds = %93
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %6, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %7, align 4
  br label %213

115:                                              ; preds = %97, %94
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %6, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %7, align 4
  br label %212

119:                                              ; preds = %96
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %6, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %95, i64 noundef 4) #12
  br label %212

123:                                              ; preds = %98
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %6, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %7, align 4
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  br label %212

127:                                              ; preds = %102, %99
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %6, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %7, align 4
  br label %211

131:                                              ; preds = %101
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %6, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %100, i64 noundef 4) #12
  br label %211

135:                                              ; preds = %103
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %6, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %7, align 4
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %211

139:                                              ; preds = %104
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %6, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %7, align 4
  br label %210

143:                                              ; preds = %106
  %144 = load double, ptr %19, align 8, !tbaa !9
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %144)
          to label %146 unwind label %177

146:                                              ; preds = %143
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef @.str.8)
          to label %148 unwind label %177

148:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %20, ptr noundef nonnull align 8 dereferenceable(360) %14)
          to label %149 unwind label %181

149:                                              ; preds = %148
  %150 = invoke noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %151 unwind label %185

151:                                              ; preds = %149
  %152 = invoke noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %150)
          to label %153 unwind label %185

153:                                              ; preds = %151
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %147, i32 noundef %152)
          to label %155 unwind label %185

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @.str.8)
          to label %157 unwind label %185

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %21, ptr noundef nonnull align 8 dereferenceable(360) %16)
          to label %158 unwind label %189

158:                                              ; preds = %157
  %159 = invoke noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %160 unwind label %193

160:                                              ; preds = %158
  %161 = invoke noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %159)
          to label %162 unwind label %193

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %156, i32 noundef %161)
          to label %164 unwind label %193

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef @.str.9)
          to label %166 unwind label %193

166:                                              ; preds = %164
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  %167 = load double, ptr %18, align 8, !tbaa !9
  %168 = fmul double %167, 1.000000e+03
  %169 = fmul double %168, 1.000000e+03
  %170 = fptoui double %169 to i32
  %171 = invoke i32 @usleep(i32 noundef %170)
          to label %172 unwind label %177

172:                                              ; preds = %166
  br label %173

173:                                              ; preds = %172
  %174 = load double, ptr %18, align 8, !tbaa !9
  %175 = load double, ptr %19, align 8, !tbaa !9
  %176 = fadd double %175, %174
  store double %176, ptr %19, align 8, !tbaa !9
  br label %106, !llvm.loop !13

177:                                              ; preds = %166, %146, %143
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %6, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %7, align 4
  br label %200

181:                                              ; preds = %148
  %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 %199

185:                                              ; preds = %155, %153, %151, %149
  %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 %198

189:                                              ; preds = %157
  %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
  br label %197

193:                                              ; preds = %164, %162, %160, %158
  %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
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  br label %197

197:                                              ; preds = %193, %189
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  br label %198

198:                                              ; preds = %197, %185
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #10
  br label %199

199:                                              ; preds = %198, %181
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  br label %200

200:                                              ; preds = %199, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %210

201:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %16) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr %16) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %14) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr %14) #10
  call void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #10
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %203 unwind label %36

203:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 360, ptr %22) #10
  %204 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 4) #11
          to label %205 unwind label %214

205:                                              ; preds = %203
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %204, i32 noundef 0)
          to label %206 unwind label %218

206:                                              ; preds = %205
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %207 unwind label %214

207:                                              ; preds = %206
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %22, ptr noundef %204, ptr noundef %23, i1 noundef zeroext true, ptr noundef null)
          to label %208 unwind label %222

208:                                              ; preds = %207
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %22) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr %22) #10
  store i32 0, ptr %1, align 4
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #10
  %209 = load i32, ptr %1, align 4
  ret i32 %209

210:                                              ; preds = %200, %139
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %16) #10
  br label %211

211:                                              ; preds = %210, %135, %131, %127
  call void @llvm.lifetime.end.p0(i64 360, ptr %16) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %14) #10
  br label %212

212:                                              ; preds = %211, %123, %119, %115
  call void @llvm.lifetime.end.p0(i64 360, ptr %14) #10
  call void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #10
  br label %213

213:                                              ; preds = %212, %111
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #10
  br label %227

214:                                              ; preds = %206, %203
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %6, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %7, align 4
  br label %226

218:                                              ; preds = %205
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %6, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %204, i64 noundef 4) #12
  br label %226

222:                                              ; preds = %207
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %6, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %7, align 4
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  br label %226

226:                                              ; preds = %222, %218, %214
  call void @llvm.lifetime.end.p0(i64 360, ptr %22) #10
  br label %227

227:                                              ; preds = %226, %213, %110, %36
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #10
  br label %228

228:                                              ; preds = %227
  %229 = load ptr, ptr %6, align 8
  %230 = load i32, ptr %7, align 4
  %231 = insertvalue { ptr, i32 } poison, ptr %229, 0
  %232 = insertvalue { ptr, i32 } %231, i32 %230, 1
  resume { ptr, i32 } %232
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost6lambda4bindINS0_7new_ptrI11timedConstrEEiEEKNS0_14lambda_functorINS0_19lambda_functor_baseINS0_6actionILi2ENS0_15function_actionILi2ENS0_6detail11unspecifiedEEEEENS9_17bind_tuple_mapperIKT_KT0_NS_6tuples9null_typeESJ_SJ_SJ_SJ_SJ_SJ_SJ_E4typeEEEEERSF_RSH_(ptr dead_on_unwind noalias writable sret(%"class.boost::lambda::lambda_functor.5") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5boost6lambda10make_constIiEERKT_S4_(ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8functionIFP11timedConstrvEEC2INS_6lambda14lambda_functorINS6_19lambda_functor_baseINS6_6actionILi2ENS6_15function_actionILi2ENS6_6detail11unspecifiedEEEEENS_6tuples5tupleIKNS6_7new_ptrIS1_EEKiNSF_9null_typeESL_SL_SL_SL_SL_SL_SL_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISP_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind noalias writable sret(%"class.slowConstruction<timedConstr>::helper") align 8, ptr noundef nonnull align 8 dereferenceable(360)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

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

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

declare i32 @usleep(i32 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN23sequentialConstructionsC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #7 align 2

declare void @_ZN23sequentialConstructions5startEv(ptr noundef nonnull align 8 dereferenceable(64)) #8

; Function Attrs: nounwind
declare void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #9

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress norecurse 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 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.boost::function" = type { %"class.boost::function0" }
%"class.boost::function0" = type { %"class.boost::function_base" }
%"class.boost::function_base" = type { ptr, %"union.boost::detail::function::function_buffer" }
%"union.boost::detail::function::function_buffer" = type { %"union.boost::detail::function::function_buffer_members" }
%"union.boost::detail::function::function_buffer_members" = type { %"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" }
%"struct.boost::detail::function::function_buffer_members::bound_memfunc_ptr_t" = type { { i64, i64 }, ptr }
%"class.boost::lambda::lambda_functor.5" = type { %"class.boost::lambda::lambda_functor_base" }
%"class.boost::lambda::lambda_functor_base" = type { %"class.boost::tuples::tuple" }
%"class.boost::tuples::tuple" = type { %"struct.boost::tuples::cons" }
%"struct.boost::tuples::cons" = type { [4 x i8], %"struct.boost::tuples::cons.6" }
%"struct.boost::tuples::cons.6" = type { i32 }
%"struct.boost::lambda::new_ptr" = type { i8 }
%class.slowConstruction = type { ptr, i8, ptr, ptr, ptr, ptr, %"class.boost::shared_mutex" }
%"class.boost::shared_mutex" = type { %"class.boost::shared_mutex::state_data", %"class.boost::mutex", %"class.boost::condition_variable", %"class.boost::condition_variable", %"class.boost::condition_variable" }
%"class.boost::shared_mutex::state_data" = type <{ i32, i8, i8, i8, i8 }>
%"class.boost::mutex" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.boost::condition_variable" = type { %union.pthread_mutex_t, %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.slowConstruction<timedConstr>::helper" = type { ptr, ptr }
%class.sequentialConstructions = type { i8, %"class.std::vector", %"class.std::vector", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::function<void ()>, std::allocator<boost::function<void ()>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.boost::function", align 8
  %2 = alloca %"class.boost::lambda::lambda_functor.5", align 4
  %3 = alloca %"struct.boost::lambda::new_ptr", align 1
  %4 = alloca i32, align 4
  %5 = alloca %class.slowConstruction, align 8
  %6 = alloca %"class.boost::function", align 8
  %7 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %8 = alloca %class.sequentialConstructions, align 8
  %9 = alloca %class.slowConstruction, align 8
  %10 = alloca %"class.boost::function", align 8
  %11 = alloca %class.slowConstruction, align 8
  %12 = alloca %"class.boost::function", align 8
  %13 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %14 = alloca %"class.slowConstruction<timedConstr>::helper", align 8
  %15 = alloca %class.slowConstruction, align 8
  %16 = alloca %"class.boost::function", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  store i32 2, ptr %4, align 4, !tbaa !5
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5boost6lambda10make_constIiEERKT_S4_(ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @_ZN5boost6lambda4bindINS0_7new_ptrI11timedConstrEEiEEKNS0_14lambda_functorINS0_19lambda_functor_baseINS0_6actionILi2ENS0_15function_actionILi2ENS0_6detail11unspecifiedEEEEENS9_17bind_tuple_mapperIKT_KT0_NS_6tuples9null_typeESJ_SJ_SJ_SJ_SJ_SJ_SJ_E4typeEEEEERSF_RSH_(ptr dead_on_unwind nonnull writable sret(%"class.boost::lambda::lambda_functor.5") align 4 %2, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 4 dereferenceable(4) %17)
  call void @_ZN5boost8functionIFP11timedConstrvEEC2INS_6lambda14lambda_functorINS6_19lambda_functor_baseINS6_6actionILi2ENS6_15function_actionILi2ENS6_6detail11unspecifiedEEEEENS_6tuples5tupleIKNS6_7new_ptrIS1_EEKiNSF_9null_typeESL_SL_SL_SL_SL_SL_SL_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISP_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %2, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #10
  %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %19 unwind label %27

19:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 360, ptr nonnull %5) #10
  %20 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znwm(i64 noundef 4) #11
          to label %21 unwind label %29

21:                                               ; preds = %19
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 0)
          to label %22 unwind label %31

22:                                               ; preds = %21
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %23 unwind label %29

23:                                               ; preds = %22
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %5, ptr noundef nonnull %20, ptr noundef nonnull %6, i1 noundef zeroext true, ptr noundef null)
          to label %24 unwind label %33

24:                                               ; preds = %23
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br label %35

25:                                               ; preds = %48
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %5) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %5) #10
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %59 unwind label %27

27:                                               ; preds = %70, %25, %0
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %138

29:                                               ; preds = %22, %19
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %72

31:                                               ; preds = %21
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 4) #12
  br label %72

33:                                               ; preds = %23
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br label %72

35:                                               ; preds = %24, %48
  %.01242 = phi double [ 0.000000e+00, %24 ], [ %49, %48 ]
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.01242)
          to label %37 unwind label %51

37:                                               ; preds = %35
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @.str.8)
          to label %39 unwind label %51

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind nonnull writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %7, ptr noundef nonnull align 8 dereferenceable(360) %5)
          to label %40 unwind label %53

40:                                               ; preds = %39
  %41 = call noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %42 = call noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %41)
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %42)
          to label %44 unwind label %55

44:                                               ; preds = %40
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.9)
          to label %46 unwind label %55

46:                                               ; preds = %44
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  %47 = invoke i32 @usleep(i32 noundef 100000)
          to label %48 unwind label %51

48:                                               ; preds = %46
  %49 = fadd double %.01242, 1.000000e-01
  %50 = fcmp olt double %49, 3.000000e+00
  br i1 %50, label %35, label %25, !llvm.loop !9

51:                                               ; preds = %46, %37, %35
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %58

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

55:                                               ; preds = %44, %40
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  br label %57

57:                                               ; preds = %55, %53
  %.pn36 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #10
  br label %58

58:                                               ; preds = %57, %51
  %.pn38 = phi { ptr, i32 } [ %52, %51 ], [ %.pn36, %57 ]
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %5) #10
  br label %72

59:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #10
  call void @_ZN23sequentialConstructionsC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8)
  call void @llvm.lifetime.start.p0(i64 360, ptr nonnull %9) #10
  %60 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znwm(i64 noundef 4) #11
          to label %61 unwind label %73

61:                                               ; preds = %59
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef 0)
          to label %62 unwind label %75

62:                                               ; preds = %61
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %63 unwind label %73

63:                                               ; preds = %62
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %9, ptr noundef nonnull %60, ptr noundef nonnull %10, i1 noundef zeroext true, ptr noundef nonnull %8)
          to label %64 unwind label %77

64:                                               ; preds = %63
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.start.p0(i64 360, ptr nonnull %11) #10
  %65 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znwm(i64 noundef 4) #11
          to label %66 unwind label %79

66:                                               ; preds = %64
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %65, i32 noundef 0)
          to label %67 unwind label %81

67:                                               ; preds = %66
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %68 unwind label %79

68:                                               ; preds = %67
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %11, ptr noundef nonnull %65, ptr noundef nonnull %12, i1 noundef zeroext true, ptr noundef nonnull %8)
          to label %69 unwind label %83

69:                                               ; preds = %68
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  invoke void @_ZN23sequentialConstructions5startEv(ptr noundef nonnull align 8 dereferenceable(64) %8)
          to label %.preheader unwind label %85

70:                                               ; preds = %106
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %11) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %11) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %9) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %9) #10
  call void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #10
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %122 unwind label %27

72:                                               ; preds = %58, %33, %31, %29
  %.pn38.pn = phi { ptr, i32 } [ %.pn38, %58 ], [ %34, %33 ], [ %30, %29 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %5) #10
  br label %138

73:                                               ; preds = %62, %59
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %130

75:                                               ; preds = %61
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %60, i64 noundef 4) #12
  br label %130

77:                                               ; preds = %63
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  br label %130

79:                                               ; preds = %67, %64
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %129

81:                                               ; preds = %66
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %65, i64 noundef 4) #12
  br label %129

83:                                               ; preds = %68
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  br label %129

85:                                               ; preds = %69
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %128

.preheader:                                       ; preds = %69, %106
  %.043 = phi double [ %107, %106 ], [ 0.000000e+00, %69 ]
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.043)
          to label %88 unwind label %109

88:                                               ; preds = %.preheader
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull @.str.8)
          to label %90 unwind label %109

90:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind nonnull writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %13, ptr noundef nonnull align 8 dereferenceable(360) %9)
          to label %91 unwind label %111

91:                                               ; preds = %90
  %92 = call noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %93 = call noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %92)
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %89, i32 noundef %93)
          to label %95 unwind label %113

95:                                               ; preds = %91
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @.str.8)
          to label %97 unwind label %113

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #10
  invoke void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind nonnull writable sret(%"class.slowConstruction<timedConstr>::helper") align 8 %14, ptr noundef nonnull align 8 dereferenceable(360) %11)
          to label %98 unwind label %115

98:                                               ; preds = %97
  %99 = call noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  %100 = call noundef i32 @_ZN11timedConstr6getValEv(ptr noundef nonnull align 4 dereferenceable(4) %99)
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %96, i32 noundef %100)
          to label %102 unwind label %117

102:                                              ; preds = %98
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.9)
          to label %104 unwind label %117

104:                                              ; preds = %102
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #10
  %105 = invoke i32 @usleep(i32 noundef 100000)
          to label %106 unwind label %109

106:                                              ; preds = %104
  %107 = fadd double %.043, 1.000000e-01
  %108 = fcmp olt double %107, 5.000000e+00
  br i1 %108, label %.preheader, label %70, !llvm.loop !11

109:                                              ; preds = %104, %88, %.preheader
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %128

111:                                              ; preds = %90
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %121

113:                                              ; preds = %95, %91
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %120

115:                                              ; preds = %97
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %102, %98
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #10
  br label %119

119:                                              ; preds = %117, %115
  %.pn27 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  br label %120

120:                                              ; preds = %119, %113
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %119 ], [ %114, %113 ]
  call void @_ZN16slowConstructionI11timedConstrE6helperD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #10
  br label %121

121:                                              ; preds = %120, %111
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %120 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #10
  br label %128

122:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 360, ptr nonnull %15) #10
  %123 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znwm(i64 noundef 4) #11
          to label %124 unwind label %131

124:                                              ; preds = %122
  invoke void @_ZN11timedConstrC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %123, i32 noundef 0)
          to label %125 unwind label %133

125:                                              ; preds = %124
  invoke void @_ZN5boost8functionIFP11timedConstrvEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %126 unwind label %131

126:                                              ; preds = %125
  invoke void @_ZN16slowConstructionI11timedConstrEC2EPS0_N5boost8functionIFS2_vEEEbP23sequentialConstructions(ptr noundef nonnull align 8 dereferenceable(360) %15, ptr noundef nonnull %123, ptr noundef nonnull %16, i1 noundef zeroext true, ptr noundef null)
          to label %127 unwind label %135

127:                                              ; preds = %126
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %15) #10
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %15) #10
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #10
  ret i32 0

128:                                              ; preds = %109, %121, %85
  %.pn31.pn = phi { ptr, i32 } [ %86, %85 ], [ %110, %109 ], [ %.pn27.pn.pn, %121 ]
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %11) #10
  br label %129

129:                                              ; preds = %128, %83, %81, %79
  %.pn31.pn.pn = phi { ptr, i32 } [ %.pn31.pn, %128 ], [ %84, %83 ], [ %80, %79 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %11) #10
  call void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360) %9) #10
  br label %130

130:                                              ; preds = %129, %77, %75, %73
  %.pn31.pn.pn.pn = phi { ptr, i32 } [ %.pn31.pn.pn, %129 ], [ %78, %77 ], [ %74, %73 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %9) #10
  call void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #10
  br label %138

131:                                              ; preds = %125, %122
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %137

133:                                              ; preds = %124
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %123, i64 noundef 4) #12
  br label %137

135:                                              ; preds = %126
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %137

137:                                              ; preds = %135, %133, %131
  %.pn = phi { ptr, i32 } [ %136, %135 ], [ %132, %131 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %15) #10
  br label %138

138:                                              ; preds = %137, %130, %72, %27
  %.pn38.pn.pn = phi { ptr, i32 } [ %.pn38.pn, %72 ], [ %.pn31.pn.pn.pn, %130 ], [ %.pn, %137 ], [ %28, %27 ]
  call void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #10
  resume { ptr, i32 } %.pn38.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost6lambda4bindINS0_7new_ptrI11timedConstrEEiEEKNS0_14lambda_functorINS0_19lambda_functor_baseINS0_6actionILi2ENS0_15function_actionILi2ENS0_6detail11unspecifiedEEEEENS9_17bind_tuple_mapperIKT_KT0_NS_6tuples9null_typeESJ_SJ_SJ_SJ_SJ_SJ_SJ_E4typeEEEEERSF_RSH_(ptr dead_on_unwind noalias writable sret(%"class.boost::lambda::lambda_functor.5") align 4, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5boost6lambda10make_constIiEERKT_S4_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8functionIFP11timedConstrvEEC2INS_6lambda14lambda_functorINS6_19lambda_functor_baseINS6_6actionILi2ENS6_15function_actionILi2ENS6_6detail11unspecifiedEEEEENS_6tuples5tupleIKNS6_7new_ptrIS1_EEKiNSF_9null_typeESL_SL_SL_SL_SL_SL_SL_EEEEEEEET_NS_10enable_if_IXntsr11is_integralISP_EE5valueEiE4typeE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) unnamed_addr #4 align 2

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost9function0IP11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK16slowConstructionI11timedConstrE9getObjectEv(ptr dead_on_unwind noalias writable sret(%"class.slowConstruction<timedConstr>::helper") align 8, ptr noundef nonnull align 8 dereferenceable(360)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN16slowConstructionI11timedConstrE6helperptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7 align 2

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

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

declare i32 @usleep(i32 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16slowConstructionI11timedConstrED2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN23sequentialConstructionsC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #7 align 2

declare void @_ZN23sequentialConstructions5startEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZN23sequentialConstructionsD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #9

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress norecurse 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 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass