; LLVM IR from FedericaPaoli1/stm32-speech-recognition-and-traduction :: Drivers/CMSIS/DSP/Source/TransformFunctions (arm_rfft_fast_f64)

; 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.arm_rfft_fast_instance_f64 = type { %struct.arm_cfft_instance_f64, i16, ptr }
%struct.arm_cfft_instance_f64 = type { i16, ptr, ptr, i16 }

; 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 @merge_rfft_f64(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  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 8, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.arm_rfft_fast_instance_f64, ptr %23, i32 0, i32 2
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %25, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %26, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %27, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #2
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.arm_rfft_fast_instance_f64, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %struct.arm_cfft_instance_f64, ptr %29, i32 0, i32 0
  %31 = load i16, ptr %30, align 8, !tbaa !13
  %32 = zext i16 %31 to i32
  %33 = sub nsw i32 %32, 1
  store i32 %33, ptr %7, align 4, !tbaa !14
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds double, ptr %34, i64 0
  %36 = load double, ptr %35, align 8, !tbaa !16
  store double %36, ptr %13, align 8, !tbaa !16
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = getelementptr inbounds double, ptr %37, i64 1
  %39 = load double, ptr %38, align 8, !tbaa !16
  store double %39, ptr %14, align 8, !tbaa !16
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %40, i64 2
  store ptr %41, ptr %10, align 8, !tbaa !5
  %42 = load double, ptr %13, align 8, !tbaa !16
  %43 = load double, ptr %14, align 8, !tbaa !16
  %44 = fadd double %42, %43
  %45 = fmul double 5.000000e-01, %44
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds double, ptr %46, i32 1
  store ptr %47, ptr %6, align 8, !tbaa !5
  store double %45, ptr %46, align 8, !tbaa !16
  %48 = load double, ptr %13, align 8, !tbaa !16
  %49 = load double, ptr %14, align 8, !tbaa !16
  %50 = fsub double %48, %49
  %51 = fmul double 5.000000e-01, %50
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds double, ptr %52, i32 1
  store ptr %53, ptr %6, align 8, !tbaa !5
  store double %51, ptr %52, align 8, !tbaa !16
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load i32, ptr %7, align 4, !tbaa !14
  %56 = mul i32 2, %55
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds double, ptr %54, i64 %57
  store ptr %58, ptr %12, align 8, !tbaa !5
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = getelementptr inbounds double, ptr %59, i64 2
  store ptr %60, ptr %11, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %64, %3
  %62 = load i32, ptr %7, align 4, !tbaa !14
  %63 = icmp ugt i32 %62, 0
  br i1 %63, label %64, label %127

64:                                               ; preds = %61
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = getelementptr inbounds double, ptr %65, i64 1
  %67 = load double, ptr %66, align 8, !tbaa !16
  store double %67, ptr %16, align 8, !tbaa !16
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = getelementptr inbounds double, ptr %68, i64 0
  %70 = load double, ptr %69, align 8, !tbaa !16
  store double %70, ptr %15, align 8, !tbaa !16
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds double, ptr %71, i64 0
  %73 = load double, ptr %72, align 8, !tbaa !16
  store double %73, ptr %13, align 8, !tbaa !16
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds double, ptr %74, i64 1
  %76 = load double, ptr %75, align 8, !tbaa !16
  store double %76, ptr %14, align 8, !tbaa !16
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %77, i32 1
  store ptr %78, ptr %10, align 8, !tbaa !5
  %79 = load double, ptr %77, align 8, !tbaa !16
  store double %79, ptr %8, align 8, !tbaa !16
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %80, i32 1
  store ptr %81, ptr %10, align 8, !tbaa !5
  %82 = load double, ptr %80, align 8, !tbaa !16
  store double %82, ptr %9, align 8, !tbaa !16
  %83 = load double, ptr %13, align 8, !tbaa !16
  %84 = load double, ptr %15, align 8, !tbaa !16
  %85 = fsub double %83, %84
  store double %85, ptr %17, align 8, !tbaa !16
  %86 = load double, ptr %14, align 8, !tbaa !16
  %87 = load double, ptr %16, align 8, !tbaa !16
  %88 = fadd double %86, %87
  store double %88, ptr %18, align 8, !tbaa !16
  %89 = load double, ptr %8, align 8, !tbaa !16
  %90 = load double, ptr %17, align 8, !tbaa !16
  %91 = fmul double %89, %90
  store double %91, ptr %19, align 8, !tbaa !16
  %92 = load double, ptr %9, align 8, !tbaa !16
  %93 = load double, ptr %18, align 8, !tbaa !16
  %94 = fmul double %92, %93
  store double %94, ptr %20, align 8, !tbaa !16
  %95 = load double, ptr %9, align 8, !tbaa !16
  %96 = load double, ptr %17, align 8, !tbaa !16
  %97 = fmul double %95, %96
  store double %97, ptr %21, align 8, !tbaa !16
  %98 = load double, ptr %8, align 8, !tbaa !16
  %99 = load double, ptr %18, align 8, !tbaa !16
  %100 = fmul double %98, %99
  store double %100, ptr %22, align 8, !tbaa !16
  %101 = load double, ptr %13, align 8, !tbaa !16
  %102 = load double, ptr %15, align 8, !tbaa !16
  %103 = fadd double %101, %102
  %104 = load double, ptr %19, align 8, !tbaa !16
  %105 = fsub double %103, %104
  %106 = load double, ptr %20, align 8, !tbaa !16
  %107 = fsub double %105, %106
  %108 = fmul double 5.000000e-01, %107
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %109, i32 1
  store ptr %110, ptr %6, align 8, !tbaa !5
  store double %108, ptr %109, align 8, !tbaa !16
  %111 = load double, ptr %14, align 8, !tbaa !16
  %112 = load double, ptr %16, align 8, !tbaa !16
  %113 = fsub double %111, %112
  %114 = load double, ptr %21, align 8, !tbaa !16
  %115 = fadd double %113, %114
  %116 = load double, ptr %22, align 8, !tbaa !16
  %117 = fsub double %115, %116
  %118 = fmul double 5.000000e-01, %117
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds double, ptr %119, i32 1
  store ptr %120, ptr %6, align 8, !tbaa !5
  store double %118, ptr %119, align 8, !tbaa !16
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 2
  store ptr %122, ptr %11, align 8, !tbaa !5
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = getelementptr inbounds double, ptr %123, i64 -2
  store ptr %124, ptr %12, align 8, !tbaa !5
  %125 = load i32, ptr %7, align 4, !tbaa !14
  %126 = add i32 %125, -1
  store i32 %126, ptr %7, align 4, !tbaa !14
  br label %61, !llvm.loop !18

127:                                              ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  ret void
}

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, !6, i64 40}
!10 = !{!"", !11, i64 0, !12, i64 32, !6, i64 40}
!11 = !{!"", !12, i64 0, !6, i64 8, !6, i64 16, !12, i64 24}
!12 = !{!"short", !7, i64 0}
!13 = !{!10, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @merge_rfft_f64(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = load i16, ptr %0, align 8, !tbaa !12
  %7 = zext i16 %6 to i32
  %8 = add nsw i32 %7, -1
  %9 = load <2 x double>, ptr %1, align 8, !tbaa !13
  %10 = shufflevector <2 x double> %9, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %11 = fadd <2 x double> %10, %9
  %12 = fsub <2 x double> %10, %9
  %13 = shufflevector <2 x double> %11, <2 x double> %12, <2 x i32> <i32 0, i32 3>
  %14 = fmul <2 x double> %13, <double 5.000000e-01, double 5.000000e-01>
  store <2 x double> %14, ptr %2, align 8, !tbaa !13
  %.not53 = icmp eq i32 %8, 0
  br i1 %.not53, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %3
  %15 = shl nsw i32 %8, 1
  %16 = zext i32 %15 to i64
  %17 = getelementptr inbounds double, ptr %1, i64 %16
  %18 = zext i32 %8 to i64
  %min.iters.check = icmp ult i32 %8, 6
  br i1 %min.iters.check, label %.lr.ph.preheader92, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %scevgep = getelementptr i8, ptr %2, i64 16
  %19 = add nsw i32 %7, -2
  %20 = zext i32 %19 to i64
  %21 = shl nuw nsw i64 %20, 4
  %22 = add nuw nsw i64 %21, 32
  %scevgep59 = getelementptr i8, ptr %2, i64 %22
  %scevgep60 = getelementptr i8, ptr %1, i64 16
  %scevgep61 = getelementptr i8, ptr %1, i64 %22
  %23 = shl nuw nsw i64 %16, 3
  %24 = sub nsw i64 %23, %21
  %scevgep62 = getelementptr i8, ptr %1, i64 %24
  %25 = getelementptr i8, ptr %1, i64 %23
  %scevgep64 = getelementptr i8, ptr %5, i64 16
  %scevgep65 = getelementptr i8, ptr %5, i64 %22
  %bound0 = icmp ult ptr %scevgep, %scevgep61
  %bound1 = icmp ult ptr %scevgep60, %scevgep59
  %found.conflict = and i1 %bound0, %bound1
  %bound066 = icmp ugt ptr %25, %2
  %bound167 = icmp ult ptr %scevgep62, %scevgep59
  %found.conflict68 = and i1 %bound066, %bound167
  %conflict.rdx = or i1 %found.conflict, %found.conflict68
  %bound069 = icmp ult ptr %scevgep, %scevgep65
  %bound170 = icmp ult ptr %scevgep64, %scevgep59
  %found.conflict71 = and i1 %bound069, %bound170
  %conflict.rdx72 = or i1 %conflict.rdx, %found.conflict71
  br i1 %conflict.rdx72, label %.lr.ph.preheader92, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %18, 4294967294
  %26 = shl nuw nsw i64 %n.vec, 4
  %ind.end = getelementptr i8, ptr %2, i64 %26
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end73 = sub i32 %8, %.cast
  %27 = shl nuw nsw i64 %n.vec, 4
  %ind.end75 = getelementptr i8, ptr %5, i64 %27
  %28 = shl nuw nsw i64 %n.vec, 4
  %ind.end77 = getelementptr i8, ptr %1, i64 %28
  %29 = mul nsw i64 %n.vec, -16
  %ind.end79 = getelementptr i8, ptr %17, i64 %29
  %invariant.gep = getelementptr i8, ptr %1, i64 16
  %invariant.gep93 = getelementptr i8, ptr %5, i64 16
  %invariant.gep95 = getelementptr i8, ptr %2, i64 16
  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, 4
  %offset.idx81 = shl i64 %index, 4
  %offset.idx83 = shl i64 %index, 4
  %offset.idx85 = mul i64 %index, -16
  %next.gep86 = getelementptr i8, ptr %17, i64 %offset.idx85
  %30 = getelementptr i8, ptr %17, i64 %offset.idx85
  %next.gep87 = getelementptr i8, ptr %30, i64 -16
  %gep = getelementptr i8, ptr %invariant.gep, i64 %offset.idx83
  %gep94 = getelementptr i8, ptr %invariant.gep93, i64 %offset.idx81
  %31 = getelementptr inbounds i8, ptr %next.gep86, i64 8
  %32 = getelementptr i8, ptr %30, i64 -8
  %33 = load double, ptr %31, align 8, !tbaa !13, !alias.scope !15
  %34 = load double, ptr %32, align 8, !tbaa !13, !alias.scope !15
  %35 = insertelement <2 x double> poison, double %33, i64 0
  %36 = insertelement <2 x double> %35, double %34, i64 1
  %37 = load double, ptr %next.gep86, align 8, !tbaa !13, !alias.scope !15
  %38 = load double, ptr %next.gep87, align 8, !tbaa !13, !alias.scope !15
  %39 = insertelement <2 x double> poison, double %37, i64 0
  %40 = insertelement <2 x double> %39, double %38, i64 1
  %wide.vec = load <4 x double>, ptr %gep, align 8, !tbaa !13
  %strided.vec = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec88 = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %wide.vec89 = load <4 x double>, ptr %gep94, align 8, !tbaa !13
  %strided.vec90 = shufflevector <4 x double> %wide.vec89, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec91 = shufflevector <4 x double> %wide.vec89, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %41 = fsub <2 x double> %strided.vec, %40
  %42 = fadd <2 x double> %36, %strided.vec88
  %43 = fmul <2 x double> %41, %strided.vec90
  %44 = fmul <2 x double> %42, %strided.vec91
  %45 = fmul <2 x double> %41, %strided.vec91
  %46 = fmul <2 x double> %strided.vec90, %42
  %47 = fadd <2 x double> %40, %strided.vec
  %48 = fsub <2 x double> %47, %43
  %49 = fsub <2 x double> %48, %44
  %50 = fmul <2 x double> %49, <double 5.000000e-01, double 5.000000e-01>
  %51 = fsub <2 x double> %strided.vec88, %36
  %52 = fadd <2 x double> %51, %45
  %53 = fsub <2 x double> %52, %46
  %54 = fmul <2 x double> %53, <double 5.000000e-01, double 5.000000e-01>
  %gep96 = getelementptr i8, ptr %invariant.gep95, i64 %offset.idx
  %interleaved.vec = shufflevector <2 x double> %50, <2 x double> %54, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec, ptr %gep96, align 8, !tbaa !13
  %index.next = add nuw i64 %index, 2
  %55 = icmp eq i64 %index.next, %n.vec
  br i1 %55, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %18
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader92

.lr.ph.preheader92:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %.pn5158.ph = phi ptr [ %2, %vector.memcheck ], [ %2, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %.04757.ph = phi i32 [ %8, %vector.memcheck ], [ %8, %.lr.ph.preheader ], [ %ind.end73, %middle.block ]
  %.pn56.ph = phi ptr [ %5, %vector.memcheck ], [ %5, %.lr.ph.preheader ], [ %ind.end75, %middle.block ]
  %.pn5255.ph = phi ptr [ %1, %vector.memcheck ], [ %1, %.lr.ph.preheader ], [ %ind.end77, %middle.block ]
  %.05054.ph = phi ptr [ %17, %vector.memcheck ], [ %17, %.lr.ph.preheader ], [ %ind.end79, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader92, %.lr.ph
  %.pn5158 = phi ptr [ %.0, %.lr.ph ], [ %.pn5158.ph, %.lr.ph.preheader92 ]
  %.04757 = phi i32 [ %75, %.lr.ph ], [ %.04757.ph, %.lr.ph.preheader92 ]
  %.pn56 = phi ptr [ %.048, %.lr.ph ], [ %.pn56.ph, %.lr.ph.preheader92 ]
  %.pn5255 = phi ptr [ %.049, %.lr.ph ], [ %.pn5255.ph, %.lr.ph.preheader92 ]
  %.05054 = phi ptr [ %74, %.lr.ph ], [ %.05054.ph, %.lr.ph.preheader92 ]
  %.049 = getelementptr inbounds i8, ptr %.pn5255, i64 16
  %.0 = getelementptr inbounds i8, ptr %.pn5158, i64 16
  %.048 = getelementptr inbounds i8, ptr %.pn56, i64 16
  %56 = load <2 x double>, ptr %.05054, align 8, !tbaa !13
  %57 = load <2 x double>, ptr %.049, align 8, !tbaa !13
  %58 = load <2 x double>, ptr %.048, align 8, !tbaa !13
  %59 = fsub <2 x double> %57, %56
  %60 = fadd <2 x double> %56, %57
  %61 = shufflevector <2 x double> %59, <2 x double> poison, <2 x i32> zeroinitializer
  %62 = fmul <2 x double> %61, %58
  %63 = shufflevector <2 x double> %60, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %64 = fmul <2 x double> %63, %58
  %65 = shufflevector <2 x double> %64, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %66 = fadd <2 x double> %57, %56
  %67 = fsub <2 x double> %57, %56
  %68 = shufflevector <2 x double> %66, <2 x double> %67, <2 x i32> <i32 0, i32 3>
  %69 = fsub <2 x double> %68, %62
  %70 = fadd <2 x double> %68, %62
  %71 = shufflevector <2 x double> %69, <2 x double> %70, <2 x i32> <i32 0, i32 3>
  %72 = fsub <2 x double> %71, %65
  %73 = fmul <2 x double> %72, <double 5.000000e-01, double 5.000000e-01>
  store <2 x double> %73, ptr %.0, align 8, !tbaa !13
  %74 = getelementptr inbounds i8, ptr %.05054, i64 -16
  %75 = add i32 %.04757, -1
  %.not = icmp eq i32 %75, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %3
  ret void
}

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

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


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