; 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::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::Object" = type { ptr }
%"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 }

@_ZTIN2vl10reflection11description31ArgumentCountMismtatchExceptionE = 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(...)

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl10reflection11description14MethodInfoImpl14CheckArgumentsERNS_11collections5ArrayINS1_5ValueES5_EE(ptr noundef nonnull align 8 dereferenceable(113) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_10reflection11description5ValueEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %11 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 4
  %12 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %13 = icmp ne i64 %10, %12
  br i1 %13, label %14, label %23

14:                                               ; preds = %2
  %15 = call ptr @__cxa_allocate_exception(i64 56) #4
  %16 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  invoke void @_ZN2vl10reflection11description31ArgumentCountMismtatchExceptionC2EPNS1_16IMethodGroupInfoE(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef %17)
          to label %18 unwind label %19

18:                                               ; preds = %14
  call void @__cxa_throw(ptr %15, ptr @_ZTIN2vl10reflection11description31ArgumentCountMismtatchExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
  unreachable

19:                                               ; preds = %14
  %20 = landingpad { ptr, i32 }
          cleanup
  %21 = extractvalue { ptr, i32 } %20, 0
  store ptr %21, ptr %5, align 8
  %22 = extractvalue { ptr, i32 } %20, 1
  store i32 %22, ptr %6, align 4
  call void @__cxa_free_exception(ptr %15) #4
  br label %85

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !21
  br label %24

24:                                               ; preds = %81, %23
  %25 = load i64, ptr %7, align 8, !tbaa !21
  %26 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 4
  %27 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
  %28 = icmp slt i64 %25, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %84

30:                                               ; preds = %24
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = load i64, ptr %7, align 8, !tbaa !21
  %33 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %32)
  %34 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 4
  %35 = load i64, ptr %7, align 8, !tbaa !21
  %36 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %34, i64 noundef %35)
  %37 = call noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
  %38 = load ptr, ptr %37, align 8, !tbaa !22
  %39 = getelementptr inbounds ptr, ptr %38, i64 2
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef ptr %40(ptr noundef nonnull align 8 dereferenceable(8) %37)
  %42 = call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_9ITypeInfoE(ptr noundef nonnull align 8 dereferenceable(112) %33, ptr noundef %41)
  br i1 %42, label %80, label %43

43:                                               ; preds = %30
  %44 = call ptr @__cxa_allocate_exception(i64 56) #4
  %45 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 4
  %46 = load i64, ptr %7, align 8, !tbaa !21
  %47 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %45, i64 noundef %46)
          to label %48 unwind label %76

48:                                               ; preds = %43
  %49 = invoke noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %50 unwind label %76

50:                                               ; preds = %48
  %51 = load ptr, ptr %49, align 8, !tbaa !22
  %52 = getelementptr i8, ptr %51, i64 -32
  %53 = load i64, ptr %52, align 8
  %54 = getelementptr inbounds i8, ptr %49, i64 %53
  %55 = load ptr, ptr %54, align 8, !tbaa !22
  %56 = getelementptr inbounds ptr, ptr %55, i64 3
  %57 = load ptr, ptr %56, align 8
  %58 = invoke noundef nonnull align 8 dereferenceable(48) ptr %57(ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %59 unwind label %76

59:                                               ; preds = %50
  %60 = getelementptr inbounds %"class.vl::reflection::description::MethodInfoImpl", ptr %8, i32 0, i32 4
  %61 = load i64, ptr %7, align 8, !tbaa !21
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %60, i64 noundef %61)
          to label %63 unwind label %76

63:                                               ; preds = %59
  %64 = invoke noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %65 unwind label %76

65:                                               ; preds = %63
  %66 = load ptr, ptr %64, align 8, !tbaa !22
  %67 = getelementptr inbounds ptr, ptr %66, i64 2
  %68 = load ptr, ptr %67, align 8
  %69 = invoke noundef ptr %68(ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %70 unwind label %76

70:                                               ; preds = %65
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load i64, ptr %7, align 8, !tbaa !21
  %73 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %72)
          to label %74 unwind label %76

74:                                               ; preds = %70
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_9ITypeInfoERKNS1_5ValueE(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef %69, ptr noundef nonnull align 8 dereferenceable(112) %73)
          to label %75 unwind label %76

75:                                               ; preds = %74
  call void @__cxa_throw(ptr %44, ptr @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr @_ZN2vl9ExceptionD2Ev) #5
  unreachable

76:                                               ; preds = %74, %70, %65, %63, %59, %50, %48, %43
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %5, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %6, align 4
  call void @__cxa_free_exception(ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %85

80:                                               ; preds = %30
  br label %81

81:                                               ; preds = %80
  %82 = load i64, ptr %7, align 8, !tbaa !21
  %83 = add nsw i64 %82, 1
  store i64 %83, ptr %7, align 8, !tbaa !21
  br label %24, !llvm.loop !24

84:                                               ; preds = %29
  ret void

85:                                               ; preds = %76, %19
  %86 = load ptr, ptr %5, align 8
  %87 = load i32, ptr %6, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_9ITypeInfoERKNS1_5ValueE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(48), ptr 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, !6, i64 16}
!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 = !{!18, !18, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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"

@_ZTIN2vl10reflection11description31ArgumentCountMismtatchExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8

declare i32 @__gxx_personality_v0(...)

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 uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_9ITypeInfoE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl10reflection11description14MethodInfoImpl14CheckArgumentsERNS_11collections5ArrayINS1_5ValueES5_EE(ptr noundef nonnull align 8 dereferenceable(113) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_10reflection11description5ValueEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %.not = icmp eq i64 %3, %5
  br i1 %.not, label %.preheader, label %8

.preheader:                                       ; preds = %2
  %6 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %7 = icmp sgt i64 %6, 0
  br i1 %7, label %.lr.ph, label %._crit_edge

8:                                                ; preds = %2
  %9 = tail call ptr @__cxa_allocate_exception(i64 56) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN2vl10reflection11description31ArgumentCountMismtatchExceptionC2EPNS1_16IMethodGroupInfoE(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef %11)
          to label %12 unwind label %13

12:                                               ; preds = %8
  tail call void @__cxa_throw(ptr nonnull %9, ptr nonnull @_ZTIN2vl10reflection11description31ArgumentCountMismtatchExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #4
  unreachable

13:                                               ; preds = %8
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %54

._crit_edge:                                      ; preds = %50, %.preheader
  ret void

.lr.ph:                                           ; preds = %.preheader, %50
  %.016 = phi i64 [ %51, %50 ], [ 0, %.preheader ]
  %15 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.016)
  %16 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.016)
  %17 = tail call noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %16)
  %18 = load ptr, ptr %17, align 8, !tbaa !20
  %19 = getelementptr inbounds i8, ptr %18, i64 16
  %20 = load ptr, ptr %19, align 8
  %21 = tail call noundef ptr %20(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %22 = tail call noundef zeroext i1 @_ZNK2vl10reflection11description5Value12CanConvertToEPNS1_9ITypeInfoE(ptr noundef nonnull align 8 dereferenceable(112) %15, ptr noundef %21)
  br i1 %22, label %50, label %23

23:                                               ; preds = %.lr.ph
  %24 = tail call ptr @__cxa_allocate_exception(i64 56) #3
  %25 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.016)
          to label %26 unwind label %48

26:                                               ; preds = %23
  %27 = tail call noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %25)
  %28 = load ptr, ptr %27, align 8, !tbaa !20
  %29 = getelementptr i8, ptr %28, i64 -32
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %27, i64 %30
  %32 = load ptr, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %32, i64 24
  %34 = load ptr, ptr %33, align 8
  %35 = invoke noundef nonnull align 8 dereferenceable(48) ptr %34(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %36 unwind label %48

36:                                               ; preds = %26
  %37 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_10reflection11description14IParameterInfoEEEPS5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.016)
          to label %38 unwind label %48

38:                                               ; preds = %36
  %39 = tail call noundef ptr @_ZNK2vl3PtrINS_10reflection11description14IParameterInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef ptr %42(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %44 unwind label %48

44:                                               ; preds = %38
  %45 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.016)
          to label %46 unwind label %48

46:                                               ; preds = %44
  invoke void @_ZN2vl10reflection11description30ArgumentTypeMismtatchExceptionC2ERKNS_12ObjectStringIwEEPNS1_9ITypeInfoERKNS1_5ValueE(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef %43, ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %47 unwind label %48

47:                                               ; preds = %46
  tail call void @__cxa_throw(ptr nonnull %24, ptr nonnull @_ZTIN2vl10reflection11description30ArgumentTypeMismtatchExceptionE, ptr nonnull @_ZN2vl9ExceptionD2Ev) #4
  unreachable

48:                                               ; preds = %46, %44, %38, %36, %26, %23
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %54

50:                                               ; preds = %.lr.ph
  %51 = add nuw nsw i64 %.016, 1
  %52 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description14IParameterInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %53 = icmp slt i64 %51, %52
  br i1 %53, label %.lr.ph, label %._crit_edge, !llvm.loop !22

54:                                               ; preds = %48, %13
  %.sink = phi ptr [ %24, %48 ], [ %9, %13 ]
  %.pn = phi { ptr, i32 } [ %49, %48 ], [ %14, %13 ]
  tail call void @__cxa_free_exception(ptr %.sink) #3
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZN2vl11collections5ArrayINS_10reflection11description5ValueES4_EixEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

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

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

attributes #0 = { 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 #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 = { 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 #3 = { nounwind }
attributes #4 = { 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 = !{!"_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 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !12, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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