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

; 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: 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 uwtable
declare dso_local ptr @MatNd_create(i32 noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_destroy(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_addConstToDiag(ptr noundef, double noundef) #1

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

declare double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_sqrMulABAt(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local double @MatNd_computeManipulabilityIndex(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca double, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct._MatNd, ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %17

16:                                               ; preds = %2
  store double 0.000000e+00, ptr %3, align 8
  br label %163

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store double 1.000000e-08, ptr %6, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._MatNd, ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 8, !tbaa !9
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._MatNd, ptr %21, i32 0, i32 1
  %23 = load i32, ptr %22, align 8, !tbaa !9
  %24 = mul i32 %20, %23
  %25 = icmp ugt i32 %24, 1296
  br i1 %25, label %26, label %34

26:                                               ; preds = %17
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._MatNd, ptr %27, i32 0, i32 1
  %29 = load i32, ptr %28, align 8, !tbaa !9
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct._MatNd, ptr %30, i32 0, i32 1
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = call ptr @MatNd_create(i32 noundef %29, i32 noundef %32)
  store ptr %33, ptr %8, align 8, !tbaa !5
  br label %84

34:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct._MatNd, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 8, !tbaa !9
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._MatNd, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !9
  %41 = mul i32 %37, %40
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %34
  br label %52

44:                                               ; preds = %34
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._MatNd, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !9
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._MatNd, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 8, !tbaa !9
  %51 = mul i32 %47, %50
  br label %52

52:                                               ; preds = %44, %43
  %53 = phi i32 [ 1, %43 ], [ %51, %44 ]
  store i32 %53, ptr %9, align 4, !tbaa !15
  %54 = load i32, ptr %9, align 4, !tbaa !15
  %55 = zext i32 %54 to i64
  %56 = mul i64 %55, 8
  %57 = add i64 24, %56
  %58 = alloca i8, i64 %57, align 16
  store ptr %58, ptr %8, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._MatNd, ptr %59, i64 1
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._MatNd, ptr %61, i32 0, i32 0
  store ptr %60, ptr %62, align 8, !tbaa !16
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._MatNd, ptr %63, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !9
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._MatNd, ptr %66, i32 0, i32 1
  store i32 %65, ptr %67, align 8, !tbaa !9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct._MatNd, ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 8, !tbaa !9
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._MatNd, ptr %71, i32 0, i32 2
  store i32 %70, ptr %72, align 4, !tbaa !17
  %73 = load i32, ptr %9, align 4, !tbaa !15
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._MatNd, ptr %74, i32 0, i32 3
  store i32 %73, ptr %75, align 8, !tbaa !18
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._MatNd, ptr %76, i32 0, i32 4
  store i8 1, ptr %77, align 4, !tbaa !19
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._MatNd, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = load i32, ptr %9, align 4, !tbaa !15
  %82 = zext i32 %81 to i64
  %83 = mul i64 %82, 8
  call void @llvm.memset.p0.i64(ptr align 8 %80, i8 0, i64 %83, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %84

84:                                               ; preds = %52, %26
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._MatNd, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 8, !tbaa !9
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._MatNd, ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 8, !tbaa !9
  %91 = mul i32 %87, %90
  %92 = icmp ugt i32 %91, 1296
  br i1 %92, label %93, label %101

93:                                               ; preds = %84
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._MatNd, ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 8, !tbaa !9
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._MatNd, ptr %97, i32 0, i32 1
  %99 = load i32, ptr %98, align 8, !tbaa !9
  %100 = call ptr @MatNd_create(i32 noundef %96, i32 noundef %99)
  store ptr %100, ptr %7, align 8, !tbaa !5
  br label %151

101:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._MatNd, ptr %102, i32 0, i32 1
  %104 = load i32, ptr %103, align 8, !tbaa !9
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._MatNd, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !9
  %108 = mul i32 %104, %107
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %111

110:                                              ; preds = %101
  br label %119

111:                                              ; preds = %101
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._MatNd, ptr %112, i32 0, i32 1
  %114 = load i32, ptr %113, align 8, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct._MatNd, ptr %115, i32 0, i32 1
  %117 = load i32, ptr %116, align 8, !tbaa !9
  %118 = mul i32 %114, %117
  br label %119

119:                                              ; preds = %111, %110
  %120 = phi i32 [ 1, %110 ], [ %118, %111 ]
  store i32 %120, ptr %10, align 4, !tbaa !15
  %121 = load i32, ptr %10, align 4, !tbaa !15
  %122 = zext i32 %121 to i64
  %123 = mul i64 %122, 8
  %124 = add i64 24, %123
  %125 = alloca i8, i64 %124, align 16
  store ptr %125, ptr %7, align 8, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct._MatNd, ptr %126, i64 1
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._MatNd, ptr %128, i32 0, i32 0
  store ptr %127, ptr %129, align 8, !tbaa !16
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._MatNd, ptr %130, i32 0, i32 1
  %132 = load i32, ptr %131, align 8, !tbaa !9
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct._MatNd, ptr %133, i32 0, i32 1
  store i32 %132, ptr %134, align 8, !tbaa !9
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct._MatNd, ptr %135, i32 0, i32 1
  %137 = load i32, ptr %136, align 8, !tbaa !9
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct._MatNd, ptr %138, i32 0, i32 2
  store i32 %137, ptr %139, align 4, !tbaa !17
  %140 = load i32, ptr %10, align 4, !tbaa !15
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct._MatNd, ptr %141, i32 0, i32 3
  store i32 %140, ptr %142, align 8, !tbaa !18
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._MatNd, ptr %143, i32 0, i32 4
  store i8 1, ptr %144, align 4, !tbaa !19
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct._MatNd, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !16
  %148 = load i32, ptr %10, align 4, !tbaa !15
  %149 = zext i32 %148 to i64
  %150 = mul i64 %149, 8
  call void @llvm.memset.p0.i64(ptr align 8 %147, i8 0, i64 %150, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %151

151:                                              ; preds = %119, %93
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  call void @MatNd_sqrMulABAt(ptr noundef %152, ptr noundef %153, ptr noundef %154)
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  call void @MatNd_addConstToDiag(ptr noundef %155, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = call double @MatNd_choleskyDecomposition(ptr noundef %156, ptr noundef %157)
  store double %158, ptr %11, align 8, !tbaa !13
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %159)
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %160)
  %161 = load double, ptr %11, align 8, !tbaa !13
  %162 = call double @sqrt(double noundef %161) #5
  store double %162, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %163

163:                                              ; preds = %151, %16
  %164 = load double, ptr %3, align 8
  ret double %164
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 = { "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 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !6, i64 0}
!17 = !{!10, !11, i64 12}
!18 = !{!10, !11, i64 16}
!19 = !{!10, !12, i64 20}


; 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 ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_destroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_addConstToDiag(ptr noundef, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #2

declare double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_sqrMulABAt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

6:                                                ; preds = %2
  %7 = mul i32 %4, %4
  %8 = icmp ugt i32 %7, 1296
  br i1 %8, label %18, label %.thread

.thread:                                          ; preds = %6
  %spec.select = tail call i32 @llvm.umax.i32(i32 %7, i32 1)
  %9 = shl nuw nsw i32 %spec.select, 3
  %10 = zext nneg i32 %9 to i64
  %11 = add nuw nsw i64 %10, 24
  %12 = alloca i8, i64 %11, align 16
  %13 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %13, ptr %12, align 16, !tbaa !12
  %14 = getelementptr inbounds i8, ptr %12, i64 8
  store i32 %4, ptr %14, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %12, i64 12
  store i32 %4, ptr %15, align 4, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %12, i64 16
  store i32 %spec.select, ptr %16, align 16, !tbaa !14
  %17 = getelementptr inbounds i8, ptr %12, i64 20
  store i8 1, ptr %17, align 4, !tbaa !15
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %13, i8 0, i64 %10, i1 false)
  br label %23

18:                                               ; preds = %6
  %19 = tail call ptr @MatNd_create(i32 noundef %4, i32 noundef %4)
  %.pre = load i32, ptr %3, align 8, !tbaa !5
  %.pre56 = mul i32 %.pre, %.pre
  %20 = icmp ugt i32 %.pre56, 1296
  br i1 %20, label %21, label %23

21:                                               ; preds = %18
  %22 = tail call ptr @MatNd_create(i32 noundef %.pre, i32 noundef %.pre)
  br label %34

23:                                               ; preds = %.thread, %18
  %.05161 = phi ptr [ %12, %.thread ], [ %19, %18 ]
  %24 = phi i32 [ %4, %.thread ], [ %.pre, %18 ]
  %.pre-phi59 = phi i32 [ %7, %.thread ], [ %.pre56, %18 ]
  %spec.select55 = call i32 @llvm.umax.i32(i32 %.pre-phi59, i32 1)
  %25 = shl nuw nsw i32 %spec.select55, 3
  %26 = zext nneg i32 %25 to i64
  %27 = add nuw nsw i64 %26, 24
  %28 = alloca i8, i64 %27, align 16
  %29 = getelementptr inbounds i8, ptr %28, i64 24
  store ptr %29, ptr %28, align 16, !tbaa !12
  %30 = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %24, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %28, i64 12
  store i32 %24, ptr %31, align 4, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %28, i64 16
  store i32 %spec.select55, ptr %32, align 16, !tbaa !14
  %33 = getelementptr inbounds i8, ptr %28, i64 20
  store i8 1, ptr %33, align 4, !tbaa !15
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %29, i8 0, i64 %26, i1 false)
  br label %34

34:                                               ; preds = %23, %21
  %.05160 = phi ptr [ %19, %21 ], [ %.05161, %23 ]
  %.050 = phi ptr [ %22, %21 ], [ %28, %23 ]
  call void @MatNd_sqrMulABAt(ptr noundef %.05160, ptr noundef nonnull %0, ptr noundef %1)
  call void @MatNd_addConstToDiag(ptr noundef %.05160, double noundef 1.000000e-08)
  %35 = call double @MatNd_choleskyDecomposition(ptr noundef %.050, ptr noundef %.05160) #5
  call void @MatNd_destroy(ptr noundef %.050)
  call void @MatNd_destroy(ptr noundef %.05160)
  %36 = call double @sqrt(double noundef %35) #5
  br label %37

37:                                               ; preds = %2, %34
  %.0 = phi double [ %36, %34 ], [ 0.000000e+00, %2 ]
  ret double %.0
}

; 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "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 = { "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, !7, i64 0}
!13 = !{!6, !10, i64 12}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !11, i64 20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass