; LLVM IR from ermig1979/Simd :: src/Test/TestRandom.ll (ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt)

; 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"

%"struct.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt = external hidden unnamed_addr constant [53 x i8], align 1

; 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd4ViewINS_9AllocatorEE4AreaEv(ptr noundef nonnull align 8 dereferenceable(41)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt(ptr noundef nonnull align 8 dereferenceable(41) %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #5 {
  %4 = alloca ptr, align 8
  %5 = alloca i16, align 2
  %6 = alloca i16, align 2
  %7 = alloca i8, align 1
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i16 %1, ptr %5, align 2, !tbaa !9
  store i16 %2, ptr %6, align 2, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.Simd::View", ptr %14, i32 0, i32 3
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = icmp eq i32 %16, 5
  br i1 %17, label %18, label %19

18:                                               ; preds = %3
  br label %21

19:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 348, ptr noundef @__PRETTY_FUNCTION__._ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt) #6
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call noundef i64 @_ZNK4Simd4ViewINS_9AllocatorEE4AreaEv(ptr noundef nonnull align 8 dereferenceable(41) %22)
  %24 = icmp ugt i64 %23, 100000
  %25 = zext i1 %24 to i8
  store i8 %25, ptr %7, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store i64 0, ptr %8, align 8, !tbaa !17
  br label %26

26:                                               ; preds = %92, %21
  %27 = load i64, ptr %8, align 8, !tbaa !17
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.Simd::View", ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !18
  %31 = icmp ult i64 %27, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %26
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %95

33:                                               ; preds = %26
  %34 = load i8, ptr %7, align 1, !tbaa !16, !range !19, !noundef !20
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %63

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !17
  br label %37

37:                                               ; preds = %59, %36
  %38 = load i64, ptr %10, align 8, !tbaa !17
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.Simd::View", ptr %39, i32 0, i32 0
  %41 = load i64, ptr %40, align 8, !tbaa !21
  %42 = icmp ult i64 %38, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %37
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %62

44:                                               ; preds = %37
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = load i64, ptr %8, align 8, !tbaa !17
  %47 = call noundef ptr @_ZN4Simd4ViewINS_9AllocatorEE3RowItEEPT_m(ptr noundef nonnull align 8 dereferenceable(41) %45, i64 noundef %46)
  %48 = load i64, ptr %10, align 8, !tbaa !17
  %49 = getelementptr inbounds i16, ptr %47, i64 %48
  %50 = call noundef ptr @_ZN4Test7Rand16uEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store i64 32767, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.Simd::View", ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !21
  %54 = load i64, ptr %10, align 8, !tbaa !17
  %55 = sub i64 %53, %54
  store i64 %55, ptr %12, align 8, !tbaa !17
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %57 = load i64, ptr %56, align 8, !tbaa !17
  %58 = mul i64 2, %57
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %49, ptr align 2 %50, i64 %58, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %59

59:                                               ; preds = %44
  %60 = load i64, ptr %10, align 8, !tbaa !17
  %61 = add i64 %60, 32767
  store i64 %61, ptr %10, align 8, !tbaa !17
  br label %37, !llvm.loop !22

62:                                               ; preds = %43
  br label %91

63:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 0, ptr %13, align 8, !tbaa !17
  br label %64

64:                                               ; preds = %87, %63
  %65 = load i64, ptr %13, align 8, !tbaa !17
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.Simd::View", ptr %66, i32 0, i32 0
  %68 = load i64, ptr %67, align 8, !tbaa !21
  %69 = icmp ult i64 %65, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %64
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %90

71:                                               ; preds = %64
  %72 = load i16, ptr %5, align 2, !tbaa !9
  %73 = zext i16 %72 to i32
  %74 = load i16, ptr %6, align 2, !tbaa !9
  %75 = zext i16 %74 to i32
  %76 = add nsw i32 1, %75
  %77 = load i16, ptr %5, align 2, !tbaa !9
  %78 = zext i16 %77 to i32
  %79 = sub nsw i32 %76, %78
  %80 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %79)
  %81 = add nsw i32 %73, %80
  %82 = trunc i32 %81 to i16
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = load i64, ptr %13, align 8, !tbaa !17
  %85 = load i64, ptr %8, align 8, !tbaa !17
  %86 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtItEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %83, i64 noundef %84, i64 noundef %85)
  store i16 %82, ptr %86, align 2, !tbaa !9
  br label %87

87:                                               ; preds = %71
  %88 = load i64, ptr %13, align 8, !tbaa !17
  %89 = add i64 %88, 1
  store i64 %89, ptr %13, align 8, !tbaa !17
  br label %64, !llvm.loop !24

90:                                               ; preds = %70
  br label %91

91:                                               ; preds = %90, %62
  br label %92

92:                                               ; preds = %91
  %93 = load i64, ptr %8, align 8, !tbaa !17
  %94 = add i64 %93, 1
  store i64 %94, ptr %8, align 8, !tbaa !17
  br label %26, !llvm.loop !25

95:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Simd4ViewINS_9AllocatorEE3RowItEEPT_m(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Test7Rand16uEv() #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(2) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtItEERT_mm(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { alwaysinline 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 #5 = { 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 #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!"short", !7, i64 0}
!11 = !{!12, !14, i64 24}
!12 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEEE", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !6, i64 32, !15, i64 40}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEE6FormatE", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !13, i64 8}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!12, !13, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}


; 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"

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt = external hidden unnamed_addr constant [53 x i8], align 1

; 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd4ViewINS_9AllocatorEE4AreaEv(ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt(ptr noundef nonnull align 8 dereferenceable(41) %0, i16 noundef zeroext %1, i16 noundef zeroext %2) local_unnamed_addr #5 {
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = icmp eq i32 %7, 5
  br i1 %8, label %10, label %9

9:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 348, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test13FillRandom16uERN4Simd4ViewINS0_9AllocatorEEEtt) #6
  unreachable

10:                                               ; preds = %3
  %11 = tail call noundef i64 @_ZNK4Simd4ViewINS_9AllocatorEE4AreaEv(ptr noundef nonnull align 8 dereferenceable(41) %0)
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load i64, ptr %12, align 8, !tbaa !13
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph31

.lr.ph31:                                         ; preds = %10
  %14 = icmp ugt i64 %11, 100000
  %15 = zext i16 %1 to i32
  %16 = zext i16 %2 to i32
  %reass.sub = sub nsw i32 %16, %15
  %17 = add nsw i32 %reass.sub, 1
  %18 = load i64, ptr %0, align 8, !tbaa !14
  %.not35 = icmp eq i64 %18, 0
  br i1 %14, label %.lr.ph31.split.us, label %.lr.ph31.split

.lr.ph31.split.us:                                ; preds = %.lr.ph31
  br i1 %.not35, label %._crit_edge, label %.preheader.us

.preheader.us:                                    ; preds = %.lr.ph31.split.us, %.loopexit.us
  %19 = phi i64 [ %32, %.loopexit.us ], [ %13, %.lr.ph31.split.us ]
  %20 = phi i64 [ %33, %.loopexit.us ], [ 1, %.lr.ph31.split.us ]
  %.02329.us = phi i64 [ %34, %.loopexit.us ], [ 0, %.lr.ph31.split.us ]
  %.not36 = icmp eq i64 %20, 0
  br i1 %.not36, label %.loopexit.us, label %.lr.ph28.us

.lr.ph28.us:                                      ; preds = %.preheader.us, %.lr.ph28.us
  %.02227.us = phi i64 [ %29, %.lr.ph28.us ], [ 0, %.preheader.us ]
  %21 = call noundef ptr @_ZN4Simd4ViewINS_9AllocatorEE3RowItEEPT_m(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.02329.us)
  %22 = getelementptr inbounds i16, ptr %21, i64 %.02227.us
  %23 = call noundef ptr @_ZN4Test7Rand16uEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store i64 32767, ptr %4, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %24 = load i64, ptr %0, align 8, !tbaa !14
  %25 = sub i64 %24, %.02227.us
  store i64 %25, ptr %5, align 8, !tbaa !15
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %27 = load i64, ptr %26, align 8, !tbaa !15
  %28 = shl i64 %27, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %22, ptr align 2 %23, i64 %28, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %29 = add i64 %.02227.us, 32767
  %30 = load i64, ptr %0, align 8, !tbaa !14
  %31 = icmp ult i64 %29, %30
  br i1 %31, label %.lr.ph28.us, label %.loopexit.us.loopexit, !llvm.loop !16

.loopexit.us.loopexit:                            ; preds = %.lr.ph28.us
  %.pre40 = load i64, ptr %12, align 8, !tbaa !13
  br label %.loopexit.us

.loopexit.us:                                     ; preds = %.loopexit.us.loopexit, %.preheader.us
  %32 = phi i64 [ %.pre40, %.loopexit.us.loopexit ], [ %19, %.preheader.us ]
  %33 = phi i64 [ %30, %.loopexit.us.loopexit ], [ 0, %.preheader.us ]
  %34 = add nuw i64 %.02329.us, 1
  %35 = icmp ult i64 %34, %32
  br i1 %35, label %.preheader.us, label %._crit_edge, !llvm.loop !18

.lr.ph31.split:                                   ; preds = %.lr.ph31
  br i1 %.not35, label %._crit_edge, label %.preheader24

._crit_edge:                                      ; preds = %.loopexit25, %.loopexit.us, %.lr.ph31.split, %.lr.ph31.split.us, %10
  ret void

.preheader24:                                     ; preds = %.lr.ph31.split, %.loopexit25
  %36 = phi i64 [ %45, %.loopexit25 ], [ %13, %.lr.ph31.split ]
  %37 = phi i64 [ %46, %.loopexit25 ], [ 1, %.lr.ph31.split ]
  %.02329 = phi i64 [ %47, %.loopexit25 ], [ 0, %.lr.ph31.split ]
  %.not34 = icmp eq i64 %37, 0
  br i1 %.not34, label %.loopexit25, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader24, %.lr.ph
  %.026 = phi i64 [ %42, %.lr.ph ], [ 0, %.preheader24 ]
  %38 = tail call noundef i32 @_ZN4Test6RandomEi(i32 noundef %17)
  %39 = trunc i32 %38 to i16
  %40 = add i16 %39, %1
  %41 = tail call noundef nonnull align 2 dereferenceable(2) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtItEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.026, i64 noundef %.02329)
  store i16 %40, ptr %41, align 2, !tbaa !20
  %42 = add nuw i64 %.026, 1
  %43 = load i64, ptr %0, align 8, !tbaa !14
  %44 = icmp ult i64 %42, %43
  br i1 %44, label %.lr.ph, label %.loopexit25.loopexit, !llvm.loop !22

.loopexit25.loopexit:                             ; preds = %.lr.ph
  %.pre = load i64, ptr %12, align 8, !tbaa !13
  br label %.loopexit25

.loopexit25:                                      ; preds = %.loopexit25.loopexit, %.preheader24
  %45 = phi i64 [ %.pre, %.loopexit25.loopexit ], [ %36, %.preheader24 ]
  %46 = phi i64 [ %43, %.loopexit25.loopexit ], [ 0, %.preheader24 ]
  %47 = add nuw i64 %.02329, 1
  %48 = icmp ult i64 %47, %45
  br i1 %48, label %.preheader24, label %._crit_edge, !llvm.loop !23
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Simd4ViewINS_9AllocatorEE3RowItEEPT_m(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4Test7Rand16uEv() local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(2) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtItEERT_mm(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { alwaysinline 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 #5 = { 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 #6 = { noreturn nounwind }
attributes #7 = { 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, !10, i64 24}
!6 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEEE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !12, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEE6FormatE", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17, !19}
!19 = !{!"llvm.loop.unswitch.partial.disable"}
!20 = !{!21, !21, i64 0}
!21 = !{!"short", !8, i64 0}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass