; LLVM IR from beagleboard/librobotcontrol :: library/src/math (matrix)

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

@stderr = external global ptr, align 8
@.str.50 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @rc_matrix_alloc(ptr noundef, i32 noundef, i32 noundef) #0

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @rc_matrix_outer_product(ptr noundef byval(%struct.rc_vector_t) align 8 %0, ptr noundef byval(%struct.rc_vector_t) align 8 %1, ptr noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %9 = getelementptr inbounds %struct.rc_vector_t, ptr %0, i32 0, i32 2
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = icmp ne i32 %10, 1
  br i1 %11, label %16, label %12

12:                                               ; preds = %3
  %13 = getelementptr inbounds %struct.rc_vector_t, ptr %1, i32 0, i32 2
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = icmp ne i32 %14, 1
  br label %16

16:                                               ; preds = %12, %3
  %17 = phi i1 [ true, %3 ], [ %15, %12 ]
  %18 = xor i1 %17, true
  %19 = xor i1 %18, true
  %20 = zext i1 %19 to i32
  %21 = sext i32 %20 to i64
  %22 = call i64 @llvm.expect.i64(i64 %21, i64 0)
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %27

24:                                               ; preds = %16
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.50) #4
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %8, align 4
  br label %88

27:                                               ; preds = %16
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.rc_vector_t, ptr %0, i32 0, i32 0
  %30 = load i32, ptr %29, align 8, !tbaa !12
  %31 = getelementptr inbounds %struct.rc_vector_t, ptr %1, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !12
  %33 = call i32 @rc_matrix_alloc(ptr noundef %28, i32 noundef %30, i32 noundef %32)
  %34 = icmp ne i32 %33, 0
  %35 = xor i1 %34, true
  %36 = xor i1 %35, true
  %37 = zext i1 %36 to i32
  %38 = sext i32 %37 to i64
  %39 = call i64 @llvm.expect.i64(i64 %38, i64 0)
  %40 = icmp ne i64 %39, 0
  br i1 %40, label %41, label %44

41:                                               ; preds = %27
  %42 = load ptr, ptr @stderr, align 8, !tbaa !5
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.51) #4
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %8, align 4
  br label %88

44:                                               ; preds = %27
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %45

45:                                               ; preds = %84, %44
  %46 = load i32, ptr %6, align 4, !tbaa !13
  %47 = getelementptr inbounds %struct.rc_vector_t, ptr %0, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !12
  %49 = icmp slt i32 %46, %48
  br i1 %49, label %50, label %87

50:                                               ; preds = %45
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %51

51:                                               ; preds = %80, %50
  %52 = load i32, ptr %7, align 4, !tbaa !13
  %53 = getelementptr inbounds %struct.rc_vector_t, ptr %1, i32 0, i32 0
  %54 = load i32, ptr %53, align 8, !tbaa !12
  %55 = icmp slt i32 %52, %54
  br i1 %55, label %56, label %83

56:                                               ; preds = %51
  %57 = getelementptr inbounds %struct.rc_vector_t, ptr %0, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !14
  %59 = load i32, ptr %6, align 4, !tbaa !13
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %58, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !15
  %63 = getelementptr inbounds %struct.rc_vector_t, ptr %1, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !14
  %65 = load i32, ptr %7, align 4, !tbaa !13
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds double, ptr %64, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !15
  %69 = fmul double %62, %68
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.rc_matrix_t, ptr %70, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !17
  %73 = load i32, ptr %6, align 4, !tbaa !13
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds ptr, ptr %72, i64 %74
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load i32, ptr %7, align 4, !tbaa !13
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %76, i64 %78
  store double %69, ptr %79, align 8, !tbaa !15
  br label %80

80:                                               ; preds = %56
  %81 = load i32, ptr %7, align 4, !tbaa !13
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %7, align 4, !tbaa !13
  br label %51, !llvm.loop !19

83:                                               ; preds = %51
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %6, align 4, !tbaa !13
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %6, align 4, !tbaa !13
  br label %45, !llvm.loop !21

87:                                               ; preds = %45
  store i32 0, ptr %4, align 4
  store i32 1, ptr %8, align 4
  br label %88

88:                                               ; preds = %87, %41, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %89 = load i32, ptr %4, align 4
  ret i32 %89
}

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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 16}
!10 = !{!"rc_vector_t", !11, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!18, !6, i64 8}
!18 = !{!"rc_matrix_t", !11, i64 0, !11, i64 4, !6, i64 8, !11, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

%struct.rc_vector_t = type { i32, ptr, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.50 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @rc_matrix_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @rc_matrix_outer_product(ptr nocapture noundef readonly byval(%struct.rc_vector_t) align 8 %0, ptr nocapture noundef readonly byval(%struct.rc_vector_t) align 8 %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = icmp ne i32 %5, 1
  %7 = getelementptr inbounds i8, ptr %1, i64 16
  %8 = load i32, ptr %7, align 8
  %9 = icmp ne i32 %8, 1
  %10 = select i1 %6, i1 true, i1 %9, !prof !11
  br i1 %10, label %.loopexit.sink.split, label %11, !prof !11

11:                                               ; preds = %3
  %12 = load i32, ptr %0, align 8, !tbaa !12
  %13 = load i32, ptr %1, align 8, !tbaa !12
  %14 = tail call i32 @rc_matrix_alloc(ptr noundef %2, i32 noundef %12, i32 noundef %13)
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %.preheader12, label %.loopexit.sink.split, !prof !13

.preheader12:                                     ; preds = %11
  %15 = icmp sgt i32 %12, 0
  br i1 %15, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %.preheader12
  %16 = icmp sgt i32 %13, 0
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load ptr, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = load ptr, ptr %19, align 8
  br i1 %16, label %.preheader.lr.ph.split.us, label %.loopexit

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  %21 = getelementptr inbounds i8, ptr %2, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !14
  %wide.trip.count20 = zext nneg i32 %12 to i64
  %wide.trip.count = zext nneg i32 %13 to i64
  %23 = shl nuw nsw i64 %wide.trip.count, 3
  %24 = shl nuw nsw i64 %wide.trip.count20, 3
  %scevgep22 = getelementptr i8, ptr %18, i64 %24
  %scevgep23 = getelementptr i8, ptr %20, i64 %23
  %min.iters.check = icmp ult i32 %13, 6
  %n.vec = and i64 %wide.trip.count, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge.us, %.preheader.lr.ph.split.us
  %indvars.iv17 = phi i64 [ %indvars.iv.next18, %._crit_edge.us ], [ 0, %.preheader.lr.ph.split.us ]
  %25 = getelementptr inbounds double, ptr %18, i64 %indvars.iv17
  %26 = getelementptr inbounds ptr, ptr %22, i64 %indvars.iv17
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader.us
  %scevgep = getelementptr i8, ptr %27, i64 %23
  %bound0 = icmp ult ptr %27, %scevgep22
  %bound1 = icmp ult ptr %18, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound024 = icmp ult ptr %27, %scevgep23
  %bound125 = icmp ult ptr %20, %scevgep
  %found.conflict26 = and i1 %bound024, %bound125
  %conflict.rdx = or i1 %found.conflict, %found.conflict26
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %28 = load double, ptr %25, align 8, !tbaa !17, !alias.scope !19
  %broadcast.splatinsert28 = insertelement <2 x double> poison, double %28, i64 0
  %broadcast.splat29 = shufflevector <2 x double> %broadcast.splatinsert28, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %29 = getelementptr inbounds double, ptr %20, i64 %index
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  %wide.load = load <2 x double>, ptr %29, align 8, !tbaa !17, !alias.scope !22
  %wide.load27 = load <2 x double>, ptr %30, align 8, !tbaa !17, !alias.scope !22
  %31 = fmul <2 x double> %broadcast.splat29, %wide.load
  %32 = fmul <2 x double> %broadcast.splat29, %wide.load27
  %33 = getelementptr inbounds double, ptr %27, i64 %index
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  store <2 x double> %31, ptr %33, align 8, !tbaa !17, !alias.scope !24, !noalias !26
  store <2 x double> %32, ptr %34, align 8, !tbaa !17, !alias.scope !24, !noalias !26
  %index.next = add nuw i64 %index, 4
  %35 = icmp eq i64 %index.next, %n.vec
  br i1 %35, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader.us
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %36 = load double, ptr %25, align 8, !tbaa !17
  %37 = getelementptr inbounds double, ptr %20, i64 %indvars.iv.prol
  %38 = load double, ptr %37, align 8, !tbaa !17
  %39 = fmul double %36, %38
  %40 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.prol
  store double %39, ptr %40, align 8, !tbaa !17
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !31

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %41 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %42 = icmp ugt i64 %41, -4
  br i1 %42, label %._crit_edge.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %43 = load double, ptr %25, align 8, !tbaa !17
  %44 = getelementptr inbounds double, ptr %20, i64 %indvars.iv
  %45 = load double, ptr %44, align 8, !tbaa !17
  %46 = fmul double %43, %45
  %47 = getelementptr inbounds double, ptr %27, i64 %indvars.iv
  store double %46, ptr %47, align 8, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = load double, ptr %25, align 8, !tbaa !17
  %49 = getelementptr inbounds double, ptr %20, i64 %indvars.iv.next
  %50 = load double, ptr %49, align 8, !tbaa !17
  %51 = fmul double %48, %50
  %52 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next
  store double %51, ptr %52, align 8, !tbaa !17
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %53 = load double, ptr %25, align 8, !tbaa !17
  %54 = getelementptr inbounds double, ptr %20, i64 %indvars.iv.next.1
  %55 = load double, ptr %54, align 8, !tbaa !17
  %56 = fmul double %53, %55
  %57 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next.1
  store double %56, ptr %57, align 8, !tbaa !17
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %58 = load double, ptr %25, align 8, !tbaa !17
  %59 = getelementptr inbounds double, ptr %20, i64 %indvars.iv.next.2
  %60 = load double, ptr %59, align 8, !tbaa !17
  %61 = fmul double %58, %60
  %62 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next.2
  store double %61, ptr %62, align 8, !tbaa !17
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge.us, label %scalar.ph, !llvm.loop !33

._crit_edge.us:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17, 1
  %exitcond21.not = icmp eq i64 %indvars.iv.next18, %wide.trip.count20
  br i1 %exitcond21.not, label %.loopexit, label %.preheader.us, !llvm.loop !34

.loopexit.sink.split:                             ; preds = %11, %3
  %.str.51.sink = phi ptr [ @.str.50, %3 ], [ @.str.51, %11 ]
  %63 = load ptr, ptr @stderr, align 8, !tbaa !16
  %64 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull %.str.51.sink) #2
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge.us, %.loopexit.sink.split, %.preheader.lr.ph, %.preheader12
  %.011 = phi i32 [ 0, %.preheader12 ], [ 0, %.preheader.lr.ph ], [ -1, %.loopexit.sink.split ], [ 0, %._crit_edge.us ]
  ret i32 %.011
}

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 = { nofree 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 = { cold 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, !7, i64 16}
!6 = !{!"rc_vector_t", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!12 = !{!6, !7, i64 0}
!13 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!14 = !{!15, !10, i64 8}
!15 = !{!"rc_matrix_t", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !8, i64 0}
!19 = !{!20}
!20 = distinct !{!20, !21}
!21 = distinct !{!21, !"LVerDomain"}
!22 = !{!23}
!23 = distinct !{!23, !21}
!24 = !{!25}
!25 = distinct !{!25, !21}
!26 = !{!20, !23}
!27 = distinct !{!27, !28, !29, !30}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!"llvm.loop.isvectorized", i32 1}
!30 = !{!"llvm.loop.unroll.runtime.disable"}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.unroll.disable"}
!33 = distinct !{!33, !28, !29}
!34 = distinct !{!34, !28}


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