; LLVM IR from ShahjalalShohag/code-library :: Math/FWHT in Any Base.ll (ZN4FWHTmlERNS_6MatrixES1_)

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

; 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: mustprogress uwtable
define dso_local void @_ZN4FWHTmlERNS_6MatrixES1_(ptr dead_on_unwind noalias writable sret(%"struct.FWHT::Matrix") align 4 %0, ptr noundef nonnull align 4 dereferenceable(408) %1, ptr noundef nonnull align 4 dereferenceable(408) %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  store ptr %1, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 4, !tbaa !9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 4, !tbaa !12
  call void @_ZN4FWHT6MatrixC2Eii(ptr noundef nonnull align 4 dereferenceable(408) %0, i32 noundef %13, i32 noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %17

17:                                               ; preds = %83, %3
  %18 = load i32, ptr %6, align 4, !tbaa !13
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 4, !tbaa !9
  %22 = icmp slt i32 %18, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %17
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %86

24:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %25

25:                                               ; preds = %79, %24
  %26 = load i32, ptr %8, align 4, !tbaa !13
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %27, i32 0, i32 2
  %29 = load i32, ptr %28, align 4, !tbaa !12
  %30 = icmp slt i32 %26, %29
  br i1 %30, label %32, label %31

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

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store i64 0, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !13
  br label %33

33:                                               ; preds = %65, %32
  %34 = load i32, ptr %10, align 4, !tbaa !13
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !12
  %38 = icmp slt i32 %34, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %33
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %68

40:                                               ; preds = %33
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %41, i32 0, i32 0
  %43 = load i32, ptr %6, align 4, !tbaa !13
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [10 x [10 x i32]], ptr %42, i64 0, i64 %44
  %46 = load i32, ptr %10, align 4, !tbaa !13
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [10 x i32], ptr %45, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !13
  %50 = sext i32 %49 to i64
  %51 = mul nsw i64 1, %50
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %52, i32 0, i32 0
  %54 = load i32, ptr %10, align 4, !tbaa !13
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [10 x [10 x i32]], ptr %53, i64 0, i64 %55
  %57 = load i32, ptr %8, align 4, !tbaa !13
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [10 x i32], ptr %56, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !13
  %61 = sext i32 %60 to i64
  %62 = mul nsw i64 %51, %61
  %63 = load i64, ptr %9, align 8, !tbaa !14
  %64 = add nsw i64 %63, %62
  store i64 %64, ptr %9, align 8, !tbaa !14
  br label %65

65:                                               ; preds = %40
  %66 = load i32, ptr %10, align 4, !tbaa !13
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !13
  br label %33, !llvm.loop !16

68:                                               ; preds = %39
  %69 = load i64, ptr %9, align 8, !tbaa !14
  %70 = srem i64 %69, 330301441
  %71 = trunc i64 %70 to i32
  %72 = getelementptr inbounds %"struct.FWHT::Matrix", ptr %0, i32 0, i32 0
  %73 = load i32, ptr %6, align 4, !tbaa !13
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [10 x [10 x i32]], ptr %72, i64 0, i64 %74
  %76 = load i32, ptr %8, align 4, !tbaa !13
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [10 x i32], ptr %75, i64 0, i64 %77
  store i32 %71, ptr %78, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %79

79:                                               ; preds = %68
  %80 = load i32, ptr %8, align 4, !tbaa !13
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %8, align 4, !tbaa !13
  br label %25, !llvm.loop !18

82:                                               ; preds = %31
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %6, align 4, !tbaa !13
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %6, align 4, !tbaa !13
  br label %17, !llvm.loop !19

86:                                               ; preds = %23
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4FWHT6MatrixC2Eii(ptr noundef nonnull align 4 dereferenceable(408), i32 noundef, i32 noundef) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress 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 #3 = { 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, !11, i64 400}
!10 = !{!"_ZTSN4FWHT6MatrixE", !7, i64 0, !11, i64 400, !11, i64 404}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 404}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !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"

%"struct.FWHT::Matrix" = type { [10 x [10 x i32]], i32, i32 }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4FWHTmlERNS_6MatrixES1_(ptr dead_on_unwind noalias nonnull writable sret(%"struct.FWHT::Matrix") align 4 %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(408) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(408) %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %1, i64 400
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %2, i64 404
  %7 = load i32, ptr %6, align 4, !tbaa !10
  tail call void @_ZN4FWHT6MatrixC2Eii(ptr noundef nonnull align 4 dereferenceable(408) %0, i32 noundef %5, i32 noundef %7)
  %8 = load i32, ptr %4, align 4, !tbaa !5
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.preheader23.lr.ph, label %._crit_edge

.preheader23.lr.ph:                               ; preds = %3
  %10 = load i32, ptr %6, align 4, !tbaa !10
  %11 = icmp sgt i32 %10, 0
  %12 = getelementptr inbounds i8, ptr %1, i64 404
  %13 = load i32, ptr %12, align 4
  br i1 %11, label %.preheader23.lr.ph.split.us, label %._crit_edge

.preheader23.lr.ph.split.us:                      ; preds = %.preheader23.lr.ph
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader23.us.us.preheader, label %.preheader23.us.preheader

.preheader23.us.preheader:                        ; preds = %.preheader23.lr.ph.split.us
  %15 = zext nneg i32 %10 to i64
  %16 = shl nuw nsw i64 %15, 2
  %wide.trip.count = zext nneg i32 %8 to i64
  %xtraiter = and i64 %wide.trip.count, 7
  %17 = icmp ult i32 %8, 8
  br i1 %17, label %._crit_edge.loopexit52.unr-lcssa, label %.preheader23.us.preheader.new

.preheader23.us.preheader.new:                    ; preds = %.preheader23.us.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483640
  %invariant.gep = getelementptr i8, ptr %0, i64 80
  %invariant.gep60 = getelementptr i8, ptr %0, i64 120
  %invariant.gep62 = getelementptr i8, ptr %0, i64 160
  %invariant.gep64 = getelementptr i8, ptr %0, i64 200
  %invariant.gep66 = getelementptr i8, ptr %0, i64 240
  %invariant.gep68 = getelementptr i8, ptr %0, i64 280
  br label %.preheader23.us

.preheader23.us.us.preheader:                     ; preds = %.preheader23.lr.ph.split.us
  %wide.trip.count48 = zext nneg i32 %8 to i64
  %wide.trip.count43 = zext nneg i32 %10 to i64
  %wide.trip.count38 = zext nneg i32 %13 to i64
  %xtraiter53 = and i64 %wide.trip.count38, 1
  %18 = icmp eq i32 %13, 1
  %unroll_iter57 = and i64 %wide.trip.count38, 2147483646
  %lcmp.mod55.not = icmp eq i64 %xtraiter53, 0
  br label %.preheader23.us.us

.preheader23.us.us:                               ; preds = %.preheader23.us.us.preheader, %._crit_edge27.split.us.us.us
  %indvars.iv45 = phi i64 [ 0, %.preheader23.us.us.preheader ], [ %indvars.iv.next46, %._crit_edge27.split.us.us.us ]
  br label %.preheader.us.us.us

.preheader.us.us.us:                              ; preds = %._crit_edge.us.us.us, %.preheader23.us.us
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %._crit_edge.us.us.us ], [ 0, %.preheader23.us.us ]
  br i1 %18, label %._crit_edge.us.us.us.unr-lcssa, label %.preheader.us.us.us.new

.preheader.us.us.us.new:                          ; preds = %.preheader.us.us.us, %.preheader.us.us.us.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.preheader.us.us.us.new ], [ 0, %.preheader.us.us.us ]
  %.02024.us.us.us = phi i64 [ %34, %.preheader.us.us.us.new ], [ 0, %.preheader.us.us.us ]
  %niter58 = phi i64 [ %niter58.next.1, %.preheader.us.us.us.new ], [ 0, %.preheader.us.us.us ]
  %19 = getelementptr inbounds [10 x [10 x i32]], ptr %1, i64 0, i64 %indvars.iv45, i64 %indvars.iv
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [10 x [10 x i32]], ptr %2, i64 0, i64 %indvars.iv, i64 %indvars.iv40
  %23 = load i32, ptr %22, align 4, !tbaa !11
  %24 = sext i32 %23 to i64
  %25 = mul nsw i64 %24, %21
  %26 = add nsw i64 %25, %.02024.us.us.us
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %27 = getelementptr inbounds [10 x [10 x i32]], ptr %1, i64 0, i64 %indvars.iv45, i64 %indvars.iv.next
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [10 x [10 x i32]], ptr %2, i64 0, i64 %indvars.iv.next, i64 %indvars.iv40
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = sext i32 %31 to i64
  %33 = mul nsw i64 %32, %29
  %34 = add nsw i64 %33, %26
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter58.next.1 = add i64 %niter58, 2
  %niter58.ncmp.1 = icmp eq i64 %niter58.next.1, %unroll_iter57
  br i1 %niter58.ncmp.1, label %._crit_edge.us.us.us.unr-lcssa, label %.preheader.us.us.us.new, !llvm.loop !12

._crit_edge.us.us.us.unr-lcssa:                   ; preds = %.preheader.us.us.us.new, %.preheader.us.us.us
  %.lcssa.ph = phi i64 [ poison, %.preheader.us.us.us ], [ %34, %.preheader.us.us.us.new ]
  %indvars.iv.unr = phi i64 [ 0, %.preheader.us.us.us ], [ %indvars.iv.next.1, %.preheader.us.us.us.new ]
  %.02024.us.us.us.unr = phi i64 [ 0, %.preheader.us.us.us ], [ %34, %.preheader.us.us.us.new ]
  br i1 %lcmp.mod55.not, label %._crit_edge.us.us.us, label %._crit_edge.us.us.us.epilog-lcssa

._crit_edge.us.us.us.epilog-lcssa:                ; preds = %._crit_edge.us.us.us.unr-lcssa
  %35 = getelementptr inbounds [10 x [10 x i32]], ptr %1, i64 0, i64 %indvars.iv45, i64 %indvars.iv.unr
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [10 x [10 x i32]], ptr %2, i64 0, i64 %indvars.iv.unr, i64 %indvars.iv40
  %39 = load i32, ptr %38, align 4, !tbaa !11
  %40 = sext i32 %39 to i64
  %41 = mul nsw i64 %40, %37
  %42 = add nsw i64 %41, %.02024.us.us.us.unr
  br label %._crit_edge.us.us.us

._crit_edge.us.us.us:                             ; preds = %._crit_edge.us.us.us.unr-lcssa, %._crit_edge.us.us.us.epilog-lcssa
  %.lcssa = phi i64 [ %.lcssa.ph, %._crit_edge.us.us.us.unr-lcssa ], [ %42, %._crit_edge.us.us.us.epilog-lcssa ]
  %43 = srem i64 %.lcssa, 330301441
  %44 = trunc nsw i64 %43 to i32
  %45 = getelementptr inbounds [10 x [10 x i32]], ptr %0, i64 0, i64 %indvars.iv45, i64 %indvars.iv40
  store i32 %44, ptr %45, align 4, !tbaa !11
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %exitcond44.not = icmp eq i64 %indvars.iv.next41, %wide.trip.count43
  br i1 %exitcond44.not, label %._crit_edge27.split.us.us.us, label %.preheader.us.us.us, !llvm.loop !14

._crit_edge27.split.us.us.us:                     ; preds = %._crit_edge.us.us.us
  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 1
  %exitcond49.not = icmp eq i64 %indvars.iv.next46, %wide.trip.count48
  br i1 %exitcond49.not, label %._crit_edge, label %.preheader23.us.us, !llvm.loop !15

.preheader23.us:                                  ; preds = %.preheader23.us, %.preheader23.us.preheader.new
  %indvar = phi i64 [ 0, %.preheader23.us.preheader.new ], [ %indvar.next.7, %.preheader23.us ]
  %niter = phi i64 [ 0, %.preheader23.us.preheader.new ], [ %niter.next.7, %.preheader23.us ]
  %46 = mul nuw nsw i64 %indvar, 40
  %scevgep = getelementptr i8, ptr %0, i64 %46
  tail call void @llvm.memset.p0.i64(ptr align 4 %scevgep, i8 0, i64 %16, i1 false), !tbaa !11
  %47 = mul nuw i64 %indvar, 40
  %48 = or disjoint i64 %47, 40
  %scevgep.1 = getelementptr i8, ptr %0, i64 %48
  tail call void @llvm.memset.p0.i64(ptr align 4 %scevgep.1, i8 0, i64 %16, i1 false), !tbaa !11
  %49 = mul nuw i64 %indvar, 40
  %gep = getelementptr i8, ptr %invariant.gep, i64 %49
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep, i8 0, i64 %16, i1 false), !tbaa !11
  %50 = mul nuw i64 %indvar, 40
  %gep61 = getelementptr i8, ptr %invariant.gep60, i64 %50
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep61, i8 0, i64 %16, i1 false), !tbaa !11
  %51 = mul nuw i64 %indvar, 40
  %gep63 = getelementptr i8, ptr %invariant.gep62, i64 %51
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep63, i8 0, i64 %16, i1 false), !tbaa !11
  %52 = mul nuw i64 %indvar, 40
  %gep65 = getelementptr i8, ptr %invariant.gep64, i64 %52
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep65, i8 0, i64 %16, i1 false), !tbaa !11
  %53 = mul nuw i64 %indvar, 40
  %gep67 = getelementptr i8, ptr %invariant.gep66, i64 %53
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep67, i8 0, i64 %16, i1 false), !tbaa !11
  %54 = mul nuw i64 %indvar, 40
  %gep69 = getelementptr i8, ptr %invariant.gep68, i64 %54
  tail call void @llvm.memset.p0.i64(ptr align 4 %gep69, i8 0, i64 %16, i1 false), !tbaa !11
  %indvar.next.7 = add nuw nsw i64 %indvar, 8
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit52.unr-lcssa, label %.preheader23.us, !llvm.loop !15

._crit_edge.loopexit52.unr-lcssa:                 ; preds = %.preheader23.us, %.preheader23.us.preheader
  %indvar.unr = phi i64 [ 0, %.preheader23.us.preheader ], [ %indvar.next.7, %.preheader23.us ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.preheader23.us.epil

.preheader23.us.epil:                             ; preds = %._crit_edge.loopexit52.unr-lcssa, %.preheader23.us.epil
  %indvar.epil = phi i64 [ %indvar.next.epil, %.preheader23.us.epil ], [ %indvar.unr, %._crit_edge.loopexit52.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader23.us.epil ], [ 0, %._crit_edge.loopexit52.unr-lcssa ]
  %55 = mul nuw nsw i64 %indvar.epil, 40
  %scevgep.epil = getelementptr i8, ptr %0, i64 %55
  tail call void @llvm.memset.p0.i64(ptr align 4 %scevgep.epil, i8 0, i64 %16, i1 false), !tbaa !11
  %indvar.next.epil = add nuw nsw i64 %indvar.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.preheader23.us.epil, !llvm.loop !16

._crit_edge:                                      ; preds = %._crit_edge.loopexit52.unr-lcssa, %.preheader23.us.epil, %._crit_edge27.split.us.us.us, %.preheader23.lr.ph, %3
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4FWHT6MatrixC2Eii(ptr noundef nonnull align 4 dereferenceable(408), i32 noundef, i32 noundef) unnamed_addr #0 align 2

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

attributes #0 = { mustprogress 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 nounwind willreturn memory(argmem: write) }

!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, !9, i64 400}
!6 = !{!"_ZTSN4FWHT6MatrixE", !7, i64 0, !9, i64 400, !9, i64 404}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!6, !9, i64 404}
!11 = !{!9, !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass