; LLVM IR from tfhe/spqlios-arithmetic :: spqlios/reim4 (reim4_fftvec_addmul_ref)

; 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.reim4_addmul_precomp = type { ptr, i64 }

; Function Attrs: nounwind uwtable
define dso_local void @reim4_fftvec_addmul_ref(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.reim4_addmul_precomp, ptr %15, i32 0, i32 1
  %17 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %17, ptr %9, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store i64 0, ptr %10, align 8, !tbaa !12
  br label %18

18:                                               ; preds = %94, %4
  %19 = load i64, ptr %10, align 8, !tbaa !12
  %20 = load i64, ptr %9, align 8, !tbaa !12
  %21 = udiv i64 %20, 4
  %22 = icmp ult i64 %19, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %18
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %97

24:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store i64 0, ptr %12, align 8, !tbaa !12
  br label %25

25:                                               ; preds = %84, %24
  %26 = load i64, ptr %12, align 8, !tbaa !12
  %27 = icmp ult i64 %26, 4
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %87

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load i64, ptr %12, align 8, !tbaa !12
  %32 = getelementptr inbounds double, ptr %30, i64 %31
  %33 = load double, ptr %32, align 8, !tbaa !13
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load i64, ptr %12, align 8, !tbaa !12
  %36 = getelementptr inbounds double, ptr %34, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !13
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load i64, ptr %12, align 8, !tbaa !12
  %40 = add i64 %39, 4
  %41 = getelementptr inbounds double, ptr %38, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !13
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load i64, ptr %12, align 8, !tbaa !12
  %45 = add i64 %44, 4
  %46 = getelementptr inbounds double, ptr %43, i64 %45
  %47 = load double, ptr %46, align 8, !tbaa !13
  %48 = fmul double %42, %47
  %49 = fneg double %48
  %50 = call double @llvm.fmuladd.f64(double %33, double %37, double %49)
  store double %50, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = load i64, ptr %12, align 8, !tbaa !12
  %53 = getelementptr inbounds double, ptr %51, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !13
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load i64, ptr %12, align 8, !tbaa !12
  %57 = add i64 %56, 4
  %58 = getelementptr inbounds double, ptr %55, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !13
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i64, ptr %12, align 8, !tbaa !12
  %62 = add i64 %61, 4
  %63 = getelementptr inbounds double, ptr %60, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !13
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load i64, ptr %12, align 8, !tbaa !12
  %67 = getelementptr inbounds double, ptr %65, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !13
  %69 = fmul double %64, %68
  %70 = call double @llvm.fmuladd.f64(double %54, double %59, double %69)
  store double %70, ptr %14, align 8, !tbaa !13
  %71 = load double, ptr %13, align 8, !tbaa !13
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = load i64, ptr %12, align 8, !tbaa !12
  %74 = getelementptr inbounds double, ptr %72, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !13
  %76 = fadd double %75, %71
  store double %76, ptr %74, align 8, !tbaa !13
  %77 = load double, ptr %14, align 8, !tbaa !13
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load i64, ptr %12, align 8, !tbaa !12
  %80 = add i64 %79, 4
  %81 = getelementptr inbounds double, ptr %78, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !13
  %83 = fadd double %82, %77
  store double %83, ptr %81, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  br label %84

84:                                               ; preds = %29
  %85 = load i64, ptr %12, align 8, !tbaa !12
  %86 = add i64 %85, 1
  store i64 %86, ptr %12, align 8, !tbaa !12
  br label %25, !llvm.loop !15

87:                                               ; preds = %28
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 8
  store ptr %89, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %90, i64 8
  store ptr %91, ptr %8, align 8, !tbaa !5
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds double, ptr %92, i64 8
  store ptr %93, ptr %6, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %87
  %95 = load i64, ptr %10, align 8, !tbaa !12
  %96 = add i64 %95, 1
  store i64 %96, ptr %10, align 8, !tbaa !12
  br label %18, !llvm.loop !17

97:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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 speculatable willreturn memory(none) }
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, !11, i64 8}
!10 = !{!"reim4_addmul_precomp", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !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: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @reim4_fftvec_addmul_ref(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = lshr i64 %6, 2
  %.not = icmp ult i64 %6, 4
  br i1 %.not, label %._crit_edge, label %.preheader.preheader

.preheader.preheader:                             ; preds = %4
  %min.iters.check = icmp ult i64 %6, 8
  br i1 %min.iters.check, label %.preheader.preheader78, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader.preheader
  %8 = shl i64 %7, 6
  %scevgep = getelementptr i8, ptr %1, i64 %8
  %scevgep39 = getelementptr i8, ptr %2, i64 %8
  %scevgep40 = getelementptr i8, ptr %3, i64 %8
  %bound0 = icmp ugt ptr %scevgep39, %1
  %bound1 = icmp ugt ptr %scevgep, %2
  %found.conflict = and i1 %bound0, %bound1
  %bound041 = icmp ugt ptr %scevgep40, %1
  %bound142 = icmp ugt ptr %scevgep, %3
  %found.conflict43 = and i1 %bound041, %bound142
  %conflict.rdx = or i1 %found.conflict, %found.conflict43
  br i1 %conflict.rdx, label %.preheader.preheader78, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %7, 4611686018427387902
  %9 = shl i64 %n.vec, 6
  %ind.end = getelementptr i8, ptr %1, i64 %9
  %10 = shl i64 %n.vec, 6
  %ind.end44 = getelementptr i8, ptr %2, i64 %10
  %11 = shl i64 %n.vec, 6
  %ind.end47 = getelementptr i8, ptr %3, i64 %11
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 6
  %next.gep = getelementptr i8, ptr %1, i64 %offset.idx
  %offset.idx49 = shl i64 %index, 6
  %next.gep50 = getelementptr i8, ptr %2, i64 %offset.idx49
  %offset.idx51 = shl i64 %index, 6
  %next.gep52 = getelementptr i8, ptr %3, i64 %offset.idx51
  %wide.vec = load <16 x double>, ptr %next.gep50, align 8, !tbaa !11
  %strided.vec = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 0, i32 8>
  %strided.vec53 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 1, i32 9>
  %strided.vec54 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 2, i32 10>
  %strided.vec55 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 3, i32 11>
  %strided.vec56 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 4, i32 12>
  %strided.vec57 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 5, i32 13>
  %strided.vec58 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 6, i32 14>
  %strided.vec59 = shufflevector <16 x double> %wide.vec, <16 x double> poison, <2 x i32> <i32 7, i32 15>
  %wide.vec60 = load <16 x double>, ptr %next.gep52, align 8, !tbaa !11
  %strided.vec61 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 0, i32 8>
  %strided.vec62 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 1, i32 9>
  %strided.vec63 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 2, i32 10>
  %strided.vec64 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 3, i32 11>
  %strided.vec65 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 4, i32 12>
  %strided.vec66 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 5, i32 13>
  %strided.vec67 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 6, i32 14>
  %strided.vec68 = shufflevector <16 x double> %wide.vec60, <16 x double> poison, <2 x i32> <i32 7, i32 15>
  %12 = fneg <2 x double> %strided.vec56
  %13 = fmul <2 x double> %strided.vec65, %12
  %14 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec, <2 x double> %strided.vec61, <2 x double> %13)
  %15 = fmul <2 x double> %strided.vec61, %strided.vec56
  %16 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec, <2 x double> %strided.vec65, <2 x double> %15)
  %wide.vec69 = load <16 x double>, ptr %next.gep, align 8, !tbaa !11
  %strided.vec70 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 0, i32 8>
  %strided.vec71 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 1, i32 9>
  %strided.vec72 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 2, i32 10>
  %strided.vec73 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 3, i32 11>
  %strided.vec74 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 4, i32 12>
  %strided.vec75 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 5, i32 13>
  %strided.vec76 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 6, i32 14>
  %strided.vec77 = shufflevector <16 x double> %wide.vec69, <16 x double> poison, <2 x i32> <i32 7, i32 15>
  %17 = fadd <2 x double> %strided.vec70, %14
  %18 = fadd <2 x double> %16, %strided.vec74
  %19 = fneg <2 x double> %strided.vec57
  %20 = fmul <2 x double> %strided.vec66, %19
  %21 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec53, <2 x double> %strided.vec62, <2 x double> %20)
  %22 = fmul <2 x double> %strided.vec62, %strided.vec57
  %23 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec53, <2 x double> %strided.vec66, <2 x double> %22)
  %24 = fadd <2 x double> %strided.vec71, %21
  %25 = fadd <2 x double> %23, %strided.vec75
  %26 = fneg <2 x double> %strided.vec58
  %27 = fmul <2 x double> %strided.vec67, %26
  %28 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec54, <2 x double> %strided.vec63, <2 x double> %27)
  %29 = fmul <2 x double> %strided.vec63, %strided.vec58
  %30 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec54, <2 x double> %strided.vec67, <2 x double> %29)
  %31 = fadd <2 x double> %strided.vec72, %28
  %32 = fadd <2 x double> %30, %strided.vec76
  %33 = fneg <2 x double> %strided.vec59
  %34 = fmul <2 x double> %strided.vec68, %33
  %35 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec55, <2 x double> %strided.vec64, <2 x double> %34)
  %36 = fmul <2 x double> %strided.vec64, %strided.vec59
  %37 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec55, <2 x double> %strided.vec68, <2 x double> %36)
  %38 = fadd <2 x double> %strided.vec73, %35
  %39 = fadd <2 x double> %37, %strided.vec77
  %40 = shufflevector <2 x double> %17, <2 x double> %24, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %41 = shufflevector <2 x double> %31, <2 x double> %38, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %42 = shufflevector <2 x double> %18, <2 x double> %25, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %43 = shufflevector <2 x double> %32, <2 x double> %39, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %44 = shufflevector <4 x double> %40, <4 x double> %41, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %45 = shufflevector <4 x double> %42, <4 x double> %43, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %interleaved.vec = shufflevector <8 x double> %44, <8 x double> %45, <16 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15>
  store <16 x double> %interleaved.vec, ptr %next.gep, align 8, !tbaa !11
  %index.next = add nuw i64 %index, 2
  %46 = icmp eq i64 %index.next, %n.vec
  br i1 %46, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %7, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.preheader.preheader78

.preheader.preheader78:                           ; preds = %middle.block, %vector.memcheck, %.preheader.preheader
  %.038.ph = phi ptr [ %1, %vector.memcheck ], [ %1, %.preheader.preheader ], [ %ind.end, %middle.block ]
  %.03037.ph = phi ptr [ %2, %vector.memcheck ], [ %2, %.preheader.preheader ], [ %ind.end44, %middle.block ]
  %.03236.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader.preheader ], [ %n.vec, %middle.block ]
  %.03335.ph = phi ptr [ %3, %vector.memcheck ], [ %3, %.preheader.preheader ], [ %ind.end47, %middle.block ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader78, %.preheader
  %.038 = phi ptr [ %122, %.preheader ], [ %.038.ph, %.preheader.preheader78 ]
  %.03037 = phi ptr [ %120, %.preheader ], [ %.03037.ph, %.preheader.preheader78 ]
  %.03236 = phi i64 [ %123, %.preheader ], [ %.03236.ph, %.preheader.preheader78 ]
  %.03335 = phi ptr [ %121, %.preheader ], [ %.03335.ph, %.preheader.preheader78 ]
  %47 = load double, ptr %.03037, align 8, !tbaa !11
  %48 = load double, ptr %.03335, align 8, !tbaa !11
  %49 = getelementptr inbounds i8, ptr %.03037, i64 32
  %50 = load double, ptr %49, align 8, !tbaa !11
  %51 = getelementptr inbounds i8, ptr %.03335, i64 32
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = fneg double %50
  %54 = fmul double %52, %53
  %55 = tail call double @llvm.fmuladd.f64(double %47, double %48, double %54)
  %56 = fmul double %48, %50
  %57 = tail call double @llvm.fmuladd.f64(double %47, double %52, double %56)
  %58 = load double, ptr %.038, align 8, !tbaa !11
  %59 = fadd double %58, %55
  store double %59, ptr %.038, align 8, !tbaa !11
  %60 = getelementptr inbounds i8, ptr %.038, i64 32
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = fadd double %57, %61
  store double %62, ptr %60, align 8, !tbaa !11
  %63 = getelementptr inbounds i8, ptr %.03037, i64 8
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %.03335, i64 8
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds i8, ptr %.03037, i64 40
  %68 = load double, ptr %67, align 8, !tbaa !11
  %69 = getelementptr inbounds i8, ptr %.03335, i64 40
  %70 = load double, ptr %69, align 8, !tbaa !11
  %71 = fneg double %68
  %72 = fmul double %70, %71
  %73 = tail call double @llvm.fmuladd.f64(double %64, double %66, double %72)
  %74 = fmul double %66, %68
  %75 = tail call double @llvm.fmuladd.f64(double %64, double %70, double %74)
  %76 = getelementptr inbounds i8, ptr %.038, i64 8
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = fadd double %77, %73
  store double %78, ptr %76, align 8, !tbaa !11
  %79 = getelementptr inbounds i8, ptr %.038, i64 40
  %80 = load double, ptr %79, align 8, !tbaa !11
  %81 = fadd double %75, %80
  store double %81, ptr %79, align 8, !tbaa !11
  %82 = getelementptr inbounds i8, ptr %.03037, i64 16
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %.03335, i64 16
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %.03037, i64 48
  %87 = load double, ptr %86, align 8, !tbaa !11
  %88 = getelementptr inbounds i8, ptr %.03335, i64 48
  %89 = load double, ptr %88, align 8, !tbaa !11
  %90 = fneg double %87
  %91 = fmul double %89, %90
  %92 = tail call double @llvm.fmuladd.f64(double %83, double %85, double %91)
  %93 = fmul double %85, %87
  %94 = tail call double @llvm.fmuladd.f64(double %83, double %89, double %93)
  %95 = getelementptr inbounds i8, ptr %.038, i64 16
  %96 = load double, ptr %95, align 8, !tbaa !11
  %97 = fadd double %96, %92
  store double %97, ptr %95, align 8, !tbaa !11
  %98 = getelementptr inbounds i8, ptr %.038, i64 48
  %99 = load double, ptr %98, align 8, !tbaa !11
  %100 = fadd double %94, %99
  store double %100, ptr %98, align 8, !tbaa !11
  %101 = getelementptr inbounds i8, ptr %.03037, i64 24
  %102 = load double, ptr %101, align 8, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %.03335, i64 24
  %104 = load double, ptr %103, align 8, !tbaa !11
  %105 = getelementptr inbounds i8, ptr %.03037, i64 56
  %106 = load double, ptr %105, align 8, !tbaa !11
  %107 = getelementptr inbounds i8, ptr %.03335, i64 56
  %108 = load double, ptr %107, align 8, !tbaa !11
  %109 = fneg double %106
  %110 = fmul double %108, %109
  %111 = tail call double @llvm.fmuladd.f64(double %102, double %104, double %110)
  %112 = fmul double %104, %106
  %113 = tail call double @llvm.fmuladd.f64(double %102, double %108, double %112)
  %114 = getelementptr inbounds i8, ptr %.038, i64 24
  %115 = load double, ptr %114, align 8, !tbaa !11
  %116 = fadd double %115, %111
  store double %116, ptr %114, align 8, !tbaa !11
  %117 = getelementptr inbounds i8, ptr %.038, i64 56
  %118 = load double, ptr %117, align 8, !tbaa !11
  %119 = fadd double %113, %118
  store double %119, ptr %117, align 8, !tbaa !11
  %120 = getelementptr inbounds i8, ptr %.03037, i64 64
  %121 = getelementptr inbounds i8, ptr %.03335, i64 64
  %122 = getelementptr inbounds i8, ptr %.038, i64 64
  %123 = add nuw nsw i64 %.03236, 1
  %exitcond.not = icmp eq i64 %123, %7
  br i1 %exitcond.not, label %._crit_edge, label %.preheader, !llvm.loop !17

._crit_edge:                                      ; preds = %.preheader, %middle.block, %4
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !10, i64 8}
!6 = !{!"reim4_addmul_precomp", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !15}


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