; LLVM IR from mbcse/Security_Hacking_Scripts :: Encryption_Algorithms/RSA/enc_dec_RSA.ll (Z7encryptv)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@i = external dso_local global i32, align 4
@e = external dso_local global [50 x i64], align 16
@temp = external dso_local global [50 x i64], align 16
@j = external dso_local global i64, align 8
@en = external dso_local global [50 x i8], align 16
@m = external dso_local global [50 x i8], align 16
@msg = external dso_local global [100 x i8], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7encryptv() #1 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %6 = load i64, ptr @e, align 16, !tbaa !5
  store i64 %6, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store i32 0, ptr @i, align 4, !tbaa !9
  %7 = call i64 @strlen(ptr noundef @msg) #5
  store i64 %7, ptr %5, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %36, %0
  %9 = load i32, ptr @i, align 4, !tbaa !9
  %10 = sext i32 %9 to i64
  %11 = load i64, ptr %5, align 8, !tbaa !5
  %12 = icmp ne i64 %10, %11
  br i1 %12, label %13, label %50

13:                                               ; preds = %8
  %14 = load i32, ptr @i, align 4, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [50 x i8], ptr @m, i64 0, i64 %15
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = sext i8 %17 to i64
  store i64 %18, ptr %1, align 8, !tbaa !5
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = sub nsw i64 %19, 96
  store i64 %20, ptr %1, align 8, !tbaa !5
  store i64 1, ptr %4, align 8, !tbaa !5
  store i64 0, ptr @j, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %33, %13
  %22 = load i64, ptr @j, align 8, !tbaa !5
  %23 = load i64, ptr %3, align 8, !tbaa !5
  %24 = icmp slt i64 %22, %23
  br i1 %24, label %25, label %36

25:                                               ; preds = %21
  %26 = load i64, ptr %4, align 8, !tbaa !5
  %27 = load i64, ptr %1, align 8, !tbaa !5
  %28 = mul nsw i64 %26, %27
  store i64 %28, ptr %4, align 8, !tbaa !5
  %29 = load i64, ptr %4, align 8, !tbaa !5
  %30 = load i32, ptr @n, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = srem i64 %29, %31
  store i64 %32, ptr %4, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %25
  %34 = load i64, ptr @j, align 8, !tbaa !5
  %35 = add nsw i64 %34, 1
  store i64 %35, ptr @j, align 8, !tbaa !5
  br label %21, !llvm.loop !12

36:                                               ; preds = %21
  %37 = load i64, ptr %4, align 8, !tbaa !5
  %38 = load i32, ptr @i, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [50 x i64], ptr @temp, i64 0, i64 %39
  store i64 %37, ptr %40, align 8, !tbaa !5
  %41 = load i64, ptr %4, align 8, !tbaa !5
  %42 = add nsw i64 %41, 96
  store i64 %42, ptr %2, align 8, !tbaa !5
  %43 = load i64, ptr %2, align 8, !tbaa !5
  %44 = trunc i64 %43 to i8
  %45 = load i32, ptr @i, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %46
  store i8 %44, ptr %47, align 1, !tbaa !11
  %48 = load i32, ptr @i, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr @i, align 4, !tbaa !9
  br label %8, !llvm.loop !14

50:                                               ; preds = %8
  %51 = load i32, ptr @i, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %52
  store i8 -1, ptr %53, align 1, !tbaa !11
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  store i32 0, ptr @i, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %68, %50
  %56 = load i32, ptr @i, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %57
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = sext i8 %59 to i32
  %61 = icmp ne i32 %60, -1
  br i1 %61, label %62, label %71

62:                                               ; preds = %55
  %63 = load i32, ptr @i, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %64
  %66 = load i8, ptr %65, align 1, !tbaa !11
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %66)
  br label %68

68:                                               ; preds = %62
  %69 = load i32, ptr @i, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr @i, align 4, !tbaa !9
  br label %55, !llvm.loop !15

71:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret void
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #0

attributes #0 = { inlinehint 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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local local_unnamed_addr global i32, align 4
@i = external dso_local local_unnamed_addr global i32, align 4
@e = external dso_local local_unnamed_addr global [50 x i64], align 16
@temp = external dso_local local_unnamed_addr global [50 x i64], align 16
@j = external dso_local local_unnamed_addr global i64, align 8
@en = external dso_local local_unnamed_addr global [50 x i8], align 16
@m = external dso_local local_unnamed_addr global [50 x i8], align 16
@msg = external dso_local global [100 x i8], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7encryptv() local_unnamed_addr #1 {
  %1 = load i64, ptr @e, align 16, !tbaa !5
  store i32 0, ptr @i, align 4, !tbaa !9
  %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @msg) #4
  %.not16 = icmp eq i64 %2, 0
  br i1 %.not16, label %29, label %.lr.ph18

.lr.ph18:                                         ; preds = %0
  %3 = icmp sgt i64 %1, 0
  %4 = load i32, ptr @n, align 4
  %5 = sext i32 %4 to i64
  br i1 %3, label %.lr.ph.us.preheader, label %.lr.ph18.split.preheader

.lr.ph.us.preheader:                              ; preds = %.lr.ph18
  %xtraiter = and i64 %1, 3
  %6 = icmp ult i64 %1, 4
  %unroll_iter = and i64 %1, 9223372036854775804
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph.us

.lr.ph18.split.preheader:                         ; preds = %.lr.ph18
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @en, i8 97, i64 %2, i1 false), !tbaa !11
  %min.iters.check = icmp ult i64 %2, 4
  br i1 %min.iters.check, label %.lr.ph18.split.preheader38, label %vector.ph

.lr.ph18.split.preheader38:                       ; preds = %middle.block, %.lr.ph18.split.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph18.split.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph18.split

vector.ph:                                        ; preds = %.lr.ph18.split.preheader
  %n.vec = and i64 %2, -4
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %7 = getelementptr inbounds [50 x i64], ptr @temp, i64 0, i64 %index
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  store <2 x i64> <i64 1, i64 1>, ptr %7, align 16, !tbaa !5
  store <2 x i64> <i64 1, i64 1>, ptr %8, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %9 = icmp eq i64 %index.next, %n.vec
  br i1 %9, label %middle.block, label %vector.body, !llvm.loop !12

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %2, %n.vec
  br i1 %cmp.n, label %._crit_edge19, label %.lr.ph18.split.preheader38

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %indvars.iv33 = phi i64 [ %indvars.iv.next34, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %10 = getelementptr inbounds [50 x i8], ptr @m, i64 0, i64 %indvars.iv33
  %11 = load i8, ptr %10, align 1, !tbaa !11
  %12 = sext i8 %11 to i64
  %13 = add nsw i64 %12, -96
  br i1 %6, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %.lr.ph.us.new
  %.014.us = phi i64 [ %21, %.lr.ph.us.new ], [ 1, %.lr.ph.us ]
  %niter = phi i64 [ %niter.next.3, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %14 = mul nsw i64 %.014.us, %13
  %15 = srem i64 %14, %5
  %16 = mul nsw i64 %15, %13
  %17 = srem i64 %16, %5
  %18 = mul nsw i64 %17, %13
  %19 = srem i64 %18, %5
  %20 = mul nsw i64 %19, %13
  %21 = srem i64 %20, %5
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new, !llvm.loop !16

._crit_edge.us.unr-lcssa:                         ; preds = %.lr.ph.us.new, %.lr.ph.us
  %.lcssa.ph = phi i64 [ poison, %.lr.ph.us ], [ %21, %.lr.ph.us.new ]
  %.014.us.unr = phi i64 [ 1, %.lr.ph.us ], [ %21, %.lr.ph.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.us.unr-lcssa, %.epil.preheader
  %.014.us.epil = phi i64 [ %23, %.epil.preheader ], [ %.014.us.unr, %._crit_edge.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.us.unr-lcssa ]
  %22 = mul nsw i64 %.014.us.epil, %13
  %23 = srem i64 %22, %5
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge.us, label %.epil.preheader, !llvm.loop !17

._crit_edge.us:                                   ; preds = %.epil.preheader, %._crit_edge.us.unr-lcssa
  %.lcssa = phi i64 [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %23, %.epil.preheader ]
  %24 = getelementptr inbounds [50 x i64], ptr @temp, i64 0, i64 %indvars.iv33
  store i64 %.lcssa, ptr %24, align 8, !tbaa !5
  %25 = trunc i64 %.lcssa to i8
  %26 = add i8 %25, 96
  %27 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %indvars.iv33
  store i8 %26, ptr %27, align 1, !tbaa !11
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %.not.us = icmp eq i64 %2, %indvars.iv.next34
  br i1 %.not.us, label %._crit_edge19, label %.lr.ph.us, !llvm.loop !19

.lr.ph18.split:                                   ; preds = %.lr.ph18.split.preheader38, %.lr.ph18.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph18.split ], [ %indvars.iv.ph, %.lr.ph18.split.preheader38 ]
  %28 = getelementptr inbounds [50 x i64], ptr @temp, i64 0, i64 %indvars.iv
  store i64 1, ptr %28, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not = icmp eq i64 %2, %indvars.iv.next
  br i1 %.not, label %._crit_edge19, label %.lr.ph18.split, !llvm.loop !20

._crit_edge19:                                    ; preds = %.lr.ph18.split, %._crit_edge.us, %middle.block
  %.us-phi22 = phi i64 [ 0, %middle.block ], [ %1, %._crit_edge.us ], [ 0, %.lr.ph18.split ]
  %.us-phi = trunc i64 %2 to i32
  store i64 %.us-phi22, ptr @j, align 8, !tbaa !5
  store i32 %.us-phi, ptr @i, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %._crit_edge19, %0
  %30 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %2
  store i8 -1, ptr %30, align 1, !tbaa !11
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  store i32 0, ptr @i, align 4, !tbaa !9
  %32 = load i8, ptr @en, align 16, !tbaa !11
  %.not1124 = icmp eq i8 %32, -1
  br i1 %.not1124, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %29, %.lr.ph
  %33 = phi i8 [ %39, %.lr.ph ], [ %32, %29 ]
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %33)
  %35 = load i32, ptr @i, align 4, !tbaa !9
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr @i, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [50 x i8], ptr @en, i64 0, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %.not11 = icmp eq i8 %39, -1
  br i1 %.not11, label %._crit_edge, label %.lr.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %.lr.ph, %29
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #0

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

attributes #0 = { inlinehint 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 = { 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 nofree nounwind willreturn memory(argmem: read) "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: write) }
attributes #4 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13, !14, !15}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13, !15, !14}
!21 = distinct !{!21, !13}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass