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

; 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::JsonValueWriter" = type { ptr, %"class.std::__cxx11::basic_stringstream", i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Catch::JsonArrayWriter" = type <{ ptr, i64, i8, i8, [6 x i8] }>
%"class.Catch::JsonObjectWriter" = type <{ ptr, i64, i8, i8, [6 x i8] }>
%"class.Catch::StringRef" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.60" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.61" = type { ptr }
%"class.Catch::JsonReporter" = type <{ %"class.Catch::StreamingReporterBase", %"class.Catch::Timer", %"class.std::stack", %"class.std::stack.7", %"class.std::stack.14", i8, [7 x i8] }>
%"class.Catch::StreamingReporterBase" = type { %"class.Catch::ReporterBase", %"struct.Catch::TestRunInfo", ptr, %"class.std::vector" }
%"class.Catch::ReporterBase" = type { %"class.Catch::IEventListener", %"class.Catch::Detail::unique_ptr", ptr, %"class.Catch::Detail::unique_ptr.0", %"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.0" = 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 }
%"struct.Catch::TestRunInfo" = type { %"class.Catch::StringRef" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.Catch::Timer" = type { i64 }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<Catch::JsonObjectWriter, std::allocator<Catch::JsonObjectWriter>>::_Deque_impl" }
%"struct.std::_Deque_base<Catch::JsonObjectWriter, std::allocator<Catch::JsonObjectWriter>>::_Deque_impl" = type { %"struct.std::_Deque_base<Catch::JsonObjectWriter, std::allocator<Catch::JsonObjectWriter>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Catch::JsonObjectWriter, std::allocator<Catch::JsonObjectWriter>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.7" = type { %"class.std::deque.8" }
%"class.std::deque.8" = type { %"class.std::_Deque_base.9" }
%"class.std::_Deque_base.9" = type { %"struct.std::_Deque_base<Catch::JsonArrayWriter, std::allocator<Catch::JsonArrayWriter>>::_Deque_impl" }
%"struct.std::_Deque_base<Catch::JsonArrayWriter, std::allocator<Catch::JsonArrayWriter>>::_Deque_impl" = type { %"struct.std::_Deque_base<Catch::JsonArrayWriter, std::allocator<Catch::JsonArrayWriter>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Catch::JsonArrayWriter, std::allocator<Catch::JsonArrayWriter>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.13", %"struct.std::_Deque_iterator.13" }
%"struct.std::_Deque_iterator.13" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.14" = type { %"class.std::deque.15" }
%"class.std::deque.15" = type { %"class.std::_Deque_base.16" }
%"class.std::_Deque_base.16" = type { %"struct.std::_Deque_base<Catch::JsonReporter::Writer, std::allocator<Catch::JsonReporter::Writer>>::_Deque_impl" }
%"struct.std::_Deque_base<Catch::JsonReporter::Writer, std::allocator<Catch::JsonReporter::Writer>>::_Deque_impl" = type { %"struct.std::_Deque_base<Catch::JsonReporter::Writer, std::allocator<Catch::JsonReporter::Writer>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Catch::JsonReporter::Writer, std::allocator<Catch::JsonReporter::Writer>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.20", %"struct.std::_Deque_iterator.20" }
%"struct.std::_Deque_iterator.20" = type { ptr, ptr, ptr, ptr }
%"struct.Catch::TestCaseInfo" = type <{ %"class.std::__cxx11::basic_string", %"class.Catch::StringRef", %"class.std::__cxx11::basic_string", %"class.std::vector.34", %"struct.Catch::SourceLineInfo", i8, [7 x i8] }>
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<Catch::Tag, std::allocator<Catch::Tag>>::_Vector_impl" }
%"struct.std::_Vector_base<Catch::Tag, std::allocator<Catch::Tag>>::_Vector_impl" = type { %"struct.std::_Vector_base<Catch::Tag, std::allocator<Catch::Tag>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Catch::Tag, std::allocator<Catch::Tag>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Catch::SourceLineInfo" = type { ptr, i64 }
%"struct.Catch::Tag" = type { %"class.Catch::StringRef" }

@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZNSt5stackIN5Catch16JsonObjectWriterESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

declare void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8, ptr noundef nonnull align 8 dereferenceable(18), ptr, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef, i64 noundef) #1

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

declare void @_ZNO5Catch15JsonValueWriter5writeENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(408), ptr, i64) #2

; Function Attrs: nounwind
declare void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18)) unnamed_addr #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonArrayWriter") align 8, ptr noundef nonnull align 8 dereferenceable(408)) #2

declare void @_ZN5Catch15JsonArrayWriter11writeObjectEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonObjectWriter") align 8, ptr noundef nonnull align 8 dereferenceable(18)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNO5Catch15JsonValueWriter5writeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(32)) #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_115writeSourceInfoERNS_16JsonObjectWriterERKNS_14SourceLineInfoE(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch12JsonReporter9listTestsERKSt6vectorINS_14TestCaseHandleESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.Catch::JsonArrayWriter", align 8
  %6 = alloca %"class.Catch::JsonValueWriter", align 8
  %7 = alloca %"class.Catch::StringRef", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.60", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.60", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.Catch::JsonObjectWriter", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.Catch::JsonValueWriter", align 8
  %18 = alloca %"class.Catch::StringRef", align 8
  %19 = alloca %"class.Catch::JsonValueWriter", align 8
  %20 = alloca %"class.Catch::StringRef", align 8
  %21 = alloca %"class.Catch::StringRef", align 8
  %22 = alloca %"class.Catch::JsonArrayWriter", align 8
  %23 = alloca %"class.Catch::JsonValueWriter", align 8
  %24 = alloca %"class.Catch::StringRef", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %28 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %3, align 8
  call void @_ZN5Catch12JsonReporter12startListingEv(ptr noundef nonnull align 8 dereferenceable(393) %29)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 408, ptr %6) #7
  %30 = getelementptr inbounds %"class.Catch::JsonReporter", ptr %29, i32 0, i32 2
  %31 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZNSt5stackIN5Catch16JsonObjectWriterESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %30)
  %32 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef @.str.38, i64 noundef 5) #7
  %33 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %34 = extractvalue { ptr, i64 } %32, 0
  store ptr %34, ptr %33, align 8
  %35 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %36 = extractvalue { ptr, i64 } %32, 1
  store i64 %36, ptr %35, align 8
  %37 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %40 = load i64, ptr %39, align 8
  call void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8 %6, ptr noundef nonnull align 8 dereferenceable(18) %31, ptr %38, i64 %40)
  invoke void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonArrayWriter") align 8 %5, ptr noundef nonnull align 8 dereferenceable(408) %6)
          to label %41 unwind label %52

41:                                               ; preds = %2
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %6) #7
  call void @llvm.lifetime.end.p0(i64 408, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call ptr @_ZNKSt6vectorIN5Catch14TestCaseHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.60", ptr %11, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call ptr @_ZNKSt6vectorIN5Catch14TestCaseHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #7
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.60", ptr %12, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  br label %49

49:                                               ; preds = %165, %41
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %50, label %56, label %51

51:                                               ; preds = %49
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %170

52:                                               ; preds = %2
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %8, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %9, align 4
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %6) #7
  call void @llvm.lifetime.end.p0(i64 408, ptr %6) #7
  br label %171

56:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  store ptr %57, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  invoke void @_ZN5Catch15JsonArrayWriter11writeObjectEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonObjectWriter") align 8 %15, ptr noundef nonnull align 8 dereferenceable(18) %5)
          to label %58 unwind label %114

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = invoke noundef nonnull align 8 dereferenceable(121) ptr @_ZNK5Catch14TestCaseHandle15getTestCaseInfoEv(ptr noundef nonnull align 8 dereferenceable(16) %59)
          to label %61 unwind label %118

61:                                               ; preds = %58
  store ptr %60, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 408, ptr %17) #7
  %62 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef @.str.2, i64 noundef 4) #7
  %63 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %64 = extractvalue { ptr, i64 } %62, 0
  store ptr %64, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %66 = extractvalue { ptr, i64 } %62, 1
  store i64 %66, ptr %65, align 8
  %67 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %70 = load i64, ptr %69, align 8
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8 %17, ptr noundef nonnull align 8 dereferenceable(18) %15, ptr %68, i64 %70)
          to label %71 unwind label %122

71:                                               ; preds = %61
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.Catch::TestCaseInfo", ptr %72, i32 0, i32 0
  invoke void @_ZNO5Catch15JsonValueWriter5writeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(408) %17, ptr noundef nonnull align 8 dereferenceable(32) %73)
          to label %74 unwind label %126

74:                                               ; preds = %71
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %17) #7
  call void @llvm.lifetime.end.p0(i64 408, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 408, ptr %19) #7
  %75 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef @.str.39, i64 noundef 10) #7
  %76 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %77 = extractvalue { ptr, i64 } %75, 0
  store ptr %77, ptr %76, align 8
  %78 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %79 = extractvalue { ptr, i64 } %75, 1
  store i64 %79, ptr %78, align 8
  %80 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %83 = load i64, ptr %82, align 8
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8 %19, ptr noundef nonnull align 8 dereferenceable(18) %15, ptr %81, i64 %83)
          to label %84 unwind label %131

84:                                               ; preds = %74
  %85 = load ptr, ptr %16, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.Catch::TestCaseInfo", ptr %85, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %86, i64 16, i1 false), !tbaa.struct !9
  %87 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8
  %89 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %90 = load i64, ptr %89, align 8
  invoke void @_ZNO5Catch15JsonValueWriter5writeENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(408) %19, ptr %88, i64 %90)
          to label %91 unwind label %135

91:                                               ; preds = %84
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %19) #7
  call void @llvm.lifetime.end.p0(i64 408, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 408, ptr %23) #7
  %92 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef @.str.22, i64 noundef 4) #7
  %93 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %94 = extractvalue { ptr, i64 } %92, 0
  store ptr %94, ptr %93, align 8
  %95 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %96 = extractvalue { ptr, i64 } %92, 1
  store i64 %96, ptr %95, align 8
  %97 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  %99 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %100 = load i64, ptr %99, align 8
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8 %23, ptr noundef nonnull align 8 dereferenceable(18) %15, ptr %98, i64 %100)
          to label %101 unwind label %140

101:                                              ; preds = %91
  invoke void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonArrayWriter") align 8 %22, ptr noundef nonnull align 8 dereferenceable(408) %23)
          to label %102 unwind label %144

102:                                              ; preds = %101
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %23) #7
  call void @llvm.lifetime.end.p0(i64 408, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.Catch::TestCaseInfo", ptr %103, i32 0, i32 3
  store ptr %104, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %105 = load ptr, ptr %25, align 8, !tbaa !5
  %106 = call ptr @_ZNKSt6vectorIN5Catch3TagESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #7
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %26, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %108 = load ptr, ptr %25, align 8, !tbaa !5
  %109 = call ptr @_ZNKSt6vectorIN5Catch3TagESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #7
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %27, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  br label %111

111:                                              ; preds = %155, %102
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br i1 %112, label %149, label %113

113:                                              ; preds = %111
  store i32 4, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %161

114:                                              ; preds = %56
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %8, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %9, align 4
  br label %169

118:                                              ; preds = %161, %58
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %8, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %9, align 4
  br label %168

122:                                              ; preds = %61
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %8, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %9, align 4
  br label %130

126:                                              ; preds = %71
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %8, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %9, align 4
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %17) #7
  br label %130

130:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 408, ptr %17) #7
  br label %168

131:                                              ; preds = %74
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %8, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %9, align 4
  br label %139

135:                                              ; preds = %84
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %8, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %9, align 4
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %19) #7
  br label %139

139:                                              ; preds = %135, %131
  call void @llvm.lifetime.end.p0(i64 408, ptr %19) #7
  br label %168

140:                                              ; preds = %91
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %8, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %9, align 4
  br label %148

144:                                              ; preds = %101
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %8, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %9, align 4
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %23) #7
  br label %148

148:                                              ; preds = %144, %140
  call void @llvm.lifetime.end.p0(i64 408, ptr %23) #7
  br label %167

149:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %150 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  store ptr %150, ptr %28, align 8, !tbaa !5
  %151 = load ptr, ptr %28, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.Catch::Tag", ptr %151, i32 0, i32 0
  %153 = invoke noundef nonnull align 8 dereferenceable(18) ptr @_ZN5Catch15JsonArrayWriter5writeINS_9StringRefEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(18) %22, ptr noundef nonnull align 8 dereferenceable(16) %152)
          to label %154 unwind label %157

154:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %155

155:                                              ; preds = %154
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br label %111

157:                                              ; preds = %149
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %8, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %22) #7
  br label %167

161:                                              ; preds = %113
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  %162 = load ptr, ptr %16, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.Catch::TestCaseInfo", ptr %162, i32 0, i32 4
  invoke void @_ZN5Catch12_GLOBAL__N_115writeSourceInfoERNS_16JsonObjectWriterERKNS_14SourceLineInfoE(ptr noundef nonnull align 8 dereferenceable(18) %15, ptr noundef nonnull align 8 dereferenceable(16) %163)
          to label %164 unwind label %118

164:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %165

165:                                              ; preds = %164
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %49

167:                                              ; preds = %157, %148
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %168

168:                                              ; preds = %167, %139, %130, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %15) #7
  br label %169

169:                                              ; preds = %168, %114
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %5) #7
  br label %171

170:                                              ; preds = %51
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  ret void

171:                                              ; preds = %169, %52
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  br label %172

172:                                              ; preds = %171
  %173 = load ptr, ptr %8, align 8
  %174 = load i32, ptr %9, align 4
  %175 = insertvalue { ptr, i32 } poison, ptr %173, 0
  %176 = insertvalue { ptr, i32 } %175, i32 %174, 1
  resume { ptr, i32 } %176
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(121) ptr @_ZNK5Catch14TestCaseHandle15getTestCaseInfoEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN5Catch15JsonArrayWriter5writeINS_9StringRefEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 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 = { "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 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 #4 = { nounwind "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #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 = !{i64 0, i64 8, !5, i64 8, i64 8, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}


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

%"class.Catch::JsonValueWriter" = type { ptr, %"class.std::__cxx11::basic_stringstream", i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Catch::JsonArrayWriter" = type <{ ptr, i64, i8, i8, [6 x i8] }>
%"class.Catch::JsonObjectWriter" = type <{ ptr, i64, i8, i8, [6 x i8] }>
%"class.__gnu_cxx::__normal_iterator.60" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.61" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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

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

declare void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.Catch::JsonValueWriter") align 8, ptr noundef nonnull align 8 dereferenceable(18), ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare void @_ZNO5Catch15JsonValueWriter5writeENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(408), ptr, i64) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18)) unnamed_addr #4

declare void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonArrayWriter") align 8, ptr noundef nonnull align 8 dereferenceable(408)) local_unnamed_addr #2

declare void @_ZN5Catch15JsonArrayWriter11writeObjectEv(ptr dead_on_unwind writable sret(%"class.Catch::JsonObjectWriter") align 8, ptr noundef nonnull align 8 dereferenceable(18)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Catch12JsonReporter12startListingEv(ptr noundef nonnull align 8 dereferenceable(393)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNO5Catch15JsonValueWriter5writeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5Catch12_GLOBAL__N_115writeSourceInfoERNS_16JsonObjectWriterERKNS_14SourceLineInfoE(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Catch12JsonReporter9listTestsERKSt6vectorINS_14TestCaseHandleESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(393) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.Catch::JsonArrayWriter", align 8
  %4 = alloca %"class.Catch::JsonValueWriter", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.60", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.60", align 8
  %7 = alloca %"class.Catch::JsonObjectWriter", align 8
  %8 = alloca %"class.Catch::JsonValueWriter", align 8
  %9 = alloca %"class.Catch::JsonValueWriter", align 8
  %10 = alloca %"class.Catch::JsonArrayWriter", align 8
  %11 = alloca %"class.Catch::JsonValueWriter", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  tail call void @_ZN5Catch12JsonReporter12startListingEv(ptr noundef nonnull align 8 dereferenceable(393) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %4) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 152
  %15 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZNSt5stackIN5Catch16JsonObjectWriterESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
  %16 = tail call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef nonnull @.str.38, i64 noundef 5) #6
  %17 = extractvalue { ptr, i64 } %16, 0
  %18 = extractvalue { ptr, i64 } %16, 1
  call void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonValueWriter") align 8 %4, ptr noundef nonnull align 8 dereferenceable(18) %15, ptr %17, i64 %18)
  invoke void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonArrayWriter") align 8 %3, ptr noundef nonnull align 8 dereferenceable(408) %4)
          to label %19 unwind label %23

19:                                               ; preds = %2
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %4) #6
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %20 = call ptr @_ZNKSt6vectorIN5Catch14TestCaseHandleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  store ptr %20, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %21 = call ptr @_ZNKSt6vectorIN5Catch14TestCaseHandleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  store ptr %21, ptr %6, align 8
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br i1 %22, label %.lr.ph39, label %._crit_edge40

._crit_edge40:                                    ; preds = %76, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret void

23:                                               ; preds = %2
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %4) #6
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %4) #6
  br label %82

.lr.ph39:                                         ; preds = %19, %76
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  invoke void @_ZN5Catch15JsonArrayWriter11writeObjectEv(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonObjectWriter") align 8 %7, ptr noundef nonnull align 8 dereferenceable(18) %3)
          to label %26 unwind label %50

26:                                               ; preds = %.lr.ph39
  %27 = invoke noundef nonnull align 8 dereferenceable(121) ptr @_ZNK5Catch14TestCaseHandle15getTestCaseInfoEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %28 unwind label %52

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %8) #6
  %29 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef nonnull @.str.2, i64 noundef 4) #6
  %30 = extractvalue { ptr, i64 } %29, 0
  %31 = extractvalue { ptr, i64 } %29, 1
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonValueWriter") align 8 %8, ptr noundef nonnull align 8 dereferenceable(18) %7, ptr %30, i64 %31)
          to label %32 unwind label %54

32:                                               ; preds = %28
  invoke void @_ZNO5Catch15JsonValueWriter5writeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_(ptr noundef nonnull align 8 dereferenceable(408) %8, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %33 unwind label %56

33:                                               ; preds = %32
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %8) #6
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %9) #6
  %34 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef nonnull @.str.39, i64 noundef 10) #6
  %35 = extractvalue { ptr, i64 } %34, 0
  %36 = extractvalue { ptr, i64 } %34, 1
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonValueWriter") align 8 %9, ptr noundef nonnull align 8 dereferenceable(18) %7, ptr %35, i64 %36)
          to label %37 unwind label %59

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %27, i64 32
  %.sroa.03.0.copyload = load ptr, ptr %38, align 8, !tbaa !5
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 40
  %.sroa.24.0.copyload = load i64, ptr %.sroa.24.0..sroa_idx, align 8, !tbaa !9
  invoke void @_ZNO5Catch15JsonValueWriter5writeENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(408) %9, ptr %.sroa.03.0.copyload, i64 %.sroa.24.0.copyload)
          to label %39 unwind label %61

39:                                               ; preds = %37
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %9) #6
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %11) #6
  %40 = call { ptr, i64 } @_ZN5Catchli3_srEPKcm(ptr noundef nonnull @.str.22, i64 noundef 4) #6
  %41 = extractvalue { ptr, i64 } %40, 0
  %42 = extractvalue { ptr, i64 } %40, 1
  invoke void @_ZN5Catch16JsonObjectWriter5writeENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonValueWriter") align 8 %11, ptr noundef nonnull align 8 dereferenceable(18) %7, ptr %41, i64 %42)
          to label %43 unwind label %64

43:                                               ; preds = %39
  invoke void @_ZNO5Catch15JsonValueWriter10writeArrayEv(ptr dead_on_unwind nonnull writable sret(%"class.Catch::JsonArrayWriter") align 8 %10, ptr noundef nonnull align 8 dereferenceable(408) %11)
          to label %44 unwind label %66

44:                                               ; preds = %43
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %11) #6
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %11) #6
  %45 = getelementptr inbounds i8, ptr %27, i64 80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %46 = call ptr @_ZNKSt6vectorIN5Catch3TagESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #6
  store ptr %46, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %47 = call ptr @_ZNKSt6vectorIN5Catch3TagESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #6
  store ptr %47, ptr %13, align 8
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %48, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %71, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %49 = getelementptr inbounds i8, ptr %27, i64 104
  invoke void @_ZN5Catch12_GLOBAL__N_115writeSourceInfoERNS_16JsonObjectWriterERKNS_14SourceLineInfoE(ptr noundef nonnull align 8 dereferenceable(18) %7, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %76 unwind label %52

50:                                               ; preds = %.lr.ph39
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %81

52:                                               ; preds = %._crit_edge, %26
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %80

54:                                               ; preds = %28
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %32
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %8) #6
  br label %58

58:                                               ; preds = %56, %54
  %.pn = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %8) #6
  br label %80

59:                                               ; preds = %33
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %63

61:                                               ; preds = %37
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %9) #6
  br label %63

63:                                               ; preds = %61, %59
  %.pn29 = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %9) #6
  br label %80

64:                                               ; preds = %39
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %43
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch15JsonValueWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(408) %11) #6
  br label %68

68:                                               ; preds = %66, %64
  %.pn31 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %11) #6
  br label %79

.lr.ph:                                           ; preds = %44, %71
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %70 = invoke noundef nonnull align 8 dereferenceable(18) ptr @_ZN5Catch15JsonArrayWriter5writeINS_9StringRefEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(18) %10, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %71 unwind label %74

71:                                               ; preds = %.lr.ph
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch3TagESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %73, label %.lr.ph, label %._crit_edge

74:                                               ; preds = %.lr.ph
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %10) #6
  br label %79

76:                                               ; preds = %._crit_edge
  call void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %78 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br i1 %78, label %.lr.ph39, label %._crit_edge40

79:                                               ; preds = %74, %68
  %.pn33 = phi { ptr, i32 } [ %75, %74 ], [ %.pn31, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %80

80:                                               ; preds = %79, %63, %58, %52
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %79 ], [ %53, %52 ], [ %.pn29, %63 ], [ %.pn, %58 ]
  call void @_ZN5Catch16JsonObjectWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %7) #6
  br label %81

81:                                               ; preds = %80, %50
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %80 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN5Catch15JsonArrayWriterD1Ev(ptr noundef nonnull align 8 dereferenceable(18) %3) #6
  br label %82

82:                                               ; preds = %81, %23
  %.pn33.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn, %81 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn33.pn.pn.pn
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(121) ptr @_ZNK5Catch14TestCaseHandle15getTestCaseInfoEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN5Catch15JsonArrayWriter5writeINS_9StringRefEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5Catch14TestCaseHandleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 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 = { "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 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 #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 = { 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 = !{!"long", !7, i64 0}


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