; 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.671" = type { %"class.vl::collections::ForEachIterator.672", %"class.vl::Ptr.673" }
%"class.vl::collections::ForEachIterator.672" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.673" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::ParsingTreeNode::TraversalVisitor" = type <{ %"class.vl::Object", %"class.vl::parsing::ParsingTreeNode::IVisitor", i32, [4 x i8] }>
%"class.vl::parsing::ParsingTreeNode::IVisitor" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(104) ptr @_ZN2vl7parsing17ParsingTreeObject10GetMembersEv(ptr noundef nonnull align 8 dereferenceable(344)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing15ParsingTreeNode16TraversalVisitor5VisitEPNS0_17ParsingTreeObjectE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %1) unnamed_addr #2 align 2 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.671", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.vl::Ptr.46", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca %"class.vl::collections::EnumerableForEachIterator.671", align 8
  %15 = alloca %"class.vl::Ptr.46", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = load ptr, ptr %16, align 8, !tbaa !9
  %19 = getelementptr inbounds ptr, ptr %18, i64 4
  %20 = load ptr, ptr %19, align 8
  call void %20(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef %17)
  %21 = getelementptr inbounds %"class.vl::parsing::ParsingTreeNode::TraversalVisitor", ptr %16, i32 0, i32 2
  %22 = load i32, ptr %21, align 8, !tbaa !11
  switch i32 %22, label %114 [
    i32 0, label %23
    i32 1, label %68
  ]

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !17
  %24 = load i8, ptr %5, align 1, !tbaa !17, !range !19, !noundef !20
  %25 = trunc i8 %24 to i1
  br i1 %25, label %26, label %67

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #4
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZN2vl7parsing15ParsingTreeNode11GetSubNodesEv(ptr noundef nonnull align 8 dereferenceable(128) %27)
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr %28, i64 %31
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.671") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store ptr %7, ptr %6, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %65, %26
  %34 = load i8, ptr %5, align 1, !tbaa !17, !range !19, !noundef !20
  %35 = trunc i8 %34 to i1
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store i32 3, ptr %8, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %66

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %38 unwind label %47

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %62, %38
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 2
  %43 = load ptr, ptr %42, align 8
  %44 = invoke noundef zeroext i1 %43(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %45 unwind label %51

45:                                               ; preds = %39
  br i1 %44, label %55, label %46

46:                                               ; preds = %45
  store i32 6, ptr %8, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  br label %64

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

51:                                               ; preds = %57, %55, %39
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %63

55:                                               ; preds = %45
  %56 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %57 unwind label %51

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %16, i64 8
  %59 = load ptr, ptr %56, align 8, !tbaa !9
  %60 = getelementptr inbounds ptr, ptr %59, i64 3
  %61 = load ptr, ptr %60, align 8
  invoke void %61(ptr noundef nonnull align 8 dereferenceable(128) %56, ptr noundef %58)
          to label %62 unwind label %51

62:                                               ; preds = %57
  br label %39, !llvm.loop !21

63:                                               ; preds = %51, %47
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  br label %119

64:                                               ; preds = %46
  br label %65

65:                                               ; preds = %64
  store i8 0, ptr %5, align 1, !tbaa !17
  br label %33, !llvm.loop !23

66:                                               ; preds = %36
  br label %67

67:                                               ; preds = %66, %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  br label %114

68:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  store i8 1, ptr %12, align 1, !tbaa !17
  %69 = load i8, ptr %12, align 1, !tbaa !17, !range !19, !noundef !20
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %113

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #4
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZN2vl7parsing17ParsingTreeObject10GetMembersEv(ptr noundef nonnull align 8 dereferenceable(344) %72)
  %74 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %73)
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr i8, ptr %75, i64 -24
  %77 = load i64, ptr %76, align 8
  %78 = getelementptr inbounds i8, ptr %74, i64 %77
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.671") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %78)
  store ptr %14, ptr %13, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %111, %71
  %80 = load i8, ptr %12, align 1, !tbaa !17, !range !19, !noundef !20
  %81 = trunc i8 %80 to i1
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 8, ptr %8, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %112

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %84 unwind label %93

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %108, %84
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds ptr, ptr %87, i64 2
  %89 = load ptr, ptr %88, align 8
  %90 = invoke noundef zeroext i1 %89(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %91 unwind label %97

91:                                               ; preds = %85
  br i1 %90, label %101, label %92

92:                                               ; preds = %91
  store i32 11, ptr %8, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  br label %110

93:                                               ; preds = %83
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %10, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %11, align 4
  br label %109

97:                                               ; preds = %103, %101, %85
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %10, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  br label %109

101:                                              ; preds = %91
  %102 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %103 unwind label %97

103:                                              ; preds = %101
  %104 = getelementptr inbounds i8, ptr %16, i64 8
  %105 = load ptr, ptr %102, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 3
  %107 = load ptr, ptr %106, align 8
  invoke void %107(ptr noundef nonnull align 8 dereferenceable(128) %102, ptr noundef %104)
          to label %108 unwind label %97

108:                                              ; preds = %103
  br label %85, !llvm.loop !24

109:                                              ; preds = %97, %93
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  br label %119

110:                                              ; preds = %92
  br label %111

111:                                              ; preds = %110
  store i8 0, ptr %12, align 1, !tbaa !17
  br label %79, !llvm.loop !25

112:                                              ; preds = %82
  br label %113

113:                                              ; preds = %112, %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  br label %114

114:                                              ; preds = %113, %67, %2
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = load ptr, ptr %16, align 8, !tbaa !9
  %117 = getelementptr inbounds ptr, ptr %116, i64 5
  %118 = load ptr, ptr %117, align 8
  call void %118(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef %115)
  ret void

119:                                              ; preds = %109, %63
  %120 = load ptr, ptr %10, align 8
  %121 = load i32, ptr %11, align 4
  %122 = insertvalue { ptr, i32 } poison, ptr %120, 0
  %123 = insertvalue { ptr, i32 } %122, i32 %121, 1
  resume { ptr, i32 } %123
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZN2vl7parsing15ParsingTreeNode11GetSubNodesEv(ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { nounwind }

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

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


; 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.671" = type { %"class.vl::collections::ForEachIterator.672", %"class.vl::Ptr.673" }
%"class.vl::collections::ForEachIterator.672" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.673" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(104) ptr @_ZN2vl7parsing17ParsingTreeObject10GetMembersEv(ptr noundef nonnull align 8 dereferenceable(344)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing15ParsingTreeNode16TraversalVisitor5VisitEPNS0_17ParsingTreeObjectE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.vl::collections::EnumerableForEachIterator.671", align 8
  %4 = alloca %"class.vl::Ptr.46", align 8
  %5 = alloca %"class.vl::collections::EnumerableForEachIterator.671", align 8
  %6 = alloca %"class.vl::Ptr.46", align 8
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 32
  %9 = load ptr, ptr %8, align 8
  tail call void %9(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %1)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load i32, ptr %10, align 8, !tbaa !8
  switch i32 %11, label %53 [
    i32 0, label %.critedge
    i32 1, label %.critedge17
  ]

.critedge:                                        ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  %12 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZN2vl7parsing15ParsingTreeNode11GetSubNodesEv(ptr noundef nonnull align 8 dereferenceable(128) %1)
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = getelementptr i8, ptr %13, i64 -24
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %12, i64 %15
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.671") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  br label %18

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

23:                                               ; preds = %18
  br i1 %22, label %27, label %24

24:                                               ; preds = %23
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  br label %53

25:                                               ; preds = %27, %18
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  br label %57

27:                                               ; preds = %23
  %28 = call noundef ptr @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 24
  %31 = load ptr, ptr %30, align 8
  invoke void %31(ptr noundef nonnull align 8 dereferenceable(128) %28, ptr noundef nonnull %17)
          to label %18 unwind label %25, !llvm.loop !15

.critedge17:                                      ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
  %32 = tail call noundef nonnull align 8 dereferenceable(104) ptr @_ZN2vl7parsing17ParsingTreeObject10GetMembersEv(ptr noundef nonnull align 8 dereferenceable(344) %1)
  %33 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %32)
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = getelementptr i8, ptr %34, i64 -24
  %36 = load i64, ptr %35, align 8
  %37 = getelementptr inbounds i8, ptr %33, i64 %36
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.671") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %37)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  br label %39

39:                                               ; preds = %48, %.critedge17
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %44 unwind label %46

44:                                               ; preds = %39
  br i1 %43, label %48, label %45

45:                                               ; preds = %44
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  br label %53

46:                                               ; preds = %48, %39
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing15ParsingTreeNodeEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  br label %57

48:                                               ; preds = %44
  %49 = call noundef ptr @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 24
  %52 = load ptr, ptr %51, align 8
  invoke void %52(ptr noundef nonnull align 8 dereferenceable(128) %49, ptr noundef nonnull %38)
          to label %39 unwind label %46, !llvm.loop !17

53:                                               ; preds = %45, %24, %2
  %54 = load ptr, ptr %0, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 40
  %56 = load ptr, ptr %55, align 8
  call void %56(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %1)
  ret void

57:                                               ; preds = %46, %25
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %26, %25 ]
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZN2vl7parsing15ParsingTreeNode11GetSubNodesEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 = !{!9, !13, i64 16}
!9 = !{!"_ZTSN2vl7parsing15ParsingTreeNode16TraversalVisitorE", !10, i64 0, !11, i64 8, !13, i64 16}
!10 = !{!"_ZTSN2vl6ObjectE"}
!11 = !{!"_ZTSN2vl7parsing15ParsingTreeNode8IVisitorE", !12, i64 0}
!12 = !{!"_ZTSN2vl9InterfaceE"}
!13 = !{!"_ZTSN2vl7parsing15ParsingTreeNode16TraversalVisitor17TraverseDirectionE", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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