; LLVM IR from martinus/nanobench :: src/comparisons/nanobench/main.ll (ZNK6ankerl9nanobench5Bench14complexityBigOEv)

; 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::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl" }
%"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl" = type { %"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.61 = type { i8 }
%class.anon.63 = type { i8 }
%class.anon.65 = type { i8 }
%class.anon.67 = type { i8 }
%class.anon.69 = type { i8 }
%class.anon.71 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.73" = type { ptr }
%"class.ankerl::nanobench::Bench" = type { %"struct.ankerl::nanobench::Config", %"class.std::vector.4" }
%"struct.ankerl::nanobench::Config" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, double, i64, i64, %"class.std::chrono::duration", %"class.std::chrono::duration", i64, i64, i64, ptr, %"class.std::chrono::duration.9", %"class.std::__cxx11::basic_string", i8, i8, %"class.std::unordered_map" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.9" = type { double }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.3 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.3 = type { i64, [8 x i8] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<ankerl::nanobench::Result, std::allocator<ankerl::nanobench::Result>>::_Vector_impl" }
%"struct.std::_Vector_base<ankerl::nanobench::Result, std::allocator<ankerl::nanobench::Result>>::_Vector_impl" = type { %"struct.std::_Vector_base<ankerl::nanobench::Result, std::allocator<ankerl::nanobench::Result>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ankerl::nanobench::Result, std::allocator<ankerl::nanobench::Result>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.45 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6ankerl9nanobench5Bench14complexityBigOEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.51") align 8 %0, ptr noundef nonnull align 8 dereferenceable(304) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca %"class.std::vector.56", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.anon.61, align 1
  %10 = alloca %class.anon.63, align 1
  %11 = alloca %class.anon.65, align 1
  %12 = alloca %class.anon.67, align 1
  %13 = alloca %class.anon.69, align 1
  %14 = alloca %class.anon.71, align 1
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.73", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  %18 = getelementptr inbounds %"class.ankerl::nanobench::Bench", ptr %17, i32 0, i32 1
  invoke void @_ZN6ankerl9nanobench4BigO19collectRangeMeasureERKSt6vectorINS0_6ResultESaIS3_EE(ptr dead_on_unwind writable sret(%"class.std::vector.56") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %19 unwind label %42

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  %20 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_0EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.45, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %21 unwind label %46

21:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %22 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_1EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.46, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %23 unwind label %50

23:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %24 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA9_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_2EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(9) @.str.47, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %25 unwind label %54

25:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  %26 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA11_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_3EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(11) @.str.48, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %27 unwind label %58

27:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %28 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_4EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(7) @.str.49, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %29 unwind label %62

29:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  %30 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_5EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(7) @.str.50, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %31 unwind label %66

31:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  %32 = call ptr @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %15, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  %34 = call ptr @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %35 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %16, i32 0, i32 0
  store ptr %34, ptr %35, align 8
  %36 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %15, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.73", ptr %16, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6ankerl9nanobench4BigOESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %37, ptr %39)
          to label %40 unwind label %70

40:                                               ; preds = %31
  store i1 true, ptr %5, align 1
  call void @_ZNSt6vectorISt4pairIddESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  %41 = load i1, ptr %5, align 1
  br i1 %41, label %77, label %76

42:                                               ; preds = %2
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %7, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %8, align 4
  br label %75

46:                                               ; preds = %19
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  br label %74

50:                                               ; preds = %21
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %74

54:                                               ; preds = %23
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %7, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  br label %74

58:                                               ; preds = %25
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %7, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  br label %74

62:                                               ; preds = %27
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %7, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  br label %74

66:                                               ; preds = %29
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  br label %74

70:                                               ; preds = %31
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  br label %74

74:                                               ; preds = %70, %66, %62, %58, %54, %50, %46
  call void @_ZNSt6vectorISt4pairIddESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %75

75:                                               ; preds = %74, %42
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  call void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %78

76:                                               ; preds = %40
  call void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %77

77:                                               ; preds = %76, %40
  ret void

78:                                               ; preds = %75
  %79 = load ptr, ptr %7, align 8
  %80 = load i32, ptr %8, align 4
  %81 = insertvalue { ptr, i32 } poison, ptr %79, 0
  %82 = insertvalue { ptr, i32 } %81, i32 %80, 1
  resume { ptr, i32 } %82
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ankerl9nanobench4BigO19collectRangeMeasureERKSt6vectorINS0_6ResultESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.56") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_0EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_1EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA9_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_2EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA11_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_3EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(11), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_4EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_5EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6ankerl9nanobench4BigOESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr, ptr) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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"}


; 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::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl" }
%"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl" = type { %"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ankerl::nanobench::BigO, std::allocator<ankerl::nanobench::BigO>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, double>, std::allocator<std::pair<double, double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.61 = type { i8 }
%class.anon.63 = type { i8 }
%class.anon.65 = type { i8 }
%class.anon.67 = type { i8 }
%class.anon.69 = type { i8 }
%class.anon.71 = type { i8 }

@.str.45 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6ankerl9nanobench5Bench14complexityBigOEv(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.51") align 8 %0, ptr noundef nonnull align 8 dereferenceable(304) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.56", align 8
  %4 = alloca %class.anon.61, align 1
  %5 = alloca %class.anon.63, align 1
  %6 = alloca %class.anon.65, align 1
  %7 = alloca %class.anon.67, align 1
  %8 = alloca %class.anon.69, align 1
  %9 = alloca %class.anon.71, align 1
  tail call void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  %10 = getelementptr inbounds i8, ptr %1, i64 280
  invoke void @_ZN6ankerl9nanobench4BigO19collectRangeMeasureERKSt6vectorINS0_6ResultESaIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.56") align 8 %3, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %11 unwind label %27

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  %12 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_0EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.45, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %13 unwind label %29

13:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  %14 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_1EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.46, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %15 unwind label %31

15:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  %16 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA9_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_2EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(9) @.str.47, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %17 unwind label %33

17:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  %18 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA11_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_3EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(11) @.str.48, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %19 unwind label %35

19:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  %20 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_4EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(7) @.str.49, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %21 unwind label %37

21:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #4
  %22 = invoke noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_5EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(7) @.str.50, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %23 unwind label %39

23:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  %24 = call ptr @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %25 = call ptr @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6ankerl9nanobench4BigOESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %24, ptr %25)
          to label %26 unwind label %41

26:                                               ; preds = %23
  call void @_ZNSt6vectorISt4pairIddESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  ret void

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %44

29:                                               ; preds = %11
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  br label %43

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

33:                                               ; preds = %15
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  br label %43

35:                                               ; preds = %17
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  br label %43

37:                                               ; preds = %19
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  br label %43

39:                                               ; preds = %21
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  br label %43

41:                                               ; preds = %23
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %43

43:                                               ; preds = %41, %39, %37, %35, %33, %31, %29
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ], [ %38, %37 ], [ %36, %35 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ]
  call void @_ZNSt6vectorISt4pairIddESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  br label %44

44:                                               ; preds = %43, %27
  %.pn.pn = phi { ptr, i32 } [ %.pn, %43 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  call void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  resume { ptr, i32 } %.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ankerl9nanobench4BigO19collectRangeMeasureERKSt6vectorINS0_6ResultESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.56") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_0EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA5_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_1EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA9_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_2EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA11_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_3EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(11), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_4EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EE12emplace_backIJRA7_KcRS_ISt4pairIddESaISA_EEZNKS1_5Bench14complexityBigOEvE3$_5EEERS2_DpOT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(7), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6ankerl9nanobench4BigOESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr, ptr) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN6ankerl9nanobench4BigOESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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)"}


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