; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_linAlg)

; 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._MatNd = type { ptr, i32, i32, i32, i8 }

; Function Attrs: nounwind uwtable
declare dso_local double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) #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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare ptr @MatNd_clone(ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @MatNd_destroy(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local double @MatNd_choleskyInverse(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._MatNd, ptr %14, i32 0, i32 1
  %16 = load i32, ptr %15, align 8, !tbaa !9
  store i32 %16, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store ptr null, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._MatNd, ptr %17, i32 0, i32 3
  %19 = load i32, ptr %18, align 8, !tbaa !14
  %20 = icmp ugt i32 %19, 1296
  br i1 %20, label %21, label %24

21:                                               ; preds = %2
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call ptr @MatNd_clone(ptr noundef %22)
  store ptr %23, ptr %6, align 8, !tbaa !5
  br label %64

24:                                               ; preds = %2
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._MatNd, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !14
  %28 = zext i32 %27 to i64
  %29 = mul i64 %28, 8
  %30 = add i64 24, %29
  %31 = alloca i8, i64 %30, align 16
  store ptr %31, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._MatNd, ptr %32, i64 1
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._MatNd, ptr %34, i32 0, i32 0
  store ptr %33, ptr %35, align 8, !tbaa !15
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._MatNd, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 8, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._MatNd, ptr %39, i32 0, i32 1
  store i32 %38, ptr %40, align 8, !tbaa !9
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._MatNd, ptr %41, i32 0, i32 2
  %43 = load i32, ptr %42, align 4, !tbaa !16
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._MatNd, ptr %44, i32 0, i32 2
  store i32 %43, ptr %45, align 4, !tbaa !16
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._MatNd, ptr %46, i32 0, i32 3
  %48 = load i32, ptr %47, align 8, !tbaa !14
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._MatNd, ptr %49, i32 0, i32 3
  store i32 %48, ptr %50, align 8, !tbaa !14
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._MatNd, ptr %51, i32 0, i32 4
  store i8 1, ptr %52, align 4, !tbaa !17
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._MatNd, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._MatNd, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._MatNd, ptr %59, i32 0, i32 3
  %61 = load i32, ptr %60, align 8, !tbaa !14
  %62 = zext i32 %61 to i64
  %63 = mul i64 %62, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %58, i64 %63, i1 false)
  br label %64

64:                                               ; preds = %24, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = call double @MatNd_choleskyDecomposition(ptr noundef %65, ptr noundef %66)
  store double %67, ptr %7, align 8, !tbaa !18
  %68 = load double, ptr %7, align 8, !tbaa !18
  %69 = fcmp oeq double %68, 0.000000e+00
  br i1 %69, label %70, label %72

70:                                               ; preds = %64
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  call void @MatNd_setZero(ptr noundef %71)
  br label %153

72:                                               ; preds = %64
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  call void @MatNd_inverseLowerTriangularMatrixSelf(ptr noundef %73)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %74

74:                                               ; preds = %149, %72
  %75 = load i32, ptr %8, align 4, !tbaa !13
  %76 = load i32, ptr %5, align 4, !tbaa !13
  %77 = icmp ult i32 %75, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %152

79:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %80 = load i32, ptr %8, align 4, !tbaa !13
  %81 = load i32, ptr %5, align 4, !tbaa !13
  %82 = mul i32 %80, %81
  store i32 %82, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %83 = load i32, ptr %8, align 4, !tbaa !13
  store i32 %83, ptr %11, align 4, !tbaa !13
  br label %84

84:                                               ; preds = %145, %79
  %85 = load i32, ptr %11, align 4, !tbaa !13
  %86 = load i32, ptr %5, align 4, !tbaa !13
  %87 = icmp ult i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %148

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %90 = load i32, ptr %8, align 4, !tbaa !13
  %91 = load i32, ptr %11, align 4, !tbaa !13
  %92 = icmp ugt i32 %90, %91
  br i1 %92, label %93, label %95

93:                                               ; preds = %89
  %94 = load i32, ptr %8, align 4, !tbaa !13
  br label %97

95:                                               ; preds = %89
  %96 = load i32, ptr %11, align 4, !tbaa !13
  br label %97

97:                                               ; preds = %95, %93
  %98 = phi i32 [ %94, %93 ], [ %96, %95 ]
  store i32 %98, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._MatNd, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !15
  %102 = load i32, ptr %12, align 4, !tbaa !13
  %103 = load i32, ptr %5, align 4, !tbaa !13
  %104 = mul i32 %102, %103
  %105 = load i32, ptr %8, align 4, !tbaa !13
  %106 = add i32 %104, %105
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds double, ptr %101, i64 %107
  %109 = load i32, ptr %5, align 4, !tbaa !13
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._MatNd, ptr %110, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8, !tbaa !15
  %113 = load i32, ptr %12, align 4, !tbaa !13
  %114 = load i32, ptr %5, align 4, !tbaa !13
  %115 = mul i32 %113, %114
  %116 = load i32, ptr %11, align 4, !tbaa !13
  %117 = add i32 %115, %116
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds double, ptr %112, i64 %118
  %120 = load i32, ptr %5, align 4, !tbaa !13
  %121 = load i32, ptr %5, align 4, !tbaa !13
  %122 = load i32, ptr %12, align 4, !tbaa !13
  %123 = sub i32 %121, %122
  %124 = call double @dot(ptr noundef %108, i32 noundef %109, ptr noundef %119, i32 noundef %120, i32 noundef %123)
  store double %124, ptr %13, align 8, !tbaa !18
  %125 = load double, ptr %13, align 8, !tbaa !18
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct._MatNd, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load i32, ptr %10, align 4, !tbaa !13
  %130 = load i32, ptr %11, align 4, !tbaa !13
  %131 = add i32 %129, %130
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds double, ptr %128, i64 %132
  store double %125, ptr %133, align 8, !tbaa !18
  %134 = load double, ptr %13, align 8, !tbaa !18
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct._MatNd, ptr %135, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8, !tbaa !15
  %138 = load i32, ptr %11, align 4, !tbaa !13
  %139 = load i32, ptr %5, align 4, !tbaa !13
  %140 = mul i32 %138, %139
  %141 = load i32, ptr %8, align 4, !tbaa !13
  %142 = add i32 %140, %141
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds double, ptr %137, i64 %143
  store double %134, ptr %144, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %145

145:                                              ; preds = %97
  %146 = load i32, ptr %11, align 4, !tbaa !13
  %147 = add i32 %146, 1
  store i32 %147, ptr %11, align 4, !tbaa !13
  br label %84, !llvm.loop !20

148:                                              ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr %8, align 4, !tbaa !13
  %151 = add i32 %150, 1
  store i32 %151, ptr %8, align 4, !tbaa !13
  br label %74, !llvm.loop !22

152:                                              ; preds = %78
  br label %153

153:                                              ; preds = %152, %70
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %154)
  %155 = load double, ptr %7, align 8, !tbaa !18
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret double %155
}

declare void @MatNd_setZero(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @MatNd_inverseLowerTriangularMatrixSelf(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @dot(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #4

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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { 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, !11, i64 8}
!10 = !{!"_MatNd", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 16}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !11, i64 12}
!17 = !{!10, !12, i64 20}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; 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: nounwind uwtable
declare dso_local double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @MatNd_clone(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local double @MatNd_choleskyInverse(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 16
  %6 = load i32, ptr %5, align 8, !tbaa !12
  %7 = icmp ugt i32 %6, 1296
  br i1 %7, label %8, label %10

8:                                                ; preds = %2
  %9 = tail call ptr @MatNd_clone(ptr noundef nonnull %1) #5
  br label %23

10:                                               ; preds = %2
  %11 = shl nuw nsw i32 %6, 3
  %narrow = add nuw nsw i32 %11, 24
  %12 = zext nneg i32 %narrow to i64
  %13 = alloca i8, i64 %12, align 16
  %14 = getelementptr inbounds i8, ptr %13, i64 24
  store ptr %14, ptr %13, align 16, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %13, i64 8
  store i32 %4, ptr %15, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 12
  %17 = load i32, ptr %16, align 4, !tbaa !14
  %18 = getelementptr inbounds i8, ptr %13, i64 12
  store i32 %17, ptr %18, align 4, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %13, i64 16
  store i32 %6, ptr %19, align 16, !tbaa !12
  %20 = getelementptr inbounds i8, ptr %13, i64 20
  store i8 1, ptr %20, align 4, !tbaa !15
  %21 = load ptr, ptr %1, align 8, !tbaa !13
  %22 = zext nneg i32 %11 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %14, ptr align 8 %21, i64 %22, i1 false)
  br label %23

23:                                               ; preds = %10, %8
  %.0 = phi ptr [ %9, %8 ], [ %13, %10 ]
  %24 = call double @MatNd_choleskyDecomposition(ptr noundef %.0, ptr noundef nonnull %1)
  %25 = fcmp oeq double %24, 0.000000e+00
  br i1 %25, label %26, label %27

26:                                               ; preds = %23
  call void @MatNd_setZero(ptr noundef %0) #5
  br label %.loopexit

27:                                               ; preds = %23
  call void @MatNd_inverseLowerTriangularMatrixSelf(ptr noundef %.0)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %27
  %wide.trip.count = zext i32 %4 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %29
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %29 ]
  %indvars65 = trunc i64 %indvars.iv to i32
  %28 = mul i32 %4, %indvars65
  br label %30

29:                                               ; preds = %30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond66.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond66.not, label %.loopexit, label %.lr.ph, !llvm.loop !16

30:                                               ; preds = %.lr.ph, %30
  %indvars.iv62 = phi i64 [ %indvars.iv, %.lr.ph ], [ %indvars.iv.next63, %30 ]
  %31 = trunc nuw i64 %indvars.iv62 to i32
  %32 = call i32 @llvm.umax.i32(i32 %indvars65, i32 %31)
  %33 = load ptr, ptr %.0, align 8, !tbaa !13
  %34 = mul i32 %32, %4
  %35 = add i32 %34, %indvars65
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds double, ptr %33, i64 %36
  %38 = add i32 %34, %31
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds double, ptr %33, i64 %39
  %41 = sub i32 %4, %32
  %42 = call double @dot(ptr noundef %37, i32 noundef %4, ptr noundef %40, i32 noundef %4, i32 noundef %41)
  %43 = load ptr, ptr %0, align 8, !tbaa !13
  %44 = add i32 %28, %31
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %43, i64 %45
  store double %42, ptr %46, align 8, !tbaa !18
  %47 = mul i32 %4, %31
  %48 = add i32 %47, %indvars65
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds double, ptr %43, i64 %49
  store double %42, ptr %50, align 8, !tbaa !18
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next63 to i32
  %exitcond.not = icmp eq i32 %4, %lftr.wideiv
  br i1 %exitcond.not, label %29, label %30, !llvm.loop !20

.loopexit:                                        ; preds = %29, %27, %26
  call void @MatNd_destroy(ptr noundef %.0) #5
  ret double %24
}

declare void @MatNd_setZero(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @MatNd_inverseLowerTriangularMatrixSelf(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @dot(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"_MatNd", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !11, i64 20}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !8, i64 0}
!20 = distinct !{!20, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass