; LLVM IR from chronoxor/CppBenchmark :: source/benchmark/executor.ll (ZN12CppBenchmark8Executor6ReportERNS_8ReporterE)

; 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::scoped_lock" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.CppBenchmark::Internals::DynamicBenchmark" = type { %"class.CppBenchmark::BenchmarkBase" }
%"class.CppBenchmark::BenchmarkBase" = type { ptr, i8, %"class.std::__cxx11::basic_string", %"class.CppBenchmark::Settings", %"class.std::vector" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.CppBenchmark::Settings" = type <{ i32, i8, [3 x i8], i64, i64, %"class.std::vector.40", %"class.std::vector.45", %"class.std::vector.50", %"class.std::tuple", i8, [7 x i8] }>
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.55", %"struct.std::_Head_base.58" }
%"struct.std::_Tuple_impl.55" = type { %"struct.std::_Tuple_impl.56", %"struct.std::_Head_base.57" }
%"struct.std::_Tuple_impl.56" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.57" = type { i64 }
%"struct.std::_Head_base.58" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.CppBenchmark::Executor" = type { %"class.std::mutex", %"class.std::vector" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = 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 }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12CppBenchmark8Executor6ReportERNS_8ReporterE(ptr noundef nonnull align 8 dereferenceable(8) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::scoped_lock", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.CppBenchmark::Internals::DynamicBenchmark", align 8
  %12 = alloca %"class.CppBenchmark::Settings", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %13 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN12CppBenchmark8Executor11GetInstanceEv()
  store ptr %13, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.CppBenchmark::Executor", ptr %14, i32 0, i32 0
  call void @_ZNSt11scoped_lockIJSt5mutexEEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(40) %15)
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.CppBenchmark::Executor", ptr %16, i32 0, i32 1
  invoke void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkMetricsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %18 unwind label %53

18:                                               ; preds = %1
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %"class.CppBenchmark::Executor", ptr %19, i32 0, i32 1
  invoke void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkThreadsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %21 unwind label %53

21:                                               ; preds = %18
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds ptr, ptr %23, i64 2
  %25 = load ptr, ptr %24, align 8
  invoke void %25(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %26 unwind label %53

26:                                               ; preds = %21
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds ptr, ptr %28, i64 3
  %30 = load ptr, ptr %29, align 8
  invoke void %30(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %31 unwind label %53

31:                                               ; preds = %26
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds ptr, ptr %33, i64 4
  %35 = load ptr, ptr %34, align 8
  invoke void %35(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %36 unwind label %53

36:                                               ; preds = %31
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 5
  %40 = load ptr, ptr %39, align 8
  invoke void %40(ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %41 unwind label %53

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.CppBenchmark::Executor", ptr %42, i32 0, i32 1
  store ptr %43, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = call ptr @_ZNSt6vectorISt10shared_ptrIN12CppBenchmark9PhaseCoreEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call ptr @_ZNSt6vectorISt10shared_ptrIN12CppBenchmark9PhaseCoreEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  br label %50

50:                                               ; preds = %107, %41
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %51, label %57, label %52

52:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %123

53:                                               ; preds = %128, %123, %36, %31, %26, %21, %18, %1
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %134

57:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  store ptr %58, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 200, ptr %11) #5
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %59) #5
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %61, i64 2
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef nonnull align 8 dereferenceable(32) ptr %63(ptr noundef nonnull align 8 dereferenceable(944) %60) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %12) #5
  invoke void @_ZN12CppBenchmark8SettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(121) %12)
          to label %65 unwind label %109

65:                                               ; preds = %57
  %66 = invoke noundef nonnull align 8 dereferenceable(121) ptr @_ZN12CppBenchmark8Settings8AttemptsEi(ptr noundef nonnull align 8 dereferenceable(121) %12, i32 noundef 1)
          to label %67 unwind label %113

67:                                               ; preds = %65
  invoke void @_ZN12CppBenchmark9Internals16DynamicBenchmarkC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8SettingsE(ptr noundef nonnull align 8 dereferenceable(200) %11, ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(121) %66)
          to label %68 unwind label %113

68:                                               ; preds = %67
  call void @_ZN12CppBenchmark8SettingsD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %12) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #5
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds ptr, ptr %70, i64 7
  %72 = load ptr, ptr %71, align 8
  invoke void %72(ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %73 unwind label %118

73:                                               ; preds = %68
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = invoke noundef nonnull align 8 dereferenceable(121) ptr @_ZNK12CppBenchmark13BenchmarkBase8settingsEv(ptr noundef nonnull align 8 dereferenceable(200) %11)
          to label %76 unwind label %118

76:                                               ; preds = %73
  %77 = load ptr, ptr %74, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 9
  %79 = load ptr, ptr %78, align 8
  invoke void %79(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(200) %11, ptr noundef nonnull align 8 dereferenceable(121) %75)
          to label %80 unwind label %118

80:                                               ; preds = %76
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %82, i64 10
  %84 = load ptr, ptr %83, align 8
  invoke void %84(ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %85 unwind label %118

85:                                               ; preds = %80
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %88) #5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %90) #5
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = getelementptr inbounds ptr, ptr %92, i64 2
  %94 = load ptr, ptr %93, align 8
  %95 = call noundef nonnull align 8 dereferenceable(32) ptr %94(ptr noundef nonnull align 8 dereferenceable(944) %91) #5
  invoke void @_ZNK12CppBenchmark8Executor11ReportPhaseERNS_8ReporterERKNS_9PhaseCoreERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %86, ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 8 dereferenceable(944) %89, ptr noundef nonnull align 8 dereferenceable(32) %95)
          to label %96 unwind label %118

96:                                               ; preds = %85
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds ptr, ptr %98, i64 11
  %100 = load ptr, ptr %99, align 8
  invoke void %100(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %101 unwind label %118

101:                                              ; preds = %96
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 8
  %105 = load ptr, ptr %104, align 8
  invoke void %105(ptr noundef nonnull align 8 dereferenceable(8) %102)
          to label %106 unwind label %118

106:                                              ; preds = %101
  call void @_ZN12CppBenchmark13BenchmarkBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %11) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %107

107:                                              ; preds = %106
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br label %50

109:                                              ; preds = %57
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %5, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %6, align 4
  br label %117

113:                                              ; preds = %67, %65
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %5, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %6, align 4
  call void @_ZN12CppBenchmark8SettingsD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %12) #5
  br label %117

117:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #5
  br label %122

118:                                              ; preds = %101, %96, %85, %80, %76, %73, %68
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  call void @_ZN12CppBenchmark13BenchmarkBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %11) #5
  br label %122

122:                                              ; preds = %118, %117
  call void @llvm.lifetime.end.p0(i64 200, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %134

123:                                              ; preds = %52
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds ptr, ptr %125, i64 6
  %127 = load ptr, ptr %126, align 8
  invoke void %127(ptr noundef nonnull align 8 dereferenceable(8) %124)
          to label %128 unwind label %53

128:                                              ; preds = %123
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  %131 = getelementptr inbounds ptr, ptr %130, i64 15
  %132 = load ptr, ptr %131, align 8
  invoke void %132(ptr noundef nonnull align 8 dereferenceable(8) %129)
          to label %133 unwind label %53

133:                                              ; preds = %128
  call void @_ZNSt11scoped_lockIJSt5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void

134:                                              ; preds = %122, %53
  call void @_ZNSt11scoped_lockIJSt5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %5, align 8
  %137 = load i32, ptr %6, align 4
  %138 = insertvalue { ptr, i32 } poison, ptr %136, 0
  %139 = insertvalue { ptr, i32 } %138, i32 %137, 1
  resume { ptr, i32 } %139
}

declare void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkMetricsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24)) #4

declare void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkThreadsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24)) #4

declare void @_ZN12CppBenchmark8SettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(121)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(121) ptr @_ZN12CppBenchmark8Settings8AttemptsEi(ptr noundef nonnull align 8 dereferenceable(121), i32 noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK12CppBenchmark8Executor11ReportPhaseERNS_8ReporterERKNS_9PhaseCoreERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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


; 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::scoped_lock" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.CppBenchmark::Internals::DynamicBenchmark" = type { %"class.CppBenchmark::BenchmarkBase" }
%"class.CppBenchmark::BenchmarkBase" = type { ptr, i8, %"class.std::__cxx11::basic_string", %"class.CppBenchmark::Settings", %"class.std::vector" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.CppBenchmark::Settings" = type <{ i32, i8, [3 x i8], i64, i64, %"class.std::vector.40", %"class.std::vector.45", %"class.std::vector.50", %"class.std::tuple", i8, [7 x i8] }>
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.55", %"struct.std::_Head_base.58" }
%"struct.std::_Tuple_impl.55" = type { %"struct.std::_Tuple_impl.56", %"struct.std::_Head_base.57" }
%"struct.std::_Tuple_impl.56" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.57" = type { i64 }
%"struct.std::_Head_base.58" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<CppBenchmark::PhaseCore>, std::allocator<std::shared_ptr<CppBenchmark::PhaseCore>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12CppBenchmark8Executor6ReportERNS_8ReporterE(ptr noundef nonnull align 8 dereferenceable(8) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::scoped_lock", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.CppBenchmark::Internals::DynamicBenchmark", align 8
  %6 = alloca %"class.CppBenchmark::Settings", align 8
  %7 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZN12CppBenchmark8Executor11GetInstanceEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @_ZNSt11scoped_lockIJSt5mutexEEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(40) %7)
  %8 = getelementptr inbounds i8, ptr %7, i64 40
  invoke void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkMetricsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %9 unwind label %33

9:                                                ; preds = %1
  invoke void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkThreadsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %10 unwind label %33

10:                                               ; preds = %9
  %11 = load ptr, ptr %0, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  %13 = load ptr, ptr %12, align 8
  invoke void %13(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %14 unwind label %33

14:                                               ; preds = %10
  %15 = load ptr, ptr %0, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  %17 = load ptr, ptr %16, align 8
  invoke void %17(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %18 unwind label %33

18:                                               ; preds = %14
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 32
  %21 = load ptr, ptr %20, align 8
  invoke void %21(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %22 unwind label %33

22:                                               ; preds = %18
  %23 = load ptr, ptr %0, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 40
  %25 = load ptr, ptr %24, align 8
  invoke void %25(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %26 unwind label %33

26:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %27 = call ptr @_ZNSt6vectorISt10shared_ptrIN12CppBenchmark9PhaseCoreEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  store ptr %27, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %28 = call ptr @_ZNSt6vectorISt10shared_ptrIN12CppBenchmark9PhaseCoreEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  store ptr %28, ptr %4, align 8
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %29, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %72, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %30 = load ptr, ptr %0, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 48
  %32 = load ptr, ptr %31, align 8
  invoke void %32(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %83 unwind label %33

33:                                               ; preds = %83, %._crit_edge, %22, %18, %14, %10, %9, %1
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %88

.lr.ph:                                           ; preds = %26, %72
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %5) #5
  %36 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = load ptr, ptr %38, align 8
  %40 = call noundef nonnull align 8 dereferenceable(32) ptr %39(ptr noundef nonnull align 8 dereferenceable(944) %36) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #5
  invoke void @_ZN12CppBenchmark8SettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(121) %6)
          to label %41 unwind label %75

41:                                               ; preds = %.lr.ph
  %42 = invoke noundef nonnull align 8 dereferenceable(121) ptr @_ZN12CppBenchmark8Settings8AttemptsEi(ptr noundef nonnull align 8 dereferenceable(121) %6, i32 noundef 1)
          to label %43 unwind label %77

43:                                               ; preds = %41
  invoke void @_ZN12CppBenchmark9Internals16DynamicBenchmarkC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8SettingsE(ptr noundef nonnull align 8 dereferenceable(200) %5, ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(121) %42)
          to label %44 unwind label %77

44:                                               ; preds = %43
  call void @_ZN12CppBenchmark8SettingsD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %6) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #5
  %45 = load ptr, ptr %0, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 56
  %47 = load ptr, ptr %46, align 8
  invoke void %47(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %48 unwind label %80

48:                                               ; preds = %44
  %49 = call noundef nonnull align 8 dereferenceable(121) ptr @_ZNK12CppBenchmark13BenchmarkBase8settingsEv(ptr noundef nonnull align 8 dereferenceable(200) %5)
  %50 = load ptr, ptr %0, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 72
  %52 = load ptr, ptr %51, align 8
  invoke void %52(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(200) %5, ptr noundef nonnull align 8 dereferenceable(121) %49)
          to label %53 unwind label %80

53:                                               ; preds = %48
  %54 = load ptr, ptr %0, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 80
  %56 = load ptr, ptr %55, align 8
  invoke void %56(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %57 unwind label %80

57:                                               ; preds = %53
  %58 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN12CppBenchmark9PhaseCoreELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef nonnull align 8 dereferenceable(32) ptr %62(ptr noundef nonnull align 8 dereferenceable(944) %59) #5
  invoke void @_ZNK12CppBenchmark8Executor11ReportPhaseERNS_8ReporterERKNS_9PhaseCoreERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(944) %58, ptr noundef nonnull align 8 dereferenceable(32) %63)
          to label %64 unwind label %80

64:                                               ; preds = %57
  %65 = load ptr, ptr %0, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 88
  %67 = load ptr, ptr %66, align 8
  invoke void %67(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %68 unwind label %80

68:                                               ; preds = %64
  %69 = load ptr, ptr %0, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 64
  %71 = load ptr, ptr %70, align 8
  invoke void %71(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %72 unwind label %80

72:                                               ; preds = %68
  call void @_ZN12CppBenchmark13BenchmarkBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %5) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %5) #5
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %74 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN12CppBenchmark9PhaseCoreEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %74, label %.lr.ph, label %._crit_edge

75:                                               ; preds = %.lr.ph
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %43, %41
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12CppBenchmark8SettingsD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %6) #5
  br label %79

79:                                               ; preds = %77, %75
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #5
  br label %82

80:                                               ; preds = %68, %64, %57, %53, %48, %44
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12CppBenchmark13BenchmarkBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %5) #5
  br label %82

82:                                               ; preds = %80, %79
  %.pn27 = phi { ptr, i32 } [ %81, %80 ], [ %.pn, %79 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %88

83:                                               ; preds = %._crit_edge
  %84 = load ptr, ptr %0, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 120
  %86 = load ptr, ptr %85, align 8
  invoke void %86(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %87 unwind label %33

87:                                               ; preds = %83
  call void @_ZNSt11scoped_lockIJSt5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void

88:                                               ; preds = %82, %33
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %82 ], [ %34, %33 ]
  call void @_ZNSt11scoped_lockIJSt5mutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn27.pn
}

declare void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkMetricsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

declare void @_ZN12CppBenchmark13BenchmarkBase22UpdateBenchmarkThreadsERSt6vectorISt10shared_ptrINS_9PhaseCoreEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

declare void @_ZN12CppBenchmark8SettingsC1Ev(ptr noundef nonnull align 8 dereferenceable(121)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(121) ptr @_ZN12CppBenchmark8Settings8AttemptsEi(ptr noundef nonnull align 8 dereferenceable(121), i32 noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK12CppBenchmark8Executor11ReportPhaseERNS_8ReporterERKNS_9PhaseCoreERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

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

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


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