; 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::Ptr.280" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.513" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition" = type { %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString", %"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::Object" = type { ptr }
%"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::ParsingDefinitionClassMemberDefinition" = type { %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition.base", %"class.vl::Ptr.280", %"class.vl::ObjectString", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition.base" = type { %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString" }
%"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter" = type { %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinitionWriter", %"class.vl::Ptr.574", %"class.vl::Ptr.385" }
%"class.vl::parsing::definitions::ParsingDefinitionTypeDefinitionWriter" = type { %"class.vl::Object" }
%"class.vl::Ptr.574" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.385" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionClassDefinition" = type { %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition.base", %"class.vl::Ptr.280", %"class.vl::Ptr.280", %"class.vl::collections::List.281", %"class.vl::collections::List.289", %"class.vl::reflection::DescriptableObject" }
%"class.vl::collections::List.281" = type { %"class.vl::collections::ListBase.base.287", %"class.vl::collections::IEnumerable.285" }
%"class.vl::collections::ListBase.base.287" = type <{ %"class.vl::collections::ArrayBase.base.286", i64, i8 }>
%"class.vl::collections::ArrayBase.base.286" = type { %"class.vl::collections::ListStore.284", ptr, i64 }
%"class.vl::collections::ListStore.284" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.285" = type { %"class.vl::Interface" }
%"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" }

; 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_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl7parsing11definitions27ParsingDefinitionTypeWriter4TypeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.280") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriter6MemberERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterES6_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(40) %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.513", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.vl::Ptr.280", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  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 %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 368) #7
  invoke void @_ZN2vl7parsing11definitions38ParsingDefinitionClassMemberDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %14)
          to label %15 unwind label %44

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

18:                                               ; preds = %15
  %19 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition", 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 %48

21:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK2vl7parsing11definitions27ParsingDefinitionTypeWriter4TypeEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.280") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %23 unwind label %52

23:                                               ; preds = %21
  %24 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %25 unwind label %56

25:                                               ; preds = %23
  %26 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassMemberDefinition", ptr %24, i32 0, i32 1
  %27 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %28 unwind label %56

28:                                               ; preds = %25
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %31 unwind label %48

31:                                               ; preds = %28
  %32 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassMemberDefinition", ptr %30, i32 0, i32 2
  %33 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %34 unwind label %48

34:                                               ; preds = %31
  %35 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %13, i32 0, i32 2
  %36 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %37 unwind label %48

37:                                               ; preds = %34
  %38 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinition", ptr %36, i32 0, i32 3
  %39 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %38, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %40 unwind label %48

40:                                               ; preds = %37
  %41 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %13, i32 0, i32 1
  %42 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEaSINS2_38ParsingDefinitionClassMemberDefinitionEEERS4_RKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %43 unwind label %48

43:                                               ; preds = %40
  call void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  ret ptr %13

44:                                               ; preds = %4
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %10, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %11, align 4
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 368) #8
  br label %62

48:                                               ; preds = %40, %37, %34, %31, %28, %18, %15
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %10, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %11, align 4
  br label %61

52:                                               ; preds = %21
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %10, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %11, align 4
  br label %60

56:                                               ; preds = %25, %23
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %10, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %60

60:                                               ; preds = %56, %52
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %61

61:                                               ; preds = %60, %48
  call void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %62

62:                                               ; preds = %61, %44
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %10, align 8
  %65 = load i32, ptr %11, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEC2EPS3_(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_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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


; 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::Ptr.280" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.513" = 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_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl7parsing11definitions27ParsingDefinitionTypeWriter4TypeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.280") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriter6MemberERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterES6_(ptr noundef nonnull returned align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(40) %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.513", align 8
  %6 = alloca %"class.vl::Ptr.280", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %7 = tail call noalias noundef nonnull dereferenceable(368) ptr @_Znwm(i64 noundef 368) #7
  invoke void @_ZN2vl7parsing11definitions38ParsingDefinitionClassMemberDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %7)
          to label %8 unwind label %30

8:                                                ; preds = %4
  call void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7)
  %9 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEptEv(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) %1)
          to label %12 unwind label %32

12:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  invoke void @_ZNK2vl7parsing11definitions27ParsingDefinitionTypeWriter4TypeEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.280") align 8 %6, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %13 unwind label %34

13:                                               ; preds = %12
  %14 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %15 = getelementptr inbounds i8, ptr %14, i64 216
  %16 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %17 unwind label %36

17:                                               ; preds = %13
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  %18 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %19 = getelementptr inbounds i8, ptr %18, i64 248
  %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) %3)
          to label %21 unwind label %32

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %23 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
  %24 = getelementptr inbounds i8, ptr %23, i64 280
  %25 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %24, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %26 unwind label %32

26:                                               ; preds = %21
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  %28 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEaSINS2_38ParsingDefinitionClassMemberDefinitionEEERS4_RKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %29 unwind label %32

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

30:                                               ; preds = %4
  %31 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 368) #8
  br label %40

32:                                               ; preds = %26, %21, %17, %8
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %39

34:                                               ; preds = %12
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %13
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %38

38:                                               ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %39

39:                                               ; preds = %38, %32
  %.pn9 = phi { ptr, i32 } [ %33, %32 ], [ %.pn, %38 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %40

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEC2EPS3_(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_7parsing11definitions38ParsingDefinitionClassMemberDefinitionEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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)"}


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