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

; 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.1123" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::stream::FileStream" = type { %"class.vl::Object", i32, ptr, %"class.vl::stream::IStream" }
%"class.vl::stream::IStream" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }

@.str.586 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.587 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.588 = external hidden unnamed_addr constant [4 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 uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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: mustprogress uwtable
declare dso_local void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString.1123") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl6stream10FileStreamC2ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i32 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.vl::ObjectString.1123", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.vl::ObjectString.1123", align 8
  %14 = alloca %"class.vl::ObjectString", align 8
  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
  store i32 %3, ptr %8, align 4, !tbaa !9
  %15 = load ptr, ptr %5, align 8
  %16 = load ptr, ptr %6, align 8
  call void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %17 = load ptr, ptr %16, align 8
  store ptr %17, ptr %15, align 8, !tbaa !11
  %18 = getelementptr inbounds ptr, ptr %16, i64 1
  %19 = load ptr, ptr %18, align 8
  %20 = load ptr, ptr %15, align 8, !tbaa !11
  %21 = getelementptr i8, ptr %20, i64 -24
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %15, i64 %22
  store ptr %19, ptr %23, align 8, !tbaa !11
  %24 = getelementptr inbounds ptr, ptr %16, i64 2
  %25 = load ptr, ptr %24, align 8
  %26 = load ptr, ptr %15, align 8, !tbaa !11
  %27 = getelementptr i8, ptr %26, i64 -32
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %15, i64 %28
  store ptr %25, ptr %29, align 8, !tbaa !11
  %30 = getelementptr inbounds %"class.vl::stream::FileStream", ptr %15, i32 0, i32 1
  %31 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %31, ptr %30, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr @.str.586, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.vl::stream::FileStream", ptr %15, i32 0, i32 1
  %33 = load i32, ptr %32, align 8, !tbaa !13
  switch i32 %33, label %37 [
    i32 0, label %34
    i32 1, label %35
    i32 2, label %36
  ]

34:                                               ; preds = %4
  store ptr @.str.586, ptr %9, align 8, !tbaa !5
  br label %37

35:                                               ; preds = %4
  store ptr @.str.587, ptr %9, align 8, !tbaa !5
  br label %37

36:                                               ; preds = %4
  store ptr @.str.588, ptr %9, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %36, %35, %34, %4
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #5
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString.1123") align 8 %10, ptr noundef nonnull align 8 dereferenceable(48) %38)
          to label %39 unwind label %50

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef %40, i1 noundef zeroext true)
          to label %41 unwind label %54

41:                                               ; preds = %39
  invoke void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString.1123") align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %42 unwind label %58

42:                                               ; preds = %41
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  %43 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %44 unwind label %63

44:                                               ; preds = %42
  %45 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %46 unwind label %63

46:                                               ; preds = %44
  %47 = invoke noalias ptr @fopen(ptr noundef %43, ptr noundef %45)
          to label %48 unwind label %63

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"class.vl::stream::FileStream", ptr %15, i32 0, i32 2
  store ptr %47, ptr %49, align 8, !tbaa !16
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #5
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void

50:                                               ; preds = %37
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %11, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %12, align 4
  br label %68

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

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

62:                                               ; preds = %58, %54
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  br label %67

63:                                               ; preds = %46, %44, %42
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %11, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %12, align 4
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  br label %67

67:                                               ; preds = %63, %62
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #5
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  br label %68

68:                                               ; preds = %67, %50
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr %11, align 8
  %71 = load i32, ptr %12, align 4
  %72 = insertvalue { ptr, i32 } poison, ptr %70, 0
  %73 = insertvalue { ptr, i32 } %72, i32 %71, 1
  resume { ptr, i32 } %73
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

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

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

!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 = !{!"_ZTSN2vl6stream10FileStream11AccessRightE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSN2vl6stream10FileStreamE", !15, i64 0, !10, i64 8, !6, i64 16}
!15 = !{!"_ZTSN2vl6ObjectE"}
!16 = !{!14, !6, i64 16}


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

@.str.586 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.587 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.588 = external hidden unnamed_addr constant [4 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 uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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: mustprogress uwtable
declare dso_local void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString.1123") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl6stream10FileStreamC2ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nocapture noundef readonly %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i32 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::ObjectString.1123", align 8
  %6 = alloca %"class.vl::ObjectString.1123", align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  tail call void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  %8 = load ptr, ptr %1, align 8
  store ptr %8, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load ptr, ptr %9, align 8
  %11 = getelementptr i8, ptr %8, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr %0, i64 %12
  store ptr %10, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  %15 = load ptr, ptr %14, align 8
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -32
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 %18
  store ptr %15, ptr %19, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %3, ptr %20, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  invoke void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString.1123") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %21 unwind label %30

21:                                               ; preds = %4
  %switch.selectcmp14 = icmp eq i32 %3, 2
  %switch.selectcmp = icmp eq i32 %3, 1
  %switch.select = select i1 %switch.selectcmp, ptr @.str.587, ptr @.str.586
  %switch.select15 = select i1 %switch.selectcmp14, ptr @.str.588, ptr %switch.select
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #5
  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 %switch.select15, i1 noundef zeroext true)
          to label %22 unwind label %32

22:                                               ; preds = %21
  invoke void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString.1123") align 8 %6, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %23 unwind label %34

23:                                               ; preds = %22
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  %24 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %25 unwind label %37

25:                                               ; preds = %23
  %26 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %27 unwind label %37

27:                                               ; preds = %25
  %28 = call noalias ptr @fopen(ptr noundef %24, ptr noundef %26)
  %29 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %28, ptr %29, align 8, !tbaa !14
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  ret void

30:                                               ; preds = %4
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %40

32:                                               ; preds = %21
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %36

34:                                               ; preds = %22
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  br label %36

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

37:                                               ; preds = %25, %23
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  br label %39

39:                                               ; preds = %37, %36
  %.pn11 = phi { ptr, i32 } [ %38, %37 ], [ %.pn, %36 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  br label %40

40:                                               ; preds = %39, %30
  %.pn11.pn = phi { ptr, i32 } [ %.pn11, %39 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  resume { ptr, i32 } %.pn11.pn
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { nofree 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 #5 = { 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 = !{!9, !11, i64 8}
!9 = !{!"_ZTSN2vl6stream10FileStreamE", !10, i64 0, !11, i64 8, !13, i64 16}
!10 = !{!"_ZTSN2vl6ObjectE"}
!11 = !{!"_ZTSN2vl6stream10FileStream11AccessRightE", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"any pointer", !12, i64 0}
!14 = !{!9, !13, i64 16}


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