; LLVM IR from zchrissirhcz/pixel :: src (px_copy_cut_border)

; 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.px_pad_t = type { i32, i32, i32, i32 }
%struct.px_image_t = type { ptr, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.px_copy_cut_border = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @px_copy_cut_border(ptr noundef %0, ptr noundef %1, i64 %2, i64 %3) #0 {
  %5 = alloca %struct.px_pad_t, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
  store i64 %2, ptr %18, align 4
  %19 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
  store i64 %3, ptr %19, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.px_image_t, ptr %20, i32 0, i32 2
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 0
  %24 = load i32, ptr %23, align 4, !tbaa !12
  %25 = sub nsw i32 %22, %24
  %26 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !14
  %28 = sub nsw i32 %25, %27
  store i32 %28, ptr %8, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.px_image_t, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 8, !tbaa !16
  %32 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 2
  %33 = load i32, ptr %32, align 4, !tbaa !17
  %34 = sub nsw i32 %31, %33
  %35 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 3
  %36 = load i32, ptr %35, align 4, !tbaa !18
  %37 = sub nsw i32 %34, %36
  store i32 %37, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.px_image_t, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 8, !tbaa !19
  store i32 %40, ptr %10, align 4, !tbaa !15
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.px_image_t, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = load i32, ptr %9, align 4, !tbaa !15
  %45 = icmp eq i32 %43, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %4
  br label %48

47:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 11, ptr noundef @__PRETTY_FUNCTION__.px_copy_cut_border) #5
  unreachable

48:                                               ; preds = %46
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.px_image_t, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = load i32, ptr %8, align 4, !tbaa !15
  %53 = icmp eq i32 %51, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %48
  br label %56

55:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 12, ptr noundef @__PRETTY_FUNCTION__.px_copy_cut_border) #5
  unreachable

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.px_image_t, ptr %57, i32 0, i32 1
  %59 = load i32, ptr %58, align 8, !tbaa !16
  %60 = load i32, ptr %10, align 4, !tbaa !15
  %61 = mul nsw i32 %59, %60
  %62 = sext i32 %61 to i64
  %63 = mul i64 %62, 1
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.px_image_t, ptr %65, i32 0, i32 1
  %67 = load i32, ptr %66, align 8, !tbaa !16
  %68 = load i32, ptr %10, align 4, !tbaa !15
  %69 = mul nsw i32 %67, %68
  %70 = sext i32 %69 to i64
  %71 = mul i64 %70, 1
  %72 = trunc i64 %71 to i32
  store i32 %72, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %73 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 2
  %74 = load i32, ptr %73, align 4, !tbaa !17
  %75 = load i32, ptr %10, align 4, !tbaa !15
  %76 = mul nsw i32 %74, %75
  %77 = sext i32 %76 to i64
  %78 = mul i64 %77, 1
  %79 = trunc i64 %78 to i32
  store i32 %79, ptr %13, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %80 = load i32, ptr %9, align 4, !tbaa !15
  %81 = load i32, ptr %10, align 4, !tbaa !15
  %82 = mul nsw i32 %80, %81
  %83 = sext i32 %82 to i64
  %84 = mul i64 %83, 1
  %85 = trunc i64 %84 to i32
  store i32 %85, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.px_image_t, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = load i32, ptr %13, align 4, !tbaa !15
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i8, ptr %88, i64 %90
  %92 = getelementptr inbounds %struct.px_pad_t, ptr %5, i32 0, i32 0
  %93 = load i32, ptr %92, align 4, !tbaa !12
  %94 = load i32, ptr %12, align 4, !tbaa !15
  %95 = mul nsw i32 %93, %94
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds i8, ptr %91, i64 %96
  store ptr %97, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.px_image_t, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  store ptr %100, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !15
  br label %101

101:                                              ; preds = %119, %56
  %102 = load i32, ptr %17, align 4, !tbaa !15
  %103 = load i32, ptr %8, align 4, !tbaa !15
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %122

106:                                              ; preds = %101
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = load i32, ptr %14, align 4, !tbaa !15
  %110 = sext i32 %109 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %107, ptr align 1 %108, i64 %110, i1 false)
  %111 = load i32, ptr %11, align 4, !tbaa !15
  %112 = load ptr, ptr %16, align 8, !tbaa !5
  %113 = sext i32 %111 to i64
  %114 = getelementptr inbounds i8, ptr %112, i64 %113
  store ptr %114, ptr %16, align 8, !tbaa !5
  %115 = load i32, ptr %12, align 4, !tbaa !15
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = sext i32 %115 to i64
  %118 = getelementptr inbounds i8, ptr %116, i64 %117
  store ptr %118, ptr %15, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %106
  %120 = load i32, ptr %17, align 4, !tbaa !15
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %17, align 4, !tbaa !15
  br label %101, !llvm.loop !21

122:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  ret void
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 12}
!10 = !{!"px_image_t", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"px_pad_t", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!14 = !{!13, !11, i64 4}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 8}
!17 = !{!13, !11, i64 8}
!18 = !{!13, !11, i64 12}
!19 = !{!10, !11, i64 16}
!20 = !{!10, !6, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; 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 [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.px_copy_cut_border = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @px_copy_cut_border(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 %2, i64 %3) local_unnamed_addr #0 {
  %.sroa.0.0.extract.trunc = trunc i64 %2 to i32
  %.sroa.3.0.extract.shift = lshr i64 %2, 32
  %.sroa.3.0.extract.trunc = trunc nuw i64 %.sroa.3.0.extract.shift to i32
  %.sroa.4.8.extract.trunc = trunc i64 %3 to i32
  %.sroa.7.8.extract.shift = lshr i64 %3, 32
  %.sroa.7.8.extract.trunc = trunc nuw i64 %.sroa.7.8.extract.shift to i32
  %5 = getelementptr inbounds i8, ptr %0, i64 12
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = add i32 %.sroa.3.0.extract.trunc, %.sroa.0.0.extract.trunc
  %8 = sub i32 %6, %7
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !11
  %11 = add i32 %.sroa.7.8.extract.trunc, %.sroa.4.8.extract.trunc
  %12 = sub i32 %10, %11
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load i32, ptr %13, align 8, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = icmp eq i32 %16, %12
  br i1 %17, label %19, label %18

18:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 11, ptr noundef nonnull @__PRETTY_FUNCTION__.px_copy_cut_border) #3
  unreachable

19:                                               ; preds = %4
  %20 = getelementptr inbounds i8, ptr %1, i64 12
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = icmp eq i32 %21, %8
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 12, ptr noundef nonnull @__PRETTY_FUNCTION__.px_copy_cut_border) #3
  unreachable

24:                                               ; preds = %19
  %25 = mul nsw i32 %12, %14
  %26 = sext i32 %25 to i64
  %27 = mul nsw i32 %14, %10
  %28 = sext i32 %27 to i64
  %29 = icmp sgt i32 %8, 0
  br i1 %29, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %24
  %30 = load ptr, ptr %1, align 8, !tbaa !13
  %31 = load ptr, ptr %0, align 8, !tbaa !13
  %32 = mul nsw i32 %14, %.sroa.4.8.extract.trunc
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i8, ptr %31, i64 %33
  %35 = mul nsw i32 %27, %.sroa.0.0.extract.trunc
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds i8, ptr %34, i64 %36
  %38 = add i32 %.sroa.0.0.extract.trunc, %.sroa.3.0.extract.trunc
  %39 = sub i32 %6, %38
  %xtraiter = and i32 %39, 3
  %40 = sub i32 %.sroa.0.0.extract.trunc, %6
  %41 = add i32 %40, %.sroa.3.0.extract.trunc
  %42 = icmp ugt i32 %41, -4
  br i1 %42, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %39, -4
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.02936.unr = phi ptr [ %30, %.lr.ph.preheader ], [ %51, %.lr.ph ]
  %.03035.unr = phi ptr [ %37, %.lr.ph.preheader ], [ %52, %.lr.ph ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %.02936.epil = phi ptr [ %43, %.lr.ph.epil ], [ %.02936.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.03035.epil = phi ptr [ %44, %.lr.ph.epil ], [ %.03035.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02936.epil, ptr align 1 %.03035.epil, i64 %26, i1 false)
  %43 = getelementptr inbounds i8, ptr %.02936.epil, i64 %26
  %44 = getelementptr inbounds i8, ptr %.03035.epil, i64 %28
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !14

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %24
  ret void

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.02936 = phi ptr [ %30, %.lr.ph.preheader.new ], [ %51, %.lr.ph ]
  %.03035 = phi ptr [ %37, %.lr.ph.preheader.new ], [ %52, %.lr.ph ]
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02936, ptr align 1 %.03035, i64 %26, i1 false)
  %45 = getelementptr inbounds i8, ptr %.02936, i64 %26
  %46 = getelementptr inbounds i8, ptr %.03035, i64 %28
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %45, ptr align 1 %46, i64 %26, i1 false)
  %47 = getelementptr inbounds i8, ptr %45, i64 %26
  %48 = getelementptr inbounds i8, ptr %46, i64 %28
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %47, ptr align 1 %48, i64 %26, i1 false)
  %49 = getelementptr inbounds i8, ptr %47, i64 %26
  %50 = getelementptr inbounds i8, ptr %48, i64 %28
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %49, ptr align 1 %50, i64 %26, i1 false)
  %51 = getelementptr inbounds i8, ptr %49, i64 %26
  %52 = getelementptr inbounds i8, ptr %50, i64 %28
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !16
}

; 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: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

attributes #0 = { 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 #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: readwrite) }
attributes #3 = { 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, !10, i64 12}
!6 = !{!"px_image_t", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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