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

; 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::collections::Array" = type { %"class.vl::collections::ArrayBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::filesystem::FilePath" = type { %"class.vl::Object", %"class.vl::ObjectString" }

@_ZTIi = external constant ptr

; 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 noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

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

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl10filesystem8FilePath10InitializeEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.vl::collections::Array", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #4
  %9 = getelementptr inbounds %"class.vl::filesystem::FilePath", ptr %8, i32 0, i32 1
  %10 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %9)
  %11 = add nsw i64 %10, 1
  call void @_ZN2vl11collections5ArrayIwwEC1El(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %11)
  %12 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0)
          to label %13 unwind label %24

13:                                               ; preds = %1
  %14 = getelementptr inbounds %"class.vl::filesystem::FilePath", ptr %8, i32 0, i32 1
  %15 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %16 unwind label %24

16:                                               ; preds = %13
  %17 = call ptr @wcscpy(ptr noundef %12, ptr noundef %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %18

18:                                               ; preds = %49, %16
  %19 = load i64, ptr %6, align 8, !tbaa !9
  %20 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseIwE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %21 unwind label %28

21:                                               ; preds = %18
  %22 = icmp slt i64 %19, %20
  br i1 %22, label %32, label %23

23:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %52

24:                                               ; preds = %58, %13, %1
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %4, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %5, align 4
  br label %69

28:                                               ; preds = %44, %38, %32, %18
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %4, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %69

32:                                               ; preds = %21
  %33 = load i64, ptr %6, align 8, !tbaa !9
  %34 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %33)
          to label %35 unwind label %28

35:                                               ; preds = %32
  %36 = load i32, ptr %34, align 4, !tbaa !11
  %37 = icmp eq i32 %36, 92
  br i1 %37, label %44, label %38

38:                                               ; preds = %35
  %39 = load i64, ptr %6, align 8, !tbaa !9
  %40 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %39)
          to label %41 unwind label %28

41:                                               ; preds = %38
  %42 = load i32, ptr %40, align 4, !tbaa !11
  %43 = icmp eq i32 %42, 47
  br i1 %43, label %44, label %48

44:                                               ; preds = %41, %35
  %45 = load i64, ptr %6, align 8, !tbaa !9
  %46 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %45)
          to label %47 unwind label %28

47:                                               ; preds = %44
  store i32 47, ptr %46, align 4, !tbaa !11
  br label %48

48:                                               ; preds = %47, %41
  br label %49

49:                                               ; preds = %48
  %50 = load i64, ptr %6, align 8, !tbaa !9
  %51 = add nsw i64 %50, 1
  store i64 %51, ptr %6, align 8, !tbaa !9
  br label %18, !llvm.loop !13

52:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #4
  %53 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0)
          to label %54 unwind label %60

54:                                               ; preds = %52
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef %53, i1 noundef zeroext true)
          to label %55 unwind label %60

55:                                               ; preds = %54
  %56 = getelementptr inbounds %"class.vl::filesystem::FilePath", ptr %8, i32 0, i32 1
  %57 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %58 unwind label %64

58:                                               ; preds = %55
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #4
  %59 = call ptr @__cxa_allocate_exception(i64 4) #4
  store i32 0, ptr %59, align 16, !tbaa !15
  invoke void @__cxa_throw(ptr %59, ptr @_ZTIi, ptr null) #5
          to label %75 unwind label %24

60:                                               ; preds = %54, %52
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %4, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %5, align 4
  br label %68

64:                                               ; preds = %55
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %4, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %5, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #4
  br label %68

68:                                               ; preds = %64, %60
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #4
  br label %69

69:                                               ; preds = %68, %28, %24
  call void @_ZN2vl11collections5ArrayIwwED1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #4
  br label %70

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

75:                                               ; preds = %58
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5ArrayIwwEC1El(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: nounwind
declare ptr @wcscpy(ptr noundef, ptr noundef) #3

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl11collections5ArrayIwwED1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { 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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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 = !{!"wchar_t", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, 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::collections::Array" = type { %"class.vl::collections::ArrayBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }

@_ZTIi = external constant ptr

; 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 noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2 align 2

; Function Attrs: mustprogress noreturn uwtable
define dso_local void @_ZN2vl10filesystem8FilePath10InitializeEv(ptr noundef nonnull align 8 dereferenceable(56) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.vl::collections::Array", align 8
  %3 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = tail call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %4)
  %6 = add nsw i64 %5, 1
  call void @_ZN2vl11collections5ArrayIwwEC1El(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %6)
  %7 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0)
          to label %8 unwind label %15

8:                                                ; preds = %1
  %9 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %4)
          to label %10 unwind label %15

10:                                               ; preds = %8
  %11 = call ptr @wcscpy(ptr noundef nonnull %7, ptr noundef %9) #5
  %12 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIwE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %13 = icmp sgt i64 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %31, %10
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  %14 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0)
          to label %35 unwind label %39

15:                                               ; preds = %36, %8, %1
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %41

17:                                               ; preds = %28, %23, %.lr.ph
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %41

.lr.ph:                                           ; preds = %10, %31
  %.010 = phi i64 [ %32, %31 ], [ 0, %10 ]
  %19 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.010)
          to label %20 unwind label %17

20:                                               ; preds = %.lr.ph
  %21 = load i32, ptr %19, align 4, !tbaa !5
  %22 = icmp eq i32 %21, 92
  br i1 %22, label %28, label %23

23:                                               ; preds = %20
  %24 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.010)
          to label %25 unwind label %17

25:                                               ; preds = %23
  %26 = load i32, ptr %24, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 47
  br i1 %27, label %28, label %31

28:                                               ; preds = %25, %20
  %29 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2vl11collections5ArrayIwwEixEl(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.010)
          to label %30 unwind label %17

30:                                               ; preds = %28
  store i32 47, ptr %29, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %25, %30
  %32 = add nuw nsw i64 %.010, 1
  %33 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIwE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %34 = icmp slt i64 %32, %33
  br i1 %34, label %.lr.ph, label %._crit_edge, !llvm.loop !9

35:                                               ; preds = %._crit_edge
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull %14, i1 noundef zeroext true)
          to label %36 unwind label %39

36:                                               ; preds = %35
  %37 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) %3)
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  %38 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %38, align 16, !tbaa !11
  invoke void @__cxa_throw(ptr nonnull %38, ptr nonnull @_ZTIi, ptr null) #6
          to label %42 unwind label %15

39:                                               ; preds = %35, %._crit_edge
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  br label %41

41:                                               ; preds = %39, %17, %15
  %.pn = phi { ptr, i32 } [ %18, %17 ], [ %16, %15 ], [ %40, %39 ]
  call void @_ZN2vl11collections5ArrayIwwED1Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn

42:                                               ; preds = %36
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5ArrayIwwEC1El(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: nounwind
declare ptr @wcscpy(ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl11collections5ArrayIwwED1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { 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 noreturn 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 "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 = { noreturn }

!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 = !{!"wchar_t", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass