; LLVM IR from antirez/ttt-rl :: ttt (softmax)

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

; 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: nounwind uwtable
define dso_local void @softmax(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds float, ptr %13, i64 0
  %15 = load float, ptr %14, align 4, !tbaa !11
  store float %15, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %36, %3
  %17 = load i32, ptr %8, align 4, !tbaa !9
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = icmp slt i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %39

21:                                               ; preds = %16
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = load i32, ptr %8, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds float, ptr %22, i64 %24
  %26 = load float, ptr %25, align 4, !tbaa !11
  %27 = load float, ptr %7, align 4, !tbaa !11
  %28 = fcmp ogt float %26, %27
  br i1 %28, label %29, label %35

29:                                               ; preds = %21
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds float, ptr %30, i64 %32
  %34 = load float, ptr %33, align 4, !tbaa !11
  store float %34, ptr %7, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %29, %21
  br label %36

36:                                               ; preds = %35
  %37 = load i32, ptr %8, align 4, !tbaa !9
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %8, align 4, !tbaa !9
  br label %16, !llvm.loop !13

39:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store float 0.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %65, %39
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %68

45:                                               ; preds = %40
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds float, ptr %46, i64 %48
  %50 = load float, ptr %49, align 4, !tbaa !11
  %51 = load float, ptr %7, align 4, !tbaa !11
  %52 = fsub float %50, %51
  %53 = call float @expf(float noundef %52) #3, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds float, ptr %54, i64 %56
  store float %53, ptr %57, align 4, !tbaa !11
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds float, ptr %58, i64 %60
  %62 = load float, ptr %61, align 4, !tbaa !11
  %63 = load float, ptr %9, align 4, !tbaa !11
  %64 = fadd float %63, %62
  store float %64, ptr %9, align 4, !tbaa !11
  br label %65

65:                                               ; preds = %45
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !9
  br label %40, !llvm.loop !15

68:                                               ; preds = %44
  %69 = load float, ptr %9, align 4, !tbaa !11
  %70 = fcmp ogt float %69, 0.000000e+00
  br i1 %70, label %71, label %89

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %85, %71
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %88

77:                                               ; preds = %72
  %78 = load float, ptr %9, align 4, !tbaa !11
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !11
  %84 = fdiv float %83, %78
  store float %84, ptr %82, align 4, !tbaa !11
  br label %85

85:                                               ; preds = %77
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %11, align 4, !tbaa !9
  br label %72, !llvm.loop !16

88:                                               ; preds = %76
  br label %107

89:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %103, %89
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = load i32, ptr %6, align 4, !tbaa !9
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %106

95:                                               ; preds = %90
  %96 = load i32, ptr %6, align 4, !tbaa !9
  %97 = sitofp i32 %96 to float
  %98 = fdiv float 1.000000e+00, %97
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %99, i64 %101
  store float %98, ptr %102, align 4, !tbaa !11
  br label %103

103:                                              ; preds = %95
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %12, align 4, !tbaa !9
  br label %90, !llvm.loop !17

106:                                              ; preds = %94
  br label %107

107:                                              ; preds = %106, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret void
}

; Function Attrs: nounwind
declare float @expf(float noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

; Function Attrs: nofree nounwind memory(write, argmem: readwrite) uwtable
define dso_local void @softmax(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = load float, ptr %0, align 4, !tbaa !5
  %5 = icmp sgt i32 %2, 1
  br i1 %5, label %.lr.ph.preheader, label %.preheader41

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = zext nneg i32 %2 to i64
  %6 = add nsw i64 %wide.trip.count, -1
  %7 = add nsw i64 %wide.trip.count, -2
  %xtraiter = and i64 %6, 3
  %8 = icmp ult i64 %7, 3
  br i1 %8, label %.preheader41.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %6, -4
  %invariant.gep = getelementptr inbounds i8, ptr %0, i64 4
  %invariant.gep88 = getelementptr inbounds i8, ptr %0, i64 8
  %invariant.gep90 = getelementptr inbounds i8, ptr %0, i64 12
  br label %.lr.ph

.preheader41.loopexit.unr-lcssa:                  ; preds = %.lr.ph, %.lr.ph.preheader
  %.1.lcssa.ph = phi float [ poison, %.lr.ph.preheader ], [ %.1.3, %.lr.ph ]
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %.03642.unr = phi float [ %4, %.lr.ph.preheader ], [ %.1.3, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader41, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader41.loopexit.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %.preheader41.loopexit.unr-lcssa ]
  %.03642.epil = phi float [ %.1.epil, %.lr.ph.epil ], [ %.03642.unr, %.preheader41.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.preheader41.loopexit.unr-lcssa ]
  %9 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.epil
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = fcmp ogt float %10, %.03642.epil
  %.1.epil = select i1 %11, float %10, float %.03642.epil
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %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 %.preheader41, label %.lr.ph.epil, !llvm.loop !9

.preheader41:                                     ; preds = %.preheader41.loopexit.unr-lcssa, %.lr.ph.epil, %3
  %.036.lcssa = phi float [ %4, %3 ], [ %.1.lcssa.ph, %.preheader41.loopexit.unr-lcssa ], [ %.1.epil, %.lr.ph.epil ]
  %12 = icmp sgt i32 %2, 0
  br i1 %12, label %.lr.ph46.preheader, label %.loopexit

.lr.ph46.preheader:                               ; preds = %.preheader41
  %wide.trip.count57 = zext nneg i32 %2 to i64
  br label %.lr.ph46

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %.03642 = phi float [ %4, %.lr.ph.preheader.new ], [ %.1.3, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %13 = getelementptr inbounds float, ptr %0, i64 %indvars.iv
  %14 = load float, ptr %13, align 4, !tbaa !5
  %15 = fcmp ogt float %14, %.03642
  %.1 = select i1 %15, float %14, float %.03642
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv
  %16 = load float, ptr %gep, align 4, !tbaa !5
  %17 = fcmp ogt float %16, %.1
  %.1.1 = select i1 %17, float %16, float %.1
  %gep89 = getelementptr inbounds float, ptr %invariant.gep88, i64 %indvars.iv
  %18 = load float, ptr %gep89, align 4, !tbaa !5
  %19 = fcmp ogt float %18, %.1.1
  %.1.2 = select i1 %19, float %18, float %.1.1
  %gep91 = getelementptr inbounds float, ptr %invariant.gep90, i64 %indvars.iv
  %20 = load float, ptr %gep91, align 4, !tbaa !5
  %21 = fcmp ogt float %20, %.1.2
  %.1.3 = select i1 %21, float %20, float %.1.2
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader41.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph46
  %22 = fcmp ogt float %36, 0.000000e+00
  br i1 %22, label %.preheader, label %.preheader39

.preheader39:                                     ; preds = %._crit_edge
  br i1 %12, label %.lr.ph49, label %.loopexit

.lr.ph49:                                         ; preds = %.preheader39
  %23 = uitofp nneg i32 %2 to float
  %24 = fdiv float 1.000000e+00, %23
  %wide.trip.count62 = zext nneg i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph49
  %indvars.iv59.ph = phi i64 [ 0, %.lr.ph49 ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph49
  %n.vec = and i64 %wide.trip.count57, 2147483640
  %broadcast.splatinsert = insertelement <4 x float> poison, float %24, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %25 = getelementptr inbounds float, ptr %1, i64 %index
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  store <4 x float> %broadcast.splat, ptr %25, align 4, !tbaa !5
  store <4 x float> %broadcast.splat, ptr %26, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %27 = icmp eq i64 %index.next, %n.vec
  br i1 %27, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count57
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

.preheader:                                       ; preds = %._crit_edge
  br i1 %12, label %.lr.ph51.preheader, label %.loopexit

.lr.ph51.preheader:                               ; preds = %.preheader
  %wide.trip.count67 = zext nneg i32 %2 to i64
  %min.iters.check74 = icmp ult i32 %2, 4
  br i1 %min.iters.check74, label %.lr.ph51.preheader85, label %vector.ph75

.lr.ph51.preheader85:                             ; preds = %middle.block72, %.lr.ph51.preheader
  %indvars.iv64.ph = phi i64 [ 0, %.lr.ph51.preheader ], [ %n.vec77, %middle.block72 ]
  br label %.lr.ph51

vector.ph75:                                      ; preds = %.lr.ph51.preheader
  %n.vec77 = and i64 %wide.trip.count57, 2147483644
  %broadcast.splatinsert81 = insertelement <4 x float> poison, float %36, i64 0
  %broadcast.splat82 = shufflevector <4 x float> %broadcast.splatinsert81, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body79

vector.body79:                                    ; preds = %vector.body79, %vector.ph75
  %index80 = phi i64 [ 0, %vector.ph75 ], [ %index.next83, %vector.body79 ]
  %28 = getelementptr inbounds float, ptr %1, i64 %index80
  %wide.load = load <4 x float>, ptr %28, align 4, !tbaa !5
  %29 = fdiv <4 x float> %wide.load, %broadcast.splat82
  store <4 x float> %29, ptr %28, align 4, !tbaa !5
  %index.next83 = add nuw i64 %index80, 4
  %30 = icmp eq i64 %index.next83, %n.vec77
  br i1 %30, label %middle.block72, label %vector.body79, !llvm.loop !16

middle.block72:                                   ; preds = %vector.body79
  %cmp.n84 = icmp eq i64 %n.vec77, %wide.trip.count57
  br i1 %cmp.n84, label %.loopexit, label %.lr.ph51.preheader85

.lr.ph46:                                         ; preds = %.lr.ph46.preheader, %.lr.ph46
  %indvars.iv54 = phi i64 [ 0, %.lr.ph46.preheader ], [ %indvars.iv.next55, %.lr.ph46 ]
  %.03444 = phi float [ 0.000000e+00, %.lr.ph46.preheader ], [ %36, %.lr.ph46 ]
  %31 = getelementptr inbounds float, ptr %0, i64 %indvars.iv54
  %32 = load float, ptr %31, align 4, !tbaa !5
  %33 = fsub float %32, %.036.lcssa
  %34 = tail call float @expf(float noundef %33) #2, !tbaa !17
  %35 = getelementptr inbounds float, ptr %1, i64 %indvars.iv54
  store float %34, ptr %35, align 4, !tbaa !5
  %36 = fadd float %.03444, %34
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond58.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count57
  br i1 %exitcond58.not, label %._crit_edge, label %.lr.ph46, !llvm.loop !19

.lr.ph51:                                         ; preds = %.lr.ph51.preheader85, %.lr.ph51
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %.lr.ph51 ], [ %indvars.iv64.ph, %.lr.ph51.preheader85 ]
  %37 = getelementptr inbounds float, ptr %1, i64 %indvars.iv64
  %38 = load float, ptr %37, align 4, !tbaa !5
  %39 = fdiv float %38, %36
  store float %39, ptr %37, align 4, !tbaa !5
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %exitcond68.not = icmp eq i64 %indvars.iv.next65, %wide.trip.count67
  br i1 %exitcond68.not, label %.loopexit, label %.lr.ph51, !llvm.loop !20

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv59 = phi i64 [ %indvars.iv.next60, %scalar.ph ], [ %indvars.iv59.ph, %scalar.ph.preheader ]
  %40 = getelementptr inbounds float, ptr %1, i64 %indvars.iv59
  store float %24, ptr %40, align 4, !tbaa !5
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %exitcond63.not = icmp eq i64 %indvars.iv.next60, %wide.trip.count62
  br i1 %exitcond63.not, label %.loopexit, label %scalar.ph, !llvm.loop !21

.loopexit:                                        ; preds = %scalar.ph, %.lr.ph51, %middle.block, %middle.block72, %.preheader41, %.preheader39, %.preheader
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @expf(float noundef) local_unnamed_addr #1

attributes #0 = { nofree nounwind memory(write, argmem: readwrite) 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 nofree nounwind willreturn memory(write) "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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !12, !14, !15}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12, !15, !14}
!21 = distinct !{!21, !12, !15, !14}


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