; LLVM IR from CactiLab/Sherloc-Cortex-M-CFVD :: Sherloc_runtime/evaluation/src/matmult_int (matmult_int)

; 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: nounwind uwtable
define dso_local void @Multiply(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %63, %3
  %11 = load i32, ptr %7, align 4, !tbaa !9
  %12 = icmp slt i32 %11, 20
  br i1 %12, label %13, label %66

13:                                               ; preds = %10
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %14

14:                                               ; preds = %59, %13
  %15 = load i32, ptr %8, align 4, !tbaa !9
  %16 = icmp slt i32 %15, 20
  br i1 %16, label %17, label %62

17:                                               ; preds = %14
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [20 x i64], ptr %18, i64 %20
  %22 = load i32, ptr %8, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [20 x i64], ptr %21, i64 0, i64 %23
  store i64 0, ptr %24, align 8, !tbaa !11
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %55, %17
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = icmp slt i32 %26, 20
  br i1 %27, label %28, label %58

28:                                               ; preds = %25
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [20 x i64], ptr %29, i64 %31
  %33 = load i32, ptr %9, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [20 x i64], ptr %32, i64 0, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !11
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [20 x i64], ptr %37, i64 %39
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [20 x i64], ptr %40, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = mul nsw i64 %36, %44
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [20 x i64], ptr %46, i64 %48
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [20 x i64], ptr %49, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = add nsw i64 %53, %45
  store i64 %54, ptr %52, align 8, !tbaa !11
  br label %55

55:                                               ; preds = %28
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %9, align 4, !tbaa !9
  br label %25, !llvm.loop !13

58:                                               ; preds = %25
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %8, align 4, !tbaa !9
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %8, align 4, !tbaa !9
  br label %14, !llvm.loop !15

62:                                               ; preds = %14
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %7, align 4, !tbaa !9
  br label %10, !llvm.loop !16

66:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  ret void
}

; 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(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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 = { 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 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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 norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @Multiply(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
  %scevgep = getelementptr i8, ptr %2, i64 3200
  %scevgep28 = getelementptr i8, ptr %0, i64 3200
  %scevgep29 = getelementptr i8, ptr %1, i64 3200
  %bound0 = icmp ugt ptr %scevgep28, %2
  %bound1 = icmp ugt ptr %scevgep, %0
  %found.conflict = and i1 %bound0, %bound1
  %bound030 = icmp ugt ptr %scevgep29, %2
  %bound131 = icmp ugt ptr %scevgep, %1
  %found.conflict32 = and i1 %bound030, %bound131
  %conflict.rdx = or i1 %found.conflict, %found.conflict32
  br label %.preheader

.preheader:                                       ; preds = %3, %middle.block
  %indvars.iv24 = phi i64 [ 0, %3 ], [ %indvars.iv.next25, %middle.block ]
  %4 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 0
  %5 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 1
  %6 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 2
  %7 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 3
  %8 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 4
  %9 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 5
  %10 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 6
  %11 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 7
  %12 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 8
  %13 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 9
  %14 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 10
  %15 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 11
  %16 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 12
  %17 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 13
  %18 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 14
  %19 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 15
  %20 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 16
  %21 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 17
  %22 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 18
  %23 = getelementptr inbounds [20 x i64], ptr %0, i64 %indvars.iv24, i64 19
  br i1 %conflict.rdx, label %scalar.ph, label %vector.body.preheader

vector.body.preheader:                            ; preds = %.preheader
  %24 = load i64, ptr %4, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %24, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  %25 = load i64, ptr %5, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert34 = insertelement <2 x i64> poison, i64 %25, i64 0
  %broadcast.splat35 = shufflevector <2 x i64> %broadcast.splatinsert34, <2 x i64> poison, <2 x i32> zeroinitializer
  %26 = load i64, ptr %6, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert37 = insertelement <2 x i64> poison, i64 %26, i64 0
  %broadcast.splat38 = shufflevector <2 x i64> %broadcast.splatinsert37, <2 x i64> poison, <2 x i32> zeroinitializer
  %27 = load i64, ptr %7, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert40 = insertelement <2 x i64> poison, i64 %27, i64 0
  %broadcast.splat41 = shufflevector <2 x i64> %broadcast.splatinsert40, <2 x i64> poison, <2 x i32> zeroinitializer
  %28 = load i64, ptr %8, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert43 = insertelement <2 x i64> poison, i64 %28, i64 0
  %broadcast.splat44 = shufflevector <2 x i64> %broadcast.splatinsert43, <2 x i64> poison, <2 x i32> zeroinitializer
  %29 = load i64, ptr %9, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert46 = insertelement <2 x i64> poison, i64 %29, i64 0
  %broadcast.splat47 = shufflevector <2 x i64> %broadcast.splatinsert46, <2 x i64> poison, <2 x i32> zeroinitializer
  %30 = load i64, ptr %10, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert49 = insertelement <2 x i64> poison, i64 %30, i64 0
  %broadcast.splat50 = shufflevector <2 x i64> %broadcast.splatinsert49, <2 x i64> poison, <2 x i32> zeroinitializer
  %31 = load i64, ptr %11, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert52 = insertelement <2 x i64> poison, i64 %31, i64 0
  %broadcast.splat53 = shufflevector <2 x i64> %broadcast.splatinsert52, <2 x i64> poison, <2 x i32> zeroinitializer
  %32 = load i64, ptr %12, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert55 = insertelement <2 x i64> poison, i64 %32, i64 0
  %broadcast.splat56 = shufflevector <2 x i64> %broadcast.splatinsert55, <2 x i64> poison, <2 x i32> zeroinitializer
  %33 = load i64, ptr %13, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert58 = insertelement <2 x i64> poison, i64 %33, i64 0
  %broadcast.splat59 = shufflevector <2 x i64> %broadcast.splatinsert58, <2 x i64> poison, <2 x i32> zeroinitializer
  %34 = load i64, ptr %14, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert61 = insertelement <2 x i64> poison, i64 %34, i64 0
  %broadcast.splat62 = shufflevector <2 x i64> %broadcast.splatinsert61, <2 x i64> poison, <2 x i32> zeroinitializer
  %35 = load i64, ptr %15, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert64 = insertelement <2 x i64> poison, i64 %35, i64 0
  %broadcast.splat65 = shufflevector <2 x i64> %broadcast.splatinsert64, <2 x i64> poison, <2 x i32> zeroinitializer
  %36 = load i64, ptr %16, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert67 = insertelement <2 x i64> poison, i64 %36, i64 0
  %broadcast.splat68 = shufflevector <2 x i64> %broadcast.splatinsert67, <2 x i64> poison, <2 x i32> zeroinitializer
  %37 = load i64, ptr %17, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert70 = insertelement <2 x i64> poison, i64 %37, i64 0
  %broadcast.splat71 = shufflevector <2 x i64> %broadcast.splatinsert70, <2 x i64> poison, <2 x i32> zeroinitializer
  %38 = load i64, ptr %18, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert73 = insertelement <2 x i64> poison, i64 %38, i64 0
  %broadcast.splat74 = shufflevector <2 x i64> %broadcast.splatinsert73, <2 x i64> poison, <2 x i32> zeroinitializer
  %39 = load i64, ptr %19, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert76 = insertelement <2 x i64> poison, i64 %39, i64 0
  %broadcast.splat77 = shufflevector <2 x i64> %broadcast.splatinsert76, <2 x i64> poison, <2 x i32> zeroinitializer
  %40 = load i64, ptr %20, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert79 = insertelement <2 x i64> poison, i64 %40, i64 0
  %broadcast.splat80 = shufflevector <2 x i64> %broadcast.splatinsert79, <2 x i64> poison, <2 x i32> zeroinitializer
  %41 = load i64, ptr %21, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert82 = insertelement <2 x i64> poison, i64 %41, i64 0
  %broadcast.splat83 = shufflevector <2 x i64> %broadcast.splatinsert82, <2 x i64> poison, <2 x i32> zeroinitializer
  %42 = load i64, ptr %22, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert85 = insertelement <2 x i64> poison, i64 %42, i64 0
  %broadcast.splat86 = shufflevector <2 x i64> %broadcast.splatinsert85, <2 x i64> poison, <2 x i32> zeroinitializer
  %43 = load i64, ptr %23, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert88 = insertelement <2 x i64> poison, i64 %43, i64 0
  %broadcast.splat89 = shufflevector <2 x i64> %broadcast.splatinsert88, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body.preheader, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.body.preheader ]
  %44 = getelementptr inbounds [20 x i64], ptr %2, i64 %indvars.iv24, i64 %index
  store <2 x i64> zeroinitializer, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %45 = getelementptr inbounds [20 x i64], ptr %1, i64 0, i64 %index
  %wide.load = load <2 x i64>, ptr %45, align 8, !tbaa !5, !alias.scope !16
  %46 = mul nsw <2 x i64> %wide.load, %broadcast.splat
  store <2 x i64> %46, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %47 = getelementptr inbounds [20 x i64], ptr %1, i64 1, i64 %index
  %wide.load33 = load <2 x i64>, ptr %47, align 8, !tbaa !5, !alias.scope !16
  %48 = mul nsw <2 x i64> %wide.load33, %broadcast.splat35
  %49 = add nsw <2 x i64> %46, %48
  store <2 x i64> %49, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %50 = getelementptr inbounds [20 x i64], ptr %1, i64 2, i64 %index
  %wide.load36 = load <2 x i64>, ptr %50, align 8, !tbaa !5, !alias.scope !16
  %51 = mul nsw <2 x i64> %wide.load36, %broadcast.splat38
  %52 = add nsw <2 x i64> %49, %51
  store <2 x i64> %52, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %53 = getelementptr inbounds [20 x i64], ptr %1, i64 3, i64 %index
  %wide.load39 = load <2 x i64>, ptr %53, align 8, !tbaa !5, !alias.scope !16
  %54 = mul nsw <2 x i64> %wide.load39, %broadcast.splat41
  %55 = add nsw <2 x i64> %52, %54
  store <2 x i64> %55, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %56 = getelementptr inbounds [20 x i64], ptr %1, i64 4, i64 %index
  %wide.load42 = load <2 x i64>, ptr %56, align 8, !tbaa !5, !alias.scope !16
  %57 = mul nsw <2 x i64> %wide.load42, %broadcast.splat44
  %58 = add nsw <2 x i64> %55, %57
  store <2 x i64> %58, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %59 = getelementptr inbounds [20 x i64], ptr %1, i64 5, i64 %index
  %wide.load45 = load <2 x i64>, ptr %59, align 8, !tbaa !5, !alias.scope !16
  %60 = mul nsw <2 x i64> %wide.load45, %broadcast.splat47
  %61 = add nsw <2 x i64> %58, %60
  store <2 x i64> %61, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %62 = getelementptr inbounds [20 x i64], ptr %1, i64 6, i64 %index
  %wide.load48 = load <2 x i64>, ptr %62, align 8, !tbaa !5, !alias.scope !16
  %63 = mul nsw <2 x i64> %wide.load48, %broadcast.splat50
  %64 = add nsw <2 x i64> %61, %63
  store <2 x i64> %64, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %65 = getelementptr inbounds [20 x i64], ptr %1, i64 7, i64 %index
  %wide.load51 = load <2 x i64>, ptr %65, align 8, !tbaa !5, !alias.scope !16
  %66 = mul nsw <2 x i64> %wide.load51, %broadcast.splat53
  %67 = add nsw <2 x i64> %64, %66
  store <2 x i64> %67, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %68 = getelementptr inbounds [20 x i64], ptr %1, i64 8, i64 %index
  %wide.load54 = load <2 x i64>, ptr %68, align 8, !tbaa !5, !alias.scope !16
  %69 = mul nsw <2 x i64> %wide.load54, %broadcast.splat56
  %70 = add nsw <2 x i64> %67, %69
  store <2 x i64> %70, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %71 = getelementptr inbounds [20 x i64], ptr %1, i64 9, i64 %index
  %wide.load57 = load <2 x i64>, ptr %71, align 8, !tbaa !5, !alias.scope !16
  %72 = mul nsw <2 x i64> %wide.load57, %broadcast.splat59
  %73 = add nsw <2 x i64> %70, %72
  store <2 x i64> %73, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %74 = getelementptr inbounds [20 x i64], ptr %1, i64 10, i64 %index
  %wide.load60 = load <2 x i64>, ptr %74, align 8, !tbaa !5, !alias.scope !16
  %75 = mul nsw <2 x i64> %wide.load60, %broadcast.splat62
  %76 = add nsw <2 x i64> %73, %75
  store <2 x i64> %76, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %77 = getelementptr inbounds [20 x i64], ptr %1, i64 11, i64 %index
  %wide.load63 = load <2 x i64>, ptr %77, align 8, !tbaa !5, !alias.scope !16
  %78 = mul nsw <2 x i64> %wide.load63, %broadcast.splat65
  %79 = add nsw <2 x i64> %76, %78
  store <2 x i64> %79, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %80 = getelementptr inbounds [20 x i64], ptr %1, i64 12, i64 %index
  %wide.load66 = load <2 x i64>, ptr %80, align 8, !tbaa !5, !alias.scope !16
  %81 = mul nsw <2 x i64> %wide.load66, %broadcast.splat68
  %82 = add nsw <2 x i64> %79, %81
  store <2 x i64> %82, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %83 = getelementptr inbounds [20 x i64], ptr %1, i64 13, i64 %index
  %wide.load69 = load <2 x i64>, ptr %83, align 8, !tbaa !5, !alias.scope !16
  %84 = mul nsw <2 x i64> %wide.load69, %broadcast.splat71
  %85 = add nsw <2 x i64> %82, %84
  store <2 x i64> %85, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %86 = getelementptr inbounds [20 x i64], ptr %1, i64 14, i64 %index
  %wide.load72 = load <2 x i64>, ptr %86, align 8, !tbaa !5, !alias.scope !16
  %87 = mul nsw <2 x i64> %wide.load72, %broadcast.splat74
  %88 = add nsw <2 x i64> %85, %87
  store <2 x i64> %88, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %89 = getelementptr inbounds [20 x i64], ptr %1, i64 15, i64 %index
  %wide.load75 = load <2 x i64>, ptr %89, align 8, !tbaa !5, !alias.scope !16
  %90 = mul nsw <2 x i64> %wide.load75, %broadcast.splat77
  %91 = add nsw <2 x i64> %88, %90
  store <2 x i64> %91, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %92 = getelementptr inbounds [20 x i64], ptr %1, i64 16, i64 %index
  %wide.load78 = load <2 x i64>, ptr %92, align 8, !tbaa !5, !alias.scope !16
  %93 = mul nsw <2 x i64> %wide.load78, %broadcast.splat80
  %94 = add nsw <2 x i64> %91, %93
  store <2 x i64> %94, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %95 = getelementptr inbounds [20 x i64], ptr %1, i64 17, i64 %index
  %wide.load81 = load <2 x i64>, ptr %95, align 8, !tbaa !5, !alias.scope !16
  %96 = mul nsw <2 x i64> %wide.load81, %broadcast.splat83
  %97 = add nsw <2 x i64> %94, %96
  store <2 x i64> %97, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %98 = getelementptr inbounds [20 x i64], ptr %1, i64 18, i64 %index
  %wide.load84 = load <2 x i64>, ptr %98, align 8, !tbaa !5, !alias.scope !16
  %99 = mul nsw <2 x i64> %wide.load84, %broadcast.splat86
  %100 = add nsw <2 x i64> %97, %99
  store <2 x i64> %100, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %101 = getelementptr inbounds [20 x i64], ptr %1, i64 19, i64 %index
  %wide.load87 = load <2 x i64>, ptr %101, align 8, !tbaa !5, !alias.scope !16
  %102 = mul nsw <2 x i64> %wide.load87, %broadcast.splat89
  %103 = add nsw <2 x i64> %100, %102
  store <2 x i64> %103, ptr %44, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  %index.next = add nuw i64 %index, 2
  %104 = icmp eq i64 %index.next, 20
  br i1 %104, label %middle.block, label %vector.body, !llvm.loop !17

scalar.ph:                                        ; preds = %.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ 0, %.preheader ]
  %105 = getelementptr inbounds [20 x i64], ptr %2, i64 %indvars.iv24, i64 %indvars.iv
  store i64 0, ptr %105, align 8, !tbaa !5
  %106 = load i64, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds [20 x i64], ptr %1, i64 0, i64 %indvars.iv
  %108 = load i64, ptr %107, align 8, !tbaa !5
  %109 = mul nsw i64 %108, %106
  store i64 %109, ptr %105, align 8, !tbaa !5
  %110 = load i64, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds [20 x i64], ptr %1, i64 1, i64 %indvars.iv
  %112 = load i64, ptr %111, align 8, !tbaa !5
  %113 = mul nsw i64 %112, %110
  %114 = add nsw i64 %109, %113
  store i64 %114, ptr %105, align 8, !tbaa !5
  %115 = load i64, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds [20 x i64], ptr %1, i64 2, i64 %indvars.iv
  %117 = load i64, ptr %116, align 8, !tbaa !5
  %118 = mul nsw i64 %117, %115
  %119 = add nsw i64 %114, %118
  store i64 %119, ptr %105, align 8, !tbaa !5
  %120 = load i64, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds [20 x i64], ptr %1, i64 3, i64 %indvars.iv
  %122 = load i64, ptr %121, align 8, !tbaa !5
  %123 = mul nsw i64 %122, %120
  %124 = add nsw i64 %119, %123
  store i64 %124, ptr %105, align 8, !tbaa !5
  %125 = load i64, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds [20 x i64], ptr %1, i64 4, i64 %indvars.iv
  %127 = load i64, ptr %126, align 8, !tbaa !5
  %128 = mul nsw i64 %127, %125
  %129 = add nsw i64 %124, %128
  store i64 %129, ptr %105, align 8, !tbaa !5
  %130 = load i64, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds [20 x i64], ptr %1, i64 5, i64 %indvars.iv
  %132 = load i64, ptr %131, align 8, !tbaa !5
  %133 = mul nsw i64 %132, %130
  %134 = add nsw i64 %129, %133
  store i64 %134, ptr %105, align 8, !tbaa !5
  %135 = load i64, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds [20 x i64], ptr %1, i64 6, i64 %indvars.iv
  %137 = load i64, ptr %136, align 8, !tbaa !5
  %138 = mul nsw i64 %137, %135
  %139 = add nsw i64 %134, %138
  store i64 %139, ptr %105, align 8, !tbaa !5
  %140 = load i64, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds [20 x i64], ptr %1, i64 7, i64 %indvars.iv
  %142 = load i64, ptr %141, align 8, !tbaa !5
  %143 = mul nsw i64 %142, %140
  %144 = add nsw i64 %139, %143
  store i64 %144, ptr %105, align 8, !tbaa !5
  %145 = load i64, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds [20 x i64], ptr %1, i64 8, i64 %indvars.iv
  %147 = load i64, ptr %146, align 8, !tbaa !5
  %148 = mul nsw i64 %147, %145
  %149 = add nsw i64 %144, %148
  store i64 %149, ptr %105, align 8, !tbaa !5
  %150 = load i64, ptr %13, align 8, !tbaa !5
  %151 = getelementptr inbounds [20 x i64], ptr %1, i64 9, i64 %indvars.iv
  %152 = load i64, ptr %151, align 8, !tbaa !5
  %153 = mul nsw i64 %152, %150
  %154 = add nsw i64 %149, %153
  store i64 %154, ptr %105, align 8, !tbaa !5
  %155 = load i64, ptr %14, align 8, !tbaa !5
  %156 = getelementptr inbounds [20 x i64], ptr %1, i64 10, i64 %indvars.iv
  %157 = load i64, ptr %156, align 8, !tbaa !5
  %158 = mul nsw i64 %157, %155
  %159 = add nsw i64 %154, %158
  store i64 %159, ptr %105, align 8, !tbaa !5
  %160 = load i64, ptr %15, align 8, !tbaa !5
  %161 = getelementptr inbounds [20 x i64], ptr %1, i64 11, i64 %indvars.iv
  %162 = load i64, ptr %161, align 8, !tbaa !5
  %163 = mul nsw i64 %162, %160
  %164 = add nsw i64 %159, %163
  store i64 %164, ptr %105, align 8, !tbaa !5
  %165 = load i64, ptr %16, align 8, !tbaa !5
  %166 = getelementptr inbounds [20 x i64], ptr %1, i64 12, i64 %indvars.iv
  %167 = load i64, ptr %166, align 8, !tbaa !5
  %168 = mul nsw i64 %167, %165
  %169 = add nsw i64 %164, %168
  store i64 %169, ptr %105, align 8, !tbaa !5
  %170 = load i64, ptr %17, align 8, !tbaa !5
  %171 = getelementptr inbounds [20 x i64], ptr %1, i64 13, i64 %indvars.iv
  %172 = load i64, ptr %171, align 8, !tbaa !5
  %173 = mul nsw i64 %172, %170
  %174 = add nsw i64 %169, %173
  store i64 %174, ptr %105, align 8, !tbaa !5
  %175 = load i64, ptr %18, align 8, !tbaa !5
  %176 = getelementptr inbounds [20 x i64], ptr %1, i64 14, i64 %indvars.iv
  %177 = load i64, ptr %176, align 8, !tbaa !5
  %178 = mul nsw i64 %177, %175
  %179 = add nsw i64 %174, %178
  store i64 %179, ptr %105, align 8, !tbaa !5
  %180 = load i64, ptr %19, align 8, !tbaa !5
  %181 = getelementptr inbounds [20 x i64], ptr %1, i64 15, i64 %indvars.iv
  %182 = load i64, ptr %181, align 8, !tbaa !5
  %183 = mul nsw i64 %182, %180
  %184 = add nsw i64 %179, %183
  store i64 %184, ptr %105, align 8, !tbaa !5
  %185 = load i64, ptr %20, align 8, !tbaa !5
  %186 = getelementptr inbounds [20 x i64], ptr %1, i64 16, i64 %indvars.iv
  %187 = load i64, ptr %186, align 8, !tbaa !5
  %188 = mul nsw i64 %187, %185
  %189 = add nsw i64 %184, %188
  store i64 %189, ptr %105, align 8, !tbaa !5
  %190 = load i64, ptr %21, align 8, !tbaa !5
  %191 = getelementptr inbounds [20 x i64], ptr %1, i64 17, i64 %indvars.iv
  %192 = load i64, ptr %191, align 8, !tbaa !5
  %193 = mul nsw i64 %192, %190
  %194 = add nsw i64 %189, %193
  store i64 %194, ptr %105, align 8, !tbaa !5
  %195 = load i64, ptr %22, align 8, !tbaa !5
  %196 = getelementptr inbounds [20 x i64], ptr %1, i64 18, i64 %indvars.iv
  %197 = load i64, ptr %196, align 8, !tbaa !5
  %198 = mul nsw i64 %197, %195
  %199 = add nsw i64 %194, %198
  store i64 %199, ptr %105, align 8, !tbaa !5
  %200 = load i64, ptr %23, align 8, !tbaa !5
  %201 = getelementptr inbounds [20 x i64], ptr %1, i64 19, i64 %indvars.iv
  %202 = load i64, ptr %201, align 8, !tbaa !5
  %203 = mul nsw i64 %202, %200
  %204 = add nsw i64 %199, %203
  store i64 %204, ptr %105, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 20
  br i1 %exitcond.not, label %middle.block, label %scalar.ph, !llvm.loop !21

middle.block:                                     ; preds = %vector.body, %scalar.ph
  %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24, 1
  %exitcond27.not = icmp eq i64 %indvars.iv.next25, 20
  br i1 %exitcond27.not, label %205, label %.preheader, !llvm.loop !22

205:                                              ; preds = %middle.block
  ret void
}

attributes #0 = { nofree norecurse nosync nounwind memory(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" }

!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/C++ TBAA"}
!9 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13}
!13 = distinct !{!13, !11}
!14 = !{!10, !15}
!15 = distinct !{!15, !11}
!16 = !{!15}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !18, !19}
!22 = distinct !{!22, !18}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass