; 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::ParsingDefinitionGrammarWriter" = type { %"class.vl::Object", %"class.vl::Ptr.337" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.337" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.588" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionCreateGrammar" = type { %"class.vl::parsing::definitions::ParsingDefinitionGrammar.base", %"class.vl::Ptr.337", %"class.vl::Ptr.280", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::definitions::ParsingDefinitionGrammar.base" = type { %"class.vl::parsing::ParsingTreeCustomBase.base" }
%"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::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }

; 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 nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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)) #4 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)) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl7parsing11definitions30ParsingDefinitionGrammarWriter2AsERKNS1_27ParsingDefinitionTypeWriterE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionGrammarWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(40) %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::Ptr.588", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.vl::Ptr.280", align 8
  %11 = alloca %"class.vl::Ptr.337", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  %13 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 256) #7
  invoke void @_ZN2vl7parsing11definitions30ParsingDefinitionCreateGrammarC1Ev(ptr noundef nonnull align 8 dereferenceable(184) %13)
          to label %14 unwind label %30

14:                                               ; preds = %3
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef %13)
  %15 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionGrammarWriter", ptr %12, i32 0, i32 1
  %16 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %17 unwind label %34

17:                                               ; preds = %14
  %18 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionCreateGrammar", ptr %16, i32 0, i32 1
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %20 unwind label %34

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

22:                                               ; preds = %20
  %23 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %24 unwind label %42

24:                                               ; preds = %22
  %25 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionCreateGrammar", ptr %23, i32 0, i32 2
  %26 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %27 unwind label %42

27:                                               ; preds = %24
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  invoke void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEEC2INS2_30ParsingDefinitionCreateGrammarEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %28 unwind label %34

28:                                               ; preds = %27
  invoke void @_ZN2vl7parsing11definitions30ParsingDefinitionGrammarWriterC1ENS_3PtrINS1_24ParsingDefinitionGrammarEEE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %11)
          to label %29 unwind label %47

29:                                               ; preds = %28
  call void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  ret void

30:                                               ; preds = %3
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %8, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %13, i64 noundef 256) #8
  br label %52

34:                                               ; preds = %27, %17, %14
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %8, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %9, align 4
  br label %51

38:                                               ; preds = %20
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %8, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %9, align 4
  br label %46

42:                                               ; preds = %24, %22
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %8, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %9, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %46

46:                                               ; preds = %42, %38
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  br label %51

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

51:                                               ; preds = %47, %46, %34
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %52

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

53:                                               ; preds = %52
  %54 = load ptr, ptr %8, align 8
  %55 = load i32, ptr %9, 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 @_ZN2vl7parsing11definitions30ParsingDefinitionCreateGrammarC1Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #5 align 2

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

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

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

declare void @_ZN2vl7parsing11definitions30ParsingDefinitionGrammarWriterC1ENS_3PtrINS1_24ParsingDefinitionGrammarEEE(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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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::ParsingDefinitionGrammarWriter" = type { %"class.vl::Object", %"class.vl::Ptr.337" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.337" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.588" = 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 nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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 #4 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 #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl7parsing11definitions30ParsingDefinitionGrammarWriter2AsERKNS1_27ParsingDefinitionTypeWriterE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::definitions::ParsingDefinitionGrammarWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(40) %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::Ptr.588", align 8
  %5 = alloca %"class.vl::Ptr.280", align 8
  %6 = alloca %"class.vl::Ptr.337", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %7 = tail call noalias noundef nonnull dereferenceable(256) ptr @_Znwm(i64 noundef 256) #7
  invoke void @_ZN2vl7parsing11definitions30ParsingDefinitionCreateGrammarC1Ev(ptr noundef nonnull align 8 dereferenceable(184) %7)
          to label %8 unwind label %21

8:                                                ; preds = %3
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %7)
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %11 = getelementptr inbounds i8, ptr %10, i64 120
  %12 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %13 unwind label %23

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

14:                                               ; preds = %13
  %15 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %16 = getelementptr inbounds i8, ptr %15, i64 152
  %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) %5)
          to label %18 unwind label %27

18:                                               ; preds = %14
  call void @_ZN2vl3PtrINS_7parsing11definitions21ParsingDefinitionTypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  invoke void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEEC2INS2_30ParsingDefinitionCreateGrammarEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %19 unwind label %23

19:                                               ; preds = %18
  invoke void @_ZN2vl7parsing11definitions30ParsingDefinitionGrammarWriterC1ENS_3PtrINS1_24ParsingDefinitionGrammarEEE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull %6)
          to label %20 unwind label %30

20:                                               ; preds = %19
  call void @_ZN2vl3PtrINS_7parsing11definitions24ParsingDefinitionGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  ret void

21:                                               ; preds = %3
  %22 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 256) #8
  br label %33

23:                                               ; preds = %18, %8
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %32

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

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

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

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

32:                                               ; preds = %30, %29, %23
  %.pn7 = phi { ptr, i32 } [ %31, %30 ], [ %24, %23 ], [ %.pn, %29 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions30ParsingDefinitionCreateGrammarEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %33

33:                                               ; preds = %32, %21
  %.pn7.pn = phi { ptr, i32 } [ %.pn7, %32 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn7.pn
}

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

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

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

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

declare void @_ZN2vl7parsing11definitions30ParsingDefinitionGrammarWriterC1ENS_3PtrINS1_24ParsingDefinitionGrammarEEE(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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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