; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.223" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition" = type { %"class.vl::parsing::definitions::ParsingDefinitionBase.base", %"class.vl::ObjectString", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::definitions::ParsingDefinitionBase.base" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::collections::List.272" }
%"class.vl::parsing::ParsingTreeCustomBase.base" = type { %"class.vl::Object", %"class.vl::reflection::Description.base", %"struct.vl::parsing::ParsingTextRange", %"class.vl::collections::List" }
%"class.vl::reflection::Description.base" = type { ptr }
%"struct.vl::parsing::ParsingTextRange" = type { %"struct.vl::parsing::ParsingTextPos", %"struct.vl::parsing::ParsingTextPos", i64 }
%"struct.vl::parsing::ParsingTextPos" = type { i64, i64, i64 }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base.3", i64, i8 }>
%"class.vl::collections::ArrayBase.base.3" = type { %"class.vl::collections::ListStore.1", ptr, i64 }
%"class.vl::collections::ListStore.1" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.2" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List.272" = type { %"class.vl::collections::ListBase.base.278", %"class.vl::collections::IEnumerable.276" }
%"class.vl::collections::ListBase.base.278" = type <{ %"class.vl::collections::ArrayBase.base.277", i64, i8 }>
%"class.vl::collections::ArrayBase.base.277" = type { %"class.vl::collections::ListStore.275", ptr, i64 }
%"class.vl::collections::ListStore.275" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.276" = type { %"class.vl::Interface" }
%"class.vl::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::analyzing::ParsingSymbolManager" = type { %"class.vl::Object", ptr, ptr, %"class.vl::collections::List.224", %"class.vl::collections::Dictionary.232", %"class.vl::collections::Dictionary.243", %"class.vl::collections::Dictionary.243", %"class.vl::collections::Dictionary.254", %"class.vl::collections::Dictionary.267" }
%"class.vl::collections::List.224" = type { %"class.vl::collections::ListBase.base.230", %"class.vl::collections::IEnumerable.228" }
%"class.vl::collections::ListBase.base.230" = type <{ %"class.vl::collections::ArrayBase.base.229", i64, i8 }>
%"class.vl::collections::ArrayBase.base.229" = type { %"class.vl::collections::ListStore.227", ptr, i64 }
%"class.vl::collections::ListStore.227" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.228" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.232" = type { %"class.vl::Object", %"class.vl::collections::SortedList.233", %"class.vl::collections::List.212", %"class.vl::collections::IEnumerable.241" }
%"class.vl::collections::SortedList.233" = type { %"class.vl::collections::ListBase.base.239", %"class.vl::collections::IEnumerable.237" }
%"class.vl::collections::ListBase.base.239" = type <{ %"class.vl::collections::ArrayBase.base.238", i64, i8 }>
%"class.vl::collections::ArrayBase.base.238" = type { %"class.vl::collections::ListStore.236", ptr, i64 }
%"class.vl::collections::ListStore.236" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.237" = type { %"class.vl::Interface" }
%"class.vl::collections::List.212" = type { %"class.vl::collections::ListBase.base.218", %"class.vl::collections::IEnumerable.216" }
%"class.vl::collections::ListBase.base.218" = type <{ %"class.vl::collections::ArrayBase.base.217", i64, i8 }>
%"class.vl::collections::ArrayBase.base.217" = type { %"class.vl::collections::ListStore.215", ptr, i64 }
%"class.vl::collections::ListStore.215" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.216" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.241" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.243" = type { %"class.vl::Object", %"class.vl::collections::SortedList.244", %"class.vl::collections::List.212", %"class.vl::collections::IEnumerable.252" }
%"class.vl::collections::SortedList.244" = type { %"class.vl::collections::ListBase.base.250", %"class.vl::collections::IEnumerable.248" }
%"class.vl::collections::ListBase.base.250" = type <{ %"class.vl::collections::ArrayBase.base.249", i64, i8 }>
%"class.vl::collections::ArrayBase.base.249" = type { %"class.vl::collections::ListStore.247", ptr, i64 }
%"class.vl::collections::ListStore.247" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.248" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.252" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.254" = type { %"class.vl::Object", %"class.vl::collections::SortedList.255", %"class.vl::collections::List.257", %"class.vl::collections::IEnumerable.265" }
%"class.vl::collections::SortedList.255" = type { %"class.vl::collections::ListBase.base.218", %"class.vl::collections::IEnumerable.216" }
%"class.vl::collections::List.257" = type { %"class.vl::collections::ListBase.base.263", %"class.vl::collections::IEnumerable.261" }
%"class.vl::collections::ListBase.base.263" = type <{ %"class.vl::collections::ArrayBase.base.262", i64, i8 }>
%"class.vl::collections::ArrayBase.base.262" = type { %"class.vl::collections::ListStore.260", ptr, i64 }
%"class.vl::collections::ListStore.260" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.261" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.265" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.267" = type { %"class.vl::Object", %"class.vl::collections::SortedList.268", %"class.vl::collections::List.212", %"class.vl::collections::IEnumerable.270" }
%"class.vl::collections::SortedList.268" = type { %"class.vl::collections::ListBase.base.263", %"class.vl::collections::IEnumerable.261" }
%"class.vl::collections::IEnumerable.270" = type { %"class.vl::Interface" }

@.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 nounwind uwtable
declare dso_local noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632), ptr noundef, ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2vl7parsing9analyzing20ParsingSymbolManager8AddClassEPNS0_11definitions32ParsingDefinitionClassDefinitionEPNS1_13ParsingSymbolES7_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef %1, ptr noundef %2, ptr noundef %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 ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.vl::ObjectString", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i1, align 1
  %15 = alloca %"class.vl::Ptr.223", align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %24

20:                                               ; preds = %4
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %21)
  %23 = icmp eq i32 %22, 2
  br i1 %23, label %24, label %76

24:                                               ; preds = %20, %4
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %30

27:                                               ; preds = %24
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZN2vl7parsing9analyzing13ParsingSymbol6IsTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %28)
  br i1 %29, label %30, label %76

30:                                               ; preds = %27, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 304) #6
  store i1 true, ptr %14, align 1
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinitionTypeDefinition", ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %35 unwind label %55

35:                                               ; preds = %30
  invoke void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr noundef nonnull align 8 dereferenceable(304) %31, ptr noundef %17, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef %34, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %36 unwind label %59

36:                                               ; preds = %35
  store i1 false, ptr %14, align 1
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  store ptr %31, ptr %10, align 8, !tbaa !5
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %37)
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %42

40:                                               ; preds = %36
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  br label %45

42:                                               ; preds = %36
  %43 = getelementptr inbounds %"class.vl::parsing::analyzing::ParsingSymbolManager", ptr %17, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %42, %40
  %46 = phi ptr [ %41, %40 ], [ %44, %42 ]
  %47 = invoke noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632) %17, ptr noundef %15, ptr noundef %46)
          to label %48 unwind label %67

48:                                               ; preds = %45
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br i1 %47, label %49, label %71

49:                                               ; preds = %48
  %50 = getelementptr inbounds %"class.vl::parsing::analyzing::ParsingSymbolManager", ptr %17, i32 0, i32 7
  %51 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing9analyzing13ParsingSymbolEPNS2_11definitions32ParsingDefinitionClassDefinitionES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104) %50, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %52 = getelementptr inbounds %"class.vl::parsing::analyzing::ParsingSymbolManager", ptr %17, i32 0, i32 8
  %53 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEPNS2_9analyzing13ParsingSymbolES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104) %52, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %54, ptr %5, align 8
  store i32 1, ptr %16, align 4
  br label %72

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

59:                                               ; preds = %35
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  br label %63

63:                                               ; preds = %59, %55
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  %64 = load i1, ptr %14, align 1
  br i1 %64, label %65, label %66

65:                                               ; preds = %63
  call void @_ZdlPvm(ptr noundef %31, i64 noundef 304) #7
  br label %66

66:                                               ; preds = %65, %63
  br label %75

67:                                               ; preds = %45
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %75

71:                                               ; preds = %48
  store i32 0, ptr %16, align 4
  br label %72

72:                                               ; preds = %71, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %73 = load i32, ptr %16, align 4
  switch i32 %73, label %84 [
    i32 0, label %74
    i32 1, label %77
  ]

74:                                               ; preds = %72
  br label %76

75:                                               ; preds = %67, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %79

76:                                               ; preds = %74, %27, %20
  store ptr null, ptr %5, align 8
  br label %77

77:                                               ; preds = %76, %72
  %78 = load ptr, ptr %5, align 8
  ret ptr %78

79:                                               ; preds = %75
  %80 = load ptr, ptr %12, align 8
  %81 = load i32, ptr %13, align 4
  %82 = insertvalue { ptr, i32 } poison, ptr %80, 0
  %83 = insertvalue { ptr, i32 } %82, i32 %81, 1
  resume { ptr, i32 } %83

84:                                               ; preds = %72
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing9analyzing13ParsingSymbolEPNS2_11definitions32ParsingDefinitionClassDefinitionES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEPNS2_9analyzing13ParsingSymbolES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

declare void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr, ptr, i32, ptr, ptr, 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"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN2vl7parsing9analyzing20ParsingSymbolManagerE", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !18, i64 72, !27, i64 184, !27, i64 296, !32, i64 408, !38, i64 520}
!11 = !{!"_ZTSN2vl6ObjectE"}
!12 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing9analyzing13ParsingSymbolEEEPS5_EE", !13, i64 0}
!13 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing9analyzing13ParsingSymbolEEEPS5_EE", !14, i64 0, !16, i64 24, !17, i64 32}
!14 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing9analyzing13ParsingSymbolEEEEE", !15, i64 0, !6, i64 8, !16, i64 16}
!15 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing9analyzing13ParsingSymbolEEELb0EEE", !11, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN2vl11collections10DictionaryINS_7parsing9analyzing23DefinitionTypeScopePairEPNS3_13ParsingSymbolES4_S6_EE", !11, i64 0, !19, i64 8, !23, i64 56}
!19 = !{!"_ZTSN2vl11collections10SortedListINS_7parsing9analyzing23DefinitionTypeScopePairES4_EE", !20, i64 0}
!20 = !{!"_ZTSN2vl11collections8ListBaseINS_7parsing9analyzing23DefinitionTypeScopePairES4_EE", !21, i64 0, !16, i64 24, !17, i64 32}
!21 = !{!"_ZTSN2vl11collections9ArrayBaseINS_7parsing9analyzing23DefinitionTypeScopePairEEE", !22, i64 0, !6, i64 8, !16, i64 16}
!22 = !{!"_ZTSN2vl11collections9ListStoreINS_7parsing9analyzing23DefinitionTypeScopePairELb0EEE", !11, i64 0}
!23 = !{!"_ZTSN2vl11collections4ListIPNS_7parsing9analyzing13ParsingSymbolES5_EE", !24, i64 0}
!24 = !{!"_ZTSN2vl11collections8ListBaseIPNS_7parsing9analyzing13ParsingSymbolES5_EE", !25, i64 0, !16, i64 24, !17, i64 32}
!25 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_7parsing9analyzing13ParsingSymbolEEE", !26, i64 0, !6, i64 8, !16, i64 16}
!26 = !{!"_ZTSN2vl11collections9ListStoreIPNS_7parsing9analyzing13ParsingSymbolELb1EEE", !11, i64 0}
!27 = !{!"_ZTSN2vl11collections10DictionaryIPNS_7parsing11definitions24ParsingDefinitionGrammarEPNS2_9analyzing13ParsingSymbolES5_S8_EE", !11, i64 0, !28, i64 8, !23, i64 56}
!28 = !{!"_ZTSN2vl11collections10SortedListIPNS_7parsing11definitions24ParsingDefinitionGrammarES5_EE", !29, i64 0}
!29 = !{!"_ZTSN2vl11collections8ListBaseIPNS_7parsing11definitions24ParsingDefinitionGrammarES5_EE", !30, i64 0, !16, i64 24, !17, i64 32}
!30 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_7parsing11definitions24ParsingDefinitionGrammarEEE", !31, i64 0, !6, i64 8, !16, i64 16}
!31 = !{!"_ZTSN2vl11collections9ListStoreIPNS_7parsing11definitions24ParsingDefinitionGrammarELb1EEE", !11, i64 0}
!32 = !{!"_ZTSN2vl11collections10DictionaryIPNS_7parsing9analyzing13ParsingSymbolEPNS2_11definitions32ParsingDefinitionClassDefinitionES5_S8_EE", !11, i64 0, !33, i64 8, !34, i64 56}
!33 = !{!"_ZTSN2vl11collections10SortedListIPNS_7parsing9analyzing13ParsingSymbolES5_EE", !24, i64 0}
!34 = !{!"_ZTSN2vl11collections4ListIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionES5_EE", !35, i64 0}
!35 = !{!"_ZTSN2vl11collections8ListBaseIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionES5_EE", !36, i64 0, !16, i64 24, !17, i64 32}
!36 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEEE", !37, i64 0, !6, i64 8, !16, i64 16}
!37 = !{!"_ZTSN2vl11collections9ListStoreIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionELb1EEE", !11, i64 0}
!38 = !{!"_ZTSN2vl11collections10DictionaryIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEPNS2_9analyzing13ParsingSymbolES5_S8_EE", !11, i64 0, !39, i64 8, !23, i64 56}
!39 = !{!"_ZTSN2vl11collections10SortedListIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionES5_EE", !35, i64 0}


; 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 }
%"class.vl::Ptr.223" = type { ptr, ptr, ptr, ptr }

@.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 nounwind uwtable
declare dso_local noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2vl7parsing9analyzing20ParsingSymbolManager8AddClassEPNS0_11definitions32ParsingDefinitionClassDefinitionEPNS1_13ParsingSymbolES7_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca %"class.vl::Ptr.223", align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %12, label %9

9:                                                ; preds = %4
  %10 = tail call noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %2)
  %11 = icmp eq i32 %10, 2
  br i1 %11, label %12, label %39

12:                                               ; preds = %9, %4
  %.not20 = icmp eq ptr %3, null
  br i1 %.not20, label %15, label %13

13:                                               ; preds = %12
  %14 = tail call noundef zeroext i1 @_ZN2vl7parsing9analyzing13ParsingSymbol6IsTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %3)
  br i1 %14, label %15, label %39

15:                                               ; preds = %13, %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %16 = tail call noalias noundef nonnull dereferenceable(304) ptr @_Znwm(i64 noundef 304) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %17 unwind label %25

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %1, i64 168
  invoke void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr noundef nonnull align 8 dereferenceable(304) %16, ptr noundef nonnull %0, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %19 unwind label %27

19:                                               ; preds = %17
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %16)
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load ptr, ptr %20, align 8
  %22 = select i1 %.not20, ptr %21, ptr %3
  %23 = invoke noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull %8, ptr noundef %22)
          to label %24 unwind label %30

24:                                               ; preds = %19
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br i1 %23, label %32, label %.thread

.thread:                                          ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %39

25:                                               ; preds = %15
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %29

27:                                               ; preds = %17
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  br label %29

29:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  call void @_ZdlPvm(ptr noundef nonnull %16, i64 noundef 304) #7
  br label %38

30:                                               ; preds = %19
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %38

32:                                               ; preds = %24
  %33 = getelementptr inbounds i8, ptr %0, i64 408
  %34 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing9analyzing13ParsingSymbolEPNS2_11definitions32ParsingDefinitionClassDefinitionES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104) %33, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %35 = getelementptr inbounds i8, ptr %0, i64 520
  %36 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEPNS2_9analyzing13ParsingSymbolES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104) %35, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %39

38:                                               ; preds = %29, %30
  %.pn22 = phi { ptr, i32 } [ %31, %30 ], [ %.pn, %29 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn22

39:                                               ; preds = %9, %13, %.thread, %32
  %.116 = phi ptr [ %37, %32 ], [ null, %.thread ], [ null, %13 ], [ null, %9 ]
  ret ptr %.116
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing9analyzing13ParsingSymbolEPNS2_11definitions32ParsingDefinitionClassDefinitionES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryIPNS_7parsing11definitions32ParsingDefinitionClassDefinitionEPNS2_9analyzing13ParsingSymbolES5_S8_E3AddERKS5_RKS8_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

declare void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr, ptr, i32, ptr, ptr, 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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