; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseTexture.ll (ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m)

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

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m = external hidden unnamed_addr constant [146 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr noundef %6, i64 noundef %7, ptr noundef %8, i64 noundef %9) #0 {
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i64 %1, ptr %12, align 8, !tbaa !9
  store i64 %2, ptr %13, align 8, !tbaa !9
  store i64 %3, ptr %14, align 8, !tbaa !9
  store i8 %4, ptr %15, align 1, !tbaa !11
  store i8 %5, ptr %16, align 1, !tbaa !11
  store ptr %6, ptr %17, align 8, !tbaa !5
  store i64 %7, ptr %18, align 8, !tbaa !9
  store ptr %8, ptr %19, align 8, !tbaa !5
  store i64 %9, ptr %20, align 8, !tbaa !9
  %24 = load i8, ptr %15, align 1, !tbaa !11
  %25 = zext i8 %24 to i32
  %26 = mul nsw i32 2, %25
  %27 = load i8, ptr %16, align 1, !tbaa !11
  %28 = zext i8 %27 to i32
  %29 = mul nsw i32 %26, %28
  %30 = icmp sle i32 %29, 255
  br i1 %30, label %31, label %32

31:                                               ; preds = %10
  br label %34

32:                                               ; preds = %10
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 39, ptr noundef @__PRETTY_FUNCTION__._ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m) #5
  unreachable

33:                                               ; No predecessors!
  br label %34

34:                                               ; preds = %33, %31
  %35 = load ptr, ptr %17, align 8, !tbaa !5
  %36 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %35, i8 0, i64 %36, i1 false)
  %37 = load ptr, ptr %19, align 8, !tbaa !5
  %38 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %37, i8 0, i64 %38, i1 false)
  %39 = load i64, ptr %12, align 8, !tbaa !9
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 %39
  store ptr %41, ptr %11, align 8, !tbaa !5
  %42 = load i64, ptr %18, align 8, !tbaa !9
  %43 = load ptr, ptr %17, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 %42
  store ptr %44, ptr %17, align 8, !tbaa !5
  %45 = load i64, ptr %20, align 8, !tbaa !9
  %46 = load ptr, ptr %19, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 %45
  store ptr %47, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store i64 2, ptr %21, align 8, !tbaa !9
  br label %48

48:                                               ; preds = %111, %34
  %49 = load i64, ptr %21, align 8, !tbaa !9
  %50 = load i64, ptr %14, align 8, !tbaa !9
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 2, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %114

53:                                               ; preds = %48
  %54 = load ptr, ptr %17, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 0
  store i8 0, ptr %55, align 1, !tbaa !11
  %56 = load ptr, ptr %19, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 0
  store i8 0, ptr %57, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store i64 1, ptr %23, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %90, %53
  %59 = load i64, ptr %23, align 8, !tbaa !9
  %60 = load i64, ptr %13, align 8, !tbaa !9
  %61 = sub i64 %60, 1
  %62 = icmp ult i64 %59, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %58
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %93

64:                                               ; preds = %58
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load i64, ptr %23, align 8, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %65, i64 %66
  %68 = load i64, ptr %12, align 8, !tbaa !9
  %69 = load i8, ptr %15, align 1, !tbaa !11
  %70 = zext i8 %69 to i32
  %71 = load i8, ptr %16, align 1, !tbaa !11
  %72 = zext i8 %71 to i32
  %73 = call noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef %67, i64 noundef %68, i32 noundef %70, i32 noundef %72)
  %74 = trunc i32 %73 to i8
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = load i64, ptr %23, align 8, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %75, i64 %76
  store i8 %74, ptr %77, align 1, !tbaa !11
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = load i64, ptr %23, align 8, !tbaa !9
  %80 = getelementptr inbounds i8, ptr %78, i64 %79
  %81 = load i8, ptr %15, align 1, !tbaa !11
  %82 = zext i8 %81 to i32
  %83 = load i8, ptr %16, align 1, !tbaa !11
  %84 = zext i8 %83 to i32
  %85 = call noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef %80, i64 noundef 1, i32 noundef %82, i32 noundef %84)
  %86 = trunc i32 %85 to i8
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = load i64, ptr %23, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %87, i64 %88
  store i8 %86, ptr %89, align 1, !tbaa !11
  br label %90

90:                                               ; preds = %64
  %91 = load i64, ptr %23, align 8, !tbaa !9
  %92 = add i64 %91, 1
  store i64 %92, ptr %23, align 8, !tbaa !9
  br label %58, !llvm.loop !12

93:                                               ; preds = %63
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  %95 = load i64, ptr %13, align 8, !tbaa !9
  %96 = sub i64 %95, 1
  %97 = getelementptr inbounds i8, ptr %94, i64 %96
  store i8 0, ptr %97, align 1, !tbaa !11
  %98 = load ptr, ptr %19, align 8, !tbaa !5
  %99 = load i64, ptr %13, align 8, !tbaa !9
  %100 = sub i64 %99, 1
  %101 = getelementptr inbounds i8, ptr %98, i64 %100
  store i8 0, ptr %101, align 1, !tbaa !11
  %102 = load i64, ptr %12, align 8, !tbaa !9
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %103, i64 %102
  store ptr %104, ptr %11, align 8, !tbaa !5
  %105 = load i64, ptr %18, align 8, !tbaa !9
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %106, i64 %105
  store ptr %107, ptr %17, align 8, !tbaa !5
  %108 = load i64, ptr %20, align 8, !tbaa !9
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 %108
  store ptr %110, ptr %19, align 8, !tbaa !5
  br label %111

111:                                              ; preds = %93
  %112 = load i64, ptr %21, align 8, !tbaa !9
  %113 = add i64 %112, 1
  store i64 %113, ptr %21, align 8, !tbaa !9
  br label %48, !llvm.loop !14

114:                                              ; preds = %52
  %115 = load ptr, ptr %17, align 8, !tbaa !5
  %116 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %115, i8 0, i64 %116, i1 false)
  %117 = load ptr, ptr %19, align 8, !tbaa !5
  %118 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %117, i8 0, i64 %118, i1 false)
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #4

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

attributes #0 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { alwaysinline 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 #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m = external hidden unnamed_addr constant [146 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i8 noundef zeroext %4, i8 noundef zeroext %5, ptr nocapture noundef writeonly %6, i64 noundef %7, ptr nocapture noundef writeonly %8, i64 noundef %9) local_unnamed_addr #0 {
  %11 = zext i8 %4 to i32
  %12 = shl nuw nsw i32 %11, 1
  %13 = zext i8 %5 to i32
  %14 = mul nuw nsw i32 %12, %13
  %15 = icmp ult i32 %14, 256
  br i1 %15, label %17, label %16

16:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 39, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhmmmhhPhmS3_m) #4
  unreachable

17:                                               ; preds = %10
  tail call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 %2, i1 false)
  tail call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 %2, i1 false)
  %.04855 = getelementptr inbounds i8, ptr %8, i64 %9
  %.04956 = getelementptr inbounds i8, ptr %6, i64 %7
  %18 = icmp ugt i64 %3, 2
  br i1 %18, label %.lr.ph62, label %._crit_edge63

.lr.ph62:                                         ; preds = %17
  %19 = add i64 %2, -1
  %20 = icmp ugt i64 %19, 1
  br i1 %20, label %.lr.ph.us, label %.lr.ph62.split.preheader

.lr.ph62.split.preheader:                         ; preds = %.lr.ph62
  %xtraiter = and i64 %3, 1
  %21 = icmp eq i64 %3, 3
  br i1 %21, label %._crit_edge63.loopexit77.unr-lcssa, label %.lr.ph62.split.preheader.new

.lr.ph62.split.preheader.new:                     ; preds = %.lr.ph62.split.preheader
  %22 = and i64 %3, -2
  %23 = add i64 %22, -4
  br label %.lr.ph62.split

.lr.ph.us:                                        ; preds = %.lr.ph62, %._crit_edge.us
  %.04960.us = phi ptr [ %.049.us, %._crit_edge.us ], [ %.04956, %.lr.ph62 ]
  %.04859.us = phi ptr [ %.048.us, %._crit_edge.us ], [ %.04855, %.lr.ph62 ]
  %.04758.us.pn = phi ptr [ %.04758.us, %._crit_edge.us ], [ %0, %.lr.ph62 ]
  %.04657.us = phi i64 [ %35, %._crit_edge.us ], [ 2, %.lr.ph62 ]
  %.04758.us = getelementptr inbounds i8, ptr %.04758.us.pn, i64 %1
  store i8 0, ptr %.04960.us, align 1, !tbaa !5
  store i8 0, ptr %.04859.us, align 1, !tbaa !5
  br label %24

24:                                               ; preds = %.lr.ph.us, %24
  %.053.us = phi i64 [ 1, %.lr.ph.us ], [ %32, %24 ]
  %25 = getelementptr inbounds i8, ptr %.04758.us, i64 %.053.us
  %26 = tail call noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef nonnull %25, i64 noundef %1, i32 noundef %11, i32 noundef %13)
  %27 = trunc i32 %26 to i8
  %28 = getelementptr inbounds i8, ptr %.04859.us, i64 %.053.us
  store i8 %27, ptr %28, align 1, !tbaa !5
  %29 = tail call noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef nonnull %25, i64 noundef 1, i32 noundef %11, i32 noundef %13)
  %30 = trunc i32 %29 to i8
  %31 = getelementptr inbounds i8, ptr %.04960.us, i64 %.053.us
  store i8 %30, ptr %31, align 1, !tbaa !5
  %32 = add nuw i64 %.053.us, 1
  %exitcond69.not = icmp eq i64 %32, %19
  br i1 %exitcond69.not, label %._crit_edge.us, label %24, !llvm.loop !8

._crit_edge.us:                                   ; preds = %24
  %33 = getelementptr inbounds i8, ptr %.04960.us, i64 %19
  store i8 0, ptr %33, align 1, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %.04859.us, i64 %19
  store i8 0, ptr %34, align 1, !tbaa !5
  %35 = add nuw i64 %.04657.us, 1
  %.048.us = getelementptr inbounds i8, ptr %.04859.us, i64 %9
  %.049.us = getelementptr inbounds i8, ptr %.04960.us, i64 %7
  %exitcond70.not = icmp eq i64 %35, %3
  br i1 %exitcond70.not, label %._crit_edge63, label %.lr.ph.us, !llvm.loop !10

._crit_edge63.loopexit77.unr-lcssa:               ; preds = %.lr.ph62.split, %.lr.ph62.split.preheader
  %.048.lcssa79.ph = phi ptr [ poison, %.lr.ph62.split.preheader ], [ %.048.1, %.lr.ph62.split ]
  %.049.lcssa78.ph = phi ptr [ poison, %.lr.ph62.split.preheader ], [ %.049.1, %.lr.ph62.split ]
  %.04960.unr = phi ptr [ %.04956, %.lr.ph62.split.preheader ], [ %.049.1, %.lr.ph62.split ]
  %.04859.unr = phi ptr [ %.04855, %.lr.ph62.split.preheader ], [ %.048.1, %.lr.ph62.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge63, label %.lr.ph62.split.epil

.lr.ph62.split.epil:                              ; preds = %._crit_edge63.loopexit77.unr-lcssa
  store i8 0, ptr %.04960.unr, align 1, !tbaa !5
  store i8 0, ptr %.04859.unr, align 1, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %.04960.unr, i64 %19
  store i8 0, ptr %36, align 1, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %.04859.unr, i64 %19
  store i8 0, ptr %37, align 1, !tbaa !5
  %.048.epil = getelementptr inbounds i8, ptr %.04859.unr, i64 %9
  %.049.epil = getelementptr inbounds i8, ptr %.04960.unr, i64 %7
  br label %._crit_edge63

._crit_edge63:                                    ; preds = %.lr.ph62.split.epil, %._crit_edge63.loopexit77.unr-lcssa, %._crit_edge.us, %17
  %.048.lcssa = phi ptr [ %.04855, %17 ], [ %.048.us, %._crit_edge.us ], [ %.048.lcssa79.ph, %._crit_edge63.loopexit77.unr-lcssa ], [ %.048.epil, %.lr.ph62.split.epil ]
  %.049.lcssa = phi ptr [ %.04956, %17 ], [ %.049.us, %._crit_edge.us ], [ %.049.lcssa78.ph, %._crit_edge63.loopexit77.unr-lcssa ], [ %.049.epil, %.lr.ph62.split.epil ]
  tail call void @llvm.memset.p0.i64(ptr align 1 %.049.lcssa, i8 0, i64 %2, i1 false)
  tail call void @llvm.memset.p0.i64(ptr align 1 %.048.lcssa, i8 0, i64 %2, i1 false)
  ret void

.lr.ph62.split:                                   ; preds = %.lr.ph62.split, %.lr.ph62.split.preheader.new
  %.04960 = phi ptr [ %.04956, %.lr.ph62.split.preheader.new ], [ %.049.1, %.lr.ph62.split ]
  %.04859 = phi ptr [ %.04855, %.lr.ph62.split.preheader.new ], [ %.048.1, %.lr.ph62.split ]
  %niter = phi i64 [ 0, %.lr.ph62.split.preheader.new ], [ %niter.next.1, %.lr.ph62.split ]
  store i8 0, ptr %.04960, align 1, !tbaa !5
  store i8 0, ptr %.04859, align 1, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %.04960, i64 %19
  store i8 0, ptr %38, align 1, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %.04859, i64 %19
  store i8 0, ptr %39, align 1, !tbaa !5
  %.048 = getelementptr inbounds i8, ptr %.04859, i64 %9
  %.049 = getelementptr inbounds i8, ptr %.04960, i64 %7
  store i8 0, ptr %.049, align 1, !tbaa !5
  store i8 0, ptr %.048, align 1, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %.049, i64 %19
  store i8 0, ptr %40, align 1, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %.048, i64 %19
  store i8 0, ptr %41, align 1, !tbaa !5
  %.048.1 = getelementptr inbounds i8, ptr %.048, i64 %9
  %.049.1 = getelementptr inbounds i8, ptr %.049, i64 %7
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter, %23
  br i1 %niter.ncmp.1, label %._crit_edge63.loopexit77.unr-lcssa, label %.lr.ph62.split, !llvm.loop !10
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i32 @_ZN4Simd4Base31TextureBoostedSaturatedGradientEPKhlii(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 #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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { alwaysinline 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 #4 = { noreturn 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}


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