; LLVM IR from google/benchmark :: src/benchmark_runner.ll (ZN9benchmark8internal15BenchmarkRunner13DoNIterationsEv)

; 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"

%"struct.benchmark::internal::BenchmarkRunner::IterationResults" = type { %"struct.benchmark::internal::ThreadManager::Result", i64, double }
%"struct.benchmark::internal::ThreadManager::Result" = type { i64, double, double, double, i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::map" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unique_ptr.22" = type { %"struct.std::__uniq_ptr_data.23" }
%"struct.std::__uniq_ptr_data.23" = type { %"class.std::__uniq_ptr_impl.24" }
%"class.std::__uniq_ptr_impl.24" = type { %"class.std::tuple.25" }
%"class.std::tuple.25" = type { %"struct.std::_Tuple_impl.26" }
%"struct.std::_Tuple_impl.26" = type { %"struct.std::_Head_base.29" }
%"struct.std::_Head_base.29" = type { ptr }
%"class.std::function.30" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr }
%"class.benchmark::MutexLock" = type { %"class.std::unique_lock" }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.benchmark::internal::BenchmarkRunner" = type { %"struct.benchmark::internal::RunResults", ptr, ptr, %"struct.benchmark::internal::BenchTimeType", double, double, i8, i32, i8, i32, %"class.std::unique_ptr", i64, ptr }
%"struct.benchmark::internal::RunResults" = type <{ %"class.std::vector", %"class.std::vector", i8, i8, [6 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<benchmark::BenchmarkReporter::Run, std::allocator<benchmark::BenchmarkReporter::Run>>::_Vector_impl" }
%"struct.std::_Vector_base<benchmark::BenchmarkReporter::Run, std::allocator<benchmark::BenchmarkReporter::Run>>::_Vector_impl" = type { %"struct.std::_Vector_base<benchmark::BenchmarkReporter::Run, std::allocator<benchmark::BenchmarkReporter::Run>>::_Vector_impl_data" }
%"struct.std::_Vector_base<benchmark::BenchmarkReporter::Run, std::allocator<benchmark::BenchmarkReporter::Run>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.benchmark::internal::BenchTimeType" = type { i32, %union.anon }
%union.anon = type { i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.5" }
%"struct.std::_Head_base.5" = type { ptr }
%"class.benchmark::internal::ThreadManager" = type { %"struct.benchmark::internal::ThreadManager::Result", %"class.benchmark::Mutex", %"class.benchmark::Barrier" }
%"class.benchmark::Mutex" = type { %"class.std::mutex" }
%"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 }
%"class.benchmark::Barrier" = type <{ %"class.benchmark::Mutex", %"class.std::condition_variable", i32, i32, i32, [4 x i8] }>
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %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 }

@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 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: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_7LogTypeES9_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9benchmark8internal15BenchmarkRunner13DoNIterationsEv(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::internal::BenchmarkRunner::IterationResults") align 8 %0, ptr noundef nonnull align 8 dereferenceable(144) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::unique_ptr.22", align 8
  %10 = alloca %"class.std::function.30", align 8
  %11 = alloca %class.anon, align 8
  %12 = alloca i1, align 1
  %13 = alloca %"class.benchmark::MutexLock", align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  %16 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal22GetLogInstanceForLevelEi(i32 noundef 2)
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(8) @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 2, ptr %5, align 4, !tbaa !9
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIiEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA4_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 1 dereferenceable(4) @.str.7)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA9_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 1 dereferenceable(9) @.str.14)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #8
  %21 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNK9benchmark8internal17BenchmarkInstance4nameEv(ptr noundef nonnull align 8 dereferenceable(472) %22)
  call void @_ZNK9benchmark13BenchmarkName3strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(256) %23)
  %24 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_7LogTypeES9_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %25 unwind label %102

25:                                               ; preds = %2
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA6_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 1 dereferenceable(6) @.str.15)
          to label %27 unwind label %102

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 11
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIlEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %30 unwind label %102

30:                                               ; preds = %27
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 1 dereferenceable(2) @.str.16)
          to label %32 unwind label %102

32:                                               ; preds = %30
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %33 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 304) #9
          to label %34 unwind label %106

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = invoke noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472) %36)
          to label %38 unwind label %110

38:                                               ; preds = %34
  invoke void @_ZN9benchmark8internal13ThreadManagerC2Ei(ptr noundef nonnull align 8 dereferenceable(304) %33, i32 noundef %37)
          to label %39 unwind label %110

39:                                               ; preds = %38
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EE5resetEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %33) #8
  %40 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 10
  %41 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %42 = getelementptr inbounds %class.anon, ptr %11, i32 0, i32 0
  store ptr %15, ptr %42, align 8, !tbaa !29
  %43 = getelementptr inbounds %class.anon, ptr %11, i32 0, i32 1
  store ptr %9, ptr %43, align 8, !tbaa !5
  call void @"_ZNSt8functionIFviEEC2IZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  %44 = load ptr, ptr %41, align 8, !tbaa !31
  %45 = getelementptr inbounds ptr, ptr %44, i64 2
  %46 = load ptr, ptr %45, align 8
  invoke void %46(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %47 unwind label %114

47:                                               ; preds = %39
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  store i1 false, ptr %12, align 1
  call void @_ZN9benchmark8internal15BenchmarkRunner16IterationResultsC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %48 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %49 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9benchmark8internal13ThreadManager17GetBenchmarkMutexEv(ptr noundef nonnull align 8 dereferenceable(304) %48)
          to label %50 unwind label %118

50:                                               ; preds = %47
  invoke void @_ZN9benchmark9MutexLockC2ERNS_5MutexE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(40) %49)
          to label %51 unwind label %118

51:                                               ; preds = %50
  %52 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %53 = getelementptr inbounds %"class.benchmark::internal::ThreadManager", ptr %52, i32 0, i32 0
  %54 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %55 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN9benchmark8internal13ThreadManager6ResultaSERKS2_(ptr noundef nonnull align 8 dereferenceable(160) %54, ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %56 unwind label %122

56:                                               ; preds = %51
  call void @_ZN9benchmark9MutexLockD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EE5resetEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef null) #8
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal22GetLogInstanceForLevelEi(i32 noundef 2)
          to label %58 unwind label %127

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 1 dereferenceable(8) @.str.6)
          to label %60 unwind label %127

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 2, ptr %14, align 4, !tbaa !9
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIiEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %62 unwind label %131

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA4_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 1 dereferenceable(4) @.str.7)
          to label %64 unwind label %131

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 1 dereferenceable(8) @.str.17)
          to label %66 unwind label %131

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %68 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %67, i32 0, i32 2
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIdEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %68)
          to label %70 unwind label %131

70:                                               ; preds = %66
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 1 dereferenceable(2) @.str.18)
          to label %72 unwind label %131

72:                                               ; preds = %70
  %73 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %74 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %73, i32 0, i32 1
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIdEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %76 unwind label %131

76:                                               ; preds = %72
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 1 dereferenceable(2) @.str.16)
          to label %78 unwind label %131

78:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  %79 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %80 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %79, i32 0, i32 0
  %81 = load i64, ptr %80, align 8, !tbaa !33
  %82 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !11
  %84 = invoke noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472) %83)
          to label %85 unwind label %127

85:                                               ; preds = %78
  %86 = sext i32 %84 to i64
  %87 = sdiv i64 %81, %86
  %88 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 1
  store i64 %87, ptr %88, align 8, !tbaa !47
  %89 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %90 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %89, i32 0, i32 2
  %91 = load double, ptr %90, align 8, !tbaa !48
  %92 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 2
  store double %91, ptr %92, align 8, !tbaa !49
  %93 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = invoke noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance15use_manual_timeEv(ptr noundef nonnull align 8 dereferenceable(472) %94)
          to label %96 unwind label %127

96:                                               ; preds = %85
  br i1 %95, label %97, label %135

97:                                               ; preds = %96
  %98 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %99 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %98, i32 0, i32 3
  %100 = load double, ptr %99, align 8, !tbaa !50
  %101 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 2
  store double %100, ptr %101, align 8, !tbaa !49
  br label %146

102:                                              ; preds = %30, %27, %25, %2
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %152

106:                                              ; preds = %32
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  br label %151

110:                                              ; preds = %38, %34
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %33, i64 noundef 304) #10
  br label %151

114:                                              ; preds = %39
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  br label %151

118:                                              ; preds = %50, %47
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  br label %126

122:                                              ; preds = %51
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  call void @_ZN9benchmark9MutexLockD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %126

126:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %150

127:                                              ; preds = %135, %85, %78, %58, %56
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %7, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %8, align 4
  br label %150

131:                                              ; preds = %76, %72, %70, %66, %64, %62, %60
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %150

135:                                              ; preds = %96
  %136 = getelementptr inbounds %"class.benchmark::internal::BenchmarkRunner", ptr %15, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !11
  %138 = invoke noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance13use_real_timeEv(ptr noundef nonnull align 8 dereferenceable(472) %137)
          to label %139 unwind label %127

139:                                              ; preds = %135
  br i1 %138, label %140, label %145

140:                                              ; preds = %139
  %141 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 0
  %142 = getelementptr inbounds %"struct.benchmark::internal::ThreadManager::Result", ptr %141, i32 0, i32 1
  %143 = load double, ptr %142, align 8, !tbaa !51
  %144 = getelementptr inbounds %"struct.benchmark::internal::BenchmarkRunner::IterationResults", ptr %0, i32 0, i32 2
  store double %143, ptr %144, align 8, !tbaa !49
  br label %145

145:                                              ; preds = %140, %139
  br label %146

146:                                              ; preds = %145, %97
  store i1 true, ptr %12, align 1
  %147 = load i1, ptr %12, align 1
  br i1 %147, label %149, label %148

148:                                              ; preds = %146
  call void @_ZN9benchmark8internal15BenchmarkRunner16IterationResultsD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #8
  br label %149

149:                                              ; preds = %148, %146
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  ret void

150:                                              ; preds = %131, %127, %126
  call void @_ZN9benchmark8internal15BenchmarkRunner16IterationResultsD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #8
  br label %151

151:                                              ; preds = %150, %114, %110, %106
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %152

152:                                              ; preds = %151, %102
  %153 = load ptr, ptr %7, align 8
  %154 = load i32, ptr %8, align 4
  %155 = insertvalue { ptr, i32 } poison, ptr %153, 0
  %156 = insertvalue { ptr, i32 } %155, i32 %154, 1
  resume { ptr, i32 } %156
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA6_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(6)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNK9benchmark8internal17BenchmarkInstance4nameEv(ptr noundef nonnull align 8 dereferenceable(472)) #3 align 2

declare void @_ZNK9benchmark13BenchmarkName3strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(256)) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9benchmark8internal13ThreadManager17GetBenchmarkMutexEv(ptr noundef nonnull align 8 dereferenceable(304)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance15use_manual_timeEv(ptr noundef nonnull align 8 dereferenceable(472)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance13use_real_timeEv(ptr noundef nonnull align 8 dereferenceable(472)) #3 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 56}
!12 = !{!"_ZTSN9benchmark8internal15BenchmarkRunnerE", !13, i64 0, !6, i64 56, !6, i64 64, !19, i64 72, !21, i64 88, !21, i64 96, !18, i64 104, !10, i64 108, !18, i64 112, !10, i64 116, !22, i64 120, !28, i64 128, !6, i64 136}
!13 = !{!"_ZTSN9benchmark8internal10RunResultsE", !14, i64 0, !14, i64 24, !18, i64 48, !18, i64 49}
!14 = !{!"_ZTSSt6vectorIN9benchmark17BenchmarkReporter3RunESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN9benchmark8internal13BenchTimeTypeE", !20, i64 0, !7, i64 8}
!20 = !{!"_ZTSN9benchmark8internal13BenchTimeTypeUt_E", !7, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTSSt10unique_ptrIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_dataIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_ELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_implIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt5tupleIJPN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt11_Tuple_implILm0EJPN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEE", !27, i64 0}
!27 = !{!"_ZTSSt10_Head_baseILm0EPN9benchmark16ThreadRunnerBaseELb0EE", !6, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTSZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0", !6, i64 0, !6, i64 8}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!34, !28, i64 0}
!34 = !{!"_ZTSN9benchmark8internal15BenchmarkRunner16IterationResultsE", !35, i64 0, !28, i64 160, !21, i64 168}
!35 = !{!"_ZTSN9benchmark8internal13ThreadManager6ResultE", !28, i64 0, !21, i64 8, !21, i64 16, !21, i64 24, !28, i64 32, !36, i64 40, !36, i64 72, !38, i64 104, !39, i64 112}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !28, i64 8, !7, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!38 = !{!"_ZTSN9benchmark8internal7SkippedE", !7, i64 0}
!39 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN9benchmark7CounterESt4lessIS5_ESaISt4pairIKS5_S7_EEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N9benchmark7CounterEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N9benchmark7CounterEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !42, i64 0, !44, i64 8}
!42 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !43, i64 0}
!43 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!44 = !{!"_ZTSSt15_Rb_tree_header", !45, i64 0, !28, i64 32}
!45 = !{!"_ZTSSt18_Rb_tree_node_base", !46, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!46 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!47 = !{!34, !28, i64 160}
!48 = !{!34, !21, i64 16}
!49 = !{!34, !21, i64 168}
!50 = !{!34, !21, i64 24}
!51 = !{!34, !21, i64 8}


; 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"

%"struct.benchmark::internal::BenchmarkRunner::IterationResults" = type { %"struct.benchmark::internal::ThreadManager::Result", i64, double }
%"struct.benchmark::internal::ThreadManager::Result" = type { i64, double, double, double, i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::map" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, benchmark::Counter>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unique_ptr.22" = type { %"struct.std::__uniq_ptr_data.23" }
%"struct.std::__uniq_ptr_data.23" = type { %"class.std::__uniq_ptr_impl.24" }
%"class.std::__uniq_ptr_impl.24" = type { %"class.std::tuple.25" }
%"class.std::tuple.25" = type { %"struct.std::_Tuple_impl.26" }
%"struct.std::_Tuple_impl.26" = type { %"struct.std::_Head_base.29" }
%"struct.std::_Head_base.29" = type { ptr }
%"class.std::function.30" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr }
%"class.benchmark::MutexLock" = type { %"class.std::unique_lock" }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>

@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_7LogTypeES9_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9benchmark8internal15BenchmarkRunner13DoNIterationsEv(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::internal::BenchmarkRunner::IterationResults") align 8 %0, ptr noundef nonnull align 8 dereferenceable(144) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::unique_ptr.22", align 8
  %6 = alloca %"class.std::function.30", align 8
  %7 = alloca %class.anon, align 8
  %8 = alloca %"class.benchmark::MutexLock", align 8
  %9 = alloca i32, align 4
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal22GetLogInstanceForLevelEi(i32 noundef 2)
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 1 dereferenceable(8) @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 2, ptr %3, align 4, !tbaa !5
  %12 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIiEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %13 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA4_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 1 dereferenceable(4) @.str.7)
  %14 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA9_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 1 dereferenceable(9) @.str.14)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  %15 = getelementptr inbounds i8, ptr %1, i64 56
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNK9benchmark8internal17BenchmarkInstance4nameEv(ptr noundef nonnull align 8 dereferenceable(472) %16)
  call void @_ZNK9benchmark13BenchmarkName3strB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(256) %17)
  %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_7LogTypeES9_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %19 unwind label %77

19:                                               ; preds = %2
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA6_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 1 dereferenceable(6) @.str.15)
          to label %21 unwind label %77

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %1, i64 128
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIlEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %24 unwind label %77

24:                                               ; preds = %21
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 1 dereferenceable(2) @.str.16)
          to label %26 unwind label %77

26:                                               ; preds = %24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %27 = invoke noalias noundef nonnull dereferenceable(304) ptr @_Znwm(i64 noundef 304) #9
          to label %28 unwind label %79

28:                                               ; preds = %26
  %29 = load ptr, ptr %15, align 8, !tbaa !9
  %30 = call noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472) %29)
  invoke void @_ZN9benchmark8internal13ThreadManagerC2Ei(ptr noundef nonnull align 8 dereferenceable(304) %27, i32 noundef %30)
          to label %31 unwind label %81

31:                                               ; preds = %28
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EE5resetEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %27) #8
  %32 = getelementptr inbounds i8, ptr %1, i64 120
  %33 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  store ptr %1, ptr %7, align 8, !tbaa !28
  %34 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %5, ptr %34, align 8, !tbaa !30
  call void @"_ZNSt8functionIFviEEC2IZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  %35 = load ptr, ptr %33, align 8, !tbaa !31
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8
  invoke void %37(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %38 unwind label %83

38:                                               ; preds = %31
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @_ZN9benchmark8internal15BenchmarkRunner16IterationResultsC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %39 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %40 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9benchmark8internal13ThreadManager17GetBenchmarkMutexEv(ptr noundef nonnull align 8 dereferenceable(304) %39)
  invoke void @_ZN9benchmark9MutexLockC2ERNS_5MutexE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(40) %40)
          to label %41 unwind label %85

41:                                               ; preds = %38
  %42 = call noundef ptr @_ZNKSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %43 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN9benchmark8internal13ThreadManager6ResultaSERKS2_(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(160) %42)
          to label %44 unwind label %87

44:                                               ; preds = %41
  call void @_ZN9benchmark9MutexLockD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EE5resetEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef null) #8
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal22GetLogInstanceForLevelEi(i32 noundef 2)
          to label %46 unwind label %90

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 1 dereferenceable(8) @.str.6)
          to label %48 unwind label %90

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store i32 2, ptr %9, align 4, !tbaa !5
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIiEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %50 unwind label %92

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA4_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 1 dereferenceable(4) @.str.7)
          to label %52 unwind label %92

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA8_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 1 dereferenceable(8) @.str.17)
          to label %54 unwind label %92

54:                                               ; preds = %52
  %55 = getelementptr inbounds i8, ptr %0, i64 16
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIdEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %57 unwind label %92

57:                                               ; preds = %54
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 1 dereferenceable(2) @.str.18)
          to label %59 unwind label %92

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %0, i64 8
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIdEERNS0_7LogTypeES3_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %62 unwind label %92

62:                                               ; preds = %59
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internallsIA2_cEERNS0_7LogTypeES4_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 1 dereferenceable(2) @.str.16)
          to label %64 unwind label %92

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  %65 = load i64, ptr %0, align 8, !tbaa !33
  %66 = load ptr, ptr %15, align 8, !tbaa !9
  %67 = call noundef i32 @_ZNK9benchmark8internal17BenchmarkInstance7threadsEv(ptr noundef nonnull align 8 dereferenceable(472) %66)
  %68 = sext i32 %67 to i64
  %69 = sdiv i64 %65, %68
  %70 = getelementptr inbounds i8, ptr %0, i64 160
  store i64 %69, ptr %70, align 8, !tbaa !47
  %71 = load double, ptr %55, align 8, !tbaa !48
  %72 = getelementptr inbounds i8, ptr %0, i64 168
  store double %71, ptr %72, align 8, !tbaa !49
  %73 = load ptr, ptr %15, align 8, !tbaa !9
  %74 = call noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance15use_manual_timeEv(ptr noundef nonnull align 8 dereferenceable(472) %73)
  br i1 %74, label %75, label %94

75:                                               ; preds = %64
  %76 = getelementptr inbounds i8, ptr %0, i64 24
  br label %.sink.split

77:                                               ; preds = %24, %21, %19, %2
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  br label %101

79:                                               ; preds = %26
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %100

81:                                               ; preds = %28
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 304) #10
  br label %100

83:                                               ; preds = %31
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %100

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

87:                                               ; preds = %41
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9benchmark9MutexLockD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %89

89:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %99

90:                                               ; preds = %46, %44
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %99

92:                                               ; preds = %62, %59, %57, %54, %52, %50, %48
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %99

94:                                               ; preds = %64
  %95 = load ptr, ptr %15, align 8, !tbaa !9
  %96 = call noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance13use_real_timeEv(ptr noundef nonnull align 8 dereferenceable(472) %95)
  br i1 %96, label %.sink.split, label %98

.sink.split:                                      ; preds = %94, %75
  %.sink12 = phi ptr [ %76, %75 ], [ %60, %94 ]
  %97 = load double, ptr %.sink12, align 8, !tbaa !50
  store double %97, ptr %72, align 8, !tbaa !49
  br label %98

98:                                               ; preds = %.sink.split, %94
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  ret void

99:                                               ; preds = %92, %90, %89
  %.pn8 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ], [ %.pn, %89 ]
  call void @_ZN9benchmark8internal15BenchmarkRunner16IterationResultsD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #8
  br label %100

100:                                              ; preds = %99, %83, %81, %79
  %.pn8.pn = phi { ptr, i32 } [ %.pn8, %99 ], [ %84, %83 ], [ %82, %81 ], [ %80, %79 ]
  call void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %101

101:                                              ; preds = %100, %77
  %.pn8.pn.pn = phi { ptr, i32 } [ %.pn8.pn, %100 ], [ %78, %77 ]
  resume { ptr, i32 } %.pn8.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNK9benchmark8internal17BenchmarkInstance4nameEv(ptr noundef nonnull align 8 dereferenceable(472)) local_unnamed_addr #3 align 2

declare void @_ZNK9benchmark13BenchmarkName3strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIN9benchmark8internal13ThreadManagerESt14default_deleteIS2_EE5resetEPS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 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 @_ZN9benchmark8internal13ThreadManagerC2Ei(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFviEEC2IZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9benchmark8internal13ThreadManager17GetBenchmarkMutexEv(ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance15use_manual_timeEv(ptr noundef nonnull align 8 dereferenceable(472)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9benchmark8internal17BenchmarkInstance13use_real_timeEv(ptr noundef nonnull align 8 dereferenceable(472)) local_unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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, !16, i64 56}
!10 = !{!"_ZTSN9benchmark8internal15BenchmarkRunnerE", !11, i64 0, !16, i64 56, !16, i64 64, !18, i64 72, !20, i64 88, !20, i64 96, !17, i64 104, !6, i64 108, !17, i64 112, !6, i64 116, !21, i64 120, !27, i64 128, !16, i64 136}
!11 = !{!"_ZTSN9benchmark8internal10RunResultsE", !12, i64 0, !12, i64 24, !17, i64 48, !17, i64 49}
!12 = !{!"_ZTSSt6vectorIN9benchmark17BenchmarkReporter3RunESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN9benchmark17BenchmarkReporter3RunESaIS2_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN9benchmark8internal13BenchTimeTypeE", !19, i64 0, !7, i64 8}
!19 = !{!"_ZTSN9benchmark8internal13BenchTimeTypeUt_E", !7, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSSt10unique_ptrIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implIN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJPN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJPN9benchmark16ThreadRunnerBaseESt14default_deleteIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EPN9benchmark16ThreadRunnerBaseELb0EE", !16, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!29, !16, i64 0}
!29 = !{!"_ZTSZN9benchmark8internal15BenchmarkRunner13DoNIterationsEvE3$_0", !16, i64 0, !16, i64 8}
!30 = !{!16, !16, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!34, !27, i64 0}
!34 = !{!"_ZTSN9benchmark8internal15BenchmarkRunner16IterationResultsE", !35, i64 0, !27, i64 160, !20, i64 168}
!35 = !{!"_ZTSN9benchmark8internal13ThreadManager6ResultE", !27, i64 0, !20, i64 8, !20, i64 16, !20, i64 24, !27, i64 32, !36, i64 40, !36, i64 72, !38, i64 104, !39, i64 112}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !27, i64 8, !7, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!38 = !{!"_ZTSN9benchmark8internal7SkippedE", !7, i64 0}
!39 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN9benchmark7CounterESt4lessIS5_ESaISt4pairIKS5_S7_EEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N9benchmark7CounterEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N9benchmark7CounterEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !42, i64 0, !44, i64 8}
!42 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !43, i64 0}
!43 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!44 = !{!"_ZTSSt15_Rb_tree_header", !45, i64 0, !27, i64 32}
!45 = !{!"_ZTSSt18_Rb_tree_node_base", !46, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!46 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!47 = !{!34, !27, i64 160}
!48 = !{!34, !20, i64 16}
!49 = !{!34, !20, i64 168}
!50 = !{!20, !20, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass