; LLVM IR from NaokiHori/VerySimpleNSSolver :: src/integrate/predict/compute_dux (advy)

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

@ux_imin = external constant i64, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @ux_advy(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store double %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.domain_t, ptr %21, i32 0, i32 2
  %23 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %23, ptr %11, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.domain_t, ptr %24, i32 0, i32 3
  %26 = load i64, ptr %25, align 8, !tbaa !15
  store i64 %26, ptr %12, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.domain_t, ptr %27, i32 0, i32 5
  %29 = load double, ptr %28, align 8, !tbaa !16
  store double %29, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store i64 1, ptr %14, align 8, !tbaa !14
  br label %30

30:                                               ; preds = %139, %5
  %31 = load i64, ptr %14, align 8, !tbaa !14
  %32 = load i64, ptr %12, align 8, !tbaa !14
  %33 = icmp ule i64 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br label %142

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %36 = load i64, ptr @ux_imin, align 8, !tbaa !14
  store i64 %36, ptr %16, align 8, !tbaa !14
  br label %37

37:                                               ; preds = %135, %35
  %38 = load i64, ptr %16, align 8, !tbaa !14
  %39 = load i64, ptr %11, align 8, !tbaa !14
  %40 = icmp ule i64 %38, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %138

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load i64, ptr %14, align 8, !tbaa !14
  %45 = getelementptr inbounds ptr, ptr %43, i64 %44
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = load i64, ptr %16, align 8, !tbaa !14
  %48 = sub i64 %47, 1
  %49 = getelementptr inbounds double, ptr %46, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !9
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = load i64, ptr %14, align 8, !tbaa !14
  %53 = getelementptr inbounds ptr, ptr %51, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = load i64, ptr %16, align 8, !tbaa !14
  %56 = getelementptr inbounds double, ptr %54, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = fmul double 5.000000e-01, %57
  %59 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %50, double %58)
  store double %59, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i64, ptr %14, align 8, !tbaa !14
  %62 = add i64 %61, 1
  %63 = getelementptr inbounds ptr, ptr %60, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = load i64, ptr %16, align 8, !tbaa !14
  %66 = sub i64 %65, 1
  %67 = getelementptr inbounds double, ptr %64, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i64, ptr %14, align 8, !tbaa !14
  %71 = add i64 %70, 1
  %72 = getelementptr inbounds ptr, ptr %69, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  %74 = load i64, ptr %16, align 8, !tbaa !14
  %75 = getelementptr inbounds double, ptr %73, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !9
  %77 = fmul double 5.000000e-01, %76
  %78 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %68, double %77)
  store double %78, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load i64, ptr %14, align 8, !tbaa !14
  %81 = sub i64 %80, 1
  %82 = getelementptr inbounds ptr, ptr %79, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i64, ptr %16, align 8, !tbaa !14
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !9
  %87 = fneg double %86
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load i64, ptr %14, align 8, !tbaa !14
  %90 = getelementptr inbounds ptr, ptr %88, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = load i64, ptr %16, align 8, !tbaa !14
  %93 = getelementptr inbounds double, ptr %91, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !9
  %95 = fadd double %87, %94
  store double %95, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = load i64, ptr %14, align 8, !tbaa !14
  %98 = getelementptr inbounds ptr, ptr %96, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = load i64, ptr %16, align 8, !tbaa !14
  %101 = getelementptr inbounds double, ptr %99, i64 %100
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = fneg double %102
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load i64, ptr %14, align 8, !tbaa !14
  %106 = add i64 %105, 1
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = load i64, ptr %16, align 8, !tbaa !14
  %110 = getelementptr inbounds double, ptr %108, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !9
  %112 = fadd double %103, %111
  store double %112, ptr %20, align 8, !tbaa !9
  %113 = load double, ptr %9, align 8, !tbaa !9
  %114 = load double, ptr %13, align 8, !tbaa !9
  %115 = fdiv double 5.000000e-01, %114
  %116 = load double, ptr %17, align 8, !tbaa !9
  %117 = fmul double %115, %116
  %118 = load double, ptr %19, align 8, !tbaa !9
  %119 = load double, ptr %13, align 8, !tbaa !9
  %120 = fdiv double 5.000000e-01, %119
  %121 = load double, ptr %18, align 8, !tbaa !9
  %122 = fmul double %120, %121
  %123 = load double, ptr %20, align 8, !tbaa !9
  %124 = fmul double %122, %123
  %125 = call double @llvm.fmuladd.f64(double %117, double %118, double %124)
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = load i64, ptr %14, align 8, !tbaa !14
  %128 = getelementptr inbounds ptr, ptr %126, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = load i64, ptr %16, align 8, !tbaa !14
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = fneg double %113
  %134 = call double @llvm.fmuladd.f64(double %133, double %125, double %132)
  store double %134, ptr %131, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %135

135:                                              ; preds = %42
  %136 = load i64, ptr %16, align 8, !tbaa !14
  %137 = add i64 %136, 1
  store i64 %137, ptr %16, align 8, !tbaa !14
  br label %37, !llvm.loop !17

138:                                              ; preds = %41
  br label %139

139:                                              ; preds = %138
  %140 = load i64, ptr %14, align 8, !tbaa !14
  %141 = add i64 %140, 1
  store i64 %141, ptr %14, align 8, !tbaa !14
  br label %30, !llvm.loop !19

142:                                              ; preds = %34
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret i32 0
}

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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


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

@ux_imin = external local_unnamed_addr constant i64, align 8

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef i32 @ux_advy(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, double noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  %9 = load i64, ptr %8, align 8, !tbaa !11
  %.not46 = icmp eq i64 %9, 0
  br i1 %.not46, label %._crit_edge50, label %.lr.ph49

.lr.ph49:                                         ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load double, ptr %10, align 8, !tbaa !12
  %12 = load i64, ptr @ux_imin, align 8, !tbaa !13
  %.not4344 = icmp ugt i64 %12, %7
  %13 = fdiv double 5.000000e-01, %11
  %14 = fneg double %3
  br i1 %.not4344, label %._crit_edge50, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph49
  %15 = add i64 %9, 1
  %umax = tail call i64 @llvm.umax.i64(i64 %15, i64 2)
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 8
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !14
  %.phi.trans.insert52 = getelementptr i8, ptr %2, i64 8
  %.pre53 = load ptr, ptr %.phi.trans.insert52, align 8, !tbaa !14
  %invariant.gep = getelementptr i8, ptr %2, i64 -8
  %16 = shl i64 %12, 3
  %17 = add i64 %12, 1
  %18 = add i64 %7, 1
  %umax54 = tail call i64 @llvm.umax.i64(i64 %17, i64 %18)
  %19 = shl i64 %umax54, 3
  %20 = add i64 %16, -8
  %umax81 = tail call i64 @llvm.umax.i64(i64 %17, i64 %18)
  %21 = sub i64 %umax81, %12
  %min.iters.check = icmp ult i64 %21, 4
  %n.vec = and i64 %21, -2
  %ind.end = add i64 %12, %n.vec
  %broadcast.splatinsert = insertelement <2 x double> poison, double %13, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert89 = insertelement <2 x double> poison, double %14, i64 0
  %broadcast.splat90 = shufflevector <2 x double> %broadcast.splatinsert89, <2 x double> poison, <2 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %21, %n.vec
  br label %.lr.ph

._crit_edge50:                                    ; preds = %._crit_edge, %.lr.ph49, %5
  ret i32 0

.lr.ph:                                           ; preds = %.lr.ph.preheader, %._crit_edge
  %22 = phi ptr [ %29, %._crit_edge ], [ %.pre53, %.lr.ph.preheader ]
  %23 = phi ptr [ %26, %._crit_edge ], [ %.pre, %.lr.ph.preheader ]
  %.047 = phi i64 [ %24, %._crit_edge ], [ 1, %.lr.ph.preheader ]
  %24 = add nuw i64 %.047, 1
  %25 = getelementptr inbounds ptr, ptr %1, i64 %24
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %.047
  %27 = load ptr, ptr %gep, align 8, !tbaa !14
  %28 = getelementptr inbounds ptr, ptr %2, i64 %24
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = getelementptr inbounds ptr, ptr %4, i64 %.047
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %.04245.ph = phi i64 [ %12, %vector.memcheck ], [ %12, %.lr.ph ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %scevgep = getelementptr i8, ptr %31, i64 %16
  %scevgep55 = getelementptr i8, ptr %31, i64 %19
  %scevgep56 = getelementptr i8, ptr %23, i64 %20
  %scevgep57 = getelementptr i8, ptr %23, i64 %19
  %scevgep58 = getelementptr i8, ptr %26, i64 %20
  %scevgep59 = getelementptr i8, ptr %26, i64 %19
  %scevgep60 = getelementptr i8, ptr %27, i64 %16
  %scevgep61 = getelementptr i8, ptr %27, i64 %19
  %scevgep62 = getelementptr i8, ptr %22, i64 %16
  %scevgep63 = getelementptr i8, ptr %22, i64 %19
  %scevgep64 = getelementptr i8, ptr %29, i64 %16
  %scevgep65 = getelementptr i8, ptr %29, i64 %19
  %bound0 = icmp ult ptr %scevgep, %scevgep57
  %bound1 = icmp ult ptr %scevgep56, %scevgep55
  %found.conflict = and i1 %bound0, %bound1
  %bound066 = icmp ult ptr %scevgep, %scevgep59
  %bound167 = icmp ult ptr %scevgep58, %scevgep55
  %found.conflict68 = and i1 %bound066, %bound167
  %conflict.rdx = or i1 %found.conflict, %found.conflict68
  %bound069 = icmp ult ptr %scevgep, %scevgep61
  %bound170 = icmp ult ptr %scevgep60, %scevgep55
  %found.conflict71 = and i1 %bound069, %bound170
  %conflict.rdx72 = or i1 %conflict.rdx, %found.conflict71
  %bound073 = icmp ult ptr %scevgep, %scevgep63
  %bound174 = icmp ult ptr %scevgep62, %scevgep55
  %found.conflict75 = and i1 %bound073, %bound174
  %conflict.rdx76 = or i1 %conflict.rdx72, %found.conflict75
  %bound077 = icmp ult ptr %scevgep, %scevgep65
  %bound178 = icmp ult ptr %scevgep64, %scevgep55
  %found.conflict79 = and i1 %bound077, %bound178
  %conflict.rdx80 = or i1 %conflict.rdx76, %found.conflict79
  br i1 %conflict.rdx80, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %vector.memcheck, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.memcheck ]
  %offset.idx = add i64 %12, %index
  %32 = add i64 %offset.idx, -1
  %33 = getelementptr inbounds double, ptr %23, i64 %32
  %wide.load = load <2 x double>, ptr %33, align 8, !tbaa !16, !alias.scope !17
  %34 = getelementptr inbounds double, ptr %23, i64 %offset.idx
  %wide.load82 = load <2 x double>, ptr %34, align 8, !tbaa !16, !alias.scope !17
  %35 = fmul <2 x double> %wide.load82, <double 5.000000e-01, double 5.000000e-01>
  %36 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> <double 5.000000e-01, double 5.000000e-01>, <2 x double> %35)
  %37 = getelementptr inbounds double, ptr %26, i64 %32
  %wide.load83 = load <2 x double>, ptr %37, align 8, !tbaa !16, !alias.scope !20
  %38 = getelementptr inbounds double, ptr %26, i64 %offset.idx
  %wide.load84 = load <2 x double>, ptr %38, align 8, !tbaa !16, !alias.scope !20
  %39 = fmul <2 x double> %wide.load84, <double 5.000000e-01, double 5.000000e-01>
  %40 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load83, <2 x double> <double 5.000000e-01, double 5.000000e-01>, <2 x double> %39)
  %41 = getelementptr inbounds double, ptr %27, i64 %offset.idx
  %wide.load85 = load <2 x double>, ptr %41, align 8, !tbaa !16, !alias.scope !22
  %42 = getelementptr inbounds double, ptr %22, i64 %offset.idx
  %wide.load86 = load <2 x double>, ptr %42, align 8, !tbaa !16, !alias.scope !24
  %43 = fsub <2 x double> %wide.load86, %wide.load85
  %44 = getelementptr inbounds double, ptr %29, i64 %offset.idx
  %wide.load87 = load <2 x double>, ptr %44, align 8, !tbaa !16, !alias.scope !26
  %45 = fsub <2 x double> %wide.load87, %wide.load86
  %46 = fmul <2 x double> %broadcast.splat, %36
  %47 = fmul <2 x double> %broadcast.splat, %40
  %48 = fmul <2 x double> %47, %45
  %49 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %43, <2 x double> %48)
  %50 = getelementptr inbounds double, ptr %31, i64 %offset.idx
  %wide.load88 = load <2 x double>, ptr %50, align 8, !tbaa !16, !alias.scope !28, !noalias !30
  %51 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat90, <2 x double> %49, <2 x double> %wide.load88)
  store <2 x double> %51, ptr %50, align 8, !tbaa !16, !alias.scope !28, !noalias !30
  %index.next = add nuw i64 %index, 2
  %52 = icmp eq i64 %index.next, %n.vec
  br i1 %52, label %middle.block, label %vector.body, !llvm.loop !31

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %exitcond = icmp eq i64 %24, %umax
  br i1 %exitcond, label %._crit_edge50, label %.lr.ph, !llvm.loop !35

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.04245 = phi i64 [ %81, %scalar.ph ], [ %.04245.ph, %scalar.ph.preheader ]
  %53 = add i64 %.04245, -1
  %54 = getelementptr inbounds double, ptr %23, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !16
  %56 = getelementptr inbounds double, ptr %23, i64 %.04245
  %57 = load double, ptr %56, align 8, !tbaa !16
  %58 = fmul double %57, 5.000000e-01
  %59 = tail call double @llvm.fmuladd.f64(double %55, double 5.000000e-01, double %58)
  %60 = getelementptr inbounds double, ptr %26, i64 %53
  %61 = load double, ptr %60, align 8, !tbaa !16
  %62 = getelementptr inbounds double, ptr %26, i64 %.04245
  %63 = load double, ptr %62, align 8, !tbaa !16
  %64 = fmul double %63, 5.000000e-01
  %65 = tail call double @llvm.fmuladd.f64(double %61, double 5.000000e-01, double %64)
  %66 = getelementptr inbounds double, ptr %27, i64 %.04245
  %67 = load double, ptr %66, align 8, !tbaa !16
  %68 = getelementptr inbounds double, ptr %22, i64 %.04245
  %69 = load double, ptr %68, align 8, !tbaa !16
  %70 = fsub double %69, %67
  %71 = getelementptr inbounds double, ptr %29, i64 %.04245
  %72 = load double, ptr %71, align 8, !tbaa !16
  %73 = fsub double %72, %69
  %74 = fmul double %13, %59
  %75 = fmul double %13, %65
  %76 = fmul double %75, %73
  %77 = tail call double @llvm.fmuladd.f64(double %74, double %70, double %76)
  %78 = getelementptr inbounds double, ptr %31, i64 %.04245
  %79 = load double, ptr %78, align 8, !tbaa !16
  %80 = tail call double @llvm.fmuladd.f64(double %14, double %77, double %79)
  store double %80, ptr %78, align 8, !tbaa !16
  %81 = add i64 %.04245, 1
  %.not43 = icmp ugt i64 %81, %7
  br i1 %.not43, label %._crit_edge, label %scalar.ph, !llvm.loop !36
}

; 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 i64 @llvm.umax.i64(i64, i64) #2

; 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 16}
!6 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !7, i64 40}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = !{!21}
!21 = distinct !{!21, !19}
!22 = !{!23}
!23 = distinct !{!23, !19}
!24 = !{!25}
!25 = distinct !{!25, !19}
!26 = !{!27}
!27 = distinct !{!27, !19}
!28 = !{!29}
!29 = distinct !{!29, !19}
!30 = !{!18, !21, !23, !25, !27}
!31 = distinct !{!31, !32, !33, !34}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!"llvm.loop.isvectorized", i32 1}
!34 = !{!"llvm.loop.unroll.runtime.disable"}
!35 = distinct !{!35, !32}
!36 = distinct !{!36, !32, !33}


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