; 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.472" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingTable::LookAheadInfo" = type { %"class.vl::collections::List.116", i64 }
%"class.vl::collections::List.116" = type { %"class.vl::collections::ListBase.base.122", %"class.vl::collections::IEnumerable.120" }
%"class.vl::collections::ListBase.base.122" = type <{ %"class.vl::collections::ArrayBase.base.121", i64, i8 }>
%"class.vl::collections::ArrayBase.base.121" = type { %"class.vl::collections::ListStore.119", ptr, i64 }
%"class.vl::collections::ListStore.119" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.120" = 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 uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseIlE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl7parsing9analyzing14WalkLookAheadsENS_3PtrINS0_7tabling12ParsingTableEEERNS_11collections4ListINS2_INS4_13LookAheadInfoEEEPS8_EEl(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.vl::Ptr.472", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.vl::Ptr.61", align 8
  %15 = alloca %"class.vl::Ptr.472", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  store i64 %17, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %18

18:                                               ; preds = %51, %3
  %19 = load i64, ptr %9, align 8, !tbaa !9
  %20 = load i64, ptr %8, align 8, !tbaa !9
  %21 = icmp slt i64 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store i32 2, ptr %10, align 4
  br label %64

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = load i64, ptr %9, align 8, !tbaa !9
  %26 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %24, i64 noundef %25)
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %26)
  %27 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %28 unwind label %35

28:                                               ; preds = %23
  %29 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %27, i32 0, i32 0
  %30 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseIlE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %31 unwind label %35

31:                                               ; preds = %28
  %32 = load i64, ptr %7, align 8, !tbaa !9
  %33 = icmp eq i64 %30, %32
  br i1 %33, label %34, label %39

34:                                               ; preds = %31
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %48

35:                                               ; preds = %39, %28, %23
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %12, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %13, align 4
  br label %63

39:                                               ; preds = %31
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %40 unwind label %35

40:                                               ; preds = %39
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %41 unwind label %54

41:                                               ; preds = %40
  %42 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %43 unwind label %58

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %42, i32 0, i32 1
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo4WalkENS_3PtrIS2_EENS4_IS3_EElRNS_11collections4ListIS6_PS3_EE(ptr noundef %14, ptr noundef %15, i64 noundef %45, ptr noundef nonnull align 8 dereferenceable(33) %46)
          to label %47 unwind label %58

47:                                               ; preds = %43
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #3
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #3
  store i32 0, ptr %10, align 4
  br label %48

48:                                               ; preds = %47, %34
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #3
  %49 = load i32, ptr %10, align 4
  switch i32 %49, label %64 [
    i32 0, label %50
  ]

50:                                               ; preds = %48
  br label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %9, align 8, !tbaa !9
  %53 = add nsw i64 %52, 1
  store i64 %53, ptr %9, align 8, !tbaa !9
  br label %18, !llvm.loop !19

54:                                               ; preds = %40
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %12, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %13, align 4
  br label %62

58:                                               ; preds = %43, %41
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %12, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #3
  br label %62

62:                                               ; preds = %58, %54
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #3
  br label %63

63:                                               ; preds = %62, %35
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %69

64:                                               ; preds = %48, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  %65 = load i32, ptr %10, align 4
  switch i32 %65, label %67 [
    i32 2, label %66
  ]

66:                                               ; preds = %64
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %67

67:                                               ; preds = %66, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %68 = load i1, ptr %4, align 1
  ret i1 %68

69:                                               ; preds = %63
  %70 = load ptr, ptr %12, align 8
  %71 = load i32, ptr %13, align 4
  %72 = insertvalue { ptr, i32 } poison, ptr %70, 0
  %73 = insertvalue { ptr, i32 } %72, i32 %71, 1
  resume { ptr, i32 } %73
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo4WalkENS_3PtrIS2_EENS4_IS3_EElRNS_11collections4ListIS6_PS3_EE(ptr noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(33)) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable13LookAheadInfoE", !13, i64 0, !10, i64 48}
!13 = !{!"_ZTSN2vl11collections4ListIllEE", !14, i64 0}
!14 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !15, i64 0, !10, i64 24, !18, i64 32}
!15 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !16, i64 0, !6, i64 8, !10, i64 16}
!16 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !17, i64 0}
!17 = !{!"_ZTSN2vl6ObjectE"}
!18 = !{!"bool", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.472" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.61" = 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 uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseIlE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl7parsing9analyzing14WalkLookAheadsENS_3PtrINS0_7tabling12ParsingTableEEERNS_11collections4ListINS2_INS4_13LookAheadInfoEEEPS8_EEl(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::Ptr.472", align 8
  %5 = alloca %"class.vl::Ptr.61", align 8
  %6 = alloca %"class.vl::Ptr.472", align 8
  %7 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %.not1926 = icmp slt i64 %7, 1
  br i1 %.not1926, label %.critedge21, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
  %8 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef 0)
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %8)
  %9 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %10 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIlE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %.not38 = icmp eq i64 %10, %2
  br i1 %.not38, label %.critedge, label %.lr.ph40

.lr.ph:                                           ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
  %11 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef %21)
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %11)
  %12 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %13 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIlE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  %.not = icmp eq i64 %13, %2
  br i1 %.not, label %.critedge.loopexit, label %.lr.ph40, !llvm.loop !5

14:                                               ; preds = %.lr.ph40
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %24

.lr.ph40:                                         ; preds = %.lr.ph.preheader, %.lr.ph
  %.0152739 = phi i64 [ %21, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %16 unwind label %14

16:                                               ; preds = %.lr.ph40
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %17 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %18 = getelementptr inbounds i8, ptr %17, i64 48
  %19 = load i64, ptr %18, align 8, !tbaa !7
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo4WalkENS_3PtrIS2_EENS4_IS3_EElRNS_11collections4ListIS6_PS3_EE(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef %19, ptr noundef nonnull align 8 dereferenceable(33) %1)
          to label %20 unwind label %22

20:                                               ; preds = %16
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  %21 = add nuw nsw i64 %.0152739, 1
  %exitcond = icmp eq i64 %21, %7
  br i1 %exitcond, label %.critedge21, label %.lr.ph, !llvm.loop !5

22:                                               ; preds = %16
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br label %24

24:                                               ; preds = %22, %14
  %.pn = phi { ptr, i32 } [ %23, %22 ], [ %15, %14 ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn

.critedge.loopexit:                               ; preds = %.lr.ph
  %.not19.le = icmp sge i64 %21, %7
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %.lr.ph.preheader
  %.not1928.lcssa = phi i1 [ false, %.lr.ph.preheader ], [ %.not19.le, %.critedge.loopexit ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  br label %.critedge21

.critedge21:                                      ; preds = %20, %3, %.critedge
  %.not1925 = phi i1 [ %.not1928.lcssa, %.critedge ], [ true, %3 ], [ true, %20 ]
  ret i1 %.not1925
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo4WalkENS_3PtrIS2_EENS4_IS3_EElRNS_11collections4ListIS6_PS3_EE(ptr noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !17, i64 48}
!8 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable13LookAheadInfoE", !9, i64 0, !17, i64 48}
!9 = !{!"_ZTSN2vl11collections4ListIllEE", !10, i64 0}
!10 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !11, i64 0, !17, i64 24, !18, i64 32}
!11 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !12, i64 0, !14, i64 8, !17, i64 16}
!12 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !13, i64 0}
!13 = !{!"_ZTSN2vl6ObjectE"}
!14 = !{!"any pointer", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"long", !15, i64 0}
!18 = !{!"bool", !15, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass