; LLVM IR from Ubpa/USTC_CG :: Homeworks/0_CppPratices/samples/src/executables/1_BasicDArray (DArray)

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

%class.DArray = type <{ ptr, i32, [4 x i8] }>

@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [119 x i8], align 1
@__PRETTY_FUNCTION__._ZN6DArray8DeleteAtEi = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6DArray8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(12) %0, i32 noundef %1) #5 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %8 = load ptr, ptr %3, align 8
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = icmp sge i32 %9, 0
  br i1 %10, label %11, label %16

11:                                               ; preds = %2
  %12 = load i32, ptr %4, align 4, !tbaa !9
  %13 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = icmp slt i32 %12, %14
  br label %16

16:                                               ; preds = %11, %2
  %17 = phi i1 [ false, %2 ], [ %15, %11 ]
  br i1 %17, label %18, label %19

18:                                               ; preds = %16
  br label %21

19:                                               ; preds = %16
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 120, ptr noundef @__PRETTY_FUNCTION__._ZN6DArray8DeleteAtEi) #6
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %22 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 1
  %23 = load i32, ptr %22, align 8, !tbaa !11
  %24 = sext i32 %23 to i64
  %25 = sub i64 %24, 1
  %26 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %25, i64 8)
  %27 = extractvalue { i64, i1 } %26, 1
  %28 = extractvalue { i64, i1 } %26, 0
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #8
  store ptr %30, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %47, %21
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %50

36:                                               ; preds = %31
  %37 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !13
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds double, ptr %38, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !14
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %43, i64 %45
  store double %42, ptr %46, align 8, !tbaa !14
  br label %47

47:                                               ; preds = %36
  %48 = load i32, ptr %6, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %6, align 4, !tbaa !9
  br label %31, !llvm.loop !16

50:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %51 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %51, ptr %7, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %71, %50
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !11
  %56 = sub nsw i32 %55, 1
  %57 = icmp slt i32 %53, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %74

59:                                               ; preds = %52
  %60 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %61, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !14
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %67, i64 %69
  store double %66, ptr %70, align 8, !tbaa !14
  br label %71

71:                                               ; preds = %59
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %7, align 4, !tbaa !9
  br label %52, !llvm.loop !18

74:                                               ; preds = %58
  %75 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = icmp eq ptr %76, null
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  call void @_ZdaPv(ptr noundef %76) #9
  br label %79

79:                                               ; preds = %78, %74
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 0
  store ptr %80, ptr %81, align 8, !tbaa !13
  %82 = getelementptr inbounds %class.DArray, ptr %8, i32 0, i32 1
  %83 = load i32, ptr %82, align 8, !tbaa !11
  %84 = add nsw i32 %83, -1
  store i32 %84, ptr %82, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nobuiltin 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin 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 #4 = { noreturn 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 #5 = { 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 #6 = { noreturn nounwind }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTS6DArray", !6, i64 0, !10, i64 8}
!13 = !{!12, !6, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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

@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [119 x i8], align 1
@__PRETTY_FUNCTION__._ZN6DArray8DeleteAtEi = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6DArray8DeleteAtEi(ptr nocapture noundef nonnull align 8 dereferenceable(12) %0, i32 noundef %1) local_unnamed_addr #3 align 2 {
  %3 = icmp sgt i32 %1, -1
  br i1 %3, label %4, label %.critedge

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp sgt i32 %6, %1
  br i1 %7, label %8, label %.critedge

.critedge:                                        ; preds = %2, %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 120, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6DArray8DeleteAtEi) #4
  unreachable

8:                                                ; preds = %4
  %9 = zext nneg i32 %6 to i64
  %10 = shl nuw nsw i64 %9, 3
  %11 = add nsw i64 %10, -8
  %12 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %11) #5
  %13 = ptrtoint ptr %12 to i64
  %.not = icmp eq i32 %1, 0
  %.pre.pre = load ptr, ptr %0, align 8, !tbaa !11
  %.pre.pre28 = ptrtoint ptr %.pre.pre to i64
  br i1 %.not, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %8
  %wide.trip.count = zext nneg i32 %1 to i64
  %min.iters.check = icmp ult i32 %1, 6
  %14 = sub i64 %13, %.pre.pre28
  %diff.check = icmp ult i64 %14, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %15 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv.prol
  %16 = load double, ptr %15, align 8, !tbaa !12
  %17 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.prol
  store double %16, ptr %17, align 8, !tbaa !12
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !14

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %18 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %19 = icmp ugt i64 %18, -4
  br i1 %19, label %.preheader, label %scalar.ph

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

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %20 = getelementptr inbounds double, ptr %.pre.pre, i64 %index
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %wide.load = load <2 x double>, ptr %20, align 8, !tbaa !12
  %wide.load29 = load <2 x double>, ptr %21, align 8, !tbaa !12
  %22 = getelementptr inbounds double, ptr %12, i64 %index
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  store <2 x double> %wide.load, ptr %22, align 8, !tbaa !12
  store <2 x double> %wide.load29, ptr %23, align 8, !tbaa !12
  %index.next = add nuw i64 %index, 4
  %24 = icmp eq i64 %index.next, %n.vec
  br i1 %24, label %middle.block, label %vector.body, !llvm.loop !16

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

.preheader:                                       ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %8
  %25 = add nsw i32 %6, -1
  %26 = icmp sgt i32 %25, %1
  br i1 %26, label %.lr.ph21, label %._crit_edge

.lr.ph21:                                         ; preds = %.preheader
  %27 = zext nneg i32 %1 to i64
  %28 = add i32 %6, -2
  %29 = sub i32 %28, %1
  %30 = zext i32 %29 to i64
  %31 = add nuw nsw i64 %30, 1
  %min.iters.check34 = icmp ult i32 %29, 7
  br i1 %min.iters.check34, label %scalar.ph33.preheader, label %vector.memcheck30

scalar.ph33.preheader:                            ; preds = %middle.block32, %vector.memcheck30, %.lr.ph21
  %indvars.iv24.ph = phi i64 [ %27, %vector.memcheck30 ], [ %27, %.lr.ph21 ], [ %ind.end, %middle.block32 ]
  br label %scalar.ph33

vector.memcheck30:                                ; preds = %.lr.ph21
  %32 = add i64 %13, -8
  %33 = sub i64 %32, %.pre.pre28
  %diff.check31 = icmp ult i64 %33, 32
  br i1 %diff.check31, label %scalar.ph33.preheader, label %vector.ph35

vector.ph35:                                      ; preds = %vector.memcheck30
  %n.vec37 = and i64 %31, 8589934588
  %ind.end = add nuw nsw i64 %n.vec37, %27
  br label %vector.body39

vector.body39:                                    ; preds = %vector.body39, %vector.ph35
  %index40 = phi i64 [ 0, %vector.ph35 ], [ %index.next43, %vector.body39 ]
  %offset.idx = add i64 %index40, %27
  %34 = getelementptr double, ptr %.pre.pre, i64 %offset.idx
  %35 = getelementptr i8, ptr %34, i64 8
  %36 = getelementptr i8, ptr %34, i64 24
  %wide.load41 = load <2 x double>, ptr %35, align 8, !tbaa !12
  %wide.load42 = load <2 x double>, ptr %36, align 8, !tbaa !12
  %37 = getelementptr inbounds double, ptr %12, i64 %offset.idx
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  store <2 x double> %wide.load41, ptr %37, align 8, !tbaa !12
  store <2 x double> %wide.load42, ptr %38, align 8, !tbaa !12
  %index.next43 = add nuw i64 %index40, 4
  %39 = icmp eq i64 %index.next43, %n.vec37
  br i1 %39, label %middle.block32, label %vector.body39, !llvm.loop !20

middle.block32:                                   ; preds = %vector.body39
  %cmp.n44 = icmp eq i64 %31, %n.vec37
  br i1 %cmp.n44, label %._crit_edge.thread, label %scalar.ph33.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %40 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv
  %41 = load double, ptr %40, align 8, !tbaa !12
  %42 = getelementptr inbounds double, ptr %12, i64 %indvars.iv
  store double %41, ptr %42, align 8, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %43 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv.next
  %44 = load double, ptr %43, align 8, !tbaa !12
  %45 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.next
  store double %44, ptr %45, align 8, !tbaa !12
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %46 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv.next.1
  %47 = load double, ptr %46, align 8, !tbaa !12
  %48 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.next.1
  store double %47, ptr %48, align 8, !tbaa !12
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %49 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv.next.2
  %50 = load double, ptr %49, align 8, !tbaa !12
  %51 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.next.2
  store double %50, ptr %51, align 8, !tbaa !12
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader, label %scalar.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %.preheader
  %52 = icmp eq ptr %.pre.pre, null
  br i1 %52, label %58, label %._crit_edge.thread

scalar.ph33:                                      ; preds = %scalar.ph33.preheader, %scalar.ph33
  %indvars.iv24 = phi i64 [ %indvars.iv.next25, %scalar.ph33 ], [ %indvars.iv24.ph, %scalar.ph33.preheader ]
  %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24, 1
  %53 = getelementptr inbounds double, ptr %.pre.pre, i64 %indvars.iv.next25
  %54 = load double, ptr %53, align 8, !tbaa !12
  %55 = getelementptr inbounds double, ptr %12, i64 %indvars.iv24
  store double %54, ptr %55, align 8, !tbaa !12
  %56 = trunc nuw i64 %indvars.iv.next25 to i32
  %57 = icmp sgt i32 %25, %56
  br i1 %57, label %scalar.ph33, label %._crit_edge.thread, !llvm.loop !22

._crit_edge.thread:                               ; preds = %scalar.ph33, %middle.block32, %._crit_edge
  tail call void @_ZdaPv(ptr noundef nonnull %.pre.pre) #6
  %.pre27 = load i32, ptr %5, align 8, !tbaa !5
  %.pre = add nsw i32 %.pre27, -1
  br label %58

58:                                               ; preds = %._crit_edge.thread, %._crit_edge
  %.pre-phi = phi i32 [ %.pre, %._crit_edge.thread ], [ %25, %._crit_edge ]
  store ptr %12, ptr %0, align 8, !tbaa !11
  store i32 %.pre-phi, ptr %5, align 8, !tbaa !5
  ret void
}

attributes #0 = { nobuiltin 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 #1 = { nobuiltin 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 #2 = { noreturn 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 = { noreturn nounwind }
attributes #5 = { builtin allocsize(0) }
attributes #6 = { builtin 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, !10, i64 8}
!6 = !{!"_ZTS6DArray", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !18, !19}
!21 = distinct !{!21, !17, !18}
!22 = distinct !{!22, !17, !18}


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