; LLVM IR from shyams2/SIMPLE_Solver :: SIMPLE.ll (Z10initializev)

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

@u = external dso_local global [90601 x double], align 16
@v = external dso_local global [90601 x double], align 16
@p = external dso_local global [90000 x double], align 16
@psix = external dso_local global [90601 x double], align 16
@psiy = external dso_local global [90601 x double], align 16
@n = external dso_local global i32, align 4
@k = external dso_local global i32, align 4

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

2:                                                ; preds = %15, %0
  %3 = load i32, ptr %1, align 4, !tbaa !5
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %6 = mul nsw i32 %4, %5
  %7 = icmp slt i32 %3, %6
  br i1 %7, label %8, label %18

8:                                                ; preds = %2
  %9 = load i32, ptr %1, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %10
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %13
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  br label %15

15:                                               ; preds = %8
  %16 = load i32, ptr %1, align 4, !tbaa !5
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %1, align 4, !tbaa !5
  br label %2, !llvm.loop !11

18:                                               ; preds = %2
  %19 = load i32, ptr @n, align 4, !tbaa !5
  %20 = load i32, ptr @k, align 4, !tbaa !5
  %21 = mul nsw i32 %19, %20
  store i32 %21, ptr %1, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %38, %18
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = load i32, ptr @n, align 4, !tbaa !5
  %25 = load i32, ptr @n, align 4, !tbaa !5
  %26 = mul nsw i32 %24, %25
  %27 = icmp slt i32 %23, %26
  br i1 %27, label %28, label %41

28:                                               ; preds = %22
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %30
  store double 1.000000e+00, ptr %31, align 8, !tbaa !9
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %33
  store double 0.000000e+00, ptr %34, align 8, !tbaa !9
  %35 = load i32, ptr %1, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %36
  store double 0.000000e+00, ptr %37, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %28
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %1, align 4, !tbaa !5
  br label %22, !llvm.loop !13

41:                                               ; preds = %22
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %53, %41
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = load i32, ptr @n, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %56

46:                                               ; preds = %42
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %48
  store double 0.000000e+00, ptr %49, align 8, !tbaa !9
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %51
  store double 0.000000e+00, ptr %52, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %46
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %1, align 4, !tbaa !5
  br label %42, !llvm.loop !14

56:                                               ; preds = %42
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %70, %56
  %58 = load i32, ptr %1, align 4, !tbaa !5
  %59 = load i32, ptr @n, align 4, !tbaa !5
  %60 = load i32, ptr @n, align 4, !tbaa !5
  %61 = mul nsw i32 %59, %60
  %62 = icmp slt i32 %58, %61
  br i1 %62, label %63, label %74

63:                                               ; preds = %57
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %65
  store double 0.000000e+00, ptr %66, align 8, !tbaa !9
  %67 = load i32, ptr %1, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %68
  store double 0.000000e+00, ptr %69, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %63
  %71 = load i32, ptr %1, align 4, !tbaa !5
  %72 = load i32, ptr @n, align 4, !tbaa !5
  %73 = add nsw i32 %71, %72
  store i32 %73, ptr %1, align 4, !tbaa !5
  br label %57, !llvm.loop !15

74:                                               ; preds = %57
  %75 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %75, ptr %1, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %89, %74
  %77 = load i32, ptr %1, align 4, !tbaa !5
  %78 = load i32, ptr @n, align 4, !tbaa !5
  %79 = load i32, ptr @n, align 4, !tbaa !5
  %80 = mul nsw i32 %78, %79
  %81 = icmp slt i32 %77, %80
  br i1 %81, label %82, label %93

82:                                               ; preds = %76
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %84
  store double 0.000000e+00, ptr %85, align 8, !tbaa !9
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %87
  store double 0.000000e+00, ptr %88, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %82
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = load i32, ptr @n, align 4, !tbaa !5
  %92 = add nsw i32 %90, %91
  store i32 %92, ptr %1, align 4, !tbaa !5
  br label %76, !llvm.loop !16

93:                                               ; preds = %76
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %104, %93
  %95 = load i32, ptr %1, align 4, !tbaa !5
  %96 = load i32, ptr @k, align 4, !tbaa !5
  %97 = load i32, ptr @k, align 4, !tbaa !5
  %98 = mul nsw i32 %96, %97
  %99 = icmp slt i32 %95, %98
  br i1 %99, label %100, label %107

100:                                              ; preds = %94
  %101 = load i32, ptr %1, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [90000 x double], ptr @p, i64 0, i64 %102
  store double 0.000000e+00, ptr %103, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %100
  %105 = load i32, ptr %1, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %1, align 4, !tbaa !5
  br label %94, !llvm.loop !17

107:                                              ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #2
  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

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 nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"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}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !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"

@u = external dso_local local_unnamed_addr global [90601 x double], align 16
@v = external dso_local local_unnamed_addr global [90601 x double], align 16
@p = external dso_local local_unnamed_addr global [90000 x double], align 16
@psix = external dso_local local_unnamed_addr global [90601 x double], align 16
@psiy = external dso_local local_unnamed_addr global [90601 x double], align 16
@n = external dso_local local_unnamed_addr global i32, align 4
@k = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @_Z10initializev() local_unnamed_addr #0 {
  %1 = load i32, ptr @n, align 4, !tbaa !5
  %2 = mul i32 %1, %1
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %3 = tail call i32 @llvm.umax.i32(i32 %2, i32 1)
  %umax = zext i32 %3 to i64
  %4 = shl nuw nsw i64 %umax, 3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) @v, i8 0, i64 %4, i1 false), !tbaa !9
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) @u, i8 0, i64 %4, i1 false), !tbaa !9
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %0
  %5 = load i32, ptr @k, align 4, !tbaa !5
  %6 = mul nsw i32 %5, %1
  %7 = icmp slt i32 %6, %2
  br i1 %7, label %.lr.ph32.preheader, label %.preheader26

.lr.ph32.preheader:                               ; preds = %._crit_edge
  %8 = sext i32 %6 to i64
  %9 = shl nsw i64 %8, 3
  %scevgep = getelementptr i8, ptr @psiy, i64 %9
  %10 = sub i32 %1, %5
  %11 = mul i32 %1, %10
  %12 = add i32 %11, -1
  %13 = zext i32 %12 to i64
  %14 = shl nuw nsw i64 %13, 3
  %15 = add nuw nsw i64 %14, 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep, i8 0, i64 %15, i1 false), !tbaa !9
  %scevgep46 = getelementptr i8, ptr @psix, i64 %9
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep46, i8 0, i64 %15, i1 false), !tbaa !9
  %wide.trip.count = sext i32 %2 to i64
  %16 = sub nsw i64 %wide.trip.count, %8
  %min.iters.check = icmp ult i64 %16, 4
  br i1 %min.iters.check, label %.lr.ph32.preheader95, label %vector.ph

.lr.ph32.preheader95:                             ; preds = %middle.block, %.lr.ph32.preheader
  %indvars.iv.ph = phi i64 [ %8, %.lr.ph32.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph32

vector.ph:                                        ; preds = %.lr.ph32.preheader
  %n.vec = and i64 %16, -4
  %ind.end = add nsw i64 %n.vec, %8
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %8
  %17 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %offset.idx
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %17, align 8, !tbaa !9
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %18, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %19 = icmp eq i64 %index.next, %n.vec
  br i1 %19, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %16, %n.vec
  br i1 %cmp.n, label %.preheader26, label %.lr.ph32.preheader95

.preheader26:                                     ; preds = %.lr.ph32, %middle.block, %._crit_edge
  %20 = icmp sgt i32 %1, 0
  br i1 %20, label %.preheader25.thread, label %.preheader25

.preheader25.thread:                              ; preds = %.preheader26
  %21 = zext nneg i32 %1 to i64
  %22 = shl nuw nsw i64 %21, 3
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @psiy, i8 0, i64 %22, i1 false), !tbaa !9
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @psix, i8 0, i64 %22, i1 false), !tbaa !9
  br label %.lr.ph36.preheader

.lr.ph32:                                         ; preds = %.lr.ph32.preheader95, %.lr.ph32
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph32 ], [ %indvars.iv.ph, %.lr.ph32.preheader95 ]
  %23 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %indvars.iv
  store double 1.000000e+00, ptr %23, align 8, !tbaa !9
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader26, label %.lr.ph32, !llvm.loop !15

.preheader25:                                     ; preds = %.preheader26
  br i1 %.not, label %.preheader24, label %.lr.ph36.preheader

.lr.ph36.preheader:                               ; preds = %.preheader25.thread, %.preheader25
  %24 = sext i32 %1 to i64
  %25 = sext i32 %2 to i64
  %smax = tail call i64 @llvm.smax.i64(i64 %24, i64 %25)
  %26 = icmp slt i32 %1, %2
  %umin = zext i1 %26 to i64
  %27 = add nsw i64 %umin, %24
  %28 = sub i64 %smax, %27
  %umax61 = tail call i64 @llvm.umax.i64(i64 %24, i64 1)
  %29 = udiv i64 %28, %umax61
  %30 = add i64 %29, %umin
  %31 = add i64 %30, 1
  %min.iters.check64 = icmp ugt i64 %31, 3
  %ident.check.not = icmp eq i32 %1, 1
  %or.cond = and i1 %min.iters.check64, %ident.check.not
  br i1 %or.cond, label %vector.ph65, label %.lr.ph36.preheader94

.lr.ph36.preheader94:                             ; preds = %middle.block62, %.lr.ph36.preheader
  %indvars.iv51.ph = phi i64 [ 0, %.lr.ph36.preheader ], [ %ind.end68, %middle.block62 ]
  br label %.lr.ph36

vector.ph65:                                      ; preds = %.lr.ph36.preheader
  %n.vec67 = and i64 %31, -4
  %ind.end68 = mul nuw i64 %n.vec67, %24
  br label %vector.body70

vector.body70:                                    ; preds = %vector.body70, %vector.ph65
  %index71 = phi i64 [ 0, %vector.ph65 ], [ %index.next73, %vector.body70 ]
  %offset.idx72 = mul nuw i64 %index71, %24
  %32 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %offset.idx72
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  store <2 x double> zeroinitializer, ptr %32, align 16, !tbaa !9
  store <2 x double> zeroinitializer, ptr %33, align 16, !tbaa !9
  %34 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %offset.idx72
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store <2 x double> zeroinitializer, ptr %34, align 16, !tbaa !9
  store <2 x double> zeroinitializer, ptr %35, align 16, !tbaa !9
  %index.next73 = add nuw i64 %index71, 4
  %36 = icmp eq i64 %index.next73, %n.vec67
  br i1 %36, label %middle.block62, label %vector.body70, !llvm.loop !16

middle.block62:                                   ; preds = %vector.body70
  %cmp.n74 = icmp eq i64 %31, %n.vec67
  br i1 %cmp.n74, label %.preheader24, label %.lr.ph36.preheader94

.preheader24:                                     ; preds = %.lr.ph36, %middle.block62, %.preheader25
  %37 = icmp slt i32 %1, %2
  br i1 %37, label %.lr.ph38.preheader, label %.preheader

.lr.ph38.preheader:                               ; preds = %.preheader24
  %38 = sext i32 %1 to i64
  %39 = sext i32 %2 to i64
  %40 = shl nsw i64 %38, 1
  %smax77 = tail call i64 @llvm.smax.i64(i64 %40, i64 %39)
  %41 = icmp slt i64 %40, %39
  %umin78 = zext i1 %41 to i64
  %42 = or disjoint i64 %40, %umin78
  %43 = sub i64 %smax77, %42
  %44 = udiv i64 %43, %38
  %45 = add i64 %44, %umin78
  %46 = add i64 %45, 1
  %min.iters.check81 = icmp ugt i64 %46, 3
  %ident.check76.not = icmp eq i32 %1, 1
  %or.cond92 = and i1 %min.iters.check81, %ident.check76.not
  br i1 %or.cond92, label %vector.ph82, label %.lr.ph38.preheader93

.lr.ph38.preheader93:                             ; preds = %middle.block79, %.lr.ph38.preheader
  %indvars.iv54.ph = phi i64 [ %38, %.lr.ph38.preheader ], [ %ind.end85, %middle.block79 ]
  br label %.lr.ph38

vector.ph82:                                      ; preds = %.lr.ph38.preheader
  %n.vec84 = and i64 %46, -4
  %47 = or disjoint i64 %n.vec84, 1
  %ind.end85 = mul nuw i64 %47, %38
  br label %vector.body87

vector.body87:                                    ; preds = %vector.body87, %vector.ph82
  %index88 = phi i64 [ 0, %vector.ph82 ], [ %index.next90, %vector.body87 ]
  %offset.idx89 = or disjoint i64 %index88, 1
  %48 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %offset.idx89
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <2 x double> zeroinitializer, ptr %48, align 8, !tbaa !9
  store <2 x double> zeroinitializer, ptr %49, align 8, !tbaa !9
  %50 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %offset.idx89
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  store <2 x double> zeroinitializer, ptr %50, align 8, !tbaa !9
  store <2 x double> zeroinitializer, ptr %51, align 8, !tbaa !9
  %index.next90 = add nuw i64 %index88, 4
  %52 = icmp eq i64 %index.next90, %n.vec84
  br i1 %52, label %middle.block79, label %vector.body87, !llvm.loop !17

middle.block79:                                   ; preds = %vector.body87
  %cmp.n91 = icmp eq i64 %46, %n.vec84
  br i1 %cmp.n91, label %.preheader, label %.lr.ph38.preheader93

.lr.ph36:                                         ; preds = %.lr.ph36.preheader94, %.lr.ph36
  %indvars.iv51 = phi i64 [ %indvars.iv.next52, %.lr.ph36 ], [ %indvars.iv51.ph, %.lr.ph36.preheader94 ]
  %53 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %indvars.iv51
  store double 0.000000e+00, ptr %53, align 8, !tbaa !9
  %54 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %indvars.iv51
  store double 0.000000e+00, ptr %54, align 8, !tbaa !9
  %indvars.iv.next52 = add nsw i64 %indvars.iv51, %24
  %55 = icmp slt i64 %indvars.iv.next52, %25
  br i1 %55, label %.lr.ph36, label %.preheader24, !llvm.loop !18

.preheader:                                       ; preds = %.lr.ph38, %middle.block79, %.preheader24
  %.not43 = icmp eq i32 %5, 0
  br i1 %.not43, label %._crit_edge41, label %.lr.ph40.preheader

.lr.ph40.preheader:                               ; preds = %.preheader
  %56 = mul i32 %5, %5
  %57 = tail call i32 @llvm.umax.i32(i32 %56, i32 1)
  %umax57 = zext i32 %57 to i64
  %58 = shl nuw nsw i64 %umax57, 3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) @p, i8 0, i64 %58, i1 false), !tbaa !9
  br label %._crit_edge41

.lr.ph38:                                         ; preds = %.lr.ph38.preheader93, %.lr.ph38
  %indvars.iv54 = phi i64 [ %indvars.iv.next55, %.lr.ph38 ], [ %indvars.iv54.ph, %.lr.ph38.preheader93 ]
  %59 = getelementptr inbounds [90601 x double], ptr @psiy, i64 0, i64 %indvars.iv54
  store double 0.000000e+00, ptr %59, align 8, !tbaa !9
  %60 = getelementptr inbounds [90601 x double], ptr @psix, i64 0, i64 %indvars.iv54
  store double 0.000000e+00, ptr %60, align 8, !tbaa !9
  %indvars.iv.next55 = add nsw i64 %indvars.iv54, %38
  %61 = icmp slt i64 %indvars.iv.next55, %39
  br i1 %61, label %.lr.ph38, label %.preheader, !llvm.loop !19

._crit_edge41:                                    ; preds = %.lr.ph40.preheader, %.preheader
  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 i32 @llvm.umax.i32(i32, i32) #2

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

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

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, 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 = { 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 = !{!"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, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
!16 = distinct !{!16, !12, !13, !14}
!17 = distinct !{!17, !12, !13, !14}
!18 = distinct !{!18, !12, !13}
!19 = distinct !{!19, !12, !13}


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