; 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::reflection::description::Value" = type { %"class.vl::Object", i32, ptr, %"class.vl::Ptr.777", %"class.vl::ObjectString", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.777" = type { ptr, ptr, ptr, ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::reflection::description::MethodInfoImpl" = type <{ %"class.vl::Object", %"class.vl::reflection::description::IMethodInfo.base", ptr, ptr, %"class.vl::collections::List.876", %"class.vl::Ptr.872", i8, [7 x i8], %"class.vl::reflection::description::IMemberInfo.base", %"class.vl::reflection::IDescriptable.base", %"class.vl::Interface", %"class.vl::reflection::DescriptableObject" }>
%"class.vl::reflection::description::IMethodInfo.base" = type { %"class.vl::reflection::Description.base.795" }
%"class.vl::reflection::Description.base.795" = type { ptr }
%"class.vl::collections::List.876" = type { %"class.vl::collections::ListBase.base.882", %"class.vl::collections::IEnumerable.880" }
%"class.vl::collections::ListBase.base.882" = type <{ %"class.vl::collections::ArrayBase.base.881", i64, i8 }>
%"class.vl::collections::ArrayBase.base.881" = type { %"class.vl::collections::ListStore.879", ptr, i64 }
%"class.vl::collections::ListStore.879" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.880" = 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 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
define dso_local void @_ZN2vl10reflection11description14MethodInfoImpl6InvokeERKNS1_5ValueERNS_11collections5ArrayIS3_S3_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::reflection::description::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(113) %1, ptr noundef nonnull align 8 dereferenceable(112) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i1, align 1
  %13 = alloca %"class.vl::ObjectString", align 8
  %14 = alloca i1, align 1
  store ptr %0, ptr %5, align 8
  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
  %15 = load ptr, ptr %6, align 8
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = call noundef zeroext i1 @_ZNK2vl10reflection11description5Value6IsNullEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br i1 %17, label %18, label %40

18:                                               ; preds = %4
  %19 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %15, i32 0, i32 6
  %20 = load i8, ptr %19, align 8, !tbaa !9, !range !21, !noundef !22
  %21 = trunc i8 %20 to i1
  br i1 %21, label %39, label %22

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

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %15, i64 8
  invoke void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_11IMethodInfoE(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef %25)
          to label %26 unwind label %31

26:                                               ; preds = %24
  store i1 false, ptr %12, align 1
  invoke void @__cxa_throw(ptr %23, ptr @_ZTIN2vl10reflection11description21ArgumentNullExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
          to label %97 unwind label %31

27:                                               ; preds = %22
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %10, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %11, align 4
  br label %35

31:                                               ; preds = %26, %24
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %10, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %11, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #4
  br label %35

35:                                               ; preds = %31, %27
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #4
  %36 = load i1, ptr %12, align 1
  br i1 %36, label %37, label %38

37:                                               ; preds = %35
  call void @__cxa_free_exception(ptr %23) #4
  br label %38

38:                                               ; preds = %37, %35
  br label %92

39:                                               ; preds = %18
  br label %82

40:                                               ; preds = %4
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %15, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !23
  %44 = load ptr, ptr %43, align 8, !tbaa !24
  %45 = getelementptr i8, ptr %44, i64 -32
  %46 = load i64, ptr %45, align 8
  %47 = getelementptr inbounds i8, ptr %43, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !24
  %49 = getelementptr inbounds ptr, ptr %48, i64 2
  %50 = load ptr, ptr %49, align 8
  %51 = call noundef ptr %50(ptr noundef nonnull align 8 dereferenceable(8) %47)
  %52 = call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112) %41, ptr noundef %51, i32 noundef 1)
  br i1 %52, label %81, label %53

53:                                               ; preds = %40
  store i1 true, ptr %14, align 1
  %54 = call ptr @__cxa_allocate_exception(i64 56) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #4
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef @.str.408, i1 noundef zeroext true)
          to label %55 unwind label %69

55:                                               ; preds = %53
  %56 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %15, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !23
  %58 = load ptr, ptr %57, align 8, !tbaa !24
  %59 = getelementptr i8, ptr %58, i64 -32
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds i8, ptr %57, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !24
  %63 = getelementptr inbounds ptr, ptr %62, i64 2
  %64 = load ptr, ptr %63, align 8
  %65 = invoke noundef ptr %64(ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %66 unwind label %73

66:                                               ; preds = %55
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56) %54, ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef %65, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(112) %67)
          to label %68 unwind label %73

68:                                               ; preds = %66
  store i1 false, ptr %14, align 1
  invoke void @__cxa_throw(ptr %54, ptr @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
          to label %97 unwind label %73

69:                                               ; preds = %53
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %10, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %11, align 4
  br label %77

73:                                               ; preds = %68, %66, %55
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %10, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %11, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #4
  br label %77

77:                                               ; preds = %73, %69
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #4
  %78 = load i1, ptr %14, align 1
  br i1 %78, label %79, label %80

79:                                               ; preds = %77
  call void @__cxa_free_exception(ptr %54) #4
  br label %80

80:                                               ; preds = %79, %77
  br label %92

81:                                               ; preds = %40
  br label %82

82:                                               ; preds = %81, %39
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load ptr, ptr %15, align 8, !tbaa !24
  %85 = getelementptr inbounds ptr, ptr %84, i64 12
  %86 = load ptr, ptr %85, align 8
  call void %86(ptr noundef nonnull align 8 dereferenceable(113) %15, ptr noundef nonnull align 8 dereferenceable(24) %83)
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %15, align 8, !tbaa !24
  %90 = getelementptr inbounds ptr, ptr %89, i64 2
  %91 = load ptr, ptr %90, align 8
  call void %91(ptr dead_on_unwind writable sret(%"class.vl::reflection::description::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(113) %15, ptr noundef nonnull align 8 dereferenceable(112) %87, ptr noundef nonnull align 8 dereferenceable(24) %88)
  ret void

92:                                               ; preds = %80, %38
  %93 = load ptr, ptr %10, align 8
  %94 = load i32, ptr %11, align 4
  %95 = insertvalue { ptr, i32 } poison, ptr %93, 0
  %96 = insertvalue { ptr, i32 } %95, i32 %94, 1
  resume { ptr, i32 } %96

97:                                               ; preds = %68, %26
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_11IMethodInfoE(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
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: 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, !19, i64 112}
!10 = !{!"_ZTSN2vl10reflection11description14MethodInfoImplE", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !20, i64 80, !19, i64 112}
!11 = !{!"_ZTSN2vl6ObjectE"}
!12 = !{!"_ZTSN2vl10reflection11description11IMethodInfoE", !13, i64 0}
!13 = !{!"_ZTSN2vl10reflection11DescriptionINS0_11description11IMethodInfoEEE"}
!14 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EE", !16, i64 0, !18, i64 24, !19, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEEE", !17, i64 0, !6, i64 8, !18, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_10reflection11description14IParameterInfoEEELb0EEE", !11, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN2vl3PtrINS_10reflection11description9ITypeInfoEEE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!10, !6, i64 16}
!24 = !{!25, !25, i64 0}
!25 = !{!"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::reflection::description::Value" = type { %"class.vl::Object", i32, ptr, %"class.vl::Ptr.777", %"class.vl::ObjectString", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.777" = type { ptr, ptr, ptr, ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }

@.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 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
define dso_local void @_ZN2vl10reflection11description14MethodInfoImpl6InvokeERKNS1_5ValueERNS_11collections5ArrayIS3_S3_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::reflection::description::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(113) %1, ptr noundef nonnull align 8 dereferenceable(112) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::ObjectString", align 8
  %6 = alloca %"class.vl::ObjectString", align 8
  %7 = tail call noundef zeroext i1 @_ZNK2vl10reflection11description5Value6IsNullEv(ptr noundef nonnull align 8 dereferenceable(112) %2)
  br i1 %7, label %8, label %22

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %1, i64 112
  %10 = load i8, ptr %9, align 8, !tbaa !5, !range !20, !noundef !21
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %51, label %12

12:                                               ; preds = %8
  %13 = 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 %14 unwind label %.thread

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  invoke void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_11IMethodInfoE(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull %15)
          to label %17 unwind label %.thread24

.thread24:                                        ; preds = %14
  %16 = 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 %21

17:                                               ; preds = %14
  invoke void @__cxa_throw(ptr nonnull %13, ptr nonnull @_ZTIN2vl10reflection11description21ArgumentNullExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #5
          to label %59 unwind label %19

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

19:                                               ; preds = %17
  %20 = 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 %58

21:                                               ; preds = %.thread24, %.thread
  %.pn1823 = phi { ptr, i32 } [ %18, %.thread ], [ %16, %.thread24 ]
  call void @__cxa_free_exception(ptr %13) #4
  br label %58

22:                                               ; preds = %4
  %23 = getelementptr inbounds i8, ptr %1, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !22
  %25 = load ptr, ptr %24, align 8, !tbaa !23
  %26 = getelementptr i8, ptr %25, i64 -32
  %27 = load i64, ptr %26, align 8
  %28 = getelementptr inbounds i8, ptr %24, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !23
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  %31 = load ptr, ptr %30, align 8
  %32 = tail call noundef ptr %31(ptr noundef nonnull align 8 dereferenceable(8) %28)
  %33 = tail call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_15ITypeDescriptorENS2_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(112) %2, ptr noundef %32, i32 noundef 1)
  br i1 %33, label %51, label %34

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

36:                                               ; preds = %34
  %37 = load ptr, ptr %23, align 8, !tbaa !22
  %38 = load ptr, ptr %37, align 8, !tbaa !23
  %39 = getelementptr i8, ptr %38, i64 -32
  %40 = load i64, ptr %39, align 8
  %41 = getelementptr inbounds i8, ptr %37, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !23
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %44 = load ptr, ptr %43, align 8
  %45 = invoke noundef ptr %44(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %46 unwind label %.thread30

46:                                               ; preds = %36
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_15ITypeDescriptorENS1_5Value9ValueTypeERKS9_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef %45, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(112) %2)
          to label %47 unwind label %.thread30

47:                                               ; preds = %46
  invoke void @__cxa_throw(ptr nonnull %35, ptr nonnull @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #5
          to label %59 unwind label %49

.thread26:                                        ; preds = %34
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  br label %50

.thread30:                                        ; preds = %46, %36
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  br label %50

49:                                               ; preds = %47
  %lpad.thr_comm.split-lp = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  br label %58

50:                                               ; preds = %.thread30, %.thread26
  %.pn29 = phi { ptr, i32 } [ %48, %.thread26 ], [ %lpad.thr_comm, %.thread30 ]
  call void @__cxa_free_exception(ptr %35) #4
  br label %58

51:                                               ; preds = %22, %8
  %52 = load ptr, ptr %1, align 8, !tbaa !23
  %53 = getelementptr inbounds i8, ptr %52, i64 96
  %54 = load ptr, ptr %53, align 8
  tail call void %54(ptr noundef nonnull align 8 dereferenceable(113) %1, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %55 = load ptr, ptr %1, align 8, !tbaa !23
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  %57 = load ptr, ptr %56, align 8
  tail call void %57(ptr dead_on_unwind writable sret(%"class.vl::reflection::description::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(113) %1, ptr noundef nonnull align 8 dereferenceable(112) %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
  ret void

58:                                               ; preds = %49, %19, %50, %21
  %.pn18.pn = phi { ptr, i32 } [ %.pn1823, %21 ], [ %20, %19 ], [ %.pn29, %50 ], [ %lpad.thr_comm.split-lp, %49 ]
  resume { ptr, i32 } %.pn18.pn

59:                                               ; preds = %47, %17
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description21ArgumentNullExceptionC2ERKNS_12ObjectStringIwEEPNS1_11IMethodInfoE(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
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: 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, !18, i64 112}
!6 = !{!"_ZTSN2vl10reflection11description14MethodInfoImplE", !7, i64 0, !8, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !19, i64 80, !18, i64 112}
!7 = !{!"_ZTSN2vl6ObjectE"}
!8 = !{!"_ZTSN2vl10reflection11description11IMethodInfoE", !9, i64 0}
!9 = !{!"_ZTSN2vl10reflection11DescriptionINS0_11description11IMethodInfoEEE"}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EE", !14, i64 0}
!14 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EE", !15, i64 0, !17, i64 24, !18, i64 32}
!15 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEEE", !16, i64 0, !10, i64 8, !17, i64 16}
!16 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_10reflection11description14IParameterInfoEEELb0EEE", !7, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTSN2vl3PtrINS_10reflection11description9ITypeInfoEEE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!6, !10, i64 16}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !12, i64 0}


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