; LLVM IR from arasgungore/EE242-projects :: ComputingEigenvaluesAndEigenvectors/main.ll (ZN6MatrixaSERKS_)

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

; 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: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %10

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

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

16:                                               ; preds = %10
  %17 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 2
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds ptr, ptr %18, i64 %20
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %25, label %24

24:                                               ; preds = %16
  call void @_ZdaPv(ptr noundef %22) #6
  br label %25

25:                                               ; preds = %24, %16
  br label %26

26:                                               ; preds = %25
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %5, align 4, !tbaa !9
  br label %10, !llvm.loop !14

29:                                               ; preds = %15
  %30 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = icmp eq ptr %31, null
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  call void @_ZdaPv(ptr noundef %31) #6
  br label %34

34:                                               ; preds = %33, %29
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.Matrix, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 0
  store i32 %37, ptr %38, align 8, !tbaa !11
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %class.Matrix, ptr %39, i32 0, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %42 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 1
  store i32 %41, ptr %42, align 4, !tbaa !16
  %43 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %45, i64 8)
  %47 = extractvalue { i64, i1 } %46, 1
  %48 = extractvalue { i64, i1 } %46, 0
  %49 = select i1 %47, i64 -1, i64 %48
  %50 = call noalias noundef nonnull ptr @_Znam(i64 noundef %49) #7
  %51 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 2
  store ptr %50, ptr %51, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %103, %34
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !11
  %56 = icmp slt i32 %53, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %52
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %106

58:                                               ; preds = %52
  %59 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 1
  %60 = load i32, ptr %59, align 4, !tbaa !16
  %61 = sext i32 %60 to i64
  %62 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %61, i64 8)
  %63 = extractvalue { i64, i1 } %62, 1
  %64 = extractvalue { i64, i1 } %62, 0
  %65 = select i1 %63, i64 -1, i64 %64
  %66 = call noalias noundef nonnull ptr @_Znam(i64 noundef %65) #7
  %67 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds ptr, ptr %68, i64 %70
  store ptr %66, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %99, %58
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 1
  %75 = load i32, ptr %74, align 4, !tbaa !16
  %76 = icmp slt i32 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %102

78:                                               ; preds = %72
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.Matrix, ptr %79, i32 0, i32 2
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = load i32, ptr %6, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds ptr, ptr %81, i64 %83
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds double, ptr %85, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !17
  %90 = getelementptr inbounds %class.Matrix, ptr %9, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = load i32, ptr %6, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds ptr, ptr %91, i64 %93
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  store double %89, ptr %98, align 8, !tbaa !17
  br label %99

99:                                               ; preds = %78
  %100 = load i32, ptr %8, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %8, align 4, !tbaa !9
  br label %72, !llvm.loop !19

102:                                              ; preds = %77
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %6, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %6, align 4, !tbaa !9
  br label %52, !llvm.loop !20

106:                                              ; preds = %57
  ret ptr %9
}

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 = { 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 #5 = { nounwind }
attributes #6 = { builtin nounwind }
attributes #7 = { builtin 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, !10, i64 0}
!12 = !{!"_ZTS6Matrix", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !10, i64 4}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}


; 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: 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: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull returned align 8 dereferenceable(16) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %1) local_unnamed_addr #2 align 2 {
  %3 = load i32, ptr %0, align 8, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  br label %9

._crit_edge:                                      ; preds = %16, %2
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = icmp eq ptr %7, null
  br i1 %8, label %21, label %20

9:                                                ; preds = %.lr.ph, %16
  %10 = phi i32 [ %3, %.lr.ph ], [ %17, %16 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %16 ]
  %11 = load ptr, ptr %5, align 8, !tbaa !11
  %12 = getelementptr inbounds ptr, ptr %11, i64 %indvars.iv
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %14 = icmp eq ptr %13, null
  br i1 %14, label %16, label %15

15:                                               ; preds = %9
  tail call void @_ZdaPv(ptr noundef nonnull %13) #3
  %.pre = load i32, ptr %0, align 8, !tbaa !5
  br label %16

16:                                               ; preds = %9, %15
  %17 = phi i32 [ %10, %9 ], [ %.pre, %15 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = sext i32 %17 to i64
  %19 = icmp slt i64 %indvars.iv.next, %18
  br i1 %19, label %9, label %._crit_edge, !llvm.loop !13

20:                                               ; preds = %._crit_edge
  tail call void @_ZdaPv(ptr noundef nonnull %7) #3
  br label %21

21:                                               ; preds = %20, %._crit_edge
  %22 = load i32, ptr %1, align 8, !tbaa !5
  store i32 %22, ptr %0, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %1, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !15
  %.fr28 = freeze i32 %24
  %25 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %.fr28, ptr %25, align 4, !tbaa !15
  %26 = sext i32 %22 to i64
  %27 = icmp slt i32 %22, 0
  %28 = shl nsw i64 %26, 3
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #4
  store ptr %30, ptr %6, align 8, !tbaa !11
  %31 = icmp sgt i32 %22, 0
  br i1 %31, label %.lr.ph26, label %._crit_edge27

.lr.ph26:                                         ; preds = %21
  %32 = zext nneg i32 %.fr28 to i64
  %33 = icmp slt i32 %.fr28, 0
  %34 = shl nuw nsw i64 %32, 3
  %35 = select i1 %33, i64 -1, i64 %34
  %36 = icmp sgt i32 %.fr28, 0
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  %wide.trip.count42 = zext nneg i32 %22 to i64
  br i1 %36, label %.lr.ph22.us.preheader, label %.lr.ph26.split

.lr.ph22.us.preheader:                            ; preds = %.lr.ph26
  %wide.trip.count37 = zext nneg i32 %.fr28 to i64
  %min.iters.check = icmp ult i32 %.fr28, 4
  %n.vec = and i64 %wide.trip.count37, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count37
  %xtraiter = and i64 %wide.trip.count37, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph22.us

.lr.ph22.us:                                      ; preds = %.lr.ph22.us.preheader, %._crit_edge23.us
  %38 = phi ptr [ %30, %.lr.ph22.us.preheader ], [ %44, %._crit_edge23.us ]
  %indvars.iv39 = phi i64 [ 0, %.lr.ph22.us.preheader ], [ %indvars.iv.next40, %._crit_edge23.us ]
  %39 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %35) #4
  %40 = getelementptr inbounds ptr, ptr %38, i64 %indvars.iv39
  store ptr %39, ptr %40, align 8, !tbaa !12
  %41 = load ptr, ptr %37, align 8, !tbaa !11
  %42 = getelementptr inbounds ptr, ptr %41, i64 %indvars.iv39
  %43 = load ptr, ptr %42, align 8, !tbaa !12
  %44 = load ptr, ptr %6, align 8, !tbaa !11
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv39
  %46 = load ptr, ptr %45, align 8, !tbaa !12
  %47 = ptrtoint ptr %46 to i64
  %48 = ptrtoint ptr %43 to i64
  %49 = sub i64 %47, %48
  %diff.check = icmp ult i64 %49, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.lr.ph22.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.lr.ph22.us ]
  %50 = getelementptr inbounds double, ptr %43, i64 %index
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %wide.load = load <2 x double>, ptr %50, align 8, !tbaa !16
  %wide.load46 = load <2 x double>, ptr %51, align 8, !tbaa !16
  %52 = getelementptr inbounds double, ptr %46, i64 %index
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  store <2 x double> %wide.load, ptr %52, align 8, !tbaa !16
  store <2 x double> %wide.load46, ptr %53, align 8, !tbaa !16
  %index.next = add nuw i64 %index, 4
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge23.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph22.us
  %indvars.iv34.ph = phi i64 [ 0, %.lr.ph22.us ], [ %n.vec, %middle.block ]
  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.iv34.prol = phi i64 [ %indvars.iv.next35.prol, %scalar.ph.prol ], [ %indvars.iv34.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %55 = getelementptr inbounds double, ptr %43, i64 %indvars.iv34.prol
  %56 = load double, ptr %55, align 8, !tbaa !16
  %57 = getelementptr inbounds double, ptr %46, i64 %indvars.iv34.prol
  store double %56, ptr %57, align 8, !tbaa !16
  %indvars.iv.next35.prol = add nuw nsw i64 %indvars.iv34.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 !21

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv34.unr = phi i64 [ %indvars.iv34.ph, %scalar.ph.preheader ], [ %indvars.iv.next35.prol, %scalar.ph.prol ]
  %58 = sub nsw i64 %indvars.iv34.ph, %wide.trip.count37
  %59 = icmp ugt i64 %58, -4
  br i1 %59, label %._crit_edge23.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv34 = phi i64 [ %indvars.iv.next35.3, %scalar.ph ], [ %indvars.iv34.unr, %scalar.ph.prol.loopexit ]
  %60 = getelementptr inbounds double, ptr %43, i64 %indvars.iv34
  %61 = load double, ptr %60, align 8, !tbaa !16
  %62 = getelementptr inbounds double, ptr %46, i64 %indvars.iv34
  store double %61, ptr %62, align 8, !tbaa !16
  %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34, 1
  %63 = getelementptr inbounds double, ptr %43, i64 %indvars.iv.next35
  %64 = load double, ptr %63, align 8, !tbaa !16
  %65 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next35
  store double %64, ptr %65, align 8, !tbaa !16
  %indvars.iv.next35.1 = add nuw nsw i64 %indvars.iv34, 2
  %66 = getelementptr inbounds double, ptr %43, i64 %indvars.iv.next35.1
  %67 = load double, ptr %66, align 8, !tbaa !16
  %68 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next35.1
  store double %67, ptr %68, align 8, !tbaa !16
  %indvars.iv.next35.2 = add nuw nsw i64 %indvars.iv34, 3
  %69 = getelementptr inbounds double, ptr %43, i64 %indvars.iv.next35.2
  %70 = load double, ptr %69, align 8, !tbaa !16
  %71 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next35.2
  store double %70, ptr %71, align 8, !tbaa !16
  %indvars.iv.next35.3 = add nuw nsw i64 %indvars.iv34, 4
  %exitcond38.not.3 = icmp eq i64 %indvars.iv.next35.3, %wide.trip.count37
  br i1 %exitcond38.not.3, label %._crit_edge23.us, label %scalar.ph, !llvm.loop !23

._crit_edge23.us:                                 ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39, 1
  %exitcond43.not = icmp eq i64 %indvars.iv.next40, %wide.trip.count42
  br i1 %exitcond43.not, label %._crit_edge27, label %.lr.ph22.us, !llvm.loop !24

._crit_edge27:                                    ; preds = %.lr.ph26.split, %._crit_edge23.us, %21
  ret ptr %0

.lr.ph26.split:                                   ; preds = %.lr.ph26, %.lr.ph26.split
  %indvars.iv31 = phi i64 [ %indvars.iv.next32, %.lr.ph26.split ], [ 0, %.lr.ph26 ]
  %72 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %35) #4
  %73 = load ptr, ptr %6, align 8, !tbaa !11
  %74 = getelementptr inbounds ptr, ptr %73, i64 %indvars.iv31
  store ptr %72, ptr %74, align 8, !tbaa !12
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next32, %wide.trip.count42
  br i1 %exitcond.not, label %._crit_edge27, label %.lr.ph26.split, !llvm.loop !24
}

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


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