; 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::parsing::definitions::ParsingDefinitionTokenDefinitionWriter" = type { %"class.vl::Object", %"class.vl::Ptr.320", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.320" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionTokenDefinition" = type <{ %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString", %"class.vl::ObjectString", i8, [7 x i8], %"class.vl::reflection::DescriptableObject" }>
%"class.vl::parsing::definitions::ParsingDefinitionBase.base" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::collections::List.272" }
%"class.vl::parsing::ParsingTreeCustomBase.base" = type { %"class.vl::Object", %"class.vl::reflection::Description.base", %"struct.vl::parsing::ParsingTextRange", %"class.vl::collections::List" }
%"class.vl::reflection::Description.base" = type { ptr }
%"struct.vl::parsing::ParsingTextRange" = type { %"struct.vl::parsing::ParsingTextPos", %"struct.vl::parsing::ParsingTextPos", i64 }
%"struct.vl::parsing::ParsingTextPos" = type { i64, i64, i64 }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base.3", i64, i8 }>
%"class.vl::collections::ArrayBase.base.3" = type { %"class.vl::collections::ListStore.1", ptr, i64 }
%"class.vl::collections::ListStore.1" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.2" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List.272" = type { %"class.vl::collections::ListBase.base.278", %"class.vl::collections::IEnumerable.276" }
%"class.vl::collections::ListBase.base.278" = type <{ %"class.vl::collections::ArrayBase.base.277", i64, i8 }>
%"class.vl::collections::ArrayBase.base.277" = type { %"class.vl::collections::ListStore.275", ptr, i64 }
%"class.vl::collections::ListStore.275" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.276" = type { %"class.vl::Interface" }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionWriter" = type { %"class.vl::Object", %"class.vl::Ptr.211" }
%"class.vl::Ptr.211" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinition" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::collections::List.289", %"class.vl::collections::List.300", %"class.vl::collections::List.308", %"class.vl::reflection::DescriptableObject" }
%"class.vl::collections::List.289" = type { %"class.vl::collections::ListBase.base.295", %"class.vl::collections::IEnumerable.293" }
%"class.vl::collections::ListBase.base.295" = type <{ %"class.vl::collections::ArrayBase.base.294", i64, i8 }>
%"class.vl::collections::ArrayBase.base.294" = type { %"class.vl::collections::ListStore.292", ptr, i64 }
%"class.vl::collections::ListStore.292" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.293" = type { %"class.vl::Interface" }
%"class.vl::collections::List.300" = type { %"class.vl::collections::ListBase.base.306", %"class.vl::collections::IEnumerable.304" }
%"class.vl::collections::ListBase.base.306" = type <{ %"class.vl::collections::ArrayBase.base.305", i64, i8 }>
%"class.vl::collections::ArrayBase.base.305" = type { %"class.vl::collections::ListStore.303", ptr, i64 }
%"class.vl::collections::ListStore.303" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.304" = type { %"class.vl::Interface" }
%"class.vl::collections::List.308" = type { %"class.vl::collections::ListBase.base.314", %"class.vl::collections::IEnumerable.312" }
%"class.vl::collections::ListBase.base.314" = type <{ %"class.vl::collections::ArrayBase.base.313", i64, i8 }>
%"class.vl::collections::ArrayBase.base.313" = type { %"class.vl::collections::ListStore.311", ptr, i64 }
%"class.vl::collections::ListStore.311" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.312" = type { %"class.vl::Interface" }

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing11definitions23ParsingDefinitionWriter8TokenAttERKNS_12ObjectStringIwEES6_(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionTokenDefinitionWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %3) #3 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::Ptr.320", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.vl::Ptr.320", align 8
  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
  %13 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 344) #7
  invoke void @_ZN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(265) %14)
          to label %15 unwind label %39

15:                                               ; preds = %4
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef %14)
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %18 unwind label %43

18:                                               ; preds = %15
  %19 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTokenDefinition", ptr %17, i32 0, i32 1
  %20 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %21 unwind label %43

21:                                               ; preds = %18
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %24 unwind label %43

24:                                               ; preds = %21
  %25 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTokenDefinition", ptr %23, i32 0, i32 2
  %26 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %27 unwind label %43

27:                                               ; preds = %24
  %28 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %29 unwind label %43

29:                                               ; preds = %27
  %30 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTokenDefinition", ptr %28, i32 0, i32 3
  store i8 0, ptr %30, align 8, !tbaa !9
  %31 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionWriter", ptr %13, i32 0, i32 1
  %32 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %33 unwind label %43

33:                                               ; preds = %29
  %34 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinition", ptr %32, i32 0, i32 2
  %35 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %34, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %36 unwind label %43

36:                                               ; preds = %33
  invoke void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %37 unwind label %43

37:                                               ; preds = %36
  invoke void @_ZN2vl7parsing11definitions38ParsingDefinitionTokenDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_32ParsingDefinitionTokenDefinitionEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef %12)
          to label %38 unwind label %47

38:                                               ; preds = %37
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  ret void

39:                                               ; preds = %4
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 344) #8
  br label %52

43:                                               ; preds = %36, %33, %29, %27, %24, %21, %18, %15
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %10, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %11, align 4
  br label %51

47:                                               ; preds = %37
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %51

51:                                               ; preds = %47, %43
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %52

52:                                               ; preds = %51, %39
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %10, align 8
  %55 = load i32, ptr %11, align 4
  %56 = insertvalue { ptr, i32 } poison, ptr %54, 0
  %57 = insertvalue { ptr, i32 } %56, i32 %55, 1
  resume { ptr, i32 } %57
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(265)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #3 align 2

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

declare void @_ZN2vl7parsing11definitions38ParsingDefinitionTokenDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_32ParsingDefinitionTokenDefinitionEEE(ptr, ptr, ptr)

attributes #0 = { nobuiltin 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { inlinehint 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 }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !22, i64 264}
!10 = !{!"_ZTSN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionE", !11, i64 0, !27, i64 168, !27, i64 216, !22, i64 264}
!11 = !{!"_ZTSN2vl7parsing11definitions21ParsingDefinitionBaseE", !12, i64 0, !23, i64 120}
!12 = !{!"_ZTSN2vl7parsing21ParsingTreeCustomBaseE", !13, i64 0, !14, i64 8, !15, i64 16, !18, i64 72}
!13 = !{!"_ZTSN2vl6ObjectE"}
!14 = !{!"_ZTSN2vl10reflection11DescriptionINS_7parsing21ParsingTreeCustomBaseEEE"}
!15 = !{!"_ZTSN2vl7parsing16ParsingTextRangeE", !16, i64 0, !16, i64 24, !17, i64 48}
!16 = !{!"_ZTSN2vl7parsing14ParsingTextPosE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN2vl11collections4ListINS_12ObjectStringIwEES3_EE", !19, i64 0}
!19 = !{!"_ZTSN2vl11collections8ListBaseINS_12ObjectStringIwEES3_EE", !20, i64 0, !17, i64 24, !22, i64 32}
!20 = !{!"_ZTSN2vl11collections9ArrayBaseINS_12ObjectStringIwEEEE", !21, i64 0, !6, i64 8, !17, i64 16}
!21 = !{!"_ZTSN2vl11collections9ListStoreINS_12ObjectStringIwEELb0EEE", !13, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEPS5_EE", !24, i64 0}
!24 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEPS5_EE", !25, i64 0, !17, i64 24, !22, i64 32}
!25 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEEE", !26, i64 0, !6, i64 8, !17, i64 16}
!26 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEELb0EEE", !13, i64 0}
!27 = !{!"_ZTSN2vl12ObjectStringIwEE", !13, i64 0, !6, i64 8, !6, i64 16, !17, i64 24, !17, i64 32, !17, i64 40}


; 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::parsing::definitions::ParsingDefinitionTokenDefinitionWriter" = type { %"class.vl::Object", %"class.vl::Ptr.320", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.320" = type { ptr, ptr, ptr, ptr }

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing11definitions23ParsingDefinitionWriter8TokenAttERKNS_12ObjectStringIwEES6_(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionTokenDefinitionWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::Ptr.320", align 8
  %6 = alloca %"class.vl::Ptr.320", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %7 = tail call noalias noundef nonnull dereferenceable(344) ptr @_Znwm(i64 noundef 344) #7
  invoke void @_ZN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(265) %7)
          to label %8 unwind label %25

8:                                                ; preds = %4
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7)
  %9 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %10 = getelementptr inbounds i8, ptr %9, i64 168
  %11 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %12 unwind label %27

12:                                               ; preds = %8
  %13 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %14 = getelementptr inbounds i8, ptr %13, i64 216
  %15 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %16 unwind label %27

16:                                               ; preds = %12
  %17 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %18 = getelementptr inbounds i8, ptr %17, i64 264
  store i8 0, ptr %18, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
  %21 = getelementptr inbounds i8, ptr %20, i64 168
  %22 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %21, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %23 unwind label %27

23:                                               ; preds = %16
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN2vl7parsing11definitions38ParsingDefinitionTokenDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_32ParsingDefinitionTokenDefinitionEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %6)
          to label %24 unwind label %29

24:                                               ; preds = %23
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  ret void

25:                                               ; preds = %4
  %26 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 344) #8
  br label %32

27:                                               ; preds = %16, %12, %8
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %31

29:                                               ; preds = %23
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %31

31:                                               ; preds = %29, %27
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %32

32:                                               ; preds = %31, %25
  %.pn.pn = phi { ptr, i32 } [ %.pn, %31 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(265)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionTokenDefinitionEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #3 align 2

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

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

attributes #0 = { nobuiltin 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { inlinehint 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 }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !21, i64 264}
!6 = !{!"_ZTSN2vl7parsing11definitions32ParsingDefinitionTokenDefinitionE", !7, i64 0, !26, i64 168, !26, i64 216, !21, i64 264}
!7 = !{!"_ZTSN2vl7parsing11definitions21ParsingDefinitionBaseE", !8, i64 0, !22, i64 120}
!8 = !{!"_ZTSN2vl7parsing21ParsingTreeCustomBaseE", !9, i64 0, !10, i64 8, !11, i64 16, !16, i64 72}
!9 = !{!"_ZTSN2vl6ObjectE"}
!10 = !{!"_ZTSN2vl10reflection11DescriptionINS_7parsing21ParsingTreeCustomBaseEEE"}
!11 = !{!"_ZTSN2vl7parsing16ParsingTextRangeE", !12, i64 0, !12, i64 24, !13, i64 48}
!12 = !{!"_ZTSN2vl7parsing14ParsingTextPosE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"_ZTSN2vl11collections4ListINS_12ObjectStringIwEES3_EE", !17, i64 0}
!17 = !{!"_ZTSN2vl11collections8ListBaseINS_12ObjectStringIwEES3_EE", !18, i64 0, !13, i64 24, !21, i64 32}
!18 = !{!"_ZTSN2vl11collections9ArrayBaseINS_12ObjectStringIwEEEE", !19, i64 0, !20, i64 8, !13, i64 16}
!19 = !{!"_ZTSN2vl11collections9ListStoreINS_12ObjectStringIwEELb0EEE", !9, i64 0}
!20 = !{!"any pointer", !14, i64 0}
!21 = !{!"bool", !14, i64 0}
!22 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEPS5_EE", !23, i64 0}
!23 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEPS5_EE", !24, i64 0, !13, i64 24, !21, i64 32}
!24 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEEE", !25, i64 0, !20, i64 8, !13, i64 16}
!25 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEELb0EEE", !9, i64 0}
!26 = !{!"_ZTSN2vl12ObjectStringIwEE", !9, i64 0, !20, i64 8, !20, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}


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