; 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_matrix_t = type { i32, i32, ptr, i32 }

@stderr = external global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [53 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_add(ptr noundef byval(%struct.rc_matrix_t) align 8 %0, ptr noundef byval(%struct.rc_matrix_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
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %8 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 3
  %9 = load i32, ptr %8, align 8, !tbaa !9
  %10 = icmp ne i32 %9, 1
  br i1 %10, label %15, label %11

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

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

23:                                               ; preds = %15
  %24 = load ptr, ptr @stderr, align 8, !tbaa !5
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.31) #4
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %7, align 4
  br label %105

26:                                               ; preds = %15
  %27 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !12
  %29 = getelementptr inbounds %struct.rc_matrix_t, ptr %1, i32 0, i32 0
  %30 = load i32, ptr %29, align 8, !tbaa !12
  %31 = icmp ne i32 %28, %30
  br i1 %31, label %38, label %32

32:                                               ; preds = %26
  %33 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !13
  %35 = getelementptr inbounds %struct.rc_matrix_t, ptr %1, i32 0, i32 1
  %36 = load i32, ptr %35, align 4, !tbaa !13
  %37 = icmp ne i32 %34, %36
  br label %38

38:                                               ; preds = %32, %26
  %39 = phi i1 [ true, %26 ], [ %37, %32 ]
  %40 = xor i1 %39, true
  %41 = xor i1 %40, true
  %42 = zext i1 %41 to i32
  %43 = sext i32 %42 to i64
  %44 = call i64 @llvm.expect.i64(i64 %43, i64 0)
  %45 = icmp ne i64 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %38
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.32) #4
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %7, align 4
  br label %105

49:                                               ; preds = %38
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !12
  %53 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !13
  %55 = call i32 @rc_matrix_alloc(ptr noundef %50, i32 noundef %52, i32 noundef %54)
  %56 = icmp ne i32 %55, 0
  %57 = xor i1 %56, true
  %58 = xor i1 %57, true
  %59 = zext i1 %58 to i32
  %60 = sext i32 %59 to i64
  %61 = call i64 @llvm.expect.i64(i64 %60, i64 0)
  %62 = icmp ne i64 %61, 0
  br i1 %62, label %63, label %66

63:                                               ; preds = %49
  %64 = load ptr, ptr @stderr, align 8, !tbaa !5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.33) #4
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %7, align 4
  br label %105

66:                                               ; preds = %49
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %67

67:                                               ; preds = %101, %66
  %68 = load i32, ptr %6, align 4, !tbaa !14
  %69 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 0
  %70 = load i32, ptr %69, align 8, !tbaa !12
  %71 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !13
  %73 = mul nsw i32 %70, %72
  %74 = icmp slt i32 %68, %73
  br i1 %74, label %75, label %104

75:                                               ; preds = %67
  %76 = getelementptr inbounds %struct.rc_matrix_t, ptr %0, i32 0, i32 2
  %77 = load ptr, ptr %76, align 8, !tbaa !15
  %78 = getelementptr inbounds ptr, ptr %77, i64 0
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  %80 = load i32, ptr %6, align 4, !tbaa !14
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %79, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !16
  %84 = getelementptr inbounds %struct.rc_matrix_t, ptr %1, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  %86 = getelementptr inbounds ptr, ptr %85, i64 0
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = load i32, ptr %6, align 4, !tbaa !14
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds double, ptr %87, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !16
  %92 = fadd double %83, %91
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.rc_matrix_t, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !15
  %96 = getelementptr inbounds ptr, ptr %95, i64 0
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = load i32, ptr %6, align 4, !tbaa !14
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  store double %92, ptr %100, align 8, !tbaa !16
  br label %101

101:                                              ; preds = %75
  %102 = load i32, ptr %6, align 4, !tbaa !14
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %6, align 4, !tbaa !14
  br label %67, !llvm.loop !18

104:                                              ; preds = %67
  store i32 0, ptr %4, align 4
  store i32 1, ptr %7, align 4
  br label %105

105:                                              ; preds = %104, %63, %46, %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %106 = load i32, ptr %4, align 4
  ret i32 %106
}

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_matrix_t", !11, i64 0, !11, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"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"

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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [53 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_add(ptr nocapture noundef readonly byval(%struct.rc_matrix_t) align 8 %0, ptr nocapture noundef readonly byval(%struct.rc_matrix_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 = icmp ne i32 %12, %13
  %15 = getelementptr inbounds i8, ptr %0, i64 4
  %16 = load i32, ptr %15, align 4
  %17 = getelementptr inbounds i8, ptr %1, i64 4
  %18 = load i32, ptr %17, align 4
  %19 = icmp ne i32 %16, %18
  %20 = select i1 %14, i1 true, i1 %19, !prof !11
  br i1 %20, label %.loopexit.sink.split, label %21, !prof !11

21:                                               ; preds = %11
  %22 = tail call i32 @rc_matrix_alloc(ptr noundef %2, i32 noundef %12, i32 noundef %16)
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %.preheader, label %.loopexit.sink.split, !prof !13

.preheader:                                       ; preds = %21
  %23 = mul nsw i32 %16, %12
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds i8, ptr %1, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = load ptr, ptr %29, align 8, !tbaa !15
  %31 = getelementptr inbounds i8, ptr %2, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  %wide.trip.count = zext nneg i32 %23 to i64
  %min.iters.check = icmp ult i32 %23, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph
  %34 = ptrtoint ptr %33 to i64
  %35 = ptrtoint ptr %30 to i64
  %36 = ptrtoint ptr %27 to i64
  %37 = sub i64 %34, %36
  %diff.check = icmp ult i64 %37, 32
  %38 = sub i64 %34, %35
  %diff.check12 = icmp ult i64 %38, 32
  %conflict.rdx = or i1 %diff.check, %diff.check12
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %39 = getelementptr inbounds double, ptr %27, i64 %index
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %wide.load = load <2 x double>, ptr %39, align 8, !tbaa !16
  %wide.load13 = load <2 x double>, ptr %40, align 8, !tbaa !16
  %41 = getelementptr inbounds double, ptr %30, i64 %index
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %wide.load14 = load <2 x double>, ptr %41, align 8, !tbaa !16
  %wide.load15 = load <2 x double>, ptr %42, align 8, !tbaa !16
  %43 = fadd <2 x double> %wide.load, %wide.load14
  %44 = fadd <2 x double> %wide.load13, %wide.load15
  %45 = getelementptr inbounds double, ptr %33, i64 %index
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  store <2 x double> %43, ptr %45, align 8, !tbaa !16
  store <2 x double> %44, ptr %46, align 8, !tbaa !16
  %index.next = add nuw i64 %index, 4
  %47 = icmp eq i64 %index.next, %n.vec
  br i1 %47, label %middle.block, label %vector.body, !llvm.loop !18

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

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  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 ]
  %48 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.prol
  %49 = load double, ptr %48, align 8, !tbaa !16
  %50 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.prol
  %51 = load double, ptr %50, align 8, !tbaa !16
  %52 = fadd double %49, %51
  %53 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.prol
  store double %52, ptr %53, align 8, !tbaa !16
  %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 !22

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 ]
  %54 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %55 = icmp ugt i64 %54, -4
  br i1 %55, label %.loopexit, 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 ]
  %56 = getelementptr inbounds double, ptr %27, i64 %indvars.iv
  %57 = load double, ptr %56, align 8, !tbaa !16
  %58 = getelementptr inbounds double, ptr %30, i64 %indvars.iv
  %59 = load double, ptr %58, align 8, !tbaa !16
  %60 = fadd double %57, %59
  %61 = getelementptr inbounds double, ptr %33, i64 %indvars.iv
  store double %60, ptr %61, align 8, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next
  %63 = load double, ptr %62, align 8, !tbaa !16
  %64 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next
  %65 = load double, ptr %64, align 8, !tbaa !16
  %66 = fadd double %63, %65
  %67 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.next
  store double %66, ptr %67, align 8, !tbaa !16
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %68 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next.1
  %69 = load double, ptr %68, align 8, !tbaa !16
  %70 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next.1
  %71 = load double, ptr %70, align 8, !tbaa !16
  %72 = fadd double %69, %71
  %73 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.next.1
  store double %72, ptr %73, align 8, !tbaa !16
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %74 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next.2
  %75 = load double, ptr %74, align 8, !tbaa !16
  %76 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next.2
  %77 = load double, ptr %76, align 8, !tbaa !16
  %78 = fadd double %75, %77
  %79 = getelementptr inbounds double, ptr %33, i64 %indvars.iv.next.2
  store double %78, ptr %79, align 8, !tbaa !16
  %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 %.loopexit, label %scalar.ph, !llvm.loop !24

.loopexit.sink.split:                             ; preds = %21, %11, %3
  %.str.33.sink = phi ptr [ @.str.31, %3 ], [ @.str.32, %11 ], [ @.str.33, %21 ]
  %80 = load ptr, ptr @stderr, align 8, !tbaa !15
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull %.str.33.sink) #2
  br label %.loopexit

.loopexit:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %.loopexit.sink.split, %.preheader
  %.07 = phi i32 [ 0, %.preheader ], [ -1, %.loopexit.sink.split ], [ 0, %middle.block ], [ 0, %scalar.ph ], [ 0, %scalar.ph.prol.loopexit ]
  ret i32 %.07
}

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_matrix_t", !7, i64 0, !7, i64 4, !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 = !{!6, !10, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !19, !20}


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