; LLVM IR from vczh/herodb :: Kernel/Source (Vlpp)

; 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.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::reflection::description::EventInfoImpl" = type { %"class.vl::Object", %"class.vl::reflection::description::IEventInfo.base", ptr, %"class.vl::collections::List.896", %"class.vl::ObjectString", %"class.vl::Ptr.872", %"class.vl::reflection::description::IMemberInfo.base", %"class.vl::reflection::IDescriptable.base", %"class.vl::Interface", %"class.vl::reflection::DescriptableObject" }
%"class.vl::reflection::description::IEventInfo.base" = type { %"class.vl::reflection::Description.base.807" }
%"class.vl::reflection::Description.base.807" = type { ptr }
%"class.vl::collections::List.896" = type { %"class.vl::collections::ListBase.base.902", %"class.vl::collections::IEnumerable.900" }
%"class.vl::collections::ListBase.base.902" = type <{ %"class.vl::collections::ArrayBase.base.901", i64, i8 }>
%"class.vl::collections::ArrayBase.base.901" = type { %"class.vl::collections::ListStore.899", ptr, i64 }
%"class.vl::collections::ListStore.899" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.900" = type { %"class.vl::Interface" }
%"class.vl::Ptr.872" = type { ptr, ptr, ptr, ptr }
%"class.vl::reflection::description::IMemberInfo.base" = type { %"class.vl::reflection::Description.base.785" }
%"class.vl::reflection::Description.base.785" = type { ptr }
%"class.vl::reflection::IDescriptable.base" = type { %"class.vl::reflection::Description.base.17" }
%"class.vl::reflection::Description.base.17" = type { ptr }
%"class.vl::Interface" = type { ptr }
%"class.vl::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }

@.str.408 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIN2vl10reflection11description21ArgumentNullExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8

; 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 uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #1 align 2

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_10IEventInfoE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl10reflection11description13EventInfoImpl6InvokeERKNS1_5ValueERNS_11collections5ArrayIS3_S3_EE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i1, align 1
  %11 = alloca %"class.vl::ObjectString", align 8
  %12 = alloca i1, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = call noundef zeroext i1 @_ZNK2vl10reflection11description5Value6IsNullEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br i1 %17, label %18, label %35

18:                                               ; preds = %3
  store i1 true, ptr %10, align 1
  %19 = call ptr @__cxa_allocate_exception(i64 56) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #4
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef @.str.408, i1 noundef zeroext true)
          to label %20 unwind label %23

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %15, i64 8
  invoke void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_10IEventInfoE(ptr noundef nonnull align 8 dereferenceable(56) %19, ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef %21)
          to label %22 unwind label %27

22:                                               ; preds = %20
  store i1 false, ptr %10, align 1
  invoke void @__cxa_throw(ptr %19, ptr @_ZTIN2vl10reflection11description21ArgumentNullExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
          to label %81 unwind label %27

23:                                               ; preds = %18
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %8, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %9, align 4
  br label %31

27:                                               ; preds = %22, %20
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %8, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %9, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #4
  br label %31

31:                                               ; preds = %27, %23
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #4
  %32 = load i1, ptr %10, align 1
  br i1 %32, label %33, label %34

33:                                               ; preds = %31
  call void @__cxa_free_exception(ptr %19) #4
  br label %34

34:                                               ; preds = %33, %31
  br label %76

35:                                               ; preds = %3
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.vl::reflection::description::EventInfoImpl", ptr %15, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112) %36, ptr noundef %38, i32 noundef 1)
  br i1 %39, label %59, label %40

40:                                               ; preds = %35
  store i1 true, ptr %12, align 1
  %41 = call ptr @__cxa_allocate_exception(i64 56) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #4
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef @.str.408, i1 noundef zeroext true)
          to label %42 unwind label %47

42:                                               ; preds = %40
  %43 = getelementptr inbounds %"class.vl::reflection::description::EventInfoImpl", ptr %15, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef %44, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %46 unwind label %51

46:                                               ; preds = %42
  store i1 false, ptr %12, align 1
  invoke void @__cxa_throw(ptr %41, ptr @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
          to label %81 unwind label %51

47:                                               ; preds = %40
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  br label %55

51:                                               ; preds = %46, %42
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #4
  br label %55

55:                                               ; preds = %51, %47
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #4
  %56 = load i1, ptr %12, align 1
  br i1 %56, label %57, label %58

57:                                               ; preds = %55
  call void @__cxa_free_exception(ptr %41) #4
  br label %58

58:                                               ; preds = %57, %55
  br label %76

59:                                               ; preds = %35
  br label %60

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = call noundef ptr @_ZNK2vl10reflection11description5Value9GetRawPtrEv(ptr noundef nonnull align 8 dereferenceable(112) %61)
  store ptr %62, ptr %13, align 8, !tbaa !5
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %71

65:                                               ; preds = %60
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = load ptr, ptr %15, align 8, !tbaa !22
  %69 = getelementptr inbounds ptr, ptr %68, i64 4
  %70 = load ptr, ptr %69, align 8
  call void %70(ptr noundef nonnull align 8 dereferenceable(152) %15, ptr noundef %66, ptr noundef nonnull align 8 dereferenceable(24) %67)
  br label %72

71:                                               ; preds = %60
  store i32 1, ptr %14, align 4
  br label %73

72:                                               ; preds = %65
  store i32 0, ptr %14, align 4
  br label %73

73:                                               ; preds = %72, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  %74 = load i32, ptr %14, align 4
  switch i32 %74, label %81 [
    i32 0, label %75
    i32 1, label %75
  ]

75:                                               ; preds = %73, %73
  ret void

76:                                               ; preds = %58, %34
  %77 = load ptr, ptr %8, align 8
  %78 = load i32, ptr %9, align 4
  %79 = insertvalue { ptr, i32 } poison, ptr %77, 0
  %80 = insertvalue { ptr, i32 } %79, i32 %78, 1
  resume { ptr, i32 } %80

81:                                               ; preds = %73, %46, %22
  unreachable
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_ZTSN2vl10reflection11description13EventInfoImplE", !11, i64 0, !12, i64 8, !6, i64 16, !14, i64 24, !20, i64 72, !21, i64 120}
!11 = !{!"_ZTSN2vl6ObjectE"}
!12 = !{!"_ZTSN2vl10reflection11description10IEventInfoE", !13, i64 0}
!13 = !{!"_ZTSN2vl10reflection11DescriptionINS0_11description10IEventInfoEEE"}
!14 = !{!"_ZTSN2vl11collections4ListIPNS_10reflection11description13IPropertyInfoES5_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseIPNS_10reflection11description13IPropertyInfoES5_EE", !16, i64 0, !18, i64 24, !19, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_10reflection11description13IPropertyInfoEEE", !17, i64 0, !6, i64 8, !18, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreIPNS_10reflection11description13IPropertyInfoELb1EEE", !11, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN2vl12ObjectStringIwEE", !11, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !18, i64 32, !18, i64 40}
!21 = !{!"_ZTSN2vl3PtrINS_10reflection11description9ITypeInfoEEE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, 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.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }

@.str.408 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIN2vl10reflection11description21ArgumentNullExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8

; 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 uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #1 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_10IEventInfoE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl10reflection11description13EventInfoImpl6InvokeERKNS1_5ValueERNS_11collections5ArrayIS3_S3_EE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::ObjectString", align 8
  %6 = tail call noundef zeroext i1 @_ZNK2vl10reflection11description5Value6IsNullEv(ptr noundef nonnull align 8 dereferenceable(112) %1)
  br i1 %6, label %7, label %17

7:                                                ; preds = %3
  %8 = tail call ptr @__cxa_allocate_exception(i64 56) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #4
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull @.str.408, i1 noundef zeroext true)
          to label %9 unwind label %.thread

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  invoke void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_10IEventInfoE(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull %10)
          to label %12 unwind label %.thread26

.thread26:                                        ; preds = %9
  %11 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #4
  br label %16

12:                                               ; preds = %9
  invoke void @__cxa_throw(ptr nonnull %8, ptr nonnull @_ZTIN2vl10reflection11description21ArgumentNullExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #5
          to label %39 unwind label %14

.thread:                                          ; preds = %7
  %13 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #4
  br label %16

14:                                               ; preds = %12
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #4
  br label %38

16:                                               ; preds = %.thread26, %.thread
  %.pn2025 = phi { ptr, i32 } [ %13, %.thread ], [ %11, %.thread26 ]
  call void @__cxa_free_exception(ptr %8) #4
  br label %38

17:                                               ; preds = %3
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = tail call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef %19, i32 noundef 1)
  br i1 %20, label %31, label %21

21:                                               ; preds = %17
  %22 = tail call ptr @__cxa_allocate_exception(i64 56) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #4
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull @.str.408, i1 noundef zeroext true)
          to label %23 unwind label %.thread28

23:                                               ; preds = %21
  %24 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef %24, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %26 unwind label %.thread32

.thread32:                                        ; preds = %23
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #4
  br label %30

26:                                               ; preds = %23
  invoke void @__cxa_throw(ptr nonnull %22, ptr nonnull @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #5
          to label %39 unwind label %28

.thread28:                                        ; preds = %21
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #4
  br label %30

28:                                               ; preds = %26
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #4
  br label %38

30:                                               ; preds = %.thread32, %.thread28
  %.pn31 = phi { ptr, i32 } [ %27, %.thread28 ], [ %25, %.thread32 ]
  call void @__cxa_free_exception(ptr %22) #4
  br label %38

31:                                               ; preds = %17
  %32 = tail call noundef ptr @_ZNK2vl10reflection11description5Value9GetRawPtrEv(ptr noundef nonnull align 8 dereferenceable(112) %1)
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %37, label %33

33:                                               ; preds = %31
  %34 = load ptr, ptr %0, align 8, !tbaa !21
  %35 = getelementptr inbounds i8, ptr %34, i64 32
  %36 = load ptr, ptr %35, align 8
  tail call void %36(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull %32, ptr noundef nonnull align 8 dereferenceable(24) %2)
  br label %37

37:                                               ; preds = %31, %33
  ret void

38:                                               ; preds = %28, %14, %30, %16
  %.pn20.pn = phi { ptr, i32 } [ %.pn2025, %16 ], [ %15, %14 ], [ %.pn31, %30 ], [ %29, %28 ]
  resume { ptr, i32 } %.pn20.pn

39:                                               ; preds = %26, %12
  unreachable
}

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

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

!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, !10, i64 16}
!6 = !{!"_ZTSN2vl10reflection11description13EventInfoImplE", !7, i64 0, !8, i64 8, !10, i64 16, !13, i64 24, !19, i64 72, !20, i64 120}
!7 = !{!"_ZTSN2vl6ObjectE"}
!8 = !{!"_ZTSN2vl10reflection11description10IEventInfoE", !9, i64 0}
!9 = !{!"_ZTSN2vl10reflection11DescriptionINS0_11description10IEventInfoEEE"}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN2vl11collections4ListIPNS_10reflection11description13IPropertyInfoES5_EE", !14, i64 0}
!14 = !{!"_ZTSN2vl11collections8ListBaseIPNS_10reflection11description13IPropertyInfoES5_EE", !15, i64 0, !17, i64 24, !18, i64 32}
!15 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_10reflection11description13IPropertyInfoEEE", !16, i64 0, !10, i64 8, !17, i64 16}
!16 = !{!"_ZTSN2vl11collections9ListStoreIPNS_10reflection11description13IPropertyInfoELb1EEE", !7, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTSN2vl12ObjectStringIwEE", !7, i64 0, !10, i64 8, !10, i64 16, !17, i64 24, !17, i64 32, !17, i64 40}
!20 = !{!"_ZTSN2vl3PtrINS_10reflection11description9ITypeInfoEEE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !12, i64 0}


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