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

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
define dso_local void @reim4_fftvec_mul_ref(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %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_mul_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 = %90, %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 %93

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 = %80, %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 %83

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
  store double %71, ptr %74, align 8, !tbaa !13
  %75 = load double, ptr %14, align 8, !tbaa !13
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = load i64, ptr %12, align 8, !tbaa !12
  %78 = add i64 %77, 4
  %79 = getelementptr inbounds double, ptr %76, i64 %78
  store double %75, ptr %79, 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 %80

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

83:                                               ; preds = %28
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds double, ptr %84, i64 8
  store ptr %85, ptr %7, align 8, !tbaa !5
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds double, ptr %86, i64 8
  store ptr %87, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 8
  store ptr %89, ptr %6, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %83
  %91 = load i64, ptr %10, align 8, !tbaa !12
  %92 = add i64 %91, 1
  store i64 %92, ptr %10, align 8, !tbaa !12
  br label %18, !llvm.loop !17

93:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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_mul_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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @reim4_fftvec_mul_ref(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #1 {
  %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.preheader69, 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.preheader69, 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)
  %17 = fneg <2 x double> %strided.vec57
  %18 = fmul <2 x double> %strided.vec66, %17
  %19 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec53, <2 x double> %strided.vec62, <2 x double> %18)
  %20 = fmul <2 x double> %strided.vec62, %strided.vec57
  %21 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec53, <2 x double> %strided.vec66, <2 x double> %20)
  %22 = fneg <2 x double> %strided.vec58
  %23 = fmul <2 x double> %strided.vec67, %22
  %24 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec54, <2 x double> %strided.vec63, <2 x double> %23)
  %25 = fmul <2 x double> %strided.vec63, %strided.vec58
  %26 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec54, <2 x double> %strided.vec67, <2 x double> %25)
  %27 = fneg <2 x double> %strided.vec59
  %28 = fmul <2 x double> %strided.vec68, %27
  %29 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec55, <2 x double> %strided.vec64, <2 x double> %28)
  %30 = fmul <2 x double> %strided.vec64, %strided.vec59
  %31 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %strided.vec55, <2 x double> %strided.vec68, <2 x double> %30)
  %32 = shufflevector <2 x double> %14, <2 x double> %19, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %33 = shufflevector <2 x double> %24, <2 x double> %29, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %34 = shufflevector <2 x double> %16, <2 x double> %21, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %35 = shufflevector <2 x double> %26, <2 x double> %31, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %36 = shufflevector <4 x double> %32, <4 x double> %33, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %37 = shufflevector <4 x double> %34, <4 x double> %35, <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> %36, <8 x double> %37, <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
  %38 = icmp eq i64 %index.next, %n.vec
  br i1 %38, 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.preheader69

.preheader.preheader69:                           ; 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.preheader69, %.preheader
  %.038 = phi ptr [ %98, %.preheader ], [ %.038.ph, %.preheader.preheader69 ]
  %.03037 = phi ptr [ %96, %.preheader ], [ %.03037.ph, %.preheader.preheader69 ]
  %.03236 = phi i64 [ %99, %.preheader ], [ %.03236.ph, %.preheader.preheader69 ]
  %.03335 = phi ptr [ %97, %.preheader ], [ %.03335.ph, %.preheader.preheader69 ]
  %39 = load double, ptr %.03037, align 8, !tbaa !11
  %40 = load double, ptr %.03335, align 8, !tbaa !11
  %41 = getelementptr inbounds i8, ptr %.03037, i64 32
  %42 = load double, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds i8, ptr %.03335, i64 32
  %44 = load double, ptr %43, align 8, !tbaa !11
  %45 = fneg double %42
  %46 = fmul double %44, %45
  %47 = tail call double @llvm.fmuladd.f64(double %39, double %40, double %46)
  %48 = fmul double %40, %42
  %49 = tail call double @llvm.fmuladd.f64(double %39, double %44, double %48)
  store double %47, ptr %.038, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %.038, i64 32
  store double %49, ptr %50, align 8, !tbaa !11
  %51 = getelementptr inbounds i8, ptr %.03037, i64 8
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds i8, ptr %.03335, i64 8
  %54 = load double, ptr %53, align 8, !tbaa !11
  %55 = getelementptr inbounds i8, ptr %.03037, i64 40
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %.03335, i64 40
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = fneg double %56
  %60 = fmul double %58, %59
  %61 = tail call double @llvm.fmuladd.f64(double %52, double %54, double %60)
  %62 = fmul double %54, %56
  %63 = tail call double @llvm.fmuladd.f64(double %52, double %58, double %62)
  %64 = getelementptr inbounds i8, ptr %.038, i64 8
  store double %61, ptr %64, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %.038, i64 40
  store double %63, ptr %65, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %.03037, i64 16
  %67 = load double, ptr %66, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %.03335, i64 16
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds i8, ptr %.03037, i64 48
  %71 = load double, ptr %70, align 8, !tbaa !11
  %72 = getelementptr inbounds i8, ptr %.03335, i64 48
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = fneg double %71
  %75 = fmul double %73, %74
  %76 = tail call double @llvm.fmuladd.f64(double %67, double %69, double %75)
  %77 = fmul double %69, %71
  %78 = tail call double @llvm.fmuladd.f64(double %67, double %73, double %77)
  %79 = getelementptr inbounds i8, ptr %.038, i64 16
  store double %76, ptr %79, align 8, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %.038, i64 48
  store double %78, ptr %80, align 8, !tbaa !11
  %81 = getelementptr inbounds i8, ptr %.03037, i64 24
  %82 = load double, ptr %81, align 8, !tbaa !11
  %83 = getelementptr inbounds i8, ptr %.03335, i64 24
  %84 = load double, ptr %83, align 8, !tbaa !11
  %85 = getelementptr inbounds i8, ptr %.03037, i64 56
  %86 = load double, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds i8, ptr %.03335, i64 56
  %88 = load double, ptr %87, align 8, !tbaa !11
  %89 = fneg double %86
  %90 = fmul double %88, %89
  %91 = tail call double @llvm.fmuladd.f64(double %82, double %84, double %90)
  %92 = fmul double %84, %86
  %93 = tail call double @llvm.fmuladd.f64(double %82, double %88, double %92)
  %94 = getelementptr inbounds i8, ptr %.038, i64 24
  store double %91, ptr %94, align 8, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %.038, i64 56
  store double %93, ptr %95, align 8, !tbaa !11
  %96 = getelementptr inbounds i8, ptr %.03037, i64 64
  %97 = getelementptr inbounds i8, ptr %.03335, i64 64
  %98 = getelementptr inbounds i8, ptr %.038, i64 64
  %99 = add nuw nsw i64 %.03236, 1
  %exitcond.not = icmp eq i64 %99, %7
  br i1 %exitcond.not, label %._crit_edge, label %.preheader, !llvm.loop !17

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

; 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #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_mul_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