; 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::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::Object" = type { ptr }
%"class.vl::Ptr.574" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.385" = 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::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::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::parsing::definitions::ParsingDefinitionTypeDefinition.base" = type { %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString" }
%"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" }

@_ZTVN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterE = external dso_local unnamed_addr constant { [5 x ptr] }, align 8

; 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 void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEED2Ev(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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl7parsing11definitions37ParsingDefinitionTypeDefinitionWriterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2vl7parsing11definitions32ParsingDefinitionClassDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(376)) unnamed_addr #6 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterC2ERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterE(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(40) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.vl::Ptr.280", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8
  call void @_ZN2vl7parsing11definitions37ParsingDefinitionTypeDefinitionWriterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  store ptr getelementptr inbounds inrange(-16, 24) ({ [5 x ptr] }, ptr @_ZTVN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterE, i32 0, i32 0, i32 2), ptr %10, align 8, !tbaa !9
  %11 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 1
  invoke void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %12 unwind label %40

12:                                               ; preds = %3
  %13 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 2
  invoke void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %14 unwind label %44

14:                                               ; preds = %12
  %15 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 448) #8
          to label %16 unwind label %48

16:                                               ; preds = %14
  invoke void @_ZN2vl7parsing11definitions32ParsingDefinitionClassDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(376) %15)
          to label %17 unwind label %52

17:                                               ; preds = %16
  %18 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 2
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEaSEPS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %15)
          to label %20 unwind label %48

20:                                               ; preds = %17
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 2
  %23 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %24 unwind label %48

24:                                               ; preds = %20
  %25 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition", ptr %23, i32 0, i32 1
  %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) %21)
          to label %27 unwind label %48

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #7
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK2vl7parsing11definitions27ParsingDefinitionTypeWriter4TypeEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.280") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %28)
          to label %29 unwind label %56

29:                                               ; preds = %27
  %30 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 2
  %31 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %32 unwind label %60

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

35:                                               ; preds = %32
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  %36 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 2
  %37 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionClassDefinitionWriter", ptr %10, i32 0, i32 1
  %38 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEaSINS2_32ParsingDefinitionClassDefinitionEEERS4_RKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %39 unwind label %48

39:                                               ; preds = %35
  ret void

40:                                               ; preds = %3
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %7, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %8, align 4
  br label %67

44:                                               ; preds = %12
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %7, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %8, align 4
  br label %66

48:                                               ; preds = %35, %24, %20, %17, %14
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  br label %65

52:                                               ; preds = %16
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %15, i64 noundef 448) #9
  br label %65

56:                                               ; preds = %27
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  br label %64

60:                                               ; preds = %32, %29
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %64

64:                                               ; preds = %60, %56
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  br label %65

65:                                               ; preds = %64, %52, %48
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %66

66:                                               ; preds = %65, %44
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %67

67:                                               ; preds = %66, %40
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br label %68

68:                                               ; preds = %67
  %69 = load ptr, ptr %7, align 8
  %70 = load i32, ptr %8, align 4
  %71 = insertvalue { ptr, i32 } poison, ptr %69, 0
  %72 = insertvalue { ptr, i32 } %71, i32 %70, 1
  resume { ptr, i32 } %72
}

; 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 nounwind uwtable
declare dso_local void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 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 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { 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, !10, i64 0}
!10 = !{!"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::Ptr.280" = type { ptr, ptr, ptr, ptr }

@_ZTVN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterE = external dso_local unnamed_addr constant { [5 x ptr] }, align 8

; 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 void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEED2Ev(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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl7parsing11definitions37ParsingDefinitionTypeDefinitionWriterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2vl7parsing11definitions32ParsingDefinitionClassDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(376)) unnamed_addr #6 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterC2ERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterE(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(40) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::Ptr.280", align 8
  tail call void @_ZN2vl7parsing11definitions37ParsingDefinitionTypeDefinitionWriterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVN2vl7parsing11definitions38ParsingDefinitionClassDefinitionWriterE, i64 16), ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %7 = invoke noalias noundef nonnull dereferenceable(448) ptr @_Znwm(i64 noundef 448) #8
          to label %8 unwind label %23

8:                                                ; preds = %3
  invoke void @_ZN2vl7parsing11definitions32ParsingDefinitionClassDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(376) %7)
          to label %9 unwind label %25

9:                                                ; preds = %8
  %10 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEaSEPS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %7)
          to label %11 unwind label %23

11:                                               ; preds = %9
  %12 = tail call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %13 = getelementptr inbounds i8, ptr %12, i64 168
  %14 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %15 unwind label %23

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

16:                                               ; preds = %15
  %17 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %18 = getelementptr inbounds i8, ptr %17, i64 248
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %20 unwind label %29

20:                                               ; preds = %16
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  %21 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEEaSINS2_32ParsingDefinitionClassDefinitionEEERS4_RKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %22 unwind label %23

22:                                               ; preds = %20
  ret void

23:                                               ; preds = %20, %11, %9, %3
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %32

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

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

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

31:                                               ; preds = %29, %27
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  br label %32

32:                                               ; preds = %31, %25, %23
  %.pn7 = phi { ptr, i32 } [ %24, %23 ], [ %.pn, %31 ], [ %26, %25 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions32ParsingDefinitionClassDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionBaseEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  resume { ptr, i32 } %.pn7
}

; 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 nounwind uwtable
declare dso_local void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 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 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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