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

; 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::RunContext" = type <{ %"struct.Catch::IResultCapture", %"struct.Catch::IRunner", %"struct.Catch::TestRunInfo", ptr, ptr, ptr, %"class.Catch::Option.190", %"class.std::shared_ptr", %"struct.Catch::Totals", %"class.std::unique_ptr.165", %"class.std::vector.101", %"class.std::vector.191", %"struct.Catch::AssertionInfo", %"class.std::vector.196", %"class.std::vector.201", %"class.Catch::TestCaseTracking::TrackerContext", %"class.Catch::FatalConditionHandler", i8, i8, i8, [4 x i8] }>
%"struct.Catch::IResultCapture" = type { ptr }
%"struct.Catch::IRunner" = type { ptr }
%"struct.Catch::TestRunInfo" = type { %"class.std::__cxx11::basic_string" }
%"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::Option.190" = type { ptr, [144 x i8] }
%"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::Totals" = type { i32, %"struct.Catch::Counts", %"struct.Catch::Counts" }
%"struct.Catch::Counts" = type { i64, i64, i64 }
%"class.std::unique_ptr.165" = type { %"struct.std::__uniq_ptr_data.166" }
%"struct.std::__uniq_ptr_data.166" = type { %"class.std::__uniq_ptr_impl.167" }
%"class.std::__uniq_ptr_impl.167" = type { %"class.std::tuple.168" }
%"class.std::tuple.168" = type { %"struct.std::_Tuple_impl.169" }
%"struct.std::_Tuple_impl.169" = type { %"struct.std::_Head_base.172" }
%"struct.std::_Head_base.172" = type { ptr }
%"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.std::vector.191" = type { %"struct.std::_Vector_base.192" }
%"struct.std::_Vector_base.192" = type { %"struct.std::_Vector_base<Catch::ScopedMessage, std::allocator<Catch::ScopedMessage>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::ScopedMessage, std::allocator<Catch::ScopedMessage>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::ScopedMessage, std::allocator<Catch::ScopedMessage>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::ScopedMessage, std::allocator<Catch::ScopedMessage>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }
%"class.std::vector.196" = type { %"struct.std::_Vector_base.197" }
%"struct.std::_Vector_base.197" = type { %"struct.std::_Vector_base<Catch::SectionEndInfo, std::allocator<Catch::SectionEndInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::SectionEndInfo, std::allocator<Catch::SectionEndInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::SectionEndInfo, std::allocator<Catch::SectionEndInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::SectionEndInfo, std::allocator<Catch::SectionEndInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.201" = type { %"struct.std::_Vector_base.202" }
%"struct.std::_Vector_base.202" = type { %"struct.std::_Vector_base<Catch::TestCaseTracking::ITracker *, std::allocator<Catch::TestCaseTracking::ITracker *>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::TestCaseTracking::ITracker *, std::allocator<Catch::TestCaseTracking::ITracker *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::TestCaseTracking::ITracker *, std::allocator<Catch::TestCaseTracking::ITracker *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::TestCaseTracking::ITracker *, std::allocator<Catch::TestCaseTracking::ITracker *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Catch::TestCaseTracking::TrackerContext" = type <{ %"class.std::shared_ptr.206", ptr, i32, [4 x i8] }>
%"class.std::shared_ptr.206" = type { %"class.std::__shared_ptr.207" }
%"class.std::__shared_ptr.207" = type { ptr, %"class.std::__shared_count" }
%"class.Catch::FatalConditionHandler" = type { 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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch11isFalseTestEi(i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch10RunContext10handleExprERKNS_13AssertionInfoERKNS_20ITransientExpressionERNS_17AssertionReactionE(ptr noundef nonnull align 8 dereferenceable(492) %0, ptr noundef nonnull align 8 dereferenceable(52) %1, ptr noundef nonnull align 8 dereferenceable(10) %2, ptr noundef nonnull align 1 dereferenceable(2) %3) unnamed_addr #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %11 = load ptr, ptr %5, align 8
  %12 = getelementptr inbounds %"class.Catch::RunContext", ptr %11, i32 0, i32 9
  %13 = call noundef ptr @_ZNKSt10unique_ptrIN5Catch18IStreamingReporterESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = load ptr, ptr %13, align 8, !tbaa !9
  %16 = getelementptr inbounds ptr, ptr %15, i64 9
  %17 = load ptr, ptr %16, align 8
  call void %17(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(52) %14)
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.Catch::AssertionInfo", ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !11
  %21 = call noundef zeroext i1 @_ZN5Catch11isFalseTestEi(i32 noundef %20)
  %22 = zext i1 %21 to i8
  store i8 %22, ptr %9, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = call noundef zeroext i1 @_ZNK5Catch20ITransientExpression9getResultEv(ptr noundef nonnull align 8 dereferenceable(10) %23)
  %25 = zext i1 %24 to i32
  %26 = load i8, ptr %9, align 1, !tbaa !17, !range !19, !noundef !20
  %27 = trunc i8 %26 to i1
  %28 = zext i1 %27 to i32
  %29 = icmp ne i32 %25, %28
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %10, align 1, !tbaa !17
  %31 = load i8, ptr %10, align 1, !tbaa !17, !range !19, !noundef !20
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %47

33:                                               ; preds = %4
  %34 = getelementptr inbounds %"class.Catch::RunContext", ptr %11, i32 0, i32 19
  %35 = load i8, ptr %34, align 1, !tbaa !21, !range !19, !noundef !20
  %36 = trunc i8 %35 to i1
  br i1 %36, label %41, label %37

37:                                               ; preds = %33
  %38 = load ptr, ptr %11, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 17
  %40 = load ptr, ptr %39, align 8
  call void %40(ptr noundef nonnull align 8 dereferenceable(492) %11)
  br label %46

41:                                               ; preds = %33
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load i8, ptr %9, align 1, !tbaa !17, !range !19, !noundef !20
  %45 = trunc i8 %44 to i1
  call void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492) %11, ptr noundef nonnull align 8 dereferenceable(52) %42, i32 noundef 0, ptr noundef %43, i1 noundef zeroext %45)
  br label %46

46:                                               ; preds = %41, %37
  br label %53

47:                                               ; preds = %4
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i8, ptr %9, align 1, !tbaa !17, !range !19, !noundef !20
  %51 = trunc i8 %50 to i1
  call void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492) %11, ptr noundef nonnull align 8 dereferenceable(52) %48, i32 noundef 17, ptr noundef %49, i1 noundef zeroext %51)
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5Catch10RunContext16populateReactionERNS_17AssertionReactionE(ptr noundef nonnull align 8 dereferenceable(492) %11, ptr noundef nonnull align 1 dereferenceable(2) %52)
  br label %53

53:                                               ; preds = %47, %46
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492), ptr noundef nonnull align 8 dereferenceable(52), i32 noundef, ptr noundef, i1 noundef zeroext) #3 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !16, i64 48}
!12 = !{!"_ZTSN5Catch13AssertionInfoE", !13, i64 0, !15, i64 16, !13, i64 32, !16, i64 48}
!13 = !{!"_ZTSN5Catch9StringRefE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSN5Catch14SourceLineInfoE", !6, i64 0, !14, i64 8}
!16 = !{!"_ZTSN5Catch17ResultDisposition5FlagsE", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !18, i64 491}
!22 = !{!"_ZTSN5Catch10RunContextE", !23, i64 0, !24, i64 8, !25, i64 16, !6, i64 48, !6, i64 56, !6, i64 64, !28, i64 72, !29, i64 224, !32, i64 240, !35, i64 296, !41, i64 304, !45, i64 328, !12, i64 352, !49, i64 408, !53, i64 432, !57, i64 456, !61, i64 488, !18, i64 489, !18, i64 490, !18, i64 491}
!23 = !{!"_ZTSN5Catch14IResultCaptureE"}
!24 = !{!"_ZTSN5Catch7IRunnerE"}
!25 = !{!"_ZTSN5Catch11TestRunInfoE", !26, i64 0}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !14, i64 8, !7, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!28 = !{!"_ZTSN5Catch6OptionINS_15AssertionResultEEE", !6, i64 0, !7, i64 8}
!29 = !{!"_ZTSSt10shared_ptrIKN5Catch7IConfigEE", !30, i64 0}
!30 = !{!"_ZTSSt12__shared_ptrIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !31, i64 8}
!31 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!32 = !{!"_ZTSN5Catch6TotalsE", !33, i64 0, !34, i64 8, !34, i64 32}
!33 = !{!"int", !7, i64 0}
!34 = !{!"_ZTSN5Catch6CountsE", !14, i64 0, !14, i64 8, !14, i64 16}
!35 = !{!"_ZTSSt10unique_ptrIN5Catch18IStreamingReporterESt14default_deleteIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt15__uniq_ptr_dataIN5Catch18IStreamingReporterESt14default_deleteIS1_ELb1ELb1EE", !37, i64 0}
!37 = !{!"_ZTSSt15__uniq_ptr_implIN5Catch18IStreamingReporterESt14default_deleteIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt5tupleIJPN5Catch18IStreamingReporterESt14default_deleteIS1_EEE", !39, i64 0}
!39 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Catch18IStreamingReporterESt14default_deleteIS1_EEE", !40, i64 0}
!40 = !{!"_ZTSSt10_Head_baseILm0EPN5Catch18IStreamingReporterELb0EE", !6, i64 0}
!41 = !{!"_ZTSSt6vectorIN5Catch11MessageInfoESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSSt6vectorIN5Catch13ScopedMessageESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt6vectorIN5Catch14SectionEndInfoESaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSSt6vectorIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTSN5Catch16TestCaseTracking14TrackerContextE", !58, i64 0, !6, i64 16, !60, i64 24}
!58 = !{!"_ZTSSt10shared_ptrIN5Catch16TestCaseTracking8ITrackerEE", !59, i64 0}
!59 = !{!"_ZTSSt12__shared_ptrIN5Catch16TestCaseTracking8ITrackerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !31, i64 8}
!60 = !{!"_ZTSN5Catch16TestCaseTracking14TrackerContext8RunStateE", !7, i64 0}
!61 = !{!"_ZTSN5Catch21FatalConditionHandlerE", !18, i64 0}


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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch11isFalseTestEi(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch10RunContext10handleExprERKNS_13AssertionInfoERKNS_20ITransientExpressionERNS_17AssertionReactionE(ptr noundef nonnull align 8 dereferenceable(492) %0, ptr noundef nonnull align 8 dereferenceable(52) %1, ptr noundef nonnull align 8 dereferenceable(10) %2, ptr noundef nonnull align 1 dereferenceable(2) %3) unnamed_addr #2 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 296
  %6 = tail call noundef ptr @_ZNKSt10unique_ptrIN5Catch18IStreamingReporterESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 72
  %9 = load ptr, ptr %8, align 8
  tail call void %9(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(52) %1)
  %10 = getelementptr inbounds i8, ptr %1, i64 48
  %11 = load i32, ptr %10, align 8, !tbaa !8
  %12 = tail call noundef zeroext i1 @_ZN5Catch11isFalseTestEi(i32 noundef %11)
  %13 = tail call noundef zeroext i1 @_ZNK5Catch20ITransientExpression9getResultEv(ptr noundef nonnull align 8 dereferenceable(10) %2)
  %14 = xor i1 %12, %13
  br i1 %14, label %15, label %24

15:                                               ; preds = %4
  %16 = getelementptr inbounds i8, ptr %0, i64 491
  %17 = load i8, ptr %16, align 1, !tbaa !16, !range !58, !noundef !59
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %23, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr %0, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 136
  %22 = load ptr, ptr %21, align 8
  tail call void %22(ptr noundef nonnull align 8 dereferenceable(492) %0)
  br label %25

23:                                               ; preds = %15
  tail call void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492) %0, ptr noundef nonnull align 8 dereferenceable(52) %1, i32 noundef 0, ptr noundef nonnull %2, i1 noundef zeroext %12)
  br label %25

24:                                               ; preds = %4
  tail call void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492) %0, ptr noundef nonnull align 8 dereferenceable(52) %1, i32 noundef 17, ptr noundef nonnull %2, i1 noundef zeroext %12)
  tail call void @_ZN5Catch10RunContext16populateReactionERNS_17AssertionReactionE(ptr noundef nonnull align 8 dereferenceable(492) %0, ptr noundef nonnull align 1 dereferenceable(2) %3)
  br label %25

25:                                               ; preds = %19, %23, %24
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch10RunContext10reportExprERKNS_13AssertionInfoENS_9ResultWas6OfTypeEPKNS_20ITransientExpressionEb(ptr noundef nonnull align 8 dereferenceable(492), ptr noundef nonnull align 8 dereferenceable(52), i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

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

attributes #0 = { 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 #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 = { 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, !15, i64 48}
!9 = !{!"_ZTSN5Catch13AssertionInfoE", !10, i64 0, !14, i64 16, !10, i64 32, !15, i64 48}
!10 = !{!"_ZTSN5Catch9StringRefE", !11, i64 0, !13, i64 8}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"long", !12, i64 0}
!14 = !{!"_ZTSN5Catch14SourceLineInfoE", !11, i64 0, !13, i64 8}
!15 = !{!"_ZTSN5Catch17ResultDisposition5FlagsE", !12, i64 0}
!16 = !{!17, !57, i64 491}
!17 = !{!"_ZTSN5Catch10RunContextE", !18, i64 0, !19, i64 8, !20, i64 16, !11, i64 48, !11, i64 56, !11, i64 64, !23, i64 72, !24, i64 224, !27, i64 240, !30, i64 296, !36, i64 304, !40, i64 328, !9, i64 352, !44, i64 408, !48, i64 432, !52, i64 456, !56, i64 488, !57, i64 489, !57, i64 490, !57, i64 491}
!18 = !{!"_ZTSN5Catch14IResultCaptureE"}
!19 = !{!"_ZTSN5Catch7IRunnerE"}
!20 = !{!"_ZTSN5Catch11TestRunInfoE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !13, i64 8, !12, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!23 = !{!"_ZTSN5Catch6OptionINS_15AssertionResultEEE", !11, i64 0, !12, i64 8}
!24 = !{!"_ZTSSt10shared_ptrIKN5Catch7IConfigEE", !25, i64 0}
!25 = !{!"_ZTSSt12__shared_ptrIKN5Catch7IConfigELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!27 = !{!"_ZTSN5Catch6TotalsE", !28, i64 0, !29, i64 8, !29, i64 32}
!28 = !{!"int", !12, i64 0}
!29 = !{!"_ZTSN5Catch6CountsE", !13, i64 0, !13, i64 8, !13, i64 16}
!30 = !{!"_ZTSSt10unique_ptrIN5Catch18IStreamingReporterESt14default_deleteIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataIN5Catch18IStreamingReporterESt14default_deleteIS1_ELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implIN5Catch18IStreamingReporterESt14default_deleteIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJPN5Catch18IStreamingReporterESt14default_deleteIS1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Catch18IStreamingReporterESt14default_deleteIS1_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EPN5Catch18IStreamingReporterELb0EE", !11, i64 0}
!36 = !{!"_ZTSSt6vectorIN5Catch11MessageInfoESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN5Catch11MessageInfoESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!40 = !{!"_ZTSSt6vectorIN5Catch13ScopedMessageESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN5Catch13ScopedMessageESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!44 = !{!"_ZTSSt6vectorIN5Catch14SectionEndInfoESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN5Catch14SectionEndInfoESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!48 = !{!"_ZTSSt6vectorIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN5Catch16TestCaseTracking8ITrackerESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!52 = !{!"_ZTSN5Catch16TestCaseTracking14TrackerContextE", !53, i64 0, !11, i64 16, !55, i64 24}
!53 = !{!"_ZTSSt10shared_ptrIN5Catch16TestCaseTracking8ITrackerEE", !54, i64 0}
!54 = !{!"_ZTSSt12__shared_ptrIN5Catch16TestCaseTracking8ITrackerELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !26, i64 8}
!55 = !{!"_ZTSN5Catch16TestCaseTracking14TrackerContext8RunStateE", !12, i64 0}
!56 = !{!"_ZTSN5Catch21FatalConditionHandlerE", !57, i64 0}
!57 = !{!"bool", !12, i64 0}
!58 = !{i8 0, i8 2}
!59 = !{}


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