; LLVM IR from emathew1/3DCompactSolver :: VisitWriter.ll (Z18write_regular_meshPKciPiiS1_S1_PKS0_PPf)

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

; 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 allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22write_rectilinear_meshPKciPiPfS2_S2_iS1_S1_PKS0_PS2_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18write_regular_meshPKciPiiS1_S1_PKS0_PPf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #3 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  store i32 %3, ptr %12, align 4, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %21 = load ptr, ptr %11, align 8, !tbaa !5
  %22 = getelementptr inbounds i32, ptr %21, i64 0
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = mul i64 4, %24
  %26 = call noalias ptr @malloc(i64 noundef %25) #5
  store ptr %26, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = getelementptr inbounds i32, ptr %27, i64 1
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = mul i64 4, %30
  %32 = call noalias ptr @malloc(i64 noundef %31) #5
  store ptr %32, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds i32, ptr %33, i64 2
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = mul i64 4, %36
  %38 = call noalias ptr @malloc(i64 noundef %37) #5
  store ptr %38, ptr %20, align 8, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %52, %8
  %40 = load i32, ptr %17, align 4, !tbaa !9
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = getelementptr inbounds i32, ptr %41, i64 0
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = icmp slt i32 %40, %43
  br i1 %44, label %45, label %55

45:                                               ; preds = %39
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = sitofp i32 %46 to float
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %48, i64 %50
  store float %47, ptr %51, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %45
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %17, align 4, !tbaa !9
  br label %39, !llvm.loop !13

55:                                               ; preds = %39
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %69, %55
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds i32, ptr %58, i64 1
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = icmp slt i32 %57, %60
  br i1 %61, label %62, label %72

62:                                               ; preds = %56
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = sitofp i32 %63 to float
  %65 = load ptr, ptr %19, align 8, !tbaa !5
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds float, ptr %65, i64 %67
  store float %64, ptr %68, align 4, !tbaa !11
  br label %69

69:                                               ; preds = %62
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %17, align 4, !tbaa !9
  br label %56, !llvm.loop !15

72:                                               ; preds = %56
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %86, %72
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds i32, ptr %75, i64 2
  %77 = load i32, ptr %76, align 4, !tbaa !9
  %78 = icmp slt i32 %74, %77
  br i1 %78, label %79, label %89

79:                                               ; preds = %73
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = sitofp i32 %80 to float
  %82 = load ptr, ptr %20, align 8, !tbaa !5
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %82, i64 %84
  store float %81, ptr %85, align 4, !tbaa !11
  br label %86

86:                                               ; preds = %79
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %17, align 4, !tbaa !9
  br label %73, !llvm.loop !16

89:                                               ; preds = %73
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_Z22write_rectilinear_meshPKciPiPfS2_S2_iS1_S1_PKS0_PS2_(ptr noundef %90, i32 noundef %91, ptr noundef %92, ptr noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100)
  %101 = load ptr, ptr %18, align 8, !tbaa !5
  call void @free(ptr noundef %101) #4
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  call void @free(ptr noundef %102) #4
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  call void @free(ptr noundef %103) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 "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 = { mustprogress 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0) }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22write_rectilinear_meshPKciPiPfS2_S2_iS1_S1_PKS0_PS2_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18write_regular_meshPKciPiiS1_S1_PKS0_PPf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #2 {
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = shl nsw i64 %10, 2
  %12 = tail call noalias ptr @malloc(i64 noundef %11) #3
  %13 = getelementptr inbounds i8, ptr %2, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = shl nsw i64 %15, 2
  %17 = tail call noalias ptr @malloc(i64 noundef %16) #3
  %18 = getelementptr inbounds i8, ptr %2, i64 8
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = shl nsw i64 %20, 2
  %22 = tail call noalias ptr @malloc(i64 noundef %21) #3
  %23 = icmp sgt i32 %9, 0
  br i1 %23, label %.lr.ph.preheader, label %.preheader34

.lr.ph.preheader:                                 ; preds = %8
  %wide.trip.count = zext nneg i32 %9 to i64
  %min.iters.check = icmp ult i32 %9, 8
  br i1 %min.iters.check, label %.lr.ph.preheader84, label %vector.ph

.lr.ph.preheader84:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %24 = uitofp <4 x i32> %vec.ind to <4 x float>
  %25 = uitofp <4 x i32> %step.add to <4 x float>
  %26 = getelementptr inbounds float, ptr %12, i64 %index
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  store <4 x float> %24, ptr %26, align 4, !tbaa !9
  store <4 x float> %25, ptr %27, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %28 = icmp eq i64 %index.next, %n.vec
  br i1 %28, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader34, label %.lr.ph.preheader84

.preheader34:                                     ; preds = %.lr.ph, %middle.block, %8
  %29 = icmp sgt i32 %14, 0
  br i1 %29, label %.lr.ph37.preheader, label %.preheader

.lr.ph37.preheader:                               ; preds = %.preheader34
  %wide.trip.count44 = zext nneg i32 %14 to i64
  %min.iters.check54 = icmp ult i32 %14, 8
  br i1 %min.iters.check54, label %.lr.ph37.preheader83, label %vector.ph55

.lr.ph37.preheader83:                             ; preds = %middle.block52, %.lr.ph37.preheader
  %indvars.iv41.ph = phi i64 [ 0, %.lr.ph37.preheader ], [ %n.vec57, %middle.block52 ]
  br label %.lr.ph37

vector.ph55:                                      ; preds = %.lr.ph37.preheader
  %n.vec57 = and i64 %wide.trip.count44, 2147483640
  br label %vector.body59

vector.body59:                                    ; preds = %vector.body59, %vector.ph55
  %index60 = phi i64 [ 0, %vector.ph55 ], [ %index.next65, %vector.body59 ]
  %vec.ind61 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph55 ], [ %vec.ind.next64, %vector.body59 ]
  %step.add62 = add <4 x i32> %vec.ind61, <i32 4, i32 4, i32 4, i32 4>
  %30 = uitofp <4 x i32> %vec.ind61 to <4 x float>
  %31 = uitofp <4 x i32> %step.add62 to <4 x float>
  %32 = getelementptr inbounds float, ptr %17, i64 %index60
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  store <4 x float> %30, ptr %32, align 4, !tbaa !9
  store <4 x float> %31, ptr %33, align 4, !tbaa !9
  %index.next65 = add nuw i64 %index60, 8
  %vec.ind.next64 = add <4 x i32> %vec.ind61, <i32 8, i32 8, i32 8, i32 8>
  %34 = icmp eq i64 %index.next65, %n.vec57
  br i1 %34, label %middle.block52, label %vector.body59, !llvm.loop !15

middle.block52:                                   ; preds = %vector.body59
  %cmp.n66 = icmp eq i64 %n.vec57, %wide.trip.count44
  br i1 %cmp.n66, label %.preheader, label %.lr.ph37.preheader83

.lr.ph:                                           ; preds = %.lr.ph.preheader84, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader84 ]
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  %36 = uitofp nneg i32 %35 to float
  %37 = getelementptr inbounds float, ptr %12, i64 %indvars.iv
  store float %36, ptr %37, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader34, label %.lr.ph, !llvm.loop !16

.preheader:                                       ; preds = %.lr.ph37, %middle.block52, %.preheader34
  %38 = icmp sgt i32 %19, 0
  br i1 %38, label %.lr.ph39.preheader, label %._crit_edge

.lr.ph39.preheader:                               ; preds = %.preheader
  %wide.trip.count49 = zext nneg i32 %19 to i64
  %min.iters.check69 = icmp ult i32 %19, 8
  br i1 %min.iters.check69, label %.lr.ph39.preheader82, label %vector.ph70

.lr.ph39.preheader82:                             ; preds = %middle.block67, %.lr.ph39.preheader
  %indvars.iv46.ph = phi i64 [ 0, %.lr.ph39.preheader ], [ %n.vec72, %middle.block67 ]
  br label %.lr.ph39

vector.ph70:                                      ; preds = %.lr.ph39.preheader
  %n.vec72 = and i64 %wide.trip.count49, 2147483640
  br label %vector.body74

vector.body74:                                    ; preds = %vector.body74, %vector.ph70
  %index75 = phi i64 [ 0, %vector.ph70 ], [ %index.next80, %vector.body74 ]
  %vec.ind76 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph70 ], [ %vec.ind.next79, %vector.body74 ]
  %step.add77 = add <4 x i32> %vec.ind76, <i32 4, i32 4, i32 4, i32 4>
  %39 = uitofp <4 x i32> %vec.ind76 to <4 x float>
  %40 = uitofp <4 x i32> %step.add77 to <4 x float>
  %41 = getelementptr inbounds float, ptr %22, i64 %index75
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  store <4 x float> %39, ptr %41, align 4, !tbaa !9
  store <4 x float> %40, ptr %42, align 4, !tbaa !9
  %index.next80 = add nuw i64 %index75, 8
  %vec.ind.next79 = add <4 x i32> %vec.ind76, <i32 8, i32 8, i32 8, i32 8>
  %43 = icmp eq i64 %index.next80, %n.vec72
  br i1 %43, label %middle.block67, label %vector.body74, !llvm.loop !17

middle.block67:                                   ; preds = %vector.body74
  %cmp.n81 = icmp eq i64 %n.vec72, %wide.trip.count49
  br i1 %cmp.n81, label %._crit_edge, label %.lr.ph39.preheader82

.lr.ph37:                                         ; preds = %.lr.ph37.preheader83, %.lr.ph37
  %indvars.iv41 = phi i64 [ %indvars.iv.next42, %.lr.ph37 ], [ %indvars.iv41.ph, %.lr.ph37.preheader83 ]
  %44 = trunc nuw nsw i64 %indvars.iv41 to i32
  %45 = uitofp nneg i32 %44 to float
  %46 = getelementptr inbounds float, ptr %17, i64 %indvars.iv41
  store float %45, ptr %46, align 4, !tbaa !9
  %indvars.iv.next42 = add nuw nsw i64 %indvars.iv41, 1
  %exitcond45.not = icmp eq i64 %indvars.iv.next42, %wide.trip.count44
  br i1 %exitcond45.not, label %.preheader, label %.lr.ph37, !llvm.loop !18

.lr.ph39:                                         ; preds = %.lr.ph39.preheader82, %.lr.ph39
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %.lr.ph39 ], [ %indvars.iv46.ph, %.lr.ph39.preheader82 ]
  %47 = trunc nuw nsw i64 %indvars.iv46 to i32
  %48 = uitofp nneg i32 %47 to float
  %49 = getelementptr inbounds float, ptr %22, i64 %indvars.iv46
  store float %48, ptr %49, align 4, !tbaa !9
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %exitcond50.not = icmp eq i64 %indvars.iv.next47, %wide.trip.count49
  br i1 %exitcond50.not, label %._crit_edge, label %.lr.ph39, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph39, %middle.block67, %.preheader
  tail call void @_Z22write_rectilinear_meshPKciPiPfS2_S2_iS1_S1_PKS0_PS2_(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %2, ptr noundef %12, ptr noundef %17, ptr noundef %22, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  tail call void @free(ptr noundef %12) #4
  tail call void @free(ptr noundef %17) #4
  tail call void @free(ptr noundef %22) #4
  ret void
}

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress 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 allocsize(0) }
attributes #4 = { 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 = !{!"float", !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, !13, !14}
!16 = distinct !{!16, !12, !14, !13}
!17 = distinct !{!17, !12, !13, !14}
!18 = distinct !{!18, !12, !14, !13}
!19 = distinct !{!19, !12, !14, !13}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass