; LLVM IR from tangjz/acm-icpc :: 51nod (1142)

; 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.Matrix = type { i32, i32, [4 x [4 x i32]] }

@A = external dso_local global %struct.Matrix, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@constinit = external hidden constant [4 x [4 x i32]], align 4
@constinit.2 = external hidden constant [4 x [4 x i32]], align 4
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.Matrix, align 4
  %6 = alloca %struct.Matrix, align 4
  %7 = alloca %struct.Matrix, align 4
  %8 = alloca %struct.Matrix, align 4
  %9 = alloca %struct.Matrix, align 4
  %10 = alloca %struct.Matrix, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = and i32 %12, 1
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %21

15:                                               ; preds = %0
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = and i32 %16, 1
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %21

19:                                               ; preds = %15
  %20 = call i32 @puts(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %89

21:                                               ; preds = %15, %0
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %35

25:                                               ; preds = %21
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = add nsw i32 %26, %27
  store i32 %28, ptr %2, align 4, !tbaa !5
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sub nsw i32 %29, %30
  store i32 %31, ptr %3, align 4, !tbaa !5
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sub nsw i32 %32, %33
  store i32 %34, ptr %2, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %25, %21
  %36 = load i32, ptr %3, align 4, !tbaa !5
  switch i32 %36, label %53 [
    i32 2, label %37
    i32 3, label %41
    i32 4, label %45
    i32 5, label %49
  ]

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 72, i1 false)
  %38 = getelementptr inbounds %struct.Matrix, ptr %5, i32 0, i32 0
  store i32 1, ptr %38, align 4, !tbaa !9
  %39 = getelementptr inbounds %struct.Matrix, ptr %5, i32 0, i32 1
  store i32 1, ptr %39, align 4, !tbaa !11
  %40 = getelementptr inbounds %struct.Matrix, ptr %5, i32 0, i32 2
  store i32 1, ptr %40, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @A, ptr align 4 %5, i64 72, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #6
  br label %53

41:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #6
  call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 72, i1 false)
  %42 = getelementptr inbounds %struct.Matrix, ptr %6, i32 0, i32 0
  store i32 1, ptr %42, align 4, !tbaa !9
  %43 = getelementptr inbounds %struct.Matrix, ptr %6, i32 0, i32 1
  store i32 1, ptr %43, align 4, !tbaa !11
  %44 = getelementptr inbounds %struct.Matrix, ptr %6, i32 0, i32 2
  store i32 2, ptr %44, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @A, ptr align 4 %6, i64 72, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #6
  br label %53

45:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %7) #6
  %46 = getelementptr inbounds %struct.Matrix, ptr %7, i32 0, i32 0
  store i32 4, ptr %46, align 4, !tbaa !9
  %47 = getelementptr inbounds %struct.Matrix, ptr %7, i32 0, i32 1
  store i32 4, ptr %47, align 4, !tbaa !11
  %48 = getelementptr inbounds %struct.Matrix, ptr %7, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 @constinit, i64 64, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @A, ptr align 4 %7, i64 72, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 72, ptr %7) #6
  br label %53

49:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %8) #6
  %50 = getelementptr inbounds %struct.Matrix, ptr %8, i32 0, i32 0
  store i32 3, ptr %50, align 4, !tbaa !9
  %51 = getelementptr inbounds %struct.Matrix, ptr %8, i32 0, i32 1
  store i32 3, ptr %51, align 4, !tbaa !11
  %52 = getelementptr inbounds %struct.Matrix, ptr %8, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 4 %52, i8 0, i64 64, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 @constinit.2, i64 64, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @A, ptr align 4 %8, i64 72, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 72, ptr %8) #6
  br label %53

53:                                               ; preds = %49, %45, %41, %37, %35
  %54 = load i32, ptr %3, align 4, !tbaa !5
  %55 = icmp sle i32 %54, 4
  br i1 %55, label %56, label %75

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 72, ptr %9) #6
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = sub nsw i32 %57, 2
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = and i32 %59, 1
  %61 = ashr i32 %58, %60
  call void @_ZN6Matrix3powEi(ptr dead_on_unwind writable sret(%struct.Matrix) align 4 %9, ptr noundef nonnull align 4 dereferenceable(72) @A, i32 noundef %61)
  %62 = getelementptr inbounds %struct.Matrix, ptr %9, i32 0, i32 2
  %63 = load i32, ptr @A, align 4, !tbaa !9
  %64 = sub nsw i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [4 x [4 x i32]], ptr %62, i64 0, i64 %65
  %67 = load i32, ptr getelementptr inbounds (%struct.Matrix, ptr @A, i32 0, i32 1), align 4, !tbaa !11
  %68 = sub nsw i32 %67, 1
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [4 x i32], ptr %66, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = shl i32 %71, 1
  %73 = srem i32 %72, 1000000007
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %73)
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #6
  br label %88

75:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 72, ptr %10) #6
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sub nsw i32 %76, 4
  %78 = ashr i32 %77, 1
  call void @_ZN6Matrix3powEi(ptr dead_on_unwind writable sret(%struct.Matrix) align 4 %10, ptr noundef nonnull align 4 dereferenceable(72) @A, i32 noundef %78)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @A, ptr align 4 %10, i64 72, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 72, ptr %10) #6
  %79 = load i32, ptr getelementptr inbounds ([4 x i32], ptr getelementptr inbounds ([4 x [4 x i32]], ptr getelementptr inbounds (%struct.Matrix, ptr @A, i32 0, i32 2), i64 0, i64 1), i64 0, i64 2), align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = mul nsw i64 2, %80
  %82 = load i32, ptr getelementptr inbounds ([4 x i32], ptr getelementptr inbounds ([4 x [4 x i32]], ptr getelementptr inbounds (%struct.Matrix, ptr @A, i32 0, i32 2), i64 0, i64 2), i64 0, i64 2), align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = mul nsw i64 28, %83
  %85 = add nsw i64 %81, %84
  %86 = srem i64 %85, 1000000007
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %86)
  br label %88

88:                                               ; preds = %75, %56
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %89

89:                                               ; preds = %88, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %90 = load i32, ptr %1, align 4
  ret i32 %90
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

declare i32 @puts(ptr noundef) #2

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

; 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) #4

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

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Matrix3powEi(ptr dead_on_unwind noalias writable sret(%struct.Matrix) align 4, ptr noundef nonnull align 4 dereferenceable(72), i32 noundef) #5 align 2

attributes #0 = { mustprogress norecurse 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: write) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !6, i64 0}
!10 = !{!"_ZTS6Matrix", !6, i64 0, !6, i64 4, !7, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 64, !13}
!13 = !{!7, !7, i64 0}
!14 = !{i64 0, i64 64, !13}


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

%struct.Matrix = type { i32, i32, [4 x [4 x i32]] }

@A = external dso_local global %struct.Matrix, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@constinit = external hidden local_unnamed_addr constant [4 x [4 x i32]], align 4
@constinit.2 = external hidden local_unnamed_addr constant [4 x [4 x i32]], align 4
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.Matrix, align 4
  %4 = alloca %struct.Matrix, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %6 = load i32, ptr %2, align 4, !tbaa !5
  %7 = and i32 %6, 1
  %.not = icmp eq i32 %7, 0
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  %8 = and i32 %.pre, 1
  %.not11 = icmp eq i32 %8, 0
  %or.cond = select i1 %.not, i1 true, i1 %.not11
  br i1 %or.cond, label %11, label %9

9:                                                ; preds = %0
  %10 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %48

11:                                               ; preds = %0
  %12 = icmp slt i32 %.pre, %6
  br i1 %12, label %13, label %thread-pre-split

13:                                               ; preds = %11
  store i32 %.pre, ptr %2, align 4, !tbaa !5
  store i32 %6, ptr %1, align 4, !tbaa !5
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %11, %13
  %14 = phi i32 [ %6, %13 ], [ %.pre, %11 ]
  %15 = phi i32 [ %.pre, %13 ], [ %6, %11 ]
  switch i32 %15, label %19 [
    i32 2, label %16
    i32 3, label %17
    i32 4, label %18
    i32 5, label %.thread12
  ]

16:                                               ; preds = %thread-pre-split
  store i32 1, ptr @A, align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @A, i64 4), align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @A, i64 8), align 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) getelementptr inbounds (i8, ptr @A, i64 12), i8 0, i64 60, i1 false)
  br label %.thread

17:                                               ; preds = %thread-pre-split
  store i32 1, ptr @A, align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @A, i64 4), align 4, !tbaa !5
  store i32 2, ptr getelementptr inbounds (i8, ptr @A, i64 8), align 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) getelementptr inbounds (i8, ptr @A, i64 12), i8 0, i64 60, i1 false)
  br label %.thread

18:                                               ; preds = %thread-pre-split
  store i32 4, ptr @A, align 4, !tbaa !5
  store i32 4, ptr getelementptr inbounds (i8, ptr @A, i64 4), align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) getelementptr inbounds (i8, ptr @A, i64 8), ptr noundef nonnull align 4 dereferenceable(64) @constinit, i64 64, i1 false), !tbaa.struct !9
  br label %.thread

.thread12:                                        ; preds = %thread-pre-split
  store i32 3, ptr @A, align 4, !tbaa !5
  store i32 3, ptr getelementptr inbounds (i8, ptr @A, i64 4), align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) getelementptr inbounds (i8, ptr @A, i64 8), ptr noundef nonnull align 4 dereferenceable(64) @constinit.2, i64 64, i1 false)
  br label %36

19:                                               ; preds = %thread-pre-split
  %20 = icmp slt i32 %15, 5
  br i1 %20, label %.thread, label %36

.thread:                                          ; preds = %16, %17, %18, %19
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  %21 = add nsw i32 %14, -2
  %22 = and i32 %15, 1
  %23 = ashr i32 %21, %22
  call void @_ZN6Matrix3powEi(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %3, ptr noundef nonnull align 4 dereferenceable(72) @A, i32 noundef %23)
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load i32, ptr @A, align 4, !tbaa !11
  %26 = add nsw i32 %25, -1
  %27 = sext i32 %26 to i64
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @A, i64 4), align 4, !tbaa !13
  %29 = add nsw i32 %28, -1
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [4 x [4 x i32]], ptr %24, i64 0, i64 %27, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = shl i32 %32, 1
  %34 = srem i32 %33, 1000000007
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %34)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  br label %48

36:                                               ; preds = %.thread12, %19
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #6
  %37 = add nsw i32 %14, -4
  %38 = ashr i32 %37, 1
  call void @_ZN6Matrix3powEi(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(72) @A, i32 noundef %38)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(72) @A, ptr noundef nonnull align 4 dereferenceable(72) %4, i64 72, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #6
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @A, i64 32), align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = shl nsw i64 %40, 1
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @A, i64 48), align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = mul nsw i64 %43, 28
  %45 = add nsw i64 %44, %41
  %46 = srem i64 %45, 1000000007
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %46)
  br label %48

48:                                               ; preds = %.thread, %36, %9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

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

; 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) #4

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Matrix3powEi(ptr dead_on_unwind noalias writable sret(%struct.Matrix) align 4, ptr noundef nonnull align 4 dereferenceable(72), i32 noundef) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress norecurse 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree 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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{i64 0, i64 64, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS6Matrix", !6, i64 0, !6, i64 4, !7, i64 8}
!13 = !{!12, !6, i64 4}
!14 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 64, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass