; 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.477" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.616" = type { %"class.vl::collections::ForEachIterator.617", %"class.vl::Ptr.618" }
%"class.vl::collections::ForEachIterator.617" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.618" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.482" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingTable::AttributeInfoList" = type { %"class.vl::Object", %"class.vl::collections::List.483" }
%"class.vl::collections::List.483" = type { %"class.vl::collections::ListBase.base.489", %"class.vl::collections::IEnumerable.487" }
%"class.vl::collections::ListBase.base.489" = type <{ %"class.vl::collections::ArrayBase.base.488", i64, i8 }>
%"class.vl::collections::ArrayBase.base.488" = type { %"class.vl::collections::ListStore.486", ptr, i64 }
%"class.vl::collections::ListStore.486" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.487" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::parsing::tabling::ParsingTable::AttributeInfo" = type { %"class.vl::Object", %"class.vl::ObjectString", %"class.vl::collections::List" }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, 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" }

@.str.273 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.284 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.285 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.305 = external hidden unnamed_addr constant [3 x i32], align 4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling16LogAttributeListENS_3PtrINS1_12ParsingTableEEElRKNS_12ObjectStringIwEERNS_6stream10TextWriterE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.vl::Ptr.477", align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"class.vl::collections::EnumerableForEachIterator.616", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.vl::Ptr.482", align 8
  %17 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %18 = load i64, ptr %6, align 8, !tbaa !9
  %19 = icmp ne i64 %18, -1
  br i1 %19, label %20, label %132

20:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  %21 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %22 = load i64, ptr %6, align 8, !tbaa !9
  call void @_ZN2vl7parsing7tabling12ParsingTable16GetAttributeInfoEl(ptr dead_on_unwind writable sret(%"class.vl::Ptr.477") align 8 %9, ptr noundef nonnull align 8 dereferenceable(656) %21, i64 noundef %22)
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  store i8 1, ptr %10, align 1, !tbaa !11
  %23 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %24 = trunc i8 %23 to i1
  br i1 %24, label %25, label %131

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #4
  %26 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %27 unwind label %38

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfoList", ptr %26, i32 0, i32 1
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr %28, i64 %31
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.616") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %33 unwind label %38

33:                                               ; preds = %27
  store ptr %12, ptr %11, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %128, %33
  %35 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %36 = trunc i8 %35 to i1
  br i1 %36, label %42, label %37

37:                                               ; preds = %34
  store i32 2, ptr %15, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %130

38:                                               ; preds = %27, %25
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %13, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %14, align 4
  br label %129

42:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #4
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %43 unwind label %52

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %124, %43
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = load ptr, ptr %45, align 8, !tbaa !15
  %47 = getelementptr inbounds ptr, ptr %46, i64 2
  %48 = load ptr, ptr %47, align 8
  %49 = invoke noundef zeroext i1 %48(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %50 unwind label %56

50:                                               ; preds = %44
  br i1 %49, label %60, label %51

51:                                               ; preds = %50
  store i32 5, ptr %15, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #4
  br label %127

52:                                               ; preds = %42
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %13, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %14, align 4
  br label %126

56:                                               ; preds = %119, %79, %74, %71, %66, %60, %44
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %13, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %14, align 4
  br label %125

60:                                               ; preds = %50
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load ptr, ptr %61, align 8, !tbaa !15
  %64 = getelementptr inbounds ptr, ptr %63, i64 5
  %65 = load ptr, ptr %64, align 8
  invoke void %65(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(48) %62)
          to label %66 unwind label %56

66:                                               ; preds = %60
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8, !tbaa !15
  %69 = getelementptr inbounds ptr, ptr %68, i64 4
  %70 = load ptr, ptr %69, align 8
  invoke void %70(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef @.str.273)
          to label %71 unwind label %56

71:                                               ; preds = %66
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %74 unwind label %56

74:                                               ; preds = %71
  %75 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfo", ptr %73, i32 0, i32 1
  %76 = load ptr, ptr %72, align 8, !tbaa !15
  %77 = getelementptr inbounds ptr, ptr %76, i64 5
  %78 = load ptr, ptr %77, align 8
  invoke void %78(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(48) %75)
          to label %79 unwind label %56

79:                                               ; preds = %74
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = load ptr, ptr %80, align 8, !tbaa !15
  %82 = getelementptr inbounds ptr, ptr %81, i64 4
  %83 = load ptr, ptr %82, align 8
  invoke void %83(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @.str.284)
          to label %84 unwind label %56

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %116, %84
  %86 = load i64, ptr %17, align 8, !tbaa !9
  %87 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %88 unwind label %94

88:                                               ; preds = %85
  %89 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfo", ptr %87, i32 0, i32 2
  %90 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %89)
          to label %91 unwind label %94

91:                                               ; preds = %88
  %92 = icmp slt i64 %86, %90
  br i1 %92, label %98, label %93

93:                                               ; preds = %91
  store i32 7, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %119

94:                                               ; preds = %113, %109, %107, %101, %88, %85
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %13, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %125

98:                                               ; preds = %91
  %99 = load i64, ptr %17, align 8, !tbaa !9
  %100 = icmp sgt i64 %99, 0
  br i1 %100, label %101, label %107

101:                                              ; preds = %98
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = load ptr, ptr %102, align 8, !tbaa !15
  %104 = getelementptr inbounds ptr, ptr %103, i64 4
  %105 = load ptr, ptr %104, align 8
  invoke void %105(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef @.str.305)
          to label %106 unwind label %94

106:                                              ; preds = %101
  br label %107

107:                                              ; preds = %106, %98
  %108 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %109 unwind label %94

109:                                              ; preds = %107
  %110 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::AttributeInfo", ptr %108, i32 0, i32 2
  %111 = load i64, ptr %17, align 8, !tbaa !9
  %112 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %110, i64 noundef %111)
          to label %113 unwind label %94

113:                                              ; preds = %109
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing11definitions9LogStringERKNS_12ObjectStringIwEERNS_6stream10TextWriterE(ptr noundef nonnull align 8 dereferenceable(48) %112, ptr noundef nonnull align 8 dereferenceable(8) %114)
          to label %115 unwind label %94

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115
  %117 = load i64, ptr %17, align 8, !tbaa !9
  %118 = add nsw i64 %117, 1
  store i64 %118, ptr %17, align 8, !tbaa !9
  br label %85, !llvm.loop !17

119:                                              ; preds = %93
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = getelementptr inbounds ptr, ptr %121, i64 7
  %123 = load ptr, ptr %122, align 8
  invoke void %123(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef @.str.285)
          to label %124 unwind label %56

124:                                              ; preds = %119
  br label %44, !llvm.loop !19

125:                                              ; preds = %94, %56
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  br label %126

126:                                              ; preds = %125, %52
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #4
  br label %129

127:                                              ; preds = %51
  br label %128

128:                                              ; preds = %127
  store i8 0, ptr %10, align 1, !tbaa !11
  br label %34, !llvm.loop !20

129:                                              ; preds = %126, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  br label %133

130:                                              ; preds = %37
  br label %131

131:                                              ; preds = %130, %20
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  br label %132

132:                                              ; preds = %131, %4
  ret void

133:                                              ; preds = %129
  %134 = load ptr, ptr %13, align 8
  %135 = load i32, ptr %14, align 4
  %136 = insertvalue { ptr, i32 } poison, ptr %134, 0
  %137 = insertvalue { ptr, i32 } %136, i32 %135, 1
  resume { ptr, i32 } %137
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.616") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


; 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.477" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.616" = type { %"class.vl::collections::ForEachIterator.617", %"class.vl::Ptr.618" }
%"class.vl::collections::ForEachIterator.617" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.618" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.482" = type { ptr, ptr, ptr, ptr }

@.str.273 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.284 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.285 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.305 = external hidden unnamed_addr constant [3 x i32], align 4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling16LogAttributeListENS_3PtrINS1_12ParsingTableEEElRKNS_12ObjectStringIwEERNS_6stream10TextWriterE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::Ptr.477", align 8
  %6 = alloca %"class.vl::collections::EnumerableForEachIterator.616", align 8
  %7 = alloca %"class.vl::Ptr.482", align 8
  %.not = icmp eq i64 %1, -1
  br i1 %.not, label %77, label %8

8:                                                ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  %9 = tail call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @_ZN2vl7parsing7tabling12ParsingTable16GetAttributeInfoEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.477") align 8 %5, ptr noundef nonnull align 8 dereferenceable(656) %9, i64 noundef %1)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  %10 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr %11, i64 %14
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.616") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %18 unwind label %16

16:                                               ; preds = %8
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %76

18:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7)
  br label %19

19:                                               ; preds = %._crit_edge, %18
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %22 = load ptr, ptr %21, align 8
  %23 = invoke noundef zeroext i1 %22(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %24 unwind label %25

24:                                               ; preds = %19
  br i1 %23, label %27, label %.critedge

.critedge:                                        ; preds = %24
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  br label %77

25:                                               ; preds = %._crit_edge, %41, %35, %31, %27, %19
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %75

27:                                               ; preds = %24
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 40
  %30 = load ptr, ptr %29, align 8
  invoke void %30(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %31 unwind label %25

31:                                               ; preds = %27
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 32
  %34 = load ptr, ptr %33, align 8
  invoke void %34(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.273)
          to label %35 unwind label %25

35:                                               ; preds = %31
  %36 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 40
  %40 = load ptr, ptr %39, align 8
  invoke void %40(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %41 unwind label %25

41:                                               ; preds = %35
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 32
  %44 = load ptr, ptr %43, align 8
  invoke void %44(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.284)
          to label %.preheader unwind label %25

.preheader:                                       ; preds = %41
  %45 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %46 = getelementptr inbounds i8, ptr %45, i64 56
  %47 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %46)
  %48 = icmp sgt i64 %47, 0
  br i1 %48, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %49 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %50 = getelementptr inbounds i8, ptr %49, i64 56
  %51 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %50, i64 noundef 0)
          to label %52 unwind label %.loopexit.split-lp

52:                                               ; preds = %.lr.ph.preheader
  invoke void @_ZN2vl7parsing11definitions9LogStringERKNS_12ObjectStringIwEERNS_6stream10TextWriterE(ptr noundef nonnull align 8 dereferenceable(48) %51, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %53 unwind label %.loopexit.split-lp

53:                                               ; preds = %52
  %54 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %55 = getelementptr inbounds i8, ptr %54, i64 56
  %56 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %55)
  %57 = icmp sgt i64 %56, 1
  br i1 %57, label %.lr.ph.peel.next, label %._crit_edge

._crit_edge:                                      ; preds = %69, %53, %.preheader
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 56
  %60 = load ptr, ptr %59, align 8
  invoke void %60(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.285)
          to label %19 unwind label %25, !llvm.loop !8

.loopexit:                                        ; preds = %.lr.ph.peel.next, %64, %68
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %75

.loopexit.split-lp:                               ; preds = %.lr.ph.preheader, %52
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %75

.lr.ph.peel.next:                                 ; preds = %53, %69
  %.026 = phi i64 [ %70, %69 ], [ 1, %53 ]
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 32
  %63 = load ptr, ptr %62, align 8
  invoke void %63(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.305)
          to label %64 unwind label %.loopexit

64:                                               ; preds = %.lr.ph.peel.next
  %65 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %66 = getelementptr inbounds i8, ptr %65, i64 56
  %67 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %66, i64 noundef %.026)
          to label %68 unwind label %.loopexit

68:                                               ; preds = %64
  invoke void @_ZN2vl7parsing11definitions9LogStringERKNS_12ObjectStringIwEERNS_6stream10TextWriterE(ptr noundef nonnull align 8 dereferenceable(48) %67, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %69 unwind label %.loopexit

69:                                               ; preds = %68
  %70 = add nuw nsw i64 %.026, 1
  %71 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %72 = getelementptr inbounds i8, ptr %71, i64 56
  %73 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %72)
  %74 = icmp slt i64 %70, %73
  br i1 %74, label %.lr.ph.peel.next, label %._crit_edge, !llvm.loop !10

75:                                               ; preds = %.loopexit, %.loopexit.split-lp, %25
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  br label %76

76:                                               ; preds = %75, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %75 ], [ %17, %16 ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable17AttributeInfoListEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  resume { ptr, i32 } %.pn.pn

77:                                               ; preds = %.critedge, %4
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable13AttributeInfoEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.616") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9, !11}
!11 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass