; LLVM IR from Razakhel/RaZ :: extern/catch/catch2/reporters (catch_reporter_cumulative_base)

; 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.Catch::SectionStats" = type <{ %"struct.Catch::SectionInfo", %"struct.Catch::Counts", double, i8, [7 x i8] }>
%"struct.Catch::SectionInfo" = type { %"class.std::__cxx11::basic_string", %"struct.Catch::SourceLineInfo" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.Catch::SourceLineInfo" = type { ptr, i64 }
%"struct.Catch::Counts" = type { i64, i64, i64, i64 }
%"class.Catch::Detail::unique_ptr.19" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.Catch::(anonymous namespace)::BySectionInfo" = type { ptr }
%"class.Catch::CumulativeReporterBase" = type { %"class.Catch::ReporterBase", i8, i8, %"class.Catch::Detail::unique_ptr.13", %"class.std::vector.14", %"class.Catch::Detail::unique_ptr.19", ptr, %"class.std::vector.20" }
%"class.Catch::ReporterBase" = type { %"class.Catch::IEventListener", %"class.Catch::Detail::unique_ptr", ptr, %"class.Catch::Detail::unique_ptr.9", %"class.std::map" }
%"class.Catch::IEventListener" = type { ptr, %"struct.Catch::ReporterPreferences", ptr }
%"struct.Catch::ReporterPreferences" = type { i8, i8 }
%"class.Catch::Detail::unique_ptr" = type { ptr }
%"class.Catch::Detail::unique_ptr.9" = type { ptr }
%"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>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, 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>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, 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.Catch::Detail::unique_ptr.13" = type { ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<Catch::CumulativeReporterBase::SectionNode *, std::allocator<Catch::CumulativeReporterBase::SectionNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::CumulativeReporterBase::SectionNode *, std::allocator<Catch::CumulativeReporterBase::SectionNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::CumulativeReporterBase::SectionNode *, std::allocator<Catch::CumulativeReporterBase::SectionNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::CumulativeReporterBase::SectionNode *, std::allocator<Catch::CumulativeReporterBase::SectionNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Catch::CumulativeReporterBase::SectionNode" = type { %"struct.Catch::SectionStats", %"class.std::vector.25", %"class.std::vector.30", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>, std::allocator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<Catch::Detail::AssertionOrBenchmarkResult, std::allocator<Catch::Detail::AssertionOrBenchmarkResult>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::Detail::AssertionOrBenchmarkResult, std::allocator<Catch::Detail::AssertionOrBenchmarkResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::Detail::AssertionOrBenchmarkResult, std::allocator<Catch::Detail::AssertionOrBenchmarkResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::Detail::AssertionOrBenchmarkResult, std::allocator<Catch::Detail::AssertionOrBenchmarkResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch22CumulativeReporterBase15sectionStartingERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.Catch::SectionStats", align 8
  %6 = alloca %"struct.Catch::SectionInfo", align 8
  %7 = alloca %"struct.Catch::Counts", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.Catch::Detail::unique_ptr.19", 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 %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"struct.Catch::(anonymous namespace)::BySectionInfo", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.Catch::Detail::unique_ptr.19", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #7
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5Catch11SectionInfoC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 32, i1 false)
  call void @_ZN5Catch6CountsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  invoke void @_ZN5Catch12SectionStatsC1EONS_11SectionInfoERKNS_6CountsEdb(ptr noundef nonnull align 8 dereferenceable(89) %5, ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(32) %7, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %21 unwind label %32

21:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @_ZN5Catch11SectionInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %22 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 7
  %23 = call noundef zeroext i1 @_ZNKSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br i1 %23, label %24, label %48

24:                                               ; preds = %21
  %25 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 5
  %26 = invoke noundef zeroext i1 @_ZNK5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %27 unwind label %36

27:                                               ; preds = %24
  br i1 %26, label %44, label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  invoke void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind writable sret(%"class.Catch::Detail::unique_ptr.19") align 8 %11, ptr noundef nonnull align 8 dereferenceable(89) %5)
          to label %29 unwind label %40

29:                                               ; preds = %28
  %30 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %44

32:                                               ; preds = %2
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %8, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @_ZN5Catch11SectionInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  br label %106

36:                                               ; preds = %100, %44, %24
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %8, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %9, align 4
  br label %105

40:                                               ; preds = %28
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %8, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %105

44:                                               ; preds = %29, %27
  %45 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 5
  %46 = invoke noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %47 unwind label %36

47:                                               ; preds = %44
  store ptr %46, ptr %10, align 8, !tbaa !5
  br label %100

48:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %49 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 7
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  store ptr %51, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Catch::CumulativeReporterBase::SectionNode", ptr %52, i32 0, i32 1
  %54 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.Catch::CumulativeReporterBase::SectionNode", ptr %56, i32 0, i32 1
  %58 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #7
  %59 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %58, ptr %59, align 8
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5Catch12_GLOBAL__N_113BySectionInfoC2ERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %61 unwind label %81

61:                                               ; preds = %48
  %62 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = invoke ptr @_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS2_22CumulativeReporterBase11SectionNodeEEESt6vectorIS7_SaIS7_EEEENS2_12_GLOBAL__N_113BySectionInfoEET_SF_SF_T0_(ptr %63, ptr %65, ptr noundef %16)
          to label %67 unwind label %81

67:                                               ; preds = %61
  %68 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %66, ptr %68, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.Catch::CumulativeReporterBase::SectionNode", ptr %69, i32 0, i32 1
  %71 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %71, ptr %72, align 8
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPN5Catch6Detail10unique_ptrINS1_22CumulativeReporterBase11SectionNodeEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br i1 %73, label %74, label %94

74:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  invoke void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind writable sret(%"class.Catch::Detail::unique_ptr.19") align 8 %18, ptr noundef nonnull align 8 dereferenceable(89) %5)
          to label %75 unwind label %85

75:                                               ; preds = %74
  %76 = invoke noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %77 unwind label %89

77:                                               ; preds = %75
  store ptr %76, ptr %10, align 8, !tbaa !5
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.Catch::CumulativeReporterBase::SectionNode", ptr %78, i32 0, i32 1
  invoke void @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %80 unwind label %89

80:                                               ; preds = %77
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %98

81:                                               ; preds = %94, %61, %48
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %8, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %9, align 4
  br label %99

85:                                               ; preds = %74
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %8, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %9, align 4
  br label %93

89:                                               ; preds = %77, %75
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %8, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %9, align 4
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %93

93:                                               ; preds = %89, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %99

94:                                               ; preds = %67
  %95 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS1_22CumulativeReporterBase11SectionNodeEEESt6vectorIS6_SaIS6_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %96 = invoke noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %97 unwind label %81

97:                                               ; preds = %94
  store ptr %96, ptr %10, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %97, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %100

99:                                               ; preds = %93, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %105

100:                                              ; preds = %98, %47
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 6
  store ptr %101, ptr %102, align 8, !tbaa !9
  %103 = getelementptr inbounds %"class.Catch::CumulativeReporterBase", ptr %19, i32 0, i32 7
  invoke void @_ZNSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %104 unwind label %36

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZN5Catch12SectionStatsD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %5) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #7
  ret void

105:                                              ; preds = %99, %40, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZN5Catch12SectionStatsD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %5) #7
  br label %106

106:                                              ; preds = %105, %32
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #7
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %8, align 8
  %109 = load i32, ptr %9, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Catch11SectionInfoC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

declare void @_ZN5Catch12SectionStatsC1EONS_11SectionInfoERKNS_6CountsEdb(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32), double noundef, i1 noundef zeroext) unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.Catch::Detail::unique_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(89)) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS2_22CumulativeReporterBase11SectionNodeEEESt6vectorIS7_SaIS7_EEEENS2_12_GLOBAL__N_113BySectionInfoEET_SF_SF_T0_(ptr, ptr, ptr noundef) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_113BySectionInfoC2ERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0 align 2

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

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

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

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

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

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { "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 = { 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, !6, i64 144}
!10 = !{!"_ZTSN5Catch22CumulativeReporterBaseE", !11, i64 0, !14, i64 96, !14, i64 97, !26, i64 104, !27, i64 112, !31, i64 136, !6, i64 144, !32, i64 152}
!11 = !{!"_ZTSN5Catch12ReporterBaseE", !12, i64 0, !15, i64 24, !6, i64 32, !16, i64 40, !17, i64 48}
!12 = !{!"_ZTSN5Catch14IEventListenerE", !13, i64 8, !6, i64 16}
!13 = !{!"_ZTSN5Catch19ReporterPreferencesE", !14, i64 0, !14, i64 1}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_7IStreamEEE", !6, i64 0}
!16 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_10ColourImplEEE", !6, i64 0}
!17 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !25, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase4NodeINS_12TestRunStatsENS3_INS_13TestCaseStatsENS2_11SectionNodeEEEEEEE", !6, i64 0}
!27 = !{!"_ZTSSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEE", !6, i64 0}
!32 = !{!"_ZTSSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; 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.Catch::SectionStats" = type <{ %"struct.Catch::SectionInfo", %"struct.Catch::Counts", double, i8, [7 x i8] }>
%"struct.Catch::SectionInfo" = type { %"class.std::__cxx11::basic_string", %"struct.Catch::SourceLineInfo" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.Catch::SourceLineInfo" = type { ptr, i64 }
%"struct.Catch::Counts" = type { i64, i64, i64, i64 }
%"class.Catch::Detail::unique_ptr.19" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.Catch::(anonymous namespace)::BySectionInfo" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch22CumulativeReporterBase15sectionStartingERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.Catch::SectionStats", align 8
  %4 = alloca %"struct.Catch::SectionInfo", align 8
  %5 = alloca %"struct.Catch::Counts", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.Catch::Detail::unique_ptr.19", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"struct.Catch::(anonymous namespace)::BySectionInfo", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.Catch::Detail::unique_ptr.19", align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN5Catch11SectionInfoC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 0, i64 32, i1 false)
  call void @_ZN5Catch6CountsC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  invoke void @_ZN5Catch12SectionStatsC1EONS_11SectionInfoERKNS_6CountsEdb(ptr noundef nonnull align 8 dereferenceable(89) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, double noundef 0.000000e+00, i1 noundef zeroext false)
          to label %12 unwind label %21

12:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN5Catch11SectionInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = call noundef zeroext i1 @_ZNKSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br i1 %14, label %15, label %29

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = call noundef zeroext i1 @_ZNK5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
  br i1 %17, label %27, label %18

18:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  invoke void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.Catch::Detail::unique_ptr.19") align 8 %7, ptr noundef nonnull align 8 dereferenceable(89) %3)
          to label %19 unwind label %25

19:                                               ; preds = %18
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %27

21:                                               ; preds = %2
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN5Catch11SectionInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  br label %61

23:                                               ; preds = %56
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %60

25:                                               ; preds = %18
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %60

27:                                               ; preds = %19, %15
  %28 = call noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
  store ptr %28, ptr %6, align 8, !tbaa !5
  br label %56

29:                                               ; preds = %12
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %32 = getelementptr inbounds i8, ptr %31, i64 96
  %33 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  %34 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @_ZN5Catch12_GLOBAL__N_113BySectionInfoC2ERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %35 = invoke ptr @_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS2_22CumulativeReporterBase11SectionNodeEEESt6vectorIS7_SaIS7_EEEENS2_12_GLOBAL__N_113BySectionInfoEET_SF_SF_T0_(ptr %33, ptr %34, ptr noundef nonnull %9)
          to label %36 unwind label %43

36:                                               ; preds = %29
  store ptr %35, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %37 = call ptr @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  store ptr %37, ptr %10, align 8
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPN5Catch6Detail10unique_ptrINS1_22CumulativeReporterBase11SectionNodeEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br i1 %38, label %39, label %50

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  invoke void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.Catch::Detail::unique_ptr.19") align 8 %11, ptr noundef nonnull align 8 dereferenceable(89) %3)
          to label %40 unwind label %45

40:                                               ; preds = %39
  %41 = call noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  store ptr %41, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase11SectionNodeEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %42 unwind label %47

42:                                               ; preds = %40
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %53

43:                                               ; preds = %29
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %55

45:                                               ; preds = %39
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %40
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %49

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %55

50:                                               ; preds = %36
  %51 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS1_22CumulativeReporterBase11SectionNodeEEESt6vectorIS6_SaIS6_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %52 = call noundef ptr @_ZN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  store ptr %52, ptr %6, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %50, %42
  %54 = phi ptr [ %52, %50 ], [ %41, %42 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %56

55:                                               ; preds = %49, %43
  %.pn.pn = phi { ptr, i32 } [ %.pn, %49 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %60

56:                                               ; preds = %53, %27
  %57 = phi ptr [ %54, %53 ], [ %28, %27 ]
  %58 = getelementptr inbounds i8, ptr %0, i64 144
  store ptr %57, ptr %58, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %59 unwind label %23

59:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZN5Catch12SectionStatsD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %3) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #7
  ret void

60:                                               ; preds = %55, %25, %23
  %.pn15 = phi { ptr, i32 } [ %24, %23 ], [ %26, %25 ], [ %.pn.pn, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZN5Catch12SectionStatsD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %3) #7
  br label %61

61:                                               ; preds = %60, %21
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %60 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn15.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Catch11SectionInfoC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

declare void @_ZN5Catch12SectionStatsC1EONS_11SectionInfoERKNS_6CountsEdb(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32), double noundef, i1 noundef zeroext) unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch6Detail11make_uniqueINS_22CumulativeReporterBase11SectionNodeEJRNS_12SectionStatsEEEENS0_10unique_ptrIT_EEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.Catch::Detail::unique_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPN5Catch6Detail10unique_ptrINS2_22CumulativeReporterBase11SectionNodeEEESt6vectorIS7_SaIS7_EEEENS2_12_GLOBAL__N_113BySectionInfoEET_SF_SF_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_113BySectionInfoC2ERKNS_11SectionInfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0 align 2

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

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

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

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

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

attributes #0 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { "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 = { 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, !6, i64 144}
!10 = !{!"_ZTSN5Catch22CumulativeReporterBaseE", !11, i64 0, !14, i64 96, !14, i64 97, !26, i64 104, !27, i64 112, !31, i64 136, !6, i64 144, !32, i64 152}
!11 = !{!"_ZTSN5Catch12ReporterBaseE", !12, i64 0, !15, i64 24, !6, i64 32, !16, i64 40, !17, i64 48}
!12 = !{!"_ZTSN5Catch14IEventListenerE", !13, i64 8, !6, i64 16}
!13 = !{!"_ZTSN5Catch19ReporterPreferencesE", !14, i64 0, !14, i64 1}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_7IStreamEEE", !6, i64 0}
!16 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_10ColourImplEEE", !6, i64 0}
!17 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !25, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase4NodeINS_12TestRunStatsENS3_INS_13TestCaseStatsENS2_11SectionNodeEEEEEEE", !6, i64 0}
!27 = !{!"_ZTSSt6vectorIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN5Catch6Detail10unique_ptrINS0_22CumulativeReporterBase4NodeINS0_13TestCaseStatsENS3_11SectionNodeEEEEESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN5Catch6Detail10unique_ptrINS_22CumulativeReporterBase11SectionNodeEEE", !6, i64 0}
!32 = !{!"_ZTSSt6vectorIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN5Catch22CumulativeReporterBase11SectionNodeESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass