; LLVM IR from tangjz/acm-icpc :: lydsy/2999.ll (Z1Fii)

; 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 { [11 x [11 x %struct.Info]] }
%struct.Info = type { i32, i32 }

@f = external dso_local global [11 x [513 x %struct.Matrix]], align 16
@msk = external dso_local global [11 x i32], align 16
@vis = external dso_local global [11 x [513 x i8]], align 16
@_ZZ1FiiE2dp = external hidden global [21 x %struct.Info], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %0, i32 noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.Info, align 4
  %10 = alloca %struct.Info, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.Info, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.Matrix, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [11 x [513 x i8]], ptr @vis, i64 0, i64 %18
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [513 x i8], ptr %19, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %24 = trunc i8 %23 to i1
  br i1 %24, label %25, label %32

25:                                               ; preds = %2
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %27
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [513 x %struct.Matrix], ptr %28, i64 0, i64 %30
  store ptr %31, ptr %3, align 8
  br label %205

32:                                               ; preds = %2
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [11 x [513 x i8]], ptr @vis, i64 0, i64 %34
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [513 x i8], ptr %35, i64 0, i64 %37
  store i8 1, ptr %38, align 1, !tbaa !9
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = icmp eq i32 %39, 1
  br i1 %40, label %41, label %155

41:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %151, %41
  %43 = load i32, ptr %6, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 10
  br i1 %44, label %46, label %45

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

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %57, %46
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = icmp slt i32 %48, 20
  br i1 %49, label %51, label %50

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

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %52 = getelementptr inbounds %struct.Info, ptr %9, i32 0, i32 0
  store i32 1061109567, ptr %52, align 4, !tbaa !13
  %53 = getelementptr inbounds %struct.Info, ptr %9, i32 0, i32 1
  store i32 0, ptr %53, align 4, !tbaa !15
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %55
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %57

57:                                               ; preds = %51
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %8, align 4, !tbaa !5
  br label %47, !llvm.loop !17

60:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %61 = getelementptr inbounds %struct.Info, ptr %10, i32 0, i32 0
  store i32 0, ptr %61, align 4, !tbaa !13
  %62 = getelementptr inbounds %struct.Info, ptr %10, i32 0, i32 1
  store i32 1, ptr %62, align 4, !tbaa !15
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %64
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %66 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %66, ptr %11, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %121, %60
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = icmp slt i32 %68, 10
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %124

71:                                               ; preds = %67
  %72 = load i32, ptr %11, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %73
  %75 = getelementptr inbounds %struct.Info, ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 8, !tbaa !13
  %77 = icmp eq i32 %76, 1061109567
  br i1 %77, label %78, label %79

78:                                               ; preds = %71
  br label %121

79:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %117, %79
  %81 = load i32, ptr %12, align 4, !tbaa !5
  %82 = icmp slt i32 %81, 10
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %120

84:                                               ; preds = %80
  %85 = load i32, ptr %5, align 4, !tbaa !5
  %86 = load i32, ptr %11, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [11 x i32], ptr @msk, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = or i32 %85, %89
  %91 = load i32, ptr %12, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [11 x i32], ptr @msk, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = and i32 %90, %94
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %116

97:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %98 = getelementptr inbounds %struct.Info, ptr %13, i32 0, i32 0
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %100
  %102 = getelementptr inbounds %struct.Info, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !13
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %98, align 4, !tbaa !13
  %105 = getelementptr inbounds %struct.Info, ptr %13, i32 0, i32 1
  %106 = load i32, ptr %11, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %107
  %109 = getelementptr inbounds %struct.Info, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 4, !tbaa !15
  store i32 %110, ptr %105, align 4, !tbaa !15
  %111 = load i32, ptr %11, align 4, !tbaa !5
  %112 = load i32, ptr %12, align 4, !tbaa !5
  %113 = add nsw i32 %111, %112
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %114
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %115, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %116

116:                                              ; preds = %97, %84
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %12, align 4, !tbaa !5
  br label %80, !llvm.loop !19

120:                                              ; preds = %83
  br label %121

121:                                              ; preds = %120, %78
  %122 = load i32, ptr %11, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %11, align 4, !tbaa !5
  br label %67, !llvm.loop !20

124:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %147, %124
  %126 = load i32, ptr %14, align 4, !tbaa !5
  %127 = icmp slt i32 %126, 10
  br i1 %127, label %129, label %128

128:                                              ; preds = %125
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %150

129:                                              ; preds = %125
  %130 = load i32, ptr %14, align 4, !tbaa !5
  %131 = add nsw i32 10, %130
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %132
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %135
  %137 = load i32, ptr %5, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [513 x %struct.Matrix], ptr %136, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.Matrix, ptr %139, i32 0, i32 0
  %141 = load i32, ptr %6, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [11 x [11 x %struct.Info]], ptr %140, i64 0, i64 %142
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [11 x %struct.Info], ptr %143, i64 0, i64 %145
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %146, ptr align 8 %133, i64 8, i1 false), !tbaa.struct !16
  br label %147

147:                                              ; preds = %129
  %148 = load i32, ptr %14, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %14, align 4, !tbaa !5
  br label %125, !llvm.loop !21

150:                                              ; preds = %128
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %6, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %6, align 4, !tbaa !5
  br label %42, !llvm.loop !22

154:                                              ; preds = %45
  br label %198

155:                                              ; preds = %32
  %156 = load i32, ptr %4, align 4, !tbaa !5
  %157 = sub nsw i32 %156, 1
  %158 = load i32, ptr %5, align 4, !tbaa !5
  %159 = load i32, ptr @msk, align 16, !tbaa !5
  %160 = or i32 %158, %159
  %161 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %157, i32 noundef %160)
  %162 = load i32, ptr %4, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %163
  %165 = load i32, ptr %5, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [513 x %struct.Matrix], ptr %164, i64 0, i64 %166
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %167, ptr align 4 %161, i64 968, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %168

168:                                              ; preds = %194, %155
  %169 = load i32, ptr %15, align 4, !tbaa !5
  %170 = icmp slt i32 %169, 10
  br i1 %170, label %172, label %171

171:                                              ; preds = %168
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %197

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 968, ptr %16) #4
  %173 = load i32, ptr %4, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %174
  %176 = load i32, ptr %5, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [513 x %struct.Matrix], ptr %175, i64 0, i64 %177
  %179 = load i32, ptr %4, align 4, !tbaa !5
  %180 = sub nsw i32 %179, 1
  %181 = load i32, ptr %5, align 4, !tbaa !5
  %182 = load i32, ptr %15, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [11 x i32], ptr @msk, i64 0, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = or i32 %181, %185
  %187 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %180, i32 noundef %186)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%struct.Matrix) align 4 %16, ptr noundef nonnull align 4 dereferenceable(968) %178, ptr noundef nonnull align 4 dereferenceable(968) %187)
  %188 = load i32, ptr %4, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %189
  %191 = load i32, ptr %5, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [513 x %struct.Matrix], ptr %190, i64 0, i64 %192
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %193, ptr align 4 %16, i64 968, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 968, ptr %16) #4
  br label %194

194:                                              ; preds = %172
  %195 = load i32, ptr %15, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %15, align 4, !tbaa !5
  br label %168, !llvm.loop !25

197:                                              ; preds = %171
  br label %198

198:                                              ; preds = %197, %154
  %199 = load i32, ptr %4, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %200
  %202 = load i32, ptr %5, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [513 x %struct.Matrix], ptr %201, i64 0, i64 %203
  store ptr %204, ptr %3, align 8
  br label %205

205:                                              ; preds = %198, %25
  %206 = load ptr, ptr %3, align 8
  ret ptr %206
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS4Info", !6, i64 0, !6, i64 4}
!15 = !{!14, !6, i64 4}
!16 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = !{i64 0, i64 968, !24}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !18}


; 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 { [11 x [11 x %struct.Info]] }
%struct.Info = type { i32, i32 }

@f = external dso_local global [11 x [513 x %struct.Matrix]], align 16
@msk = external dso_local local_unnamed_addr global [11 x i32], align 16
@vis = external dso_local local_unnamed_addr global [11 x [513 x i8]], align 16
@_ZZ1FiiE2dp = external hidden global [21 x %struct.Info], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.Info, align 4
  %4 = alloca %struct.Matrix, align 4
  %5 = sext i32 %0 to i64
  %6 = sext i32 %1 to i64
  %7 = getelementptr inbounds [11 x [513 x i8]], ptr @vis, i64 0, i64 %5, i64 %6
  %8 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %.loopexit60, label %10

10:                                               ; preds = %2
  store i8 1, ptr %7, align 1, !tbaa !5
  %11 = icmp eq i32 %0, 1
  br i1 %11, label %.preheader59, label %.loopexit60.loopexit68

.preheader59:                                     ; preds = %10
  %12 = getelementptr inbounds i8, ptr %3, i64 4
  %13 = mul nuw nsw i64 %5, 496584
  %14 = mul nsw i64 %6, 968
  %15 = getelementptr i8, ptr @f, i64 %13
  %16 = getelementptr i8, ptr %15, i64 %14
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader57, %.preheader59
  %indvars.iv = phi i64 [ 0, %.preheader59 ], [ %indvars.iv.next, %.preheader57 ]
  %17 = mul nuw nsw i64 %indvars.iv, 88
  %scevgep = getelementptr i8, ptr %16, i64 %17
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr @_ZZ1FiiE2dp, align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 16), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 32), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 48), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 64), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 80), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 96), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 112), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 128), align 16, !tbaa !11
  store <4 x i32> <i32 1061109567, i32 0, i32 1061109567, i32 0>, ptr getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 144), align 16, !tbaa !11
  %18 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %indvars.iv
  store i32 0, ptr %18, align 8, !tbaa !11
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 4
  store i32 1, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !11
  br label %.lr.ph

.preheader57:                                     ; preds = %.loopexit
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %scevgep, ptr noundef nonnull align 16 dereferenceable(80) getelementptr inbounds (i8, ptr @_ZZ1FiiE2dp, i64 80), i64 80, i1 false)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond79.not = icmp eq i64 %indvars.iv.next, 10
  br i1 %exitcond79.not, label %.loopexit60, label %.lr.ph.preheader, !llvm.loop !13

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.loopexit
  %indvars.iv72 = phi i64 [ %indvars.iv, %.lr.ph.preheader ], [ %indvars.iv.next73, %.loopexit ]
  %19 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %indvars.iv72
  %20 = load i32, ptr %19, align 8, !tbaa !15
  %21 = icmp eq i32 %20, 1061109567
  br i1 %21, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.lr.ph
  %22 = getelementptr inbounds [11 x i32], ptr @msk, i64 0, i64 %indvars.iv72
  %23 = getelementptr inbounds i8, ptr %19, i64 4
  %24 = load i32, ptr %22, align 4, !tbaa !11
  %25 = or i32 %24, %1
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 4), align 4, !tbaa !11
  %27 = and i32 %25, %26
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %33, label %28

28:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %29 = add nsw i32 %20, 1
  store i32 %29, ptr %3, align 4, !tbaa !15
  %30 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %30, ptr %12, align 4, !tbaa !17
  %31 = add nuw nsw i64 %indvars.iv72, 1
  %32 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %31
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre = load i32, ptr %22, align 4, !tbaa !11
  %.pre87 = or i32 %.pre, %1
  br label %33

33:                                               ; preds = %.preheader, %28
  %.pre-phi = phi i32 [ %25, %.preheader ], [ %.pre87, %28 ]
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 8), align 8, !tbaa !11
  %35 = and i32 %.pre-phi, %34
  %.not.1 = icmp eq i32 %35, 0
  br i1 %.not.1, label %42, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %37 = load i32, ptr %19, align 8, !tbaa !15
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %3, align 4, !tbaa !15
  %39 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %39, ptr %12, align 4, !tbaa !17
  %40 = add nuw nsw i64 %indvars.iv72, 2
  %41 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %40
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre80 = load i32, ptr %22, align 4, !tbaa !11
  %.pre88 = or i32 %.pre80, %1
  br label %42

42:                                               ; preds = %36, %33
  %.pre-phi89 = phi i32 [ %.pre88, %36 ], [ %.pre-phi, %33 ]
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 12), align 4, !tbaa !11
  %44 = and i32 %.pre-phi89, %43
  %.not.2 = icmp eq i32 %44, 0
  br i1 %.not.2, label %51, label %45

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %46 = load i32, ptr %19, align 8, !tbaa !15
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %3, align 4, !tbaa !15
  %48 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %48, ptr %12, align 4, !tbaa !17
  %49 = add nuw nsw i64 %indvars.iv72, 3
  %50 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %49
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %50, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre81 = load i32, ptr %22, align 4, !tbaa !11
  %.pre90 = or i32 %.pre81, %1
  br label %51

51:                                               ; preds = %45, %42
  %.pre-phi91 = phi i32 [ %.pre90, %45 ], [ %.pre-phi89, %42 ]
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 16), align 16, !tbaa !11
  %53 = and i32 %.pre-phi91, %52
  %.not.3 = icmp eq i32 %53, 0
  br i1 %.not.3, label %60, label %54

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %55 = load i32, ptr %19, align 8, !tbaa !15
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %3, align 4, !tbaa !15
  %57 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %57, ptr %12, align 4, !tbaa !17
  %58 = add nuw nsw i64 %indvars.iv72, 4
  %59 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %58
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %59, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre82 = load i32, ptr %22, align 4, !tbaa !11
  %.pre92 = or i32 %.pre82, %1
  br label %60

60:                                               ; preds = %54, %51
  %.pre-phi93 = phi i32 [ %.pre92, %54 ], [ %.pre-phi91, %51 ]
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 20), align 4, !tbaa !11
  %62 = and i32 %.pre-phi93, %61
  %.not.4 = icmp eq i32 %62, 0
  br i1 %.not.4, label %69, label %63

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %64 = load i32, ptr %19, align 8, !tbaa !15
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %3, align 4, !tbaa !15
  %66 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %66, ptr %12, align 4, !tbaa !17
  %67 = add nuw nsw i64 %indvars.iv72, 5
  %68 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %67
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %68, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre83 = load i32, ptr %22, align 4, !tbaa !11
  %.pre94 = or i32 %.pre83, %1
  br label %69

69:                                               ; preds = %63, %60
  %.pre-phi95 = phi i32 [ %.pre94, %63 ], [ %.pre-phi93, %60 ]
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 24), align 8, !tbaa !11
  %71 = and i32 %.pre-phi95, %70
  %.not.5 = icmp eq i32 %71, 0
  br i1 %.not.5, label %78, label %72

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %73 = load i32, ptr %19, align 8, !tbaa !15
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %3, align 4, !tbaa !15
  %75 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %75, ptr %12, align 4, !tbaa !17
  %76 = add nuw nsw i64 %indvars.iv72, 6
  %77 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %76
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre84 = load i32, ptr %22, align 4, !tbaa !11
  %.pre96 = or i32 %.pre84, %1
  br label %78

78:                                               ; preds = %72, %69
  %.pre-phi97 = phi i32 [ %.pre96, %72 ], [ %.pre-phi95, %69 ]
  %79 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 28), align 4, !tbaa !11
  %80 = and i32 %.pre-phi97, %79
  %.not.6 = icmp eq i32 %80, 0
  br i1 %.not.6, label %87, label %81

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %82 = load i32, ptr %19, align 8, !tbaa !15
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %3, align 4, !tbaa !15
  %84 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %84, ptr %12, align 4, !tbaa !17
  %85 = add nuw nsw i64 %indvars.iv72, 7
  %86 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %85
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %86, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre85 = load i32, ptr %22, align 4, !tbaa !11
  %.pre98 = or i32 %.pre85, %1
  br label %87

87:                                               ; preds = %81, %78
  %.pre-phi99 = phi i32 [ %.pre98, %81 ], [ %.pre-phi97, %78 ]
  %88 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 32), align 16, !tbaa !11
  %89 = and i32 %.pre-phi99, %88
  %.not.7 = icmp eq i32 %89, 0
  br i1 %.not.7, label %96, label %90

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %91 = load i32, ptr %19, align 8, !tbaa !15
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %3, align 4, !tbaa !15
  %93 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %93, ptr %12, align 4, !tbaa !17
  %94 = add nuw nsw i64 %indvars.iv72, 8
  %95 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %94
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %95, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %.pre86 = load i32, ptr %22, align 4, !tbaa !11
  %.pre100 = or i32 %.pre86, %1
  br label %96

96:                                               ; preds = %90, %87
  %.pre-phi101 = phi i32 [ %.pre100, %90 ], [ %.pre-phi99, %87 ]
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 36), align 4, !tbaa !11
  %98 = and i32 %.pre-phi101, %97
  %.not.8 = icmp eq i32 %98, 0
  br i1 %.not.8, label %.loopexit, label %99

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %100 = load i32, ptr %19, align 8, !tbaa !15
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %3, align 4, !tbaa !15
  %102 = load i32, ptr %23, align 4, !tbaa !17
  store i32 %102, ptr %12, align 4, !tbaa !17
  %103 = add nuw nsw i64 %indvars.iv72, 9
  %104 = getelementptr inbounds [21 x %struct.Info], ptr @_ZZ1FiiE2dp, i64 0, i64 %103
  call void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %104, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %.loopexit

.loopexit:                                        ; preds = %96, %99, %.lr.ph
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next73, 10
  br i1 %exitcond.not, label %.preheader57, label %.lr.ph, !llvm.loop !18

.loopexit60.loopexit68:                           ; preds = %10
  %105 = add nsw i32 %0, -1
  %106 = load i32, ptr @msk, align 16, !tbaa !11
  %107 = or i32 %106, %1
  %108 = tail call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %107)
  %109 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %5, i64 %6
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %108, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %110 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 4), align 4, !tbaa !11
  %111 = or i32 %110, %1
  %112 = tail call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %111)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %112)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 8), align 8, !tbaa !11
  %114 = or i32 %113, %1
  %115 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %114)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %115)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %116 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 12), align 4, !tbaa !11
  %117 = or i32 %116, %1
  %118 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %117)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %118)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %119 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 16), align 16, !tbaa !11
  %120 = or i32 %119, %1
  %121 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %120)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %121)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %122 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 20), align 4, !tbaa !11
  %123 = or i32 %122, %1
  %124 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %123)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %124)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %125 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 24), align 8, !tbaa !11
  %126 = or i32 %125, %1
  %127 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %126)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %127)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %128 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 28), align 4, !tbaa !11
  %129 = or i32 %128, %1
  %130 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %129)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %130)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %131 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 32), align 16, !tbaa !11
  %132 = or i32 %131, %1
  %133 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %132)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %133)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 968, ptr nonnull %4) #4
  %134 = load i32, ptr getelementptr inbounds (i8, ptr @msk, i64 36), align 4, !tbaa !11
  %135 = or i32 %134, %1
  %136 = call noundef nonnull align 4 dereferenceable(968) ptr @_Z1Fii(i32 noundef %105, i32 noundef %135)
  call void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Matrix) align 4 %4, ptr noundef nonnull align 4 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %136)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(968) %109, ptr noundef nonnull align 4 dereferenceable(968) %4, i64 968, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 968, ptr nonnull %4) #4
  br label %.loopexit60

.loopexit60:                                      ; preds = %.preheader57, %.loopexit60.loopexit68, %2
  %.053 = getelementptr inbounds [11 x [513 x %struct.Matrix]], ptr @f, i64 0, i64 %5, i64 %6
  ret ptr %.053
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4InfopLERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"_ZTS4Info", !12, i64 0, !12, i64 4}
!17 = !{!16, !12, i64 4}
!18 = distinct !{!18, !14}
!19 = !{i64 0, i64 968, !20}
!20 = !{!7, !7, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass