; LLVM IR from gulrak/filesystem :: test/filesystem_test.ll (ZN5Catch15ConsoleReporter14assertionEndedERKNS_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)::ConsoleAssertionPrinter" = type <{ ptr, ptr, ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.101", i8, [7 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.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 }
%"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.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.360" = 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 @_ZN5Catch15ConsoleReporter14assertionEndedERKNS_14AssertionStatsE(ptr noundef nonnull align 8 dereferenceable(369) %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)::ConsoleAssertionPrinter", 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
  %15 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.360", 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 !9
  %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 %25, 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)
  %24 = xor i1 %23, true
  br label %25

25:                                               ; preds = %21, %2
  %26 = phi i1 [ true, %2 ], [ %24, %21 ]
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %7, align 1, !tbaa !11
  %28 = load i8, ptr %7, align 1, !tbaa !11, !range !13, !noundef !14
  %29 = trunc i8 %28 to i1
  br i1 %29, label %35, label %30

30:                                               ; preds = %25
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call noundef i32 @_ZNK5Catch15AssertionResult13getResultTypeEv(ptr noundef nonnull align 8 dereferenceable(144) %31)
  %33 = icmp ne i32 %32, 2
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  store i1 false, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %50

35:                                               ; preds = %30, %25
  call void @_ZN5Catch15ConsoleReporter9lazyPrintEv(ptr noundef nonnull align 8 dereferenceable(369) %12)
  call void @llvm.lifetime.start.p0(i64 160, ptr %9) #5
  %36 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.360", ptr %12, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !15
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load i8, ptr %7, align 1, !tbaa !11, !range !13, !noundef !14
  %40 = trunc i8 %39 to i1
  call void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(153) %9, ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(232) %38, i1 noundef zeroext %40)
  invoke void @_ZNK5Catch12_GLOBAL__N_123ConsoleAssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(153) %9)
          to label %41 unwind label %46

41:                                               ; preds = %35
  %42 = getelementptr inbounds %"struct.Catch::StreamingReporterBase.360", ptr %12, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %45 unwind label %46

45:                                               ; preds = %41
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  call void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153) %9) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr %9) #5
  br label %50

46:                                               ; preds = %41, %35
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %10, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %11, align 4
  call void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153) %9) #5
  call void @llvm.lifetime.end.p0(i64 160, 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 %52

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

52:                                               ; preds = %46
  %53 = load ptr, ptr %10, align 8
  %54 = load i32, ptr %11, align 4
  %55 = insertvalue { ptr, i32 } poison, ptr %53, 0
  %56 = insertvalue { ptr, i32 } %55, i32 %54, 1
  resume { ptr, i32 } %56
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch15ConsoleReporter9lazyPrintEv(ptr noundef nonnull align 8 dereferenceable(369)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(153), 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 @_ZNK5Catch12_GLOBAL__N_123ConsoleAssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(153)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153)) 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 24}
!16 = !{!"_ZTSN5Catch21StreamingReporterBaseINS_15ConsoleReporterEEE", !17, i64 0, !18, i64 8, !6, i64 24, !21, i64 32, !23, i64 80, !25, i64 144, !27, i64 328, !31, i64 352}
!17 = !{!"_ZTSN5Catch18IStreamingReporterE"}
!18 = !{!"_ZTSSt10shared_ptrIKN5Catch7IConfigEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!21 = !{!"_ZTSN5Catch8LazyStatINS_11TestRunInfoEEE", !22, i64 0, !12, i64 40}
!22 = !{!"_ZTSN5Catch6OptionINS_11TestRunInfoEEE", !6, i64 0, !7, i64 8}
!23 = !{!"_ZTSN5Catch8LazyStatINS_9GroupInfoEEE", !24, i64 0, !12, i64 56}
!24 = !{!"_ZTSN5Catch6OptionINS_9GroupInfoEEE", !6, i64 0, !7, i64 8}
!25 = !{!"_ZTSN5Catch8LazyStatINS_12TestCaseInfoEEE", !26, i64 0, !12, i64 176}
!26 = !{!"_ZTSN5Catch6OptionINS_12TestCaseInfoEEE", !6, i64 0, !7, i64 8}
!27 = !{!"_ZTSSt6vectorIN5Catch11SectionInfoESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN5Catch11SectionInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN5Catch19ReporterPreferencesE", !12, i64 0, !12, i64 1}


; 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)::ConsoleAssertionPrinter" = type <{ ptr, ptr, ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.101", i8, [7 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.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 }

; 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 @_ZN5Catch15ConsoleReporter14assertionEndedERKNS_14AssertionStatsE(ptr noundef nonnull align 8 dereferenceable(369) %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)::ConsoleAssertionPrinter", 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 %.thread, 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 %.thread

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 %.thread, label %24

.thread:                                          ; preds = %2, %13, %11
  %15 = phi i1 [ false, %13 ], [ true, %11 ], [ true, %2 ]
  tail call void @_ZN5Catch15ConsoleReporter9lazyPrintEv(ptr noundef nonnull align 8 dereferenceable(369) %0)
  call void @llvm.lifetime.start.p0(i64 160, 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_123ConsoleAssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(153) %3, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(232) %1, i1 noundef zeroext %15)
  invoke void @_ZNK5Catch12_GLOBAL__N_123ConsoleAssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(153) %3)
          to label %18 unwind label %22

18:                                               ; preds = %.thread
  %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_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153) %3) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %3) #5
  br label %24

22:                                               ; preds = %18, %.thread
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153) %3) #5
  call void @llvm.lifetime.end.p0(i64 160, 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 dso_local void @_ZN5Catch15ConsoleReporter9lazyPrintEv(ptr noundef nonnull align 8 dereferenceable(369)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterC2ERSoRKNS_14AssertionStatsEb(ptr noundef nonnull align 8 dereferenceable(153), 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 @_ZNK5Catch12_GLOBAL__N_123ConsoleAssertionPrinter5printEv(ptr noundef nonnull align 8 dereferenceable(153)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_123ConsoleAssertionPrinterD2Ev(ptr noundef nonnull align 8 dereferenceable(153)) 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_15ConsoleReporterEEE", !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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass