; LLVM IR from richgrov/simulo-engine :: src/test_main.ll (ZN7doctest6detail7SubcaseD2Ev)

; 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.std::pair" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.doctest::TestCaseException" = type <{ %"class.doctest::String", i8, [7 x i8] }>
%"class.doctest::String" = type { %union.anon.7 }
%union.anon.7 = type { %"struct.doctest::String::view", [8 x i8] }
%"struct.doctest::String::view" = type { ptr, i32, i32 }
%"struct.doctest::detail::Subcase" = type { %"struct.doctest::SubcaseSignature", i8, [7 x i8] }
%"struct.doctest::SubcaseSignature" = type <{ %"class.doctest::String", ptr, i32, [4 x i8] }>
%"struct.doctest::detail::ContextState" = type <{ %"struct.doctest::ContextOptions.base", i8, %"struct.doctest::TestRunStats", %"struct.doctest::CurrentTestCaseStats", %"class.doctest::detail::MultiLaneAtomic", %"class.doctest::detail::MultiLaneAtomic", %"class.std::vector.9", %"class.std::vector.14", ptr, %"struct.doctest::detail::Timer", %"class.std::vector.19", i8, [7 x i8], %"class.std::vector.24", %"class.std::vector.24", %"class.std::unordered_set", i64, %"struct.std::atomic.34", [7 x i8] }>
%"struct.doctest::ContextOptions.base" = type <{ ptr, %"class.doctest::String", ptr, %"class.doctest::String", %"class.doctest::String", i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"struct.doctest::TestRunStats" = type { i32, i32, i32, i32, i32, i32 }
%"struct.doctest::CurrentTestCaseStats" = type { i32, i32, double, i32, i8 }
%"class.doctest::detail::MultiLaneAtomic" = type { [32 x %"struct.doctest::detail::MultiLaneAtomic<int>::CacheLineAlignedAtomic"] }
%"struct.doctest::detail::MultiLaneAtomic<int>::CacheLineAlignedAtomic" = type { %"struct.std::atomic", [60 x i8] }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<std::vector<doctest::String>, std::allocator<std::vector<doctest::String>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<doctest::String>, std::allocator<std::vector<doctest::String>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<doctest::String>, std::allocator<std::vector<doctest::String>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<doctest::String>, std::allocator<std::vector<doctest::String>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<doctest::IReporter *, std::allocator<doctest::IReporter *>>::_Vector_impl" }
%"struct.std::_Vector_base<doctest::IReporter *, std::allocator<doctest::IReporter *>>::_Vector_impl" = type { %"struct.std::_Vector_base<doctest::IReporter *, std::allocator<doctest::IReporter *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<doctest::IReporter *, std::allocator<doctest::IReporter *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.doctest::detail::Timer" = type { i64 }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<doctest::String, std::allocator<doctest::String>>::_Vector_impl" }
%"struct.std::_Vector_base<doctest::String, std::allocator<doctest::String>>::_Vector_impl" = type { %"struct.std::_Vector_base<doctest::String, std::allocator<doctest::String>>::_Vector_impl_data" }
%"struct.std::_Vector_base<doctest::String, std::allocator<doctest::String>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<doctest::SubcaseSignature, std::allocator<doctest::SubcaseSignature>>::_Vector_impl" }
%"struct.std::_Vector_base<doctest::SubcaseSignature, std::allocator<doctest::SubcaseSignature>>::_Vector_impl" = type { %"struct.std::_Vector_base<doctest::SubcaseSignature, std::allocator<doctest::SubcaseSignature>>::_Vector_impl_data" }
%"struct.std::_Vector_base<doctest::SubcaseSignature, std::allocator<doctest::SubcaseSignature>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_set" = 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 }
%"struct.std::atomic.34" = type { %"struct.std::__atomic_base.35" }
%"struct.std::__atomic_base.35" = type { i8 }

@_ZN7doctest6detail4g_csE = external dso_local global ptr, align 8
@.str.58 = external hidden unnamed_addr constant [146 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7doctest6detail7SubcaseD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca i64, align 8
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"struct.doctest::TestCaseException", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %2, align 8
  %17 = getelementptr inbounds %"struct.doctest::detail::Subcase", ptr %16, i32 0, i32 1
  %18 = load i8, ptr %17, align 8, !tbaa !9, !range !15, !noundef !16
  %19 = trunc i8 %18 to i1
  br i1 %19, label %20, label %123

20:                                               ; preds = %1
  %21 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %21, i32 0, i32 16
  %23 = load i64, ptr %22, align 8, !tbaa !17
  %24 = add i64 %23, -1
  store i64 %24, ptr %22, align 8, !tbaa !17
  %25 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %25, i32 0, i32 11
  %27 = load i8, ptr %26, align 8, !tbaa !49, !range !15, !noundef !16
  %28 = trunc i8 %27 to i1
  br i1 %28, label %46, label %29

29:                                               ; preds = %20
  %30 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %30, i32 0, i32 15
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %32 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %32, i32 0, i32 13
  %34 = invoke noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %35 unwind label %125

35:                                               ; preds = %29
  store i64 %34, ptr %3, align 8, !tbaa !50
  %36 = invoke { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %37 unwind label %125

37:                                               ; preds = %35
  %38 = getelementptr inbounds { ptr, i8 }, ptr %4, i32 0, i32 0
  %39 = extractvalue { ptr, i8 } %36, 0
  store ptr %39, ptr %38, align 8
  %40 = getelementptr inbounds { ptr, i8 }, ptr %4, i32 0, i32 1
  %41 = extractvalue { ptr, i8 } %36, 1
  store i8 %41, ptr %40, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %42 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %42, i32 0, i32 14
  call void @_ZNSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %44 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %44, i32 0, i32 11
  store i8 1, ptr %45, align 8, !tbaa !49
  br label %64

46:                                               ; preds = %20
  %47 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %47, i32 0, i32 14
  %49 = call noundef zeroext i1 @_ZNKSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  br i1 %49, label %50, label %63

50:                                               ; preds = %46
  %51 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %51, i32 0, i32 15
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %53 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %53, i32 0, i32 13
  %55 = invoke noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %56 unwind label %125

56:                                               ; preds = %50
  store i64 %55, ptr %5, align 8, !tbaa !50
  %57 = invoke { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56) %52, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %58 unwind label %125

58:                                               ; preds = %56
  %59 = getelementptr inbounds { ptr, i8 }, ptr %6, i32 0, i32 0
  %60 = extractvalue { ptr, i8 } %57, 0
  store ptr %60, ptr %59, align 8
  %61 = getelementptr inbounds { ptr, i8 }, ptr %6, i32 0, i32 1
  %62 = extractvalue { ptr, i8 } %57, 1
  store i8 %62, ptr %61, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %63

63:                                               ; preds = %58, %46
  br label %64

64:                                               ; preds = %63, %37
  %65 = call noundef i32 @_ZSt19uncaught_exceptionsv() #7
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %67, label %100

67:                                               ; preds = %64
  %68 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %68, i32 0, i32 17
  %70 = call noundef zeroext i1 @_ZNKSt6atomicIbEcvbEv(ptr noundef nonnull align 1 dereferenceable(1) %69) #6
  br i1 %70, label %71, label %100

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %72 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %72, i32 0, i32 7
  store ptr %73, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #6
  %76 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %75, ptr %76, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #6
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  br label %80

80:                                               ; preds = %94, %71
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %81, label %83, label %82

82:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %96

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  store ptr %84, ptr %10, align 8, !tbaa !5
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %87 = getelementptr inbounds %"struct.doctest::TestCaseException", ptr %11, i32 0, i32 0
  invoke void @_ZN7doctest6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef @.str.58)
          to label %88 unwind label %125

88:                                               ; preds = %83
  %89 = getelementptr inbounds %"struct.doctest::TestCaseException", ptr %11, i32 0, i32 1
  store i8 0, ptr %89, align 8, !tbaa !52
  %90 = load ptr, ptr %86, align 8, !tbaa !54
  %91 = getelementptr inbounds ptr, ptr %90, i64 6
  %92 = load ptr, ptr %91, align 8
  invoke void %92(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(25) %11)
          to label %93 unwind label %125

93:                                               ; preds = %88
  call void @_ZN7doctest17TestCaseExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %94

94:                                               ; preds = %93
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %80

96:                                               ; preds = %82
  %97 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %97, i32 0, i32 17
  %99 = call noundef zeroext i1 @_ZNSt6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) %98, i1 noundef zeroext false) #6
  br label %100

100:                                              ; preds = %96, %67, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %101 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.doctest::detail::ContextState", ptr %101, i32 0, i32 7
  store ptr %102, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #6
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #6
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %120, %100
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %110, label %112, label %111

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %122

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  store ptr %113, ptr %15, align 8, !tbaa !5
  %114 = load ptr, ptr %15, align 8, !tbaa !5
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = load ptr, ptr %115, align 8, !tbaa !54
  %117 = getelementptr inbounds ptr, ptr %116, i64 8
  %118 = load ptr, ptr %117, align 8
  invoke void %118(ptr noundef nonnull align 8 dereferenceable(8) %115)
          to label %119 unwind label %125

119:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %120

120:                                              ; preds = %119
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %109

122:                                              ; preds = %111
  br label %123

123:                                              ; preds = %122, %1
  %124 = getelementptr inbounds %"struct.doctest::detail::Subcase", ptr %16, i32 0, i32 0
  call void @_ZN7doctest16SubcaseSignatureD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %124) #6
  ret void

125:                                              ; preds = %112, %88, %83, %56, %50, %35, %29
  %126 = landingpad { ptr, i32 }
          catch ptr null
  %127 = extractvalue { ptr, i32 } %126, 0
  call void @__clang_call_terminate(ptr %127) #8
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #4

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

; Function Attrs: nounwind willreturn memory(read)
declare noundef i32 @_ZSt19uncaught_exceptionsv() #5

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

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

declare void @_ZN7doctest6StringC1EPKc(ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) "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 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { noreturn 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, !14, i64 40}
!10 = !{!"_ZTSN7doctest6detail7SubcaseE", !11, i64 0, !14, i64 40}
!11 = !{!"_ZTSN7doctest16SubcaseSignatureE", !12, i64 0, !6, i64 24, !13, i64 32}
!12 = !{!"_ZTSN7doctest6StringE", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !33, i64 4480}
!18 = !{!"_ZTSN7doctest6detail12ContextStateE", !19, i64 0, !20, i64 136, !21, i64 160, !23, i64 184, !23, i64 2232, !24, i64 4280, !28, i64 4304, !6, i64 4328, !32, i64 4336, !34, i64 4344, !14, i64 4368, !38, i64 4376, !38, i64 4400, !42, i64 4424, !33, i64 4480, !47, i64 4488}
!19 = !{!"_ZTSN7doctest14ContextOptionsE", !6, i64 0, !12, i64 8, !6, i64 32, !12, i64 40, !12, i64 64, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !14, i64 108, !14, i64 109, !14, i64 110, !14, i64 111, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !14, i64 120, !14, i64 121, !14, i64 122, !14, i64 123, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !14, i64 130, !14, i64 131, !14, i64 132, !14, i64 133, !14, i64 134}
!20 = !{!"_ZTSN7doctest12TestRunStatsE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!21 = !{!"_ZTSN7doctest20CurrentTestCaseStatsE", !13, i64 0, !13, i64 4, !22, i64 8, !13, i64 16, !14, i64 20}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTSN7doctest6detail15MultiLaneAtomicIiEE", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIS_IN7doctest6StringESaIS1_EESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorIPN7doctest9IReporterESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7doctest6detail5TimerE", !33, i64 0}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTSSt6vectorIN7doctest6StringESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN7doctest6StringESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN7doctest6StringESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN7doctest6StringESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTSSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !33, i64 8, !44, i64 16, !33, i64 24, !45, i64 32, !6, i64 48}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !33, i64 8}
!46 = !{!"float", !7, i64 0}
!47 = !{!"_ZTSSt6atomicIbE", !48, i64 0}
!48 = !{!"_ZTSSt13__atomic_baseIbE", !14, i64 0}
!49 = !{!18, !14, i64 4368}
!50 = !{!51, !51, i64 0}
!51 = !{!"long long", !7, i64 0}
!52 = !{!53, !14, i64 24}
!53 = !{!"_ZTSN7doctest17TestCaseExceptionE", !12, i64 0, !14, i64 24}
!54 = !{!55, !55, i64 0}
!55 = !{!"vtable pointer", !8, i64 0}


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

%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.doctest::TestCaseException" = type <{ %"class.doctest::String", i8, [7 x i8] }>
%"class.doctest::String" = type { %union.anon.7 }
%union.anon.7 = type { %"struct.doctest::String::view", [8 x i8] }
%"struct.doctest::String::view" = type { ptr, i32, i32 }

@_ZN7doctest6detail4g_csE = external dso_local local_unnamed_addr global ptr, align 8
@.str.58 = external hidden unnamed_addr constant [146 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7doctest6detail7SubcaseD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"struct.doctest::TestCaseException", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = load i8, ptr %9, align 8, !tbaa !5, !range !14, !noundef !15
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %80

12:                                               ; preds = %1
  %13 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  %14 = getelementptr inbounds i8, ptr %13, i64 4480
  %15 = load i64, ptr %14, align 8, !tbaa !17
  %16 = add i64 %15, -1
  store i64 %16, ptr %14, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %13, i64 4368
  %18 = load i8, ptr %17, align 8, !tbaa !49, !range !14, !noundef !15
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %31, label %20

20:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %21 = getelementptr inbounds i8, ptr %13, i64 4376
  %22 = invoke noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %23 unwind label %.loopexit.split-lp.loopexit.split-lp

23:                                               ; preds = %20
  %24 = getelementptr inbounds i8, ptr %13, i64 4424
  store i64 %22, ptr %2, align 8, !tbaa !50
  %25 = invoke { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %26 unwind label %.loopexit.split-lp.loopexit.split-lp

26:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %27 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %27, i64 4400
  call void @_ZNSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %29 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  %30 = getelementptr inbounds i8, ptr %29, i64 4368
  store i8 1, ptr %30, align 8, !tbaa !49
  br label %41

31:                                               ; preds = %12
  %32 = getelementptr inbounds i8, ptr %13, i64 4400
  %33 = tail call noundef zeroext i1 @_ZNKSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %.pre16.pre17 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  br i1 %33, label %34, label %41

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %35 = getelementptr inbounds i8, ptr %.pre16.pre17, i64 4376
  %36 = invoke noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %37 unwind label %.loopexit.split-lp.loopexit.split-lp

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %.pre16.pre17, i64 4424
  store i64 %36, ptr %3, align 8, !tbaa !50
  %39 = invoke { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %40 unwind label %.loopexit.split-lp.loopexit.split-lp

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  %.pre16.pre = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  br label %41

41:                                               ; preds = %31, %40, %26
  %.pre16 = phi ptr [ %.pre16.pre17, %31 ], [ %.pre16.pre, %40 ], [ %29, %26 ]
  %42 = call noundef i32 @_ZSt19uncaught_exceptionsv() #7
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %44, label %66

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %.pre16, i64 4488
  %46 = call noundef zeroext i1 @_ZNKSt6atomicIbEcvbEv(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  %.pre15 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  br i1 %46, label %47, label %66

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %.pre15, i64 4304
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %49 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  store ptr %49, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %50 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  store ptr %50, ptr %5, align 8
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %51, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %47
  %52 = getelementptr inbounds i8, ptr %6, i64 24
  br label %56

._crit_edge:                                      ; preds = %63, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %53 = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %53, i64 4488
  %55 = call noundef zeroext i1 @_ZNSt6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) %54, i1 noundef zeroext false) #6
  %.pre = load ptr, ptr @_ZN7doctest6detail4g_csE, align 8, !tbaa !16
  br label %66

56:                                               ; preds = %.lr.ph, %63
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  invoke void @_ZN7doctest6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull @.str.58)
          to label %59 unwind label %.loopexit.split-lp.loopexit

59:                                               ; preds = %56
  store i8 0, ptr %52, align 8, !tbaa !52
  %60 = load ptr, ptr %58, align 8, !tbaa !54
  %61 = getelementptr inbounds i8, ptr %60, i64 48
  %62 = load ptr, ptr %61, align 8
  invoke void %62(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(25) %6)
          to label %63 unwind label %.loopexit.split-lp.loopexit

63:                                               ; preds = %59
  call void @_ZN7doctest17TestCaseExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %65 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %65, label %56, label %._crit_edge

66:                                               ; preds = %._crit_edge, %44, %41
  %67 = phi ptr [ %.pre, %._crit_edge ], [ %.pre15, %44 ], [ %.pre16, %41 ]
  %68 = getelementptr inbounds i8, ptr %67, i64 4304
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %69 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  store ptr %69, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %70 = call ptr @_ZNSt6vectorIPN7doctest9IReporterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  store ptr %70, ptr %8, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %71, label %.lr.ph13, label %._crit_edge14

._crit_edge14:                                    ; preds = %77, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %80

.lr.ph13:                                         ; preds = %66, %77
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = load ptr, ptr %73, align 8, !tbaa !54
  %75 = getelementptr inbounds i8, ptr %74, i64 64
  %76 = load ptr, ptr %75, align 8
  invoke void %76(ptr noundef nonnull align 8 dereferenceable(8) %73)
          to label %77 unwind label %.loopexit

77:                                               ; preds = %.lr.ph13
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7doctest9IReporterESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %79, label %.lr.ph13, label %._crit_edge14

80:                                               ; preds = %._crit_edge14, %1
  call void @_ZN7doctest16SubcaseSignatureD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %0) #6
  ret void

.loopexit:                                        ; preds = %.lr.ph13
  %lpad.loopexit = landingpad { ptr, i32 }
          catch ptr null
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %59, %56
  %lpad.loopexit9 = landingpad { ptr, i32 }
          catch ptr null
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %37, %34, %23, %20
  %lpad.loopexit.split-lp10 = landingpad { ptr, i32 }
          catch ptr null
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit9, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp10, %.loopexit.split-lp.loopexit.split-lp ]
  %81 = extractvalue { ptr, i32 } %lpad.phi, 0
  call void @__clang_call_terminate(ptr %81) #8
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE6insertEOy(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN7doctest12_GLOBAL__N_14hashERKSt6vectorINS_16SubcaseSignatureESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare noundef i32 @_ZSt19uncaught_exceptionsv() local_unnamed_addr #5

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

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

declare void @_ZN7doctest6StringC1EPKc(ptr, ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { noinline noreturn nounwind uwtable "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 = { mustprogress nofree nounwind willreturn memory(read) "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 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { noreturn 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, !13, i64 40}
!6 = !{!"_ZTSN7doctest6detail7SubcaseE", !7, i64 0, !13, i64 40}
!7 = !{!"_ZTSN7doctest16SubcaseSignatureE", !8, i64 0, !11, i64 24, !12, i64 32}
!8 = !{!"_ZTSN7doctest6StringE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"bool", !9, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !33, i64 4480}
!18 = !{!"_ZTSN7doctest6detail12ContextStateE", !19, i64 0, !20, i64 136, !21, i64 160, !23, i64 184, !23, i64 2232, !24, i64 4280, !28, i64 4304, !11, i64 4328, !32, i64 4336, !34, i64 4344, !13, i64 4368, !38, i64 4376, !38, i64 4400, !42, i64 4424, !33, i64 4480, !47, i64 4488}
!19 = !{!"_ZTSN7doctest14ContextOptionsE", !11, i64 0, !8, i64 8, !11, i64 32, !8, i64 40, !8, i64 64, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !13, i64 108, !13, i64 109, !13, i64 110, !13, i64 111, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134}
!20 = !{!"_ZTSN7doctest12TestRunStatsE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!21 = !{!"_ZTSN7doctest20CurrentTestCaseStatsE", !12, i64 0, !12, i64 4, !22, i64 8, !12, i64 16, !13, i64 20}
!22 = !{!"double", !9, i64 0}
!23 = !{!"_ZTSN7doctest6detail15MultiLaneAtomicIiEE", !9, i64 0}
!24 = !{!"_ZTSSt6vectorIS_IN7doctest6StringESaIS1_EESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN7doctest6StringESaIS2_EESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!28 = !{!"_ZTSSt6vectorIPN7doctest9IReporterESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7doctest9IReporterESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!32 = !{!"_ZTSN7doctest6detail5TimerE", !33, i64 0}
!33 = !{!"long", !9, i64 0}
!34 = !{!"_ZTSSt6vectorIN7doctest6StringESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN7doctest6StringESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN7doctest6StringESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN7doctest6StringESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!38 = !{!"_ZTSSt6vectorIN7doctest16SubcaseSignatureESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7doctest16SubcaseSignatureESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!42 = !{!"_ZTSSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !11, i64 0, !33, i64 8, !44, i64 16, !33, i64 24, !45, i64 32, !11, i64 48}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !33, i64 8}
!46 = !{!"float", !9, i64 0}
!47 = !{!"_ZTSSt6atomicIbE", !48, i64 0}
!48 = !{!"_ZTSSt13__atomic_baseIbE", !13, i64 0}
!49 = !{!18, !13, i64 4368}
!50 = !{!51, !51, i64 0}
!51 = !{!"long long", !9, i64 0}
!52 = !{!53, !13, i64 24}
!53 = !{!"_ZTSN7doctest17TestCaseExceptionE", !8, i64 0, !13, i64 24}
!54 = !{!55, !55, i64 0}
!55 = !{!"vtable pointer", !10, i64 0}


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