; 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::collections::EnumerableForEachIterator.322" = type { %"class.vl::collections::ForEachIterator.323", %"class.vl::Ptr.324" }
%"class.vl::collections::ForEachIterator.323" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.324" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.461" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.325" = 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::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.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" }
%"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 noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing9analyzing20CreateRuleEpsilonPDAENS_3PtrINS1_9AutomatonEEENS2_INS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing16CreateEpsilonPDAENS_3PtrINS0_11definitions17ParsingDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.461") align 8 %0, ptr noundef %1, ptr noundef %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"class.vl::collections::EnumerableForEachIterator.322", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.vl::Ptr.325", align 8
  %15 = alloca %"class.vl::Ptr.461", align 8
  %16 = alloca %"class.vl::Ptr.325", 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
  store i1 false, ptr %7, align 1
  %17 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 224) #6
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing9AutomatonC1EPNS1_20ParsingSymbolManagerE(ptr noundef nonnull align 8 dereferenceable(224) %17, ptr noundef %18)
          to label %19 unwind label %35

19:                                               ; preds = %3
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  store i8 1, ptr %10, align 1, !tbaa !9
  %20 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %21 = trunc i8 %20 to i1
  br i1 %21, label %22, label %81

22:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #7
  %23 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %24 unwind label %39

24:                                               ; preds = %22
  %25 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinition", ptr %23, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = getelementptr i8, ptr %26, i64 -24
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %25, i64 %28
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %30 unwind label %39

30:                                               ; preds = %24
  store ptr %12, ptr %11, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %78, %30
  %32 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %33 = trunc i8 %32 to i1
  br i1 %33, label %43, label %34

34:                                               ; preds = %31
  store i32 2, ptr %13, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %80

35:                                               ; preds = %3
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %17, i64 noundef 224) #8
  br label %85

39:                                               ; preds = %24, %22
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  br label %79

43:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %44 unwind label %53

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %65, %44
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = getelementptr inbounds ptr, ptr %47, i64 2
  %49 = load ptr, ptr %48, align 8
  %50 = invoke noundef zeroext i1 %49(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %51 unwind label %57

51:                                               ; preds = %45
  br i1 %50, label %61, label %52

52:                                               ; preds = %51
  store i32 5, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  br label %77

53:                                               ; preds = %43
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %8, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %9, align 4
  br label %76

57:                                               ; preds = %61, %45
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %8, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %9, align 4
  br label %75

61:                                               ; preds = %51
  invoke void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %62 unwind label %57

62:                                               ; preds = %61
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %63 unwind label %66

63:                                               ; preds = %62
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing20CreateRuleEpsilonPDAENS_3PtrINS1_9AutomatonEEENS2_INS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr noundef %15, ptr noundef %16, ptr noundef %64)
          to label %65 unwind label %70

65:                                               ; preds = %63
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %45, !llvm.loop !15

66:                                               ; preds = %62
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  br label %74

70:                                               ; preds = %63
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %74

74:                                               ; preds = %70, %66
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %75

75:                                               ; preds = %74, %57
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %76

76:                                               ; preds = %75, %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #7
  br label %79

77:                                               ; preds = %52
  br label %78

78:                                               ; preds = %77
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %31, !llvm.loop !17

79:                                               ; preds = %76, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  br label %85

80:                                               ; preds = %34
  br label %81

81:                                               ; preds = %80, %19
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  store i1 true, ptr %7, align 1
  store i32 1, ptr %13, align 4
  %82 = load i1, ptr %7, align 1
  br i1 %82, label %84, label %83

83:                                               ; preds = %81
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  br label %84

84:                                               ; preds = %83, %81
  ret void

85:                                               ; preds = %79, %35
  %86 = load ptr, ptr %8, align 8
  %87 = load i32, ptr %9, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

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

declare void @_ZN2vl7parsing9analyzing9AutomatonC1EPNS1_20ParsingSymbolManagerE(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 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 = { builtin allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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::collections::EnumerableForEachIterator.322" = type { %"class.vl::collections::ForEachIterator.323", %"class.vl::Ptr.324" }
%"class.vl::collections::ForEachIterator.323" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.324" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.461" = type { ptr, ptr, ptr, 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 nounwind uwtable
declare dso_local noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing9analyzing20CreateRuleEpsilonPDAENS_3PtrINS1_9AutomatonEEENS2_INS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing16CreateEpsilonPDAENS_3PtrINS0_11definitions17ParsingDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.461") align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::collections::EnumerableForEachIterator.322", align 8
  %5 = alloca %"class.vl::Ptr.325", align 8
  %6 = alloca %"class.vl::Ptr.461", align 8
  %7 = alloca %"class.vl::Ptr.325", align 8
  %8 = tail call noalias noundef nonnull dereferenceable(224) ptr @_Znwm(i64 noundef 224) #6
  invoke void @_ZN2vl7parsing9analyzing9AutomatonC1EPNS1_20ParsingSymbolManagerE(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %2)
          to label %9 unwind label %16

9:                                                ; preds = %3
  tail call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #7
  %10 = tail call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %11 = getelementptr inbounds i8, ptr %10, i64 216
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr %11, i64 %14
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8 %4, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %20 unwind label %18

16:                                               ; preds = %3
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %8, i64 noundef 224) #8
  br label %36

18:                                               ; preds = %9
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %35

20:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5)
  br label %21

21:                                               ; preds = %31, %20
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %24 = load ptr, ptr %23, align 8
  %25 = invoke noundef zeroext i1 %24(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %26 unwind label %27

26:                                               ; preds = %21
  br i1 %25, label %29, label %.critedge

.critedge:                                        ; preds = %26
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #7
  ret void

27:                                               ; preds = %29, %21
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %34

29:                                               ; preds = %26
  invoke void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %30 unwind label %27

30:                                               ; preds = %29
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN2vl7parsing9analyzing20CreateRuleEpsilonPDAENS_3PtrINS1_9AutomatonEEENS2_INS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerE(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %2)
          to label %31 unwind label %32

31:                                               ; preds = %30
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %21, !llvm.loop !8

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

34:                                               ; preds = %32, %27
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %28, %27 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #7
  br label %35

35:                                               ; preds = %34, %18
  %.pn.pn = phi { ptr, i32 } [ %.pn, %34 ], [ %19, %18 ]
  call void @_ZN2vl3PtrINS_7parsing9analyzing9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  br label %36

36:                                               ; preds = %35, %16
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %35 ], [ %17, %16 ]
  resume { ptr, i32 } %.pn.pn.pn
}

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

declare void @_ZN2vl7parsing9analyzing9AutomatonC1EPNS1_20ParsingSymbolManagerE(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 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 = { builtin allocsize(0) }
attributes #7 = { nounwind }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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