; 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::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::Interface" = type { ptr }
%"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 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 @_ZN2vl7parsing9analyzing20ParsingSymbolManager7AddEnumERKNS_12ObjectStringIwEEPNS1_13ParsingSymbolE(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i1, align 1
  %13 = alloca %"class.vl::Ptr.223", align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %22

18:                                               ; preds = %3
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = call noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %19)
  %21 = icmp eq i32 %20, 2
  br i1 %21, label %22, label %62

22:                                               ; preds = %18, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %23 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 304) #6
  store i1 true, ptr %12, align 1
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %25 unwind label %41

25:                                               ; preds = %22
  invoke void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr noundef nonnull align 8 dereferenceable(304) %23, ptr noundef %15, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef null, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %26 unwind label %45

26:                                               ; preds = %25
  store i1 false, ptr %12, align 1
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  store ptr %23, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %27)
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %32

30:                                               ; preds = %26
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  br label %35

32:                                               ; preds = %26
  %33 = getelementptr inbounds %"class.vl::parsing::analyzing::ParsingSymbolManager", ptr %15, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %32, %30
  %36 = phi ptr [ %31, %30 ], [ %34, %32 ]
  %37 = invoke noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632) %15, ptr noundef %13, ptr noundef %36)
          to label %38 unwind label %53

38:                                               ; preds = %35
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br i1 %37, label %39, label %57

39:                                               ; preds = %38
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %40, ptr %4, align 8
  store i32 1, ptr %14, align 4
  br label %58

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 = %25
  %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 @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  br label %49

49:                                               ; preds = %45, %41
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  %50 = load i1, ptr %12, align 1
  br i1 %50, label %51, label %52

51:                                               ; preds = %49
  call void @_ZdlPvm(ptr noundef %23, i64 noundef 304) #7
  br label %52

52:                                               ; preds = %51, %49
  br label %61

53:                                               ; preds = %35
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %10, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %61

57:                                               ; preds = %38
  store i32 0, ptr %14, align 4
  br label %58

58:                                               ; preds = %57, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %59 = load i32, ptr %14, align 4
  switch i32 %59, label %70 [
    i32 0, label %60
    i32 1, label %63
  ]

60:                                               ; preds = %58
  br label %62

61:                                               ; preds = %53, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %65

62:                                               ; preds = %60, %18
  store ptr null, ptr %4, align 8
  br label %63

63:                                               ; preds = %62, %58
  %64 = load ptr, ptr %4, align 8
  ret ptr %64

65:                                               ; preds = %61
  %66 = load ptr, ptr %10, align 8
  %67 = load i32, ptr %11, align 4
  %68 = insertvalue { ptr, i32 } poison, ptr %66, 0
  %69 = insertvalue { ptr, i32 } %68, i32 %67, 1
  resume { ptr, i32 } %69

70:                                               ; preds = %58
  unreachable
}

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 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 @_ZN2vl7parsing9analyzing20ParsingSymbolManager7AddEnumERKNS_12ObjectStringIwEEPNS1_13ParsingSymbolE(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::Ptr.223", align 8
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %9, label %6

6:                                                ; preds = %3
  %7 = tail call noundef i32 @_ZN2vl7parsing9analyzing13ParsingSymbol7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(304) %2)
  %8 = icmp eq i32 %7, 2
  br i1 %8, label %9, label %26

9:                                                ; preds = %6, %3
  %10 = tail call noalias noundef nonnull dereferenceable(304) ptr @_Znwm(i64 noundef 304) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %11 unwind label %18

11:                                               ; preds = %9
  invoke void @_ZN2vl7parsing9analyzing13ParsingSymbolC1EPNS1_20ParsingSymbolManagerENS2_10SymbolTypeERKNS_12ObjectStringIwEEPS2_S9_(ptr noundef nonnull align 8 dereferenceable(304) %10, ptr noundef nonnull %0, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef null, ptr noundef nonnull align 8 dereferenceable(48) %4)
          to label %12 unwind label %20

12:                                               ; preds = %11
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %10)
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load ptr, ptr %13, align 8
  %15 = select i1 %.not, ptr %14, ptr %2
  %16 = invoke noundef zeroext i1 @_ZN2vl7parsing9analyzing20ParsingSymbolManager15TryAddSubSymbolENS_3PtrINS1_13ParsingSymbolEEEPS4_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull %5, ptr noundef %15)
          to label %17 unwind label %23

17:                                               ; preds = %12
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br i1 %16, label %27, label %26

18:                                               ; preds = %9
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %22

20:                                               ; preds = %11
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  br label %22

22:                                               ; preds = %20, %18
  %.pn = phi { ptr, i32 } [ %21, %20 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZdlPvm(ptr noundef nonnull %10, i64 noundef 304) #7
  br label %25

23:                                               ; preds = %12
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing9analyzing13ParsingSymbolEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %25

25:                                               ; preds = %22, %23
  %.pn20 = phi { ptr, i32 } [ %24, %23 ], [ %.pn, %22 ]
  resume { ptr, i32 } %.pn20

26:                                               ; preds = %17, %6
  br label %27

27:                                               ; preds = %17, %26
  %.116 = phi ptr [ %10, %17 ], [ null, %26 ]
  ret ptr %.116
}

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 = { 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)"}


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