; LLVM IR from VoidRune/Audio-engine :: src/minivorbis.ll (vp_tonemask)

; 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.vorbis_look_psy = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i32, i32, i64, float }
%struct.vorbis_info_psy = type { i32, float, float, [3 x float], float, float, float, [17 x float], i32, float, float, float, i32, i32, i32, [3 x [17 x float]], [40 x float], float, i32, i32, i32, double }

; 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 @_vp_tonemask(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3, float noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store float %3, ptr %9, align 4, !tbaa !9
  store float %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.vorbis_look_psy, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !11
  store i32 %17, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.vorbis_look_psy, ptr %18, i32 0, i32 10
  %20 = load i32, ptr %19, align 4, !tbaa !16
  %21 = sext i32 %20 to i64
  %22 = mul i64 4, %21
  %23 = alloca i8, i64 %22, align 16
  store ptr %23, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #2
  %24 = load float, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.vorbis_look_psy, ptr %25, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !17
  %28 = getelementptr inbounds %struct.vorbis_info_psy, ptr %27, i32 0, i32 1
  %29 = load float, ptr %28, align 4, !tbaa !18
  %30 = fadd float %24, %29
  store float %30, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !15
  br label %31

31:                                               ; preds = %42, %5
  %32 = load i32, ptr %11, align 4, !tbaa !15
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.vorbis_look_psy, ptr %33, i32 0, i32 10
  %35 = load i32, ptr %34, align 4, !tbaa !16
  %36 = icmp slt i32 %32, %35
  br i1 %36, label %37, label %45

37:                                               ; preds = %31
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = load i32, ptr %11, align 4, !tbaa !15
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds float, ptr %38, i64 %40
  store float -9.999000e+03, ptr %41, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %37
  %43 = load i32, ptr %11, align 4, !tbaa !15
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %11, align 4, !tbaa !15
  br label %31, !llvm.loop !21

45:                                               ; preds = %31
  %46 = load float, ptr %14, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.vorbis_look_psy, ptr %47, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  %50 = getelementptr inbounds %struct.vorbis_info_psy, ptr %49, i32 0, i32 2
  %51 = load float, ptr %50, align 8, !tbaa !23
  %52 = fcmp olt float %46, %51
  br i1 %52, label %53, label %59

53:                                               ; preds = %45
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.vorbis_look_psy, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !17
  %57 = getelementptr inbounds %struct.vorbis_info_psy, ptr %56, i32 0, i32 2
  %58 = load float, ptr %57, align 8, !tbaa !23
  store float %58, ptr %14, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %53, %45
  store i32 0, ptr %11, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %78, %59
  %61 = load i32, ptr %11, align 4, !tbaa !15
  %62 = load i32, ptr %12, align 4, !tbaa !15
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %64, label %81

64:                                               ; preds = %60
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.vorbis_look_psy, ptr %65, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !24
  %68 = load i32, ptr %11, align 4, !tbaa !15
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = load float, ptr %14, align 4, !tbaa !9
  %73 = fadd float %71, %72
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i32, ptr %11, align 4, !tbaa !15
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds float, ptr %74, i64 %76
  store float %73, ptr %77, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %64
  %79 = load i32, ptr %11, align 4, !tbaa !15
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %11, align 4, !tbaa !15
  br label %60, !llvm.loop !25

81:                                               ; preds = %60
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.vorbis_look_psy, ptr %83, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !26
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = load float, ptr %9, align 4, !tbaa !9
  call void @seed_loop(ptr noundef %82, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, float noundef %89)
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  call void @max_seeds(ptr noundef %90, ptr noundef %91, ptr noundef %92)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @seed_loop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @max_seeds(ptr noundef, ptr noundef, ptr noundef) #1

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 }

!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 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !14, i64 56, !14, i64 64, !13, i64 72, !13, i64 76, !14, i64 80, !10, i64 88}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 76}
!17 = !{!12, !6, i64 8}
!18 = !{!19, !10, i64 4}
!19 = !{!"vorbis_info_psy", !13, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 36, !13, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !7, i64 132, !7, i64 336, !10, i64 496, !13, i64 500, !13, i64 504, !13, i64 508, !20, i64 512}
!20 = !{!"double", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!19, !10, i64 8}
!24 = !{!12, !6, i64 32}
!25 = distinct !{!25, !22}
!26 = !{!12, !6, i64 16}


; 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: nounwind uwtable
define dso_local void @_vp_tonemask(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3, float noundef %4) local_unnamed_addr #0 {
  %6 = ptrtoint ptr %2 to i64
  %7 = load i32, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 76
  %9 = load i32, ptr %8, align 4, !tbaa !13
  %10 = sext i32 %9 to i64
  %11 = shl nsw i64 %10, 2
  %12 = alloca i8, i64 %11, align 16
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %14, i64 4
  %16 = load float, ptr %15, align 4, !tbaa !15
  %17 = fadd float %16, %4
  %18 = icmp sgt i32 %9, 0
  br i1 %18, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %5
  %wide.trip.count = zext nneg i32 %9 to i64
  %min.iters.check = icmp ult i32 %9, 8
  br i1 %min.iters.check, label %.lr.ph.preheader55, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %19 = getelementptr inbounds float, ptr %12, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  store <4 x float> <float -9.999000e+03, float -9.999000e+03, float -9.999000e+03, float -9.999000e+03>, ptr %19, align 16, !tbaa !18
  store <4 x float> <float -9.999000e+03, float -9.999000e+03, float -9.999000e+03, float -9.999000e+03>, ptr %20, align 16, !tbaa !18
  %index.next = add nuw i64 %index, 8
  %21 = icmp eq i64 %index.next, %n.vec
  br i1 %21, label %middle.block, label %vector.body, !llvm.loop !19

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

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

.lr.ph:                                           ; preds = %.lr.ph.preheader55, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader55 ]
  %22 = getelementptr inbounds float, ptr %12, i64 %indvars.iv
  store float -9.999000e+03, ptr %22, align 4, !tbaa !18
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %5
  %23 = getelementptr inbounds i8, ptr %14, i64 8
  %24 = load float, ptr %23, align 8, !tbaa !24
  %25 = fcmp olt float %17, %24
  %.0 = select i1 %25, float %24, float %17
  %26 = icmp sgt i32 %7, 0
  br i1 %26, label %.lr.ph34, label %._crit_edge35

.lr.ph34:                                         ; preds = %._crit_edge
  %27 = getelementptr inbounds i8, ptr %0, i64 32
  %28 = load ptr, ptr %27, align 8, !tbaa !25
  %wide.trip.count40 = zext nneg i32 %7 to i64
  %min.iters.check44 = icmp ult i32 %7, 8
  %29 = ptrtoint ptr %28 to i64
  %30 = sub i64 %6, %29
  %diff.check = icmp ult i64 %30, 32
  %or.cond = select i1 %min.iters.check44, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph43.preheader, label %vector.ph45

vector.ph45:                                      ; preds = %.lr.ph34
  %n.vec47 = and i64 %wide.trip.count40, 2147483640
  %broadcast.splatinsert = insertelement <4 x float> poison, float %.0, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body49

vector.body49:                                    ; preds = %vector.body49, %vector.ph45
  %index50 = phi i64 [ 0, %vector.ph45 ], [ %index.next52, %vector.body49 ]
  %31 = getelementptr inbounds float, ptr %28, i64 %index50
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  %wide.load = load <4 x float>, ptr %31, align 4, !tbaa !18
  %wide.load51 = load <4 x float>, ptr %32, align 4, !tbaa !18
  %33 = fadd <4 x float> %broadcast.splat, %wide.load
  %34 = fadd <4 x float> %broadcast.splat, %wide.load51
  %35 = getelementptr inbounds float, ptr %2, i64 %index50
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  store <4 x float> %33, ptr %35, align 4, !tbaa !18
  store <4 x float> %34, ptr %36, align 4, !tbaa !18
  %index.next52 = add nuw i64 %index50, 8
  %37 = icmp eq i64 %index.next52, %n.vec47
  br i1 %37, label %middle.block42, label %vector.body49, !llvm.loop !26

middle.block42:                                   ; preds = %vector.body49
  %cmp.n53 = icmp eq i64 %n.vec47, %wide.trip.count40
  br i1 %cmp.n53, label %._crit_edge35, label %scalar.ph43.preheader

scalar.ph43.preheader:                            ; preds = %middle.block42, %.lr.ph34
  %indvars.iv37.ph = phi i64 [ 0, %.lr.ph34 ], [ %n.vec47, %middle.block42 ]
  %xtraiter = and i64 %wide.trip.count40, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph43.prol.loopexit, label %scalar.ph43.prol

scalar.ph43.prol:                                 ; preds = %scalar.ph43.preheader, %scalar.ph43.prol
  %indvars.iv37.prol = phi i64 [ %indvars.iv.next38.prol, %scalar.ph43.prol ], [ %indvars.iv37.ph, %scalar.ph43.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph43.prol ], [ 0, %scalar.ph43.preheader ]
  %38 = getelementptr inbounds float, ptr %28, i64 %indvars.iv37.prol
  %39 = load float, ptr %38, align 4, !tbaa !18
  %40 = fadd float %.0, %39
  %41 = getelementptr inbounds float, ptr %2, i64 %indvars.iv37.prol
  store float %40, ptr %41, align 4, !tbaa !18
  %indvars.iv.next38.prol = add nuw nsw i64 %indvars.iv37.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.ph43.prol.loopexit, label %scalar.ph43.prol, !llvm.loop !27

scalar.ph43.prol.loopexit:                        ; preds = %scalar.ph43.prol, %scalar.ph43.preheader
  %indvars.iv37.unr = phi i64 [ %indvars.iv37.ph, %scalar.ph43.preheader ], [ %indvars.iv.next38.prol, %scalar.ph43.prol ]
  %42 = sub nsw i64 %indvars.iv37.ph, %wide.trip.count40
  %43 = icmp ugt i64 %42, -4
  br i1 %43, label %._crit_edge35, label %scalar.ph43

scalar.ph43:                                      ; preds = %scalar.ph43.prol.loopexit, %scalar.ph43
  %indvars.iv37 = phi i64 [ %indvars.iv.next38.3, %scalar.ph43 ], [ %indvars.iv37.unr, %scalar.ph43.prol.loopexit ]
  %44 = getelementptr inbounds float, ptr %28, i64 %indvars.iv37
  %45 = load float, ptr %44, align 4, !tbaa !18
  %46 = fadd float %.0, %45
  %47 = getelementptr inbounds float, ptr %2, i64 %indvars.iv37
  store float %46, ptr %47, align 4, !tbaa !18
  %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37, 1
  %48 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next38
  %49 = load float, ptr %48, align 4, !tbaa !18
  %50 = fadd float %.0, %49
  %51 = getelementptr inbounds float, ptr %2, i64 %indvars.iv.next38
  store float %50, ptr %51, align 4, !tbaa !18
  %indvars.iv.next38.1 = add nuw nsw i64 %indvars.iv37, 2
  %52 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next38.1
  %53 = load float, ptr %52, align 4, !tbaa !18
  %54 = fadd float %.0, %53
  %55 = getelementptr inbounds float, ptr %2, i64 %indvars.iv.next38.1
  store float %54, ptr %55, align 4, !tbaa !18
  %indvars.iv.next38.2 = add nuw nsw i64 %indvars.iv37, 3
  %56 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next38.2
  %57 = load float, ptr %56, align 4, !tbaa !18
  %58 = fadd float %.0, %57
  %59 = getelementptr inbounds float, ptr %2, i64 %indvars.iv.next38.2
  store float %58, ptr %59, align 4, !tbaa !18
  %indvars.iv.next38.3 = add nuw nsw i64 %indvars.iv37, 4
  %exitcond41.not.3 = icmp eq i64 %indvars.iv.next38.3, %wide.trip.count40
  br i1 %exitcond41.not.3, label %._crit_edge35, label %scalar.ph43, !llvm.loop !29

._crit_edge35:                                    ; preds = %scalar.ph43.prol.loopexit, %scalar.ph43, %middle.block42, %._crit_edge
  %60 = getelementptr inbounds i8, ptr %0, i64 16
  %61 = load ptr, ptr %60, align 8, !tbaa !30
  call void @seed_loop(ptr noundef nonnull %0, ptr noundef %61, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %12, float noundef %3)
  call void @max_seeds(ptr noundef nonnull %0, ptr noundef nonnull %12, ptr noundef %2)
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @seed_loop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @max_seeds(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

!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 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56, !11, i64 64, !7, i64 72, !7, i64 76, !11, i64 80, !12, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!6, !7, i64 76}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !12, i64 4}
!16 = !{!"vorbis_info_psy", !7, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !12, i64 24, !12, i64 28, !12, i64 32, !8, i64 36, !7, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !8, i64 132, !8, i64 336, !12, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !17, i64 512}
!17 = !{!"double", !8, i64 0}
!18 = !{!12, !12, i64 0}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20, !22, !21}
!24 = !{!16, !12, i64 8}
!25 = !{!6, !10, i64 32}
!26 = distinct !{!26, !20, !21, !22}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.unroll.disable"}
!29 = distinct !{!29, !20, !21}
!30 = !{!6, !10, i64 16}


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