; 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.478" = type { %"class.vl::collections::ForEachIterator.479", %"class.vl::Ptr.480" }
%"class.vl::collections::ForEachIterator.479" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.480" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.481" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.482" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionAttribute" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::ObjectString", %"class.vl::collections::List", %"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::ObjectString" = type { %"class.vl::Object", ptr, ptr, 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 }
%"class.vl::parsing::tabling::ParsingTable::AttributeInfo" = type { %"class.vl::Object", %"class.vl::ObjectString", %"class.vl::collections::List" }
%"class.vl::parsing::tabling::ParsingTable::AttributeInfoList" = type { %"class.vl::Object", %"class.vl::collections::List.483" }
%"class.vl::collections::List.483" = type { %"class.vl::collections::ListBase.base.489", %"class.vl::collections::IEnumerable.487" }
%"class.vl::collections::ListBase.base.489" = type <{ %"class.vl::collections::ArrayBase.base.488", i64, i8 }>
%"class.vl::collections::ArrayBase.base.488" = type { %"class.vl::collections::ListStore.486", ptr, i64 }
%"class.vl::collections::ListStore.486" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.487" = 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
define dso_local void @_ZN2vl7parsing9analyzing20CollectAttributeInfoENS_3PtrINS0_7tabling12ParsingTable17AttributeInfoListEEERNS_11collections4ListINS2_INS0_11definitions26ParsingDefinitionAttributeEEEPSA_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::collections::EnumerableForEachIterator.478", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.vl::Ptr.481", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.vl::Ptr.482", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  store i8 1, ptr %5, align 1, !tbaa !9
  %13 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %14 = trunc i8 %13 to i1
  br i1 %14, label %15, label %81

15:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #6
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr %16, i64 %19
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.478") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %20)
  store ptr %7, ptr %6, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %79, %15
  %22 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %23 = trunc i8 %22 to i1
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 2, ptr %8, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %80

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  invoke void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %26 unwind label %35

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %62, %26
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = getelementptr inbounds ptr, ptr %29, i64 2
  %31 = load ptr, ptr %30, align 8
  %32 = invoke noundef zeroext i1 %31(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %33 unwind label %39

33:                                               ; preds = %27
  br i1 %32, label %43, label %34

34:                                               ; preds = %33
  store i32 5, ptr %8, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %78

35:                                               ; preds = %25
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %10, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %11, align 4
  br label %77

39:                                               ; preds = %27
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  br label %76

43:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %44 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 104) #7
          to label %45 unwind label %63

45:                                               ; preds = %43
  %46 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %47 unwind label %67

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionAttribute", ptr %46, i32 0, i32 1
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13AttributeInfoC2ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(104) %44, ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %49 unwind label %67

49:                                               ; preds = %47
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %44)
          to label %50 unwind label %63

50:                                               ; preds = %49
  %51 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %52 unwind label %71

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfo", ptr %51, i32 0, i32 2
  %54 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %55 unwind label %71

55:                                               ; preds = %52
  %56 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionAttribute", ptr %54, i32 0, i32 2
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListINS_12ObjectStringIwEES4_EES5_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %53, ptr noundef nonnull align 8 dereferenceable(33) %56, i1 noundef zeroext false)
          to label %57 unwind label %71

57:                                               ; preds = %55
  %58 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %59 unwind label %71

59:                                               ; preds = %57
  %60 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfoList", ptr %58, i32 0, i32 1
  %61 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33) %60, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %62 unwind label %71

62:                                               ; preds = %59
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %27, !llvm.loop !15

63:                                               ; preds = %49, %43
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %75

67:                                               ; preds = %47, %45
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  call void @_ZdlPvm(ptr noundef %44, i64 noundef 104) #8
  br label %75

71:                                               ; preds = %59, %57, %55, %52, %50
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %75

75:                                               ; preds = %71, %67, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %76

76:                                               ; preds = %75, %39
  call void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %77

77:                                               ; preds = %76, %35
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  br label %82

78:                                               ; preds = %34
  br label %79

79:                                               ; preds = %78
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %21, !llvm.loop !17

80:                                               ; preds = %24
  br label %81

81:                                               ; preds = %80, %2
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  ret void

82:                                               ; preds = %77
  %83 = load ptr, ptr %10, align 8
  %84 = load i32, ptr %11, align 4
  %85 = insertvalue { ptr, i32 } poison, ptr %83, 0
  %86 = insertvalue { ptr, i32 } %85, i32 %84, 1
  resume { ptr, i32 } %86
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable13AttributeInfoC2ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections8CopyFromINS0_4ListINS_12ObjectStringIwEES4_EES5_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33), i1 noundef zeroext) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 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 = { 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"}
!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.478" = type { %"class.vl::collections::ForEachIterator.479", %"class.vl::Ptr.480" }
%"class.vl::collections::ForEachIterator.479" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.480" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.481" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.482" = 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
define dso_local void @_ZN2vl7parsing9analyzing20CollectAttributeInfoENS_3PtrINS0_7tabling12ParsingTable17AttributeInfoListEEERNS_11collections4ListINS2_INS0_11definitions26ParsingDefinitionAttributeEEEPSA_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
.critedge:
  %2 = alloca %"class.vl::collections::EnumerableForEachIterator.478", align 8
  %3 = alloca %"class.vl::Ptr.481", align 8
  %4 = alloca %"class.vl::Ptr.482", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #6
  %5 = load ptr, ptr %1, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr %1, i64 %7
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.478") align 8 %2, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3)
  br label %9

9:                                                ; preds = %33, %.critedge
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load ptr, ptr %11, align 8
  %13 = invoke noundef zeroext i1 %12(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %14 unwind label %16

14:                                               ; preds = %9
  br i1 %13, label %18, label %15

15:                                               ; preds = %14
  call void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #6
  ret void

16:                                               ; preds = %9
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %41

18:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %19 = invoke noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #7
          to label %20 unwind label %34

20:                                               ; preds = %18
  %21 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %22 = getelementptr inbounds i8, ptr %21, i64 120
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13AttributeInfoC2ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(104) %19, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %23 unwind label %36

23:                                               ; preds = %20
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %19)
          to label %24 unwind label %34

24:                                               ; preds = %23
  %25 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %26 = getelementptr inbounds i8, ptr %25, i64 56
  %27 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %28 = getelementptr inbounds i8, ptr %27, i64 168
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListINS_12ObjectStringIwEES4_EES5_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %26, ptr noundef nonnull align 8 dereferenceable(33) %28, i1 noundef zeroext false)
          to label %29 unwind label %38

29:                                               ; preds = %24
  %30 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33) %31, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %33 unwind label %38

33:                                               ; preds = %29
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %9, !llvm.loop !8

34:                                               ; preds = %23, %18
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %40

36:                                               ; preds = %20
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 104) #8
  br label %40

38:                                               ; preds = %29, %24
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %40

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

41:                                               ; preds = %40, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %17, %16 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable13AttributeInfoC2ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections8CopyFromINS0_4ListINS_12ObjectStringIwEES4_EES5_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33), i1 noundef zeroext) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions26ParsingDefinitionAttributeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopUnrollPass,SROAPass,SimplifyCFGPass