; LLVM IR from gulrak/filesystem :: test/filesystem_test.ll (ZN5Catch15CompactReporter14assertionEndedERKNS_14AssertionStatsE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Catch::(anonymous namespace)::AssertionPrinter" = type <{ ptr, ptr, %"class.std::vector.101", %"class.__gnu_cxx::__normal_iterator.210", i8, [7 x i8] }>
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.210" = type { ptr }
%"struct.Catch::AssertionStats" = type { ptr, %"class.Catch::AssertionResult", %"class.std::vector.101", %"struct.Catch::Totals" }
%"class.Catch::AssertionResult" = type { %"struct.Catch::AssertionInfo", %"struct.Catch::AssertionResultData" }
%"struct.Catch::AssertionInfo" = type <{ %"class.Catch::StringRef", %"struct.Catch::SourceLineInfo", %"class.Catch::StringRef", i32, [4 x i8] }>
%"struct.Catch::SourceLineInfo" = type { ptr, i64 }
%"class.Catch::StringRef" = type { ptr, i64 }
%"struct.Catch::AssertionResultData" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.Catch::LazyExpression", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.Catch::LazyExpression" = type <{ ptr, i8, [7 x i8] }>
%"struct.Catch::Totals" = type { i32, %"struct.Catch::Counts", %"struct.Catch::Counts" }
%"struct.Catch::Counts" = type { i64, i64, i64 }
%"struct.Catch::StreamingReporterBase.358" = type <{ %"struct.Catch::IStreamingReporter", %"class.std::shared_ptr", ptr, %"struct.Catch::LazyStat", %"struct.Catch::LazyStat.337", %"struct.Catch::LazyStat.340", %"class.std::vector.343", %"struct.Catch::ReporterPreferences", [6 x i8] }>
%"struct.Catch::IStreamingReporter" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.Catch::LazyStat" = type <{ %"class.Catch::Option.336", i8, [7 x i8] }>
%"class.Catch::Option.336" = type { ptr, [32 x i8] }
%"struct.Catch::LazyStat.337" = type <{ %"class.Catch::Option.338", i8, [7 x i8] }>
%"class.Catch::Option.338" = type { ptr, [48 x i8] }
%"struct.Catch::LazyStat.340" = type <{ %"class.Catch::Option.341", i8, [7 x i8] }>
%"class.Catch::Option.341" = type { ptr, [168 x i8] }
%"class.std::vector.343" = type { %"struct.std::_Vector_base.344" }
%"struct.std::_Vector_base.344" = type { %"struct.std::_Vector_base<Catch::SectionInfo, std::allocator<Catch::SectionInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::SectionInfo, std::allocator<Catch::SectionInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::SectionInfo, std::allocator<Catch::SectionInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::SectionInfo, std::allocator<Catch::SectionInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Catch::ReporterPreferences" = type { i8, i8 }

; 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 ptr @_ZNKSt19__shared_ptr_accessIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Catch15CompactReporter14assertionEndedERKNS_14AssertionStatsE(ptr noundef nonnull align 8 dereferenceable(354) %0, ptr noundef nonnull align 8 dereferenceable(232) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca %"class.Catch::(anonymous namespace)::AssertionPrinter", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.Catch::AssertionStats", ptr %13, i32 0, i32 1
  store ptr %14, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 1, ptr %7, align 1, !tbaa !9
  %15 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.358", ptr %12, i32 0, i32 1
  %16 = call noundef ptr @_ZNKSt19__shared_ptr_accessIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = getelementptr inbounds ptr, ptr %17, i64 5
  %19 = load ptr, ptr %18, align 8
  %20 = call noundef zeroext i1 %19(ptr noundef nonnull align 8 dereferenceable(8) %16)
  br i1 %20, label %30, label %21

21:                                               ; preds = %2
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = call noundef zeroext i1 @_ZNK5Catch15AssertionResult4isOkEv(ptr noundef nonnull align 8 dereferenceable(144) %22)
  br i1 %23, label %24, label %30

24:                                               ; preds = %21
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = call noundef i32 @_ZNK5Catch15AssertionResult13getResultTypeEv(ptr noundef nonnull align 8 dereferenceable(144) %25)
  %27 = icmp ne i32 %26, 2
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  store i1 false, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %45

29:                                               ; preds = %24
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %30

30:                                               ; preds = %29, %21, %2
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #5
  %31 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.358", ptr %12, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = load i8, ptr %7, align 1, !tbaa !9, !range !30, !noundef !31
  %35 = trunc i8 %34 to i1
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(49) %9, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(232) %33, i1 noundef zeroext %35)
  invoke void @_ZN5Catch12_GLOBAL__N_116AssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(49) %9)
          to label %36 unwind label %41

36:                                               ; preds = %30
  %37 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.358", ptr %12, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !13
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %40 unwind label %41

40:                                               ; preds = %36
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %9) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #5
  br label %45

41:                                               ; preds = %36, %30
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %10, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %11, align 4
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %9) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %47

45:                                               ; preds = %40, %28
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %46 = load i1, ptr %3, align 1
  ret i1 %46

47:                                               ; preds = %41
  %48 = load ptr, ptr %10, align 8
  %49 = load i32, ptr %11, align 4
  %50 = insertvalue { ptr, i32 } poison, ptr %48, 0
  %51 = insertvalue { ptr, i32 } %50, i32 %49, 1
  resume { ptr, i32 } %51
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(232), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(49)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTSN5Catch21StreamingReporterBaseINS_15CompactReporterEEE", !15, i64 0, !16, i64 8, !6, i64 24, !19, i64 32, !21, i64 80, !23, i64 144, !25, i64 328, !29, i64 352}
!15 = !{!"_ZTSN5Catch18IStreamingReporterE"}
!16 = !{!"_ZTSSt10shared_ptrIKN5Catch7IConfigEE", !17, i64 0}
!17 = !{!"_ZTSSt12__shared_ptrIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!19 = !{!"_ZTSN5Catch8LazyStatINS_11TestRunInfoEEE", !20, i64 0, !10, i64 40}
!20 = !{!"_ZTSN5Catch6OptionINS_11TestRunInfoEEE", !6, i64 0, !7, i64 8}
!21 = !{!"_ZTSN5Catch8LazyStatINS_9GroupInfoEEE", !22, i64 0, !10, i64 56}
!22 = !{!"_ZTSN5Catch6OptionINS_9GroupInfoEEE", !6, i64 0, !7, i64 8}
!23 = !{!"_ZTSN5Catch8LazyStatINS_12TestCaseInfoEEE", !24, i64 0, !10, i64 176}
!24 = !{!"_ZTSN5Catch6OptionINS_12TestCaseInfoEEE", !6, i64 0, !7, i64 8}
!25 = !{!"_ZTSSt6vectorIN5Catch11SectionInfoESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSN5Catch19ReporterPreferencesE", !10, i64 0, !10, i64 1}
!30 = !{i8 0, i8 2}
!31 = !{}


; 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.Catch::(anonymous namespace)::AssertionPrinter" = type <{ ptr, ptr, %"class.std::vector.101", %"class.__gnu_cxx::__normal_iterator.210", i8, [7 x i8] }>
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.210" = type { ptr }

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

; Function Attrs: mustprogress 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 ptr @_ZNKSt19__shared_ptr_accessIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Catch15CompactReporter14assertionEndedERKNS_14AssertionStatsE(ptr noundef nonnull align 8 dereferenceable(354) %0, ptr noundef nonnull align 8 dereferenceable(232) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.Catch::(anonymous namespace)::AssertionPrinter", align 8
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 40
  %9 = load ptr, ptr %8, align 8
  %10 = tail call noundef zeroext i1 %9(ptr noundef nonnull align 8 dereferenceable(8) %6)
  br i1 %10, label %15, label %11

11:                                               ; preds = %2
  %12 = tail call noundef zeroext i1 @_ZNK5Catch15AssertionResult4isOkEv(ptr noundef nonnull align 8 dereferenceable(144) %4)
  br i1 %12, label %13, label %15

13:                                               ; preds = %11
  %14 = tail call noundef i32 @_ZNK5Catch15AssertionResult13getResultTypeEv(ptr noundef nonnull align 8 dereferenceable(144) %4)
  %.not = icmp eq i32 %14, 2
  br i1 %.not, label %15, label %24

15:                                               ; preds = %13, %11, %2
  %.08 = phi i1 [ true, %2 ], [ true, %11 ], [ false, %13 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #5
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !8
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(49) %3, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(232) %1, i1 noundef zeroext %.08)
  invoke void @_ZN5Catch12_GLOBAL__N_116AssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %18 unwind label %22

18:                                               ; preds = %15
  %19 = load ptr, ptr %16, align 8, !tbaa !8
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %21 unwind label %22

21:                                               ; preds = %18
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #5
  br label %24

22:                                               ; preds = %18, %15
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #5
  resume { ptr, i32 } %23

24:                                               ; preds = %13, %21
  %.0 = phi i1 [ true, %21 ], [ false, %13 ]
  ret i1 %.0
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(232), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_116AssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !13, i64 24}
!9 = !{!"_ZTSN5Catch21StreamingReporterBaseINS_15CompactReporterEEE", !10, i64 0, !11, i64 8, !13, i64 24, !16, i64 32, !19, i64 80, !21, i64 144, !23, i64 328, !27, i64 352}
!10 = !{!"_ZTSN5Catch18IStreamingReporterE"}
!11 = !{!"_ZTSSt10shared_ptrIKN5Catch7IConfigEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !15, i64 8}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0}
!16 = !{!"_ZTSN5Catch8LazyStatINS_11TestRunInfoEEE", !17, i64 0, !18, i64 40}
!17 = !{!"_ZTSN5Catch6OptionINS_11TestRunInfoEEE", !13, i64 0, !14, i64 8}
!18 = !{!"bool", !14, i64 0}
!19 = !{!"_ZTSN5Catch8LazyStatINS_9GroupInfoEEE", !20, i64 0, !18, i64 56}
!20 = !{!"_ZTSN5Catch6OptionINS_9GroupInfoEEE", !13, i64 0, !14, i64 8}
!21 = !{!"_ZTSN5Catch8LazyStatINS_12TestCaseInfoEEE", !22, i64 0, !18, i64 176}
!22 = !{!"_ZTSN5Catch6OptionINS_12TestCaseInfoEEE", !13, i64 0, !14, i64 8}
!23 = !{!"_ZTSSt6vectorIN5Catch11SectionInfoESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!27 = !{!"_ZTSN5Catch19ReporterPreferencesE", !18, i64 0, !18, i64 1}


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