; LLVM IR from SanLiWuXun/2phase-LBM-DNS :: LBMDNS.ll (Z4initv)

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

@f = external dso_local global [201 x [801 x [9 x double]]], align 16
@rhog = external dso_local global [201 x [801 x double]], align 16
@ugx = external dso_local global [201 x [801 x double]], align 16
@ugy = external dso_local global [201 x [801 x double]], align 16
@POS = external dso_local global [300 x [2 x double]], align 16
@VEL = external dso_local global [300 x [2 x double]], align 16
@IB = external dso_local global [201 x [801 x [2 x i32]]], align 16
@Omega = external dso_local global [201 x [801 x [9 x double]]], align 16
@Drag = external dso_local global [300 x [2 x double]], align 16

; 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: mustprogress nounwind uwtable
declare dso_local noundef double @_Z5f_equdddi(double noundef, double noundef, double noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z4initv() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %5

5:                                                ; preds = %98, %0
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %7 = icmp sle i32 %6, 200
  br i1 %7, label %8, label %101

8:                                                ; preds = %5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %94, %8
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = icmp sle i32 %10, 800
  br i1 %11, label %12, label %97

12:                                               ; preds = %9
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds [201 x [801 x double]], ptr @rhog, i64 0, i64 %14
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [801 x double], ptr %15, i64 0, i64 %17
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [201 x [801 x double]], ptr @ugx, i64 0, i64 %20
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [801 x double], ptr %21, i64 0, i64 %23
  store double 0.000000e+00, ptr %24, align 8, !tbaa !9
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [201 x [801 x double]], ptr @ugy, i64 0, i64 %26
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [801 x double], ptr %27, i64 0, i64 %29
  store double 1.000000e-01, ptr %30, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %76, %12
  %32 = load i32, ptr %3, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 9
  br i1 %33, label %34, label %79

34:                                               ; preds = %31
  %35 = load i32, ptr %1, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [201 x [801 x double]], ptr @ugx, i64 0, i64 %36
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [801 x double], ptr %37, i64 0, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = load i32, ptr %1, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [201 x [801 x double]], ptr @ugy, i64 0, i64 %43
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [801 x double], ptr %44, i64 0, i64 %46
  %48 = load double, ptr %47, align 8, !tbaa !9
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [201 x [801 x double]], ptr @rhog, i64 0, i64 %50
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [801 x double], ptr %51, i64 0, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = call noundef double @_Z5f_equdddi(double noundef %41, double noundef %48, double noundef %55, i32 noundef %56)
  %58 = load i32, ptr %1, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %59
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [801 x [9 x double]], ptr %60, i64 0, i64 %62
  %64 = load i32, ptr %3, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [9 x double], ptr %63, i64 0, i64 %65
  store double %57, ptr %66, align 8, !tbaa !9
  %67 = load i32, ptr %1, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %68
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [801 x [9 x double]], ptr %69, i64 0, i64 %71
  %73 = load i32, ptr %3, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [9 x double], ptr %72, i64 0, i64 %74
  store double 0.000000e+00, ptr %75, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %34
  %77 = load i32, ptr %3, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %3, align 4, !tbaa !5
  br label %31, !llvm.loop !11

79:                                               ; preds = %31
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [201 x [801 x [2 x i32]]], ptr @IB, i64 0, i64 %81
  %83 = load i32, ptr %2, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [801 x [2 x i32]], ptr %82, i64 0, i64 %84
  %86 = getelementptr inbounds [2 x i32], ptr %85, i64 0, i64 0
  store i32 0, ptr %86, align 8, !tbaa !5
  %87 = load i32, ptr %1, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [201 x [801 x [2 x i32]]], ptr @IB, i64 0, i64 %88
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [801 x [2 x i32]], ptr %89, i64 0, i64 %91
  %93 = getelementptr inbounds [2 x i32], ptr %92, i64 0, i64 1
  store i32 -1, ptr %93, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %79
  %95 = load i32, ptr %2, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !13

97:                                               ; preds = %9
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %1, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %1, align 4, !tbaa !5
  br label %5, !llvm.loop !14

101:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %138, %101
  %103 = load i32, ptr %4, align 4, !tbaa !5
  %104 = icmp slt i32 %103, 300
  br i1 %104, label %105, label %141

105:                                              ; preds = %102
  %106 = load i32, ptr %4, align 4, !tbaa !5
  %107 = srem i32 %106, 10
  %108 = sitofp i32 %107 to double
  %109 = call double @llvm.fmuladd.f64(double %108, double 2.000000e+01, double 1.000000e+01)
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [300 x [2 x double]], ptr @POS, i64 0, i64 %111
  %113 = getelementptr inbounds [2 x double], ptr %112, i64 0, i64 0
  store double %109, ptr %113, align 16, !tbaa !9
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = sdiv i32 %114, 10
  %116 = sitofp i32 %115 to double
  %117 = call double @llvm.fmuladd.f64(double %116, double 2.000000e+01, double 1.000000e+02)
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [300 x [2 x double]], ptr @POS, i64 0, i64 %119
  %121 = getelementptr inbounds [2 x double], ptr %120, i64 0, i64 1
  store double %117, ptr %121, align 8, !tbaa !9
  %122 = load i32, ptr %4, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [300 x [2 x double]], ptr @VEL, i64 0, i64 %123
  %125 = getelementptr inbounds [2 x double], ptr %124, i64 0, i64 0
  store double 0.000000e+00, ptr %125, align 16, !tbaa !9
  %126 = load i32, ptr %4, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [300 x [2 x double]], ptr @VEL, i64 0, i64 %127
  %129 = getelementptr inbounds [2 x double], ptr %128, i64 0, i64 1
  store double 0.000000e+00, ptr %129, align 8, !tbaa !9
  %130 = load i32, ptr %4, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [300 x [2 x double]], ptr @Drag, i64 0, i64 %131
  %133 = getelementptr inbounds [2 x double], ptr %132, i64 0, i64 0
  store double 0.000000e+00, ptr %133, align 16, !tbaa !9
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [300 x [2 x double]], ptr @Drag, i64 0, i64 %135
  %137 = getelementptr inbounds [2 x double], ptr %136, i64 0, i64 1
  store double 0.000000e+00, ptr %137, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %105
  %139 = load i32, ptr %4, align 4, !tbaa !5
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %4, align 4, !tbaa !5
  br label %102, !llvm.loop !15

141:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #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 = { mustprogress 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


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

@f = external dso_local local_unnamed_addr global [201 x [801 x [9 x double]]], align 16
@rhog = external dso_local local_unnamed_addr global [201 x [801 x double]], align 16
@ugx = external dso_local local_unnamed_addr global [201 x [801 x double]], align 16
@ugy = external dso_local local_unnamed_addr global [201 x [801 x double]], align 16
@POS = external dso_local local_unnamed_addr global [300 x [2 x double]], align 16
@VEL = external dso_local local_unnamed_addr global [300 x [2 x double]], align 16
@IB = external dso_local local_unnamed_addr global [201 x [801 x [2 x i32]]], align 16
@Omega = external dso_local local_unnamed_addr global [201 x [801 x [9 x double]]], align 16
@Drag = external dso_local local_unnamed_addr global [300 x [2 x double]], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z5f_equdddi(double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z4initv() local_unnamed_addr #0 {
  br label %.preheader44

.preheader44:                                     ; preds = %0, %58
  %indvars.iv51 = phi i64 [ 0, %0 ], [ %indvars.iv.next52, %58 ]
  br label %1

1:                                                ; preds = %.preheader44, %1
  %indvars.iv = phi i64 [ 0, %.preheader44 ], [ %indvars.iv.next, %1 ]
  %2 = getelementptr inbounds [201 x [801 x double]], ptr @rhog, i64 0, i64 %indvars.iv51, i64 %indvars.iv
  store double 1.000000e+00, ptr %2, align 8, !tbaa !5
  %3 = getelementptr inbounds [201 x [801 x double]], ptr @ugx, i64 0, i64 %indvars.iv51, i64 %indvars.iv
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds [201 x [801 x double]], ptr @ugy, i64 0, i64 %indvars.iv51, i64 %indvars.iv
  store double 1.000000e-01, ptr %4, align 8, !tbaa !5
  %5 = tail call noundef double @_Z5f_equdddi(double noundef 0.000000e+00, double noundef 1.000000e-01, double noundef 1.000000e+00, i32 noundef 0)
  %6 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 0
  store double %5, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 0
  store double 0.000000e+00, ptr %7, align 8, !tbaa !5
  %8 = load double, ptr %3, align 8, !tbaa !5
  %9 = load double, ptr %4, align 8, !tbaa !5
  %10 = load double, ptr %2, align 8, !tbaa !5
  %11 = tail call noundef double @_Z5f_equdddi(double noundef %8, double noundef %9, double noundef %10, i32 noundef 1)
  %12 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 1
  store double %11, ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 1
  store double 0.000000e+00, ptr %13, align 8, !tbaa !5
  %14 = load double, ptr %3, align 8, !tbaa !5
  %15 = load double, ptr %4, align 8, !tbaa !5
  %16 = load double, ptr %2, align 8, !tbaa !5
  %17 = tail call noundef double @_Z5f_equdddi(double noundef %14, double noundef %15, double noundef %16, i32 noundef 2)
  %18 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 2
  store double %17, ptr %18, align 8, !tbaa !5
  %19 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 2
  store double 0.000000e+00, ptr %19, align 8, !tbaa !5
  %20 = load double, ptr %3, align 8, !tbaa !5
  %21 = load double, ptr %4, align 8, !tbaa !5
  %22 = load double, ptr %2, align 8, !tbaa !5
  %23 = tail call noundef double @_Z5f_equdddi(double noundef %20, double noundef %21, double noundef %22, i32 noundef 3)
  %24 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 3
  store double %23, ptr %24, align 8, !tbaa !5
  %25 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 3
  store double 0.000000e+00, ptr %25, align 8, !tbaa !5
  %26 = load double, ptr %3, align 8, !tbaa !5
  %27 = load double, ptr %4, align 8, !tbaa !5
  %28 = load double, ptr %2, align 8, !tbaa !5
  %29 = tail call noundef double @_Z5f_equdddi(double noundef %26, double noundef %27, double noundef %28, i32 noundef 4)
  %30 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 4
  store double %29, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 4
  store double 0.000000e+00, ptr %31, align 8, !tbaa !5
  %32 = load double, ptr %3, align 8, !tbaa !5
  %33 = load double, ptr %4, align 8, !tbaa !5
  %34 = load double, ptr %2, align 8, !tbaa !5
  %35 = tail call noundef double @_Z5f_equdddi(double noundef %32, double noundef %33, double noundef %34, i32 noundef 5)
  %36 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 5
  store double %35, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 5
  store double 0.000000e+00, ptr %37, align 8, !tbaa !5
  %38 = load double, ptr %3, align 8, !tbaa !5
  %39 = load double, ptr %4, align 8, !tbaa !5
  %40 = load double, ptr %2, align 8, !tbaa !5
  %41 = tail call noundef double @_Z5f_equdddi(double noundef %38, double noundef %39, double noundef %40, i32 noundef 6)
  %42 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 6
  store double %41, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 6
  store double 0.000000e+00, ptr %43, align 8, !tbaa !5
  %44 = load double, ptr %3, align 8, !tbaa !5
  %45 = load double, ptr %4, align 8, !tbaa !5
  %46 = load double, ptr %2, align 8, !tbaa !5
  %47 = tail call noundef double @_Z5f_equdddi(double noundef %44, double noundef %45, double noundef %46, i32 noundef 7)
  %48 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 7
  store double %47, ptr %48, align 8, !tbaa !5
  %49 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 7
  store double 0.000000e+00, ptr %49, align 8, !tbaa !5
  %50 = load double, ptr %3, align 8, !tbaa !5
  %51 = load double, ptr %4, align 8, !tbaa !5
  %52 = load double, ptr %2, align 8, !tbaa !5
  %53 = tail call noundef double @_Z5f_equdddi(double noundef %50, double noundef %51, double noundef %52, i32 noundef 8)
  %54 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @f, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 8
  store double %53, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds [201 x [801 x [9 x double]]], ptr @Omega, i64 0, i64 %indvars.iv51, i64 %indvars.iv, i64 8
  store double 0.000000e+00, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds [201 x [801 x [2 x i32]]], ptr @IB, i64 0, i64 %indvars.iv51, i64 %indvars.iv
  store i32 0, ptr %56, align 8, !tbaa !9
  %57 = getelementptr inbounds i8, ptr %56, i64 4
  store i32 -1, ptr %57, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 801
  br i1 %exitcond.not, label %58, label %1, !llvm.loop !11

58:                                               ; preds = %1
  %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51, 1
  %exitcond54.not = icmp eq i64 %indvars.iv.next52, 201
  br i1 %exitcond54.not, label %.preheader.preheader, label %.preheader44, !llvm.loop !13

.preheader.preheader:                             ; preds = %58
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4800) @VEL, i8 0, i64 4800, i1 false), !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4800) @Drag, i8 0, i64 4800, i1 false), !tbaa !5
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %.preheader.preheader
  %index = phi i64 [ 0, %.preheader.preheader ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i16> [ <i16 0, i16 1>, %.preheader.preheader ], [ %vec.ind.next, %vector.body ]
  %vec.ind.frozen = freeze <2 x i16> %vec.ind
  %59 = udiv <2 x i16> %vec.ind.frozen, <i16 10, i16 10>
  %60 = mul <2 x i16> %59, <i16 10, i16 10>
  %.decomposed = sub <2 x i16> %vec.ind.frozen, %60
  %61 = uitofp nneg <2 x i16> %.decomposed to <2 x double>
  %62 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> <double 2.000000e+01, double 2.000000e+01>, <2 x double> <double 1.000000e+01, double 1.000000e+01>)
  %63 = uitofp nneg <2 x i16> %59 to <2 x double>
  %64 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %63, <2 x double> <double 2.000000e+01, double 2.000000e+01>, <2 x double> <double 1.000000e+02, double 1.000000e+02>)
  %65 = getelementptr inbounds [300 x [2 x double]], ptr @POS, i64 0, i64 %index
  %interleaved.vec = shufflevector <2 x double> %62, <2 x double> %64, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec, ptr %65, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %vec.ind.next = add <2 x i16> %vec.ind, <i16 2, i16 2>
  %66 = icmp eq i64 %index.next, 300
  br i1 %66, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { mustprogress 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 nounwind willreturn memory(argmem: write) }
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, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12, !15, !16}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}


; Effective O3 passes: CorrelatedValuePropagationPass,DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass