; 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.46" = type { ptr, ptr, ptr, ptr }
%"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::Object" = type { ptr }
%"class.vl::Ptr.141" = 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 }
%"class.vl::Ptr.137" = type { ptr, ptr, ptr, ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }

@.str.99 = external hidden unnamed_addr constant [81 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 nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef nonnull align 8 dereferenceable(33) %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.vl::parsing::tabling::ParsingTreeBuilder", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.vl::Ptr.46", align 8
  %13 = alloca %"class.vl::Ptr.141", align 8
  %14 = alloca %"class.vl::Ptr.137", align 8
  %15 = alloca %"class.vl::ObjectString", align 8
  %16 = alloca i1, align 1
  %17 = alloca i32, align 4
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 296, ptr %9) #5
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %9)
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = invoke noundef zeroext i1 @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS1_26ParsingTransitionProcessorERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(256) %19, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(33) %20)
          to label %22 unwind label %37

22:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  invoke void @_ZNK2vl7parsing7tabling18ParsingTreeBuilder7GetNodeEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.141") align 8 %13, ptr noundef nonnull align 8 dereferenceable(296) %9)
          to label %23 unwind label %41

23:                                               ; preds = %22
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2INS1_17ParsingTreeObjectEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %24 unwind label %45

24:                                               ; preds = %23
  call void @_ZN2vl3PtrINS_7parsing17ParsingTreeObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  %25 = invoke noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %26 unwind label %50

26:                                               ; preds = %24
  br i1 %25, label %76, label %27

27:                                               ; preds = %26
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  %29 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 208) #6
          to label %30 unwind label %54

30:                                               ; preds = %27
  store i1 true, ptr %16, align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef @.str.99, i1 noundef zeroext true)
          to label %31 unwind label %58

31:                                               ; preds = %30
  invoke void @_ZN2vl7parsing12ParsingErrorC1ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(136) %29, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %32 unwind label %62

32:                                               ; preds = %31
  store i1 false, ptr %16, align 1
  invoke void @_ZN2vl3PtrINS_7parsing12ParsingErrorEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %29)
          to label %33 unwind label %62

33:                                               ; preds = %32
  %34 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing12ParsingErrorEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %28, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %35 unwind label %66

35:                                               ; preds = %33
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef null)
          to label %36 unwind label %50

36:                                               ; preds = %35
  store i32 1, ptr %17, align 4
  br label %78

37:                                               ; preds = %4
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %10, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %11, align 4
  br label %81

41:                                               ; preds = %22
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %10, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %11, align 4
  br label %49

45:                                               ; preds = %23
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %10, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing17ParsingTreeObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %49

49:                                               ; preds = %45, %41
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %80

50:                                               ; preds = %76, %35, %24
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  br label %79

54:                                               ; preds = %27
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %10, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %11, align 4
  br label %75

58:                                               ; preds = %30
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %10, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %11, align 4
  br label %71

62:                                               ; preds = %32, %31
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %10, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %11, align 4
  br label %70

66:                                               ; preds = %33
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %10, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %70

70:                                               ; preds = %66, %62
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  br label %71

71:                                               ; preds = %70, %58
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #5
  %72 = load i1, ptr %16, align 1
  br i1 %72, label %73, label %74

73:                                               ; preds = %71
  call void @_ZdlPvm(ptr noundef %29, i64 noundef 208) #7
  br label %74

74:                                               ; preds = %73, %71
  br label %75

75:                                               ; preds = %74, %54
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  br label %79

76:                                               ; preds = %26
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %77 unwind label %50

77:                                               ; preds = %76
  store i32 1, ptr %17, align 4
  br label %78

78:                                               ; preds = %77, %36
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #5
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr noundef nonnull align 8 dereferenceable(296) %9) #5
  call void @llvm.lifetime.end.p0(i64 296, ptr %9) #5
  ret void

79:                                               ; preds = %75, %50
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  br label %80

80:                                               ; preds = %79, %49
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #5
  br label %81

81:                                               ; preds = %80, %37
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr noundef nonnull align 8 dereferenceable(296) %9) #5
  call void @llvm.lifetime.end.p0(i64 296, ptr %9) #5
  br label %82

82:                                               ; preds = %81
  %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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS1_26ParsingTransitionProcessorERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl7parsing7tabling18ParsingTreeBuilder7GetNodeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.141") align 8, ptr noundef nonnull align 8 dereferenceable(296)) #2 align 2

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

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

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

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

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

declare void @_ZN2vl7parsing7tabling18ParsingTreeBuilderC1Ev(ptr)

declare void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr)

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { nounwind }
attributes #6 = { builtin allocsize(0) }
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"}


; 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.46" = type { ptr, ptr, ptr, ptr }
%"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::Object" = type { ptr }
%"class.vl::Ptr.141" = 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 }
%"class.vl::Ptr.137" = type { ptr, ptr, ptr, ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }

@.str.99 = external hidden unnamed_addr constant [81 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 nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef nonnull align 8 dereferenceable(33) %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::parsing::tabling::ParsingTreeBuilder", align 8
  %6 = alloca %"class.vl::Ptr.46", align 8
  %7 = alloca %"class.vl::Ptr.141", align 8
  %8 = alloca %"class.vl::Ptr.137", align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 296, ptr nonnull %5) #5
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderC1Ev(ptr noundef nonnull align 8 dereferenceable(296) %5)
  %10 = invoke noundef zeroext i1 @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS1_26ParsingTransitionProcessorERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(33) %3)
          to label %11 unwind label %23

11:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  invoke void @_ZNK2vl7parsing7tabling18ParsingTreeBuilder7GetNodeEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.141") align 8 %7, ptr noundef nonnull align 8 dereferenceable(296) %5)
          to label %12 unwind label %25

12:                                               ; preds = %11
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2INS1_17ParsingTreeObjectEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
  call void @_ZN2vl3PtrINS_7parsing17ParsingTreeObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  %13 = call noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  br i1 %13, label %37, label %14

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  %15 = invoke noalias noundef nonnull dereferenceable(208) ptr @_Znwm(i64 noundef 208) #6
          to label %16 unwind label %29

16:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull @.str.99, i1 noundef zeroext true)
          to label %17 unwind label %.thread

17:                                               ; preds = %16
  invoke void @_ZN2vl7parsing12ParsingErrorC1ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(136) %15, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %19 unwind label %.thread28

.thread28:                                        ; preds = %17
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %35

19:                                               ; preds = %17
  invoke void @_ZN2vl3PtrINS_7parsing12ParsingErrorEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %15)
          to label %20 unwind label %33

20:                                               ; preds = %19
  %21 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing12ParsingErrorEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %22 unwind label %.thread25

22:                                               ; preds = %20
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef null)
          to label %38 unwind label %27

23:                                               ; preds = %4
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %41

25:                                               ; preds = %11
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  br label %40

27:                                               ; preds = %22
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %39

29:                                               ; preds = %14
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %36

.thread:                                          ; preds = %16
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %35

.thread25:                                        ; preds = %20
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %36

33:                                               ; preds = %19
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %36

35:                                               ; preds = %.thread28, %.thread
  %.pn.pn24 = phi { ptr, i32 } [ %31, %.thread ], [ %18, %.thread28 ]
  call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 208) #7
  br label %36

36:                                               ; preds = %33, %.thread25, %35, %29
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn24, %35 ], [ %34, %33 ], [ %30, %29 ], [ %32, %.thread25 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %39

37:                                               ; preds = %12
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %6)
  br label %38

38:                                               ; preds = %22, %37
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr noundef nonnull align 8 dereferenceable(296) %5) #5
  call void @llvm.lifetime.end.p0(i64 296, ptr nonnull %5) #5
  ret void

39:                                               ; preds = %36, %27
  %.pn18 = phi { ptr, i32 } [ %28, %27 ], [ %.pn.pn.pn, %36 ]
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %40

40:                                               ; preds = %39, %25
  %.pn18.pn = phi { ptr, i32 } [ %.pn18, %39 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  br label %41

41:                                               ; preds = %40, %23
  %.pn18.pn.pn = phi { ptr, i32 } [ %.pn18.pn, %40 ], [ %24, %23 ]
  call void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr noundef nonnull align 8 dereferenceable(296) %5) #5
  call void @llvm.lifetime.end.p0(i64 296, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn18.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS1_26ParsingTransitionProcessorERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl7parsing7tabling18ParsingTreeBuilder7GetNodeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.141") align 8, ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #2 align 2

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

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

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

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

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

declare void @_ZN2vl7parsing7tabling18ParsingTreeBuilderC1Ev(ptr) local_unnamed_addr

declare void @_ZN2vl7parsing7tabling18ParsingTreeBuilderD1Ev(ptr) local_unnamed_addr

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { nounwind }
attributes #6 = { builtin allocsize(0) }
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)"}


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