; 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::ParsingDefinitionRuleDefinitionWriter" = type { %"class.vl::Object", %"class.vl::Ptr.325", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.325" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionRuleDefinition" = type { %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString", %"class.vl::Ptr.280", %"class.vl::collections::List.326", %"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::collections::List.326" = type { %"class.vl::collections::ListBase.base.332", %"class.vl::collections::IEnumerable.330" }
%"class.vl::collections::ListBase.base.332" = type <{ %"class.vl::collections::ArrayBase.base.331", i64, i8 }>
%"class.vl::collections::ArrayBase.base.331" = type { %"class.vl::collections::ListStore.329", ptr, i64 }
%"class.vl::collections::ListStore.329" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.330" = type { %"class.vl::Interface" }
%"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_7parsing11definitions31ParsingDefinitionRuleDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), 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 void @_ZN2vl7parsing11definitions23ParsingDefinitionWriter4RuleERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionRuleDefinitionWriter") 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(40) %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.325", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.vl::Ptr.280", align 8
  %13 = alloca %"class.vl::Ptr.325", 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
  %14 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %15 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 368) #7
  invoke void @_ZN2vl7parsing11definitions31ParsingDefinitionRuleDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %15)
          to label %16 unwind label %38

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

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

22:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %23 = load ptr, ptr %8, 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) %23)
          to label %24 unwind label %46

24:                                               ; preds = %22
  %25 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %26 unwind label %50

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

29:                                               ; preds = %26
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  %30 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionWriter", ptr %14, i32 0, i32 1
  %31 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %32 unwind label %42

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

35:                                               ; preds = %32
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %36 unwind label %42

36:                                               ; preds = %35
  invoke void @_ZN2vl7parsing11definitions37ParsingDefinitionRuleDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_31ParsingDefinitionRuleDefinitionEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef %13)
          to label %37 unwind label %55

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

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

42:                                               ; preds = %35, %32, %29, %19, %16
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %10, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %11, align 4
  br label %59

46:                                               ; preds = %22
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %10, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %11, align 4
  br label %54

50:                                               ; preds = %26, %24
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %54

54:                                               ; preds = %50, %46
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %59

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

59:                                               ; preds = %55, %54, %42
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %60

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

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

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

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

declare void @_ZN2vl7parsing11definitions37ParsingDefinitionRuleDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_31ParsingDefinitionRuleDefinitionEEE(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"}


; 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::parsing::definitions::ParsingDefinitionRuleDefinitionWriter" = type { %"class.vl::Object", %"class.vl::Ptr.325", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.325" = 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_7parsing11definitions31ParsingDefinitionRuleDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), 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 void @_ZN2vl7parsing11definitions23ParsingDefinitionWriter4RuleERKNS_12ObjectStringIwEERKNS1_27ParsingDefinitionTypeWriterE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionRuleDefinitionWriter") 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(40) %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::Ptr.325", align 8
  %6 = alloca %"class.vl::Ptr.280", align 8
  %7 = alloca %"class.vl::Ptr.325", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %8 = tail call noalias noundef nonnull dereferenceable(368) ptr @_Znwm(i64 noundef 368) #7
  invoke void @_ZN2vl7parsing11definitions31ParsingDefinitionRuleDefinitionC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %8)
          to label %9 unwind label %25

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

13:                                               ; preds = %9
  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) %3)
          to label %14 unwind label %29

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

18:                                               ; preds = %14
  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
  %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 216
  %22 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEPS5_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 = %18
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN2vl7parsing11definitions37ParsingDefinitionRuleDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_31ParsingDefinitionRuleDefinitionEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %7)
          to label %24 unwind label %34

24:                                               ; preds = %23
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(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 %8, i64 noundef 368) #8
  br label %37

27:                                               ; preds = %18, %9
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %36

29:                                               ; preds = %13
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

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

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

34:                                               ; preds = %23
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %36

36:                                               ; preds = %34, %33, %27
  %.pn8 = phi { ptr, i32 } [ %35, %34 ], [ %28, %27 ], [ %.pn, %33 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %37

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

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

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

declare void @_ZN2vl7parsing11definitions37ParsingDefinitionRuleDefinitionWriterC1ERNS1_23ParsingDefinitionWriterENS_3PtrINS1_31ParsingDefinitionRuleDefinitionEEE(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)"}


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