; LLVM IR from ShahjalalShohag/code-library :: Graph Theory (Floyd Warshall)

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

@d = external dso_local global [105 x [105 x i32]], align 16

; 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 i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  store i32 10, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %37, %0
  %11 = load i32, ptr %3, align 4, !tbaa !5
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %40

15:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %33, %15
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = icmp sle i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %36

21:                                               ; preds = %16
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = icmp ne i32 %22, %23
  br i1 %24, label %25, label %32

25:                                               ; preds = %21
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %27
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [105 x i32], ptr %28, i64 0, i64 %30
  store i32 1000000000, ptr %31, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %25, %21
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %5, align 4, !tbaa !5
  br label %16, !llvm.loop !9

36:                                               ; preds = %20
  br label %37

37:                                               ; preds = %36
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %3, align 4, !tbaa !5
  br label %10, !llvm.loop !11

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

41:                                               ; preds = %96, %40
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = icmp sle i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %99

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

47:                                               ; preds = %92, %46
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = icmp sle i32 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %95

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

53:                                               ; preds = %88, %52
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = icmp sle i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %91

58:                                               ; preds = %53
  %59 = load i32, ptr %7, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %60
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [105 x i32], ptr %61, i64 0, i64 %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %66
  %68 = load i32, ptr %6, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [105 x i32], ptr %67, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %73
  %75 = load i32, ptr %8, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [105 x i32], ptr %74, i64 0, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = add nsw i32 %71, %78
  store i32 %79, ptr %9, align 4, !tbaa !5
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %83
  %85 = load i32, ptr %8, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [105 x i32], ptr %84, i64 0, i64 %86
  store i32 %81, ptr %87, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %88

88:                                               ; preds = %58
  %89 = load i32, ptr %8, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %8, align 4, !tbaa !5
  br label %53, !llvm.loop !12

91:                                               ; preds = %57
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %7, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %7, align 4, !tbaa !5
  br label %47, !llvm.loop !13

95:                                               ; preds = %51
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %6, align 4, !tbaa !5
  br label %41, !llvm.loop !14

99:                                               ; preds = %45
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  %100 = load i32, ptr %1, align 4
  ret i32 %100
}

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #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 = { inlinehint 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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

@d = external dso_local global [105 x [105 x i32]], align 16

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader32.preheader:
  %0 = alloca i32, align 4
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 428), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 444), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 460), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 844), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 852), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 868), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1264), align 16, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1268), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 1276), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1292), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1296), align 16, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1300), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1684), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1688), align 8, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1692), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 1700), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1716), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 1720), align 8, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 2104), align 8, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 2124), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2140), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 2524), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2540), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 2548), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 2944), align 16, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2960), align 16, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2964), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2972), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2976), align 16, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 2980), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 3364), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3380), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3384), align 8, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3388), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3396), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3400), align 8, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 3784), align 8, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 3800), align 8, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 3820), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 4204), align 4, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr getelementptr inbounds (i8, ptr @d, i64 4220), align 4, !tbaa !5
  store i32 1000000000, ptr getelementptr inbounds (i8, ptr @d, i64 4236), align 4, !tbaa !5
  br label %.preheader32

.preheader32:                                     ; preds = %.preheader32.preheader, %73
  %indvars.iv53 = phi i64 [ 1, %.preheader32.preheader ], [ %indvars.iv.next54, %73 ]
  %1 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 1
  %2 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 2
  %3 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 3
  %4 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 4
  %5 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 5
  %6 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 6
  %7 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 7
  %8 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 8
  %9 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 9
  %10 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv53, i64 10
  br label %.preheader

11:                                               ; preds = %73
  ret i32 0

.preheader:                                       ; preds = %.preheader32, %.preheader
  %indvars.iv = phi i64 [ 1, %.preheader32 ], [ %indvars.iv.next, %.preheader ]
  %12 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 %indvars.iv53
  %13 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %14 = load i32, ptr %12, align 4, !tbaa !5
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = add nsw i32 %15, %14
  store i32 %16, ptr %0, align 4, !tbaa !5
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %18 = load i32, ptr %17, align 4, !tbaa !5
  store i32 %18, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %19 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 2
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %20 = load i32, ptr %12, align 4, !tbaa !5
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = add nsw i32 %21, %20
  store i32 %22, ptr %0, align 4, !tbaa !5
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %24 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %24, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %25 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %26 = load i32, ptr %12, align 4, !tbaa !5
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = add nsw i32 %27, %26
  store i32 %28, ptr %0, align 4, !tbaa !5
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %30 = load i32, ptr %29, align 4, !tbaa !5
  store i32 %30, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %31 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %32 = load i32, ptr %12, align 4, !tbaa !5
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = add nsw i32 %33, %32
  store i32 %34, ptr %0, align 4, !tbaa !5
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %36 = load i32, ptr %35, align 4, !tbaa !5
  store i32 %36, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %37 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %38 = load i32, ptr %12, align 4, !tbaa !5
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = add nsw i32 %39, %38
  store i32 %40, ptr %0, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %42 = load i32, ptr %41, align 4, !tbaa !5
  store i32 %42, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %43 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %44 = load i32, ptr %12, align 4, !tbaa !5
  %45 = load i32, ptr %6, align 4, !tbaa !5
  %46 = add nsw i32 %45, %44
  store i32 %46, ptr %0, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %48 = load i32, ptr %47, align 4, !tbaa !5
  store i32 %48, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %49 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %50 = load i32, ptr %12, align 4, !tbaa !5
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = add nsw i32 %51, %50
  store i32 %52, ptr %0, align 4, !tbaa !5
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %54 = load i32, ptr %53, align 4, !tbaa !5
  store i32 %54, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %55 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %56 = load i32, ptr %12, align 4, !tbaa !5
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = add nsw i32 %57, %56
  store i32 %58, ptr %0, align 4, !tbaa !5
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %60 = load i32, ptr %59, align 4, !tbaa !5
  store i32 %60, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %61 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %62 = load i32, ptr %12, align 4, !tbaa !5
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = add nsw i32 %63, %62
  store i32 %64, ptr %0, align 4, !tbaa !5
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %66 = load i32, ptr %65, align 4, !tbaa !5
  store i32 %66, ptr %61, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %67 = getelementptr inbounds [105 x [105 x i32]], ptr @d, i64 0, i64 %indvars.iv, i64 10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %68 = load i32, ptr %12, align 4, !tbaa !5
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = add nsw i32 %69, %68
  store i32 %70, ptr %0, align 4, !tbaa !5
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(4) %0)
  %72 = load i32, ptr %71, align 4, !tbaa !5
  store i32 %72, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 11
  br i1 %exitcond.not, label %73, label %.preheader, !llvm.loop !9

73:                                               ; preds = %.preheader
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next54, 11
  br i1 %exitcond56.not, label %11, label %.preheader32, !llvm.loop !11
}

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

attributes #0 = { mustprogress norecurse nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass