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

; 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.5 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh = external hidden unnamed_addr constant [48 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: mustprogress uwtable
define dso_local void @_ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh(ptr noundef nonnull align 8 dereferenceable(41) %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i64, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i8 %1, ptr %5, align 1, !tbaa !9
  store i8 %2, ptr %6, align 1, !tbaa !9
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.Simd::View", ptr %16, i32 0, i32 5
  %18 = load ptr, ptr %17, align 8, !tbaa !10
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %21

20:                                               ; preds = %3
  br label %23

21:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 209, ptr noundef @__PRETTY_FUNCTION__._ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh) #6
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.Simd::View", ptr %24, i32 0, i32 0
  %26 = load i64, ptr %25, align 8, !tbaa !15
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.Simd::View", ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !16
  %30 = call noundef i64 @_ZN4Simd4ViewINS_9AllocatorEE9PixelSizeENS2_6FormatE(i32 noundef %29)
  %31 = mul i64 %26, %30
  store i64 %31, ptr %7, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  %32 = load i8, ptr %5, align 1, !tbaa !9
  %33 = zext i8 %32 to i32
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %39

35:                                               ; preds = %23
  %36 = load i8, ptr %6, align 1, !tbaa !9
  %37 = zext i8 %36 to i32
  %38 = icmp eq i32 %37, 255
  br label %39

39:                                               ; preds = %35, %23
  %40 = phi i1 [ false, %23 ], [ %38, %35 ]
  %41 = zext i1 %40 to i8
  store i8 %41, ptr %8, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !17
  br label %42

42:                                               ; preds = %111, %39
  %43 = load i64, ptr %9, align 8, !tbaa !17
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.Simd::View", ptr %44, i32 0, i32 1
  %46 = load i64, ptr %45, align 8, !tbaa !19
  %47 = icmp ult i64 %43, %46
  br i1 %47, label %49, label %48

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

49:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %50 = load i64, ptr %9, align 8, !tbaa !17
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.Simd::View", ptr %51, i32 0, i32 2
  %53 = load i64, ptr %52, align 8, !tbaa !20
  %54 = mul i64 %50, %53
  store i64 %54, ptr %11, align 8, !tbaa !17
  %55 = load i8, ptr %8, align 1, !tbaa !18, !range !21, !noundef !22
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %81

57:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !17
  br label %58

58:                                               ; preds = %77, %57
  %59 = load i64, ptr %12, align 8, !tbaa !17
  %60 = load i64, ptr %7, align 8, !tbaa !17
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %58
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.Simd::View", ptr %64, i32 0, i32 5
  %66 = load ptr, ptr %65, align 8, !tbaa !10
  %67 = load i64, ptr %11, align 8, !tbaa !17
  %68 = getelementptr inbounds i8, ptr %66, i64 %67
  %69 = load i64, ptr %12, align 8, !tbaa !17
  %70 = getelementptr inbounds i8, ptr %68, i64 %69
  %71 = call noundef ptr @_ZN4Test6Rand8uEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 32767, ptr %13, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %72 = load i64, ptr %7, align 8, !tbaa !17
  %73 = load i64, ptr %12, align 8, !tbaa !17
  %74 = sub i64 %72, %73
  store i64 %74, ptr %14, align 8, !tbaa !17
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %76 = load i64, ptr %75, align 8, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %70, ptr align 1 %71, i64 %76, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %77

77:                                               ; preds = %63
  %78 = load i64, ptr %12, align 8, !tbaa !17
  %79 = add i64 %78, 32767
  store i64 %79, ptr %12, align 8, !tbaa !17
  br label %58, !llvm.loop !23

80:                                               ; preds = %62
  br label %110

81:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 0, ptr %15, align 8, !tbaa !17
  br label %82

82:                                               ; preds = %104, %81
  %83 = load i64, ptr %15, align 8, !tbaa !17
  %84 = load i64, ptr %7, align 8, !tbaa !17
  %85 = icmp ult i64 %83, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %82
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %109

87:                                               ; preds = %82
  %88 = load i8, ptr %5, align 1, !tbaa !9
  %89 = zext i8 %88 to i32
  %90 = load i8, ptr %6, align 1, !tbaa !9
  %91 = zext i8 %90 to i32
  %92 = load i8, ptr %5, align 1, !tbaa !9
  %93 = zext i8 %92 to i32
  %94 = sub nsw i32 %91, %93
  %95 = add nsw i32 %94, 1
  %96 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %95)
  %97 = add nsw i32 %89, %96
  %98 = trunc i32 %97 to i8
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.Simd::View", ptr %99, i32 0, i32 5
  %101 = load ptr, ptr %100, align 8, !tbaa !10
  %102 = load i64, ptr %11, align 8, !tbaa !17
  %103 = getelementptr inbounds i8, ptr %101, i64 %102
  store i8 %98, ptr %103, align 1, !tbaa !9
  br label %104

104:                                              ; preds = %87
  %105 = load i64, ptr %15, align 8, !tbaa !17
  %106 = add i64 %105, 1
  store i64 %106, ptr %15, align 8, !tbaa !17
  %107 = load i64, ptr %11, align 8, !tbaa !17
  %108 = add nsw i64 %107, 1
  store i64 %108, ptr %11, align 8, !tbaa !17
  br label %82, !llvm.loop !25

109:                                              ; preds = %86
  br label %110

110:                                              ; preds = %109, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %111

111:                                              ; preds = %110
  %112 = load i64, ptr %9, align 8, !tbaa !17
  %113 = add i64 %112, 1
  store i64 %113, ptr %9, align 8, !tbaa !17
  br label %42, !llvm.loop !26

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4ViewINS_9AllocatorEE9PixelSizeENS2_6FormatE(i32 noundef) #3 align 2

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

; 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)) #4

; 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) #5

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

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


; 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.5 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh = external hidden unnamed_addr constant [48 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: mustprogress nounwind uwtable
define dso_local void @_ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh(ptr nocapture noundef nonnull readonly align 8 dereferenceable(41) %0, i8 noundef zeroext %1, i8 noundef zeroext %2) local_unnamed_addr #2 {
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 209, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test10FillRandomERN4Simd4ViewINS0_9AllocatorEEEhh) #6
  unreachable

9:                                                ; preds = %3
  %10 = load i64, ptr %0, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load i32, ptr %11, align 8, !tbaa !14
  %13 = tail call noundef i64 @_ZN4Simd4ViewINS_9AllocatorEE9PixelSizeENS2_6FormatE(i32 noundef %12)
  %14 = mul i64 %13, %10
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i64, ptr %15, align 8, !tbaa !15
  %.not40 = icmp eq i64 %16, 0
  br i1 %.not40, label %._crit_edge, label %.lr.ph38

.lr.ph38:                                         ; preds = %9
  %17 = icmp eq i8 %1, 0
  %18 = icmp eq i8 %2, -1
  %19 = and i1 %17, %18
  %20 = zext i8 %2 to i32
  %21 = zext i8 %1 to i32
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %reass.sub = sub nsw i32 %20, %21
  %23 = add nsw i32 %reass.sub, 1
  %.not42 = icmp eq i64 %14, 0
  br i1 %19, label %.lr.ph38.split.us, label %.lr.ph38.split

.lr.ph38.split.us:                                ; preds = %.lr.ph38
  br i1 %.not42, label %._crit_edge, label %.preheader.us.us

.preheader.us.us:                                 ; preds = %.lr.ph38.split.us, %..loopexit_crit_edge.us.us
  %.02937.us.us = phi i64 [ %36, %..loopexit_crit_edge.us.us ], [ 0, %.lr.ph38.split.us ]
  %24 = load i64, ptr %22, align 8, !tbaa !16
  %25 = mul i64 %24, %.02937.us.us
  br label %26

26:                                               ; preds = %.preheader.us.us, %26
  %.02735.us.us = phi i64 [ 0, %.preheader.us.us ], [ %34, %26 ]
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 %25
  %29 = getelementptr inbounds i8, ptr %28, i64 %.02735.us.us
  %30 = call noundef ptr @_ZN4Test6Rand8uEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store i64 32767, ptr %4, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %31 = sub i64 %14, %.02735.us.us
  store i64 %31, ptr %5, align 8, !tbaa !17
  %32 = 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)
  %33 = load i64, ptr %32, align 8, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %29, ptr align 1 %30, i64 %33, 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
  %34 = add i64 %.02735.us.us, 32767
  %35 = icmp ult i64 %34, %14
  br i1 %35, label %26, label %..loopexit_crit_edge.us.us, !llvm.loop !18

..loopexit_crit_edge.us.us:                       ; preds = %26
  %36 = add nuw i64 %.02937.us.us, 1
  %37 = load i64, ptr %15, align 8, !tbaa !15
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.preheader.us.us, label %._crit_edge, !llvm.loop !20

.lr.ph38.split:                                   ; preds = %.lr.ph38
  br i1 %.not42, label %._crit_edge, label %.preheader31.us

.preheader31.us:                                  ; preds = %.lr.ph38.split, %..loopexit32_crit_edge.us
  %.02937.us39 = phi i64 [ %49, %..loopexit32_crit_edge.us ], [ 0, %.lr.ph38.split ]
  %39 = load i64, ptr %22, align 8, !tbaa !16
  %40 = mul i64 %39, %.02937.us39
  br label %41

41:                                               ; preds = %.preheader31.us, %41
  %.034.us = phi i64 [ 0, %.preheader31.us ], [ %47, %41 ]
  %.02833.us = phi i64 [ %40, %.preheader31.us ], [ %48, %41 ]
  %42 = tail call noundef i32 @_ZN4Test6RandomEi(i32 noundef %23)
  %43 = trunc i32 %42 to i8
  %44 = add i8 %43, %1
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 %.02833.us
  store i8 %44, ptr %46, align 1, !tbaa !21
  %47 = add nuw i64 %.034.us, 1
  %48 = add nsw i64 %.02833.us, 1
  %exitcond.not = icmp eq i64 %47, %14
  br i1 %exitcond.not, label %..loopexit32_crit_edge.us, label %41, !llvm.loop !22

..loopexit32_crit_edge.us:                        ; preds = %41
  %49 = add nuw i64 %.02937.us39, 1
  %50 = load i64, ptr %15, align 8, !tbaa !15
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %.preheader31.us, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %..loopexit32_crit_edge.us, %..loopexit_crit_edge.us.us, %.lr.ph38.split, %.lr.ph38.split.us, %9
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4ViewINS_9AllocatorEE9PixelSizeENS2_6FormatE(i32 noundef) local_unnamed_addr #3 align 2

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

; 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 #4

; 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) #5

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

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 = { 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 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 32}
!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 0}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!8, !8, i64 0}
!22 = distinct !{!22, !19}


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