; LLVM IR from vczh/herodb :: Kernel/Source/Vlpp.ll (ZN2vl7parsing7tabling18ParsingTreeBuilder5ResetEv)

; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = 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::parsing::tabling::ParsingTreeBuilder" = type { %"class.vl::parsing::tabling::ParsingTransitionProcessor", %"class.vl::Ptr.46", %"class.vl::Ptr.141", %"class.vl::collections::List.142", i8, %"class.vl::Ptr.46", %"class.vl::Ptr.46", i64, %"class.vl::collections::List.142", %"class.vl::collections::List.142" }
%"class.vl::parsing::tabling::ParsingTransitionProcessor" = type { %"class.vl::Object" }
%"class.vl::Ptr.141" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::List.142" = type { %"class.vl::collections::ListBase.base.148", %"class.vl::collections::IEnumerable.146" }
%"class.vl::collections::ListBase.base.148" = type <{ %"class.vl::collections::ArrayBase.base.147", i64, i8 }>
%"class.vl::collections::ArrayBase.base.147" = type { %"class.vl::collections::ListStore.145", ptr, i64 }
%"class.vl::collections::ListStore.145" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.146" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling18ParsingTreeBuilder5ResetEv(ptr noundef nonnull align 8 dereferenceable(296) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"struct.vl::parsing::ParsingTextRange", align 8
  %7 = alloca i1, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  %9 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 1
  %10 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef null)
  %11 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 416) #5
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %12 unwind label %30

12:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 56, ptr %6) #6
  invoke void @_ZN2vl7parsing16ParsingTextRangeC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6)
          to label %13 unwind label %34

13:                                               ; preds = %12
  invoke void @_ZN2vl7parsing17ParsingTreeObjectC1ERKNS_12ObjectStringIwEERKNS0_16ParsingTextRangeE(ptr noundef nonnull align 8 dereferenceable(344) %11, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(56) %6)
          to label %14 unwind label %34

14:                                               ; preds = %13
  store i1 false, ptr %7, align 1
  %15 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 2
  %16 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing17ParsingTreeObjectEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %11)
          to label %17 unwind label %34

17:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  %18 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 3
  %19 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %18)
  %20 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 4
  store i8 0, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 5
  %22 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef null)
  %23 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 6
  %24 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef null)
  %25 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 7
  store i64 0, ptr %25, align 8, !tbaa !21
  %26 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 8
  %27 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %26)
  %28 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTreeBuilder", ptr %8, i32 0, i32 9
  %29 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %28)
  ret void

30:                                               ; preds = %1
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %4, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %5, align 4
  br label %38

34:                                               ; preds = %14, %13, %12
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %4, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  br label %38

38:                                               ; preds = %34, %30
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  %39 = load i1, ptr %7, align 1
  br i1 %39, label %40, label %41

40:                                               ; preds = %38
  call void @_ZdlPvm(ptr noundef %11, i64 noundef 416) #7
  br label %41

41:                                               ; preds = %40, %38
  br label %42

42:                                               ; preds = %41
  %43 = load ptr, ptr %4, align 8
  %44 = load i32, ptr %5, align 4
  %45 = insertvalue { ptr, i32 } poison, ptr %43, 0
  %46 = insertvalue { ptr, i32 } %45, i32 %44, 1
  resume { ptr, i32 } %46
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing17ParsingTreeObjectC1ERKNS_12ObjectStringIwEERKNS0_16ParsingTextRangeE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33)) #2 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 = { 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 = { 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 = { 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 #5 = { builtin allocsize(0) }
attributes #6 = { nounwind }
attributes #7 = { 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, !20, i64 120}
!10 = !{!"_ZTSN2vl7parsing7tabling18ParsingTreeBuilderE", !11, i64 0, !13, i64 8, !14, i64 40, !15, i64 72, !20, i64 120, !13, i64 128, !13, i64 160, !19, i64 192, !15, i64 200, !15, i64 248}
!11 = !{!"_ZTSN2vl7parsing7tabling26ParsingTransitionProcessorE", !12, i64 0}
!12 = !{!"_ZTSN2vl6ObjectE"}
!13 = !{!"_ZTSN2vl3PtrINS_7parsing15ParsingTreeNodeEEE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!"_ZTSN2vl3PtrINS_7parsing17ParsingTreeObjectEEE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_EE", !16, i64 0}
!16 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_EE", !17, i64 0, !19, i64 24, !20, i64 32}
!17 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEEE", !18, i64 0, !6, i64 8, !19, i64 16}
!18 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing17ParsingTreeObjectEEELb0EEE", !12, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!10, !19, i64 192}


; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"struct.vl::parsing::ParsingTextRange" = type { %"struct.vl::parsing::ParsingTextPos", %"struct.vl::parsing::ParsingTextPos", i64 }
%"struct.vl::parsing::ParsingTextPos" = type { i64, i64, i64 }

@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling18ParsingTreeBuilder5ResetEv(ptr noundef nonnull align 8 dereferenceable(296) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.vl::ObjectString", align 8
  %3 = alloca %"struct.vl::parsing::ParsingTextRange", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef null)
  %6 = tail call noalias noundef nonnull dereferenceable(416) ptr @_Znwm(i64 noundef 416) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %7 unwind label %.thread

7:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  invoke void @_ZN2vl7parsing16ParsingTextRangeC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3)
          to label %8 unwind label %.thread10

8:                                                ; preds = %7
  invoke void @_ZN2vl7parsing17ParsingTreeObjectC1ERKNS_12ObjectStringIwEERKNS0_16ParsingTextRangeE(ptr noundef nonnull align 8 dereferenceable(344) %6, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(56) %3)
          to label %9 unwind label %.thread10

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing17ParsingTreeObjectEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %6)
          to label %12 unwind label %26

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 72
  %14 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 120
  store i8 0, ptr %15, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 128
  %17 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef null)
  %18 = getelementptr inbounds i8, ptr %0, i64 160
  %19 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEaSEPS2_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef null)
  %20 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 0, ptr %20, align 8, !tbaa !20
  %21 = getelementptr inbounds i8, ptr %0, i64 200
  %22 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %21)
  %23 = getelementptr inbounds i8, ptr %0, i64 248
  %24 = call noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %23)
  ret void

.thread:                                          ; preds = %1
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %27

.thread10:                                        ; preds = %8, %7
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %27

26:                                               ; preds = %9
  %lpad.thr_comm.split-lp = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %28

27:                                               ; preds = %.thread10, %.thread
  %.pn9 = phi { ptr, i32 } [ %25, %.thread ], [ %lpad.thr_comm, %.thread10 ]
  call void @_ZdlPvm(ptr noundef nonnull %6, i64 noundef 416) #7
  br label %28

28:                                               ; preds = %26, %27
  %.pn8 = phi { ptr, i32 } [ %lpad.thr_comm.split-lp, %26 ], [ %.pn9, %27 ]
  resume { ptr, i32 } %.pn8
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing17ParsingTreeObjectC1ERKNS_12ObjectStringIwEERKNS0_16ParsingTextRangeE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 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 = { 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 = { 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 = { 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 #5 = { builtin allocsize(0) }
attributes #6 = { nounwind }
attributes #7 = { 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, !19, i64 120}
!6 = !{!"_ZTSN2vl7parsing7tabling18ParsingTreeBuilderE", !7, i64 0, !9, i64 8, !13, i64 40, !14, i64 72, !19, i64 120, !9, i64 128, !9, i64 160, !18, i64 192, !14, i64 200, !14, i64 248}
!7 = !{!"_ZTSN2vl7parsing7tabling26ParsingTransitionProcessorE", !8, i64 0}
!8 = !{!"_ZTSN2vl6ObjectE"}
!9 = !{!"_ZTSN2vl3PtrINS_7parsing15ParsingTreeNodeEEE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN2vl3PtrINS_7parsing17ParsingTreeObjectEEE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!14 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEPS4_EE", !16, i64 0, !18, i64 24, !19, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing17ParsingTreeObjectEEEEE", !17, i64 0, !10, i64 8, !18, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing17ParsingTreeObjectEEELb0EEE", !8, i64 0}
!18 = !{!"long", !11, i64 0}
!19 = !{!"bool", !11, i64 0}
!20 = !{!6, !18, i64 192}


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