; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/图论 (有向图的传递闭包)

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

@A = external dso_local global [4000 x [4000 x i32]], align 16
@B = external dso_local global [4000 x [4000 x i32]], align 16
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Closure5solveEPA4000_i(ptr noundef) #0

; 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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, 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
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %40, %0
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 4000
  br i1 %14, label %16, label %15

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

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

17:                                               ; preds = %36, %16
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 4000
  br i1 %19, label %21, label %20

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

21:                                               ; preds = %17
  %22 = call i32 @rand() #6
  %23 = srem i32 %22, 2
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %25
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [4000 x i32], ptr %26, i64 0, i64 %28
  store i32 %23, ptr %29, align 4, !tbaa !5
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [4000 x [4000 x i32]], ptr @A, i64 0, i64 %31
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [4000 x i32], ptr %32, i64 0, i64 %34
  store i32 %23, ptr %35, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %21
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %4, align 4, !tbaa !5
  br label %17, !llvm.loop !9

39:                                               ; preds = %20
  br label %40

40:                                               ; preds = %39
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %2, align 4, !tbaa !5
  br label %12, !llvm.loop !11

43:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %44 = call i64 @clock() #6
  store i64 %44, ptr %5, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %105, %43
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = icmp slt i32 %46, 4000
  br i1 %47, label %49, label %48

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

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

50:                                               ; preds = %101, %49
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = icmp slt i32 %51, 4000
  br i1 %52, label %54, label %53

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

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

55:                                               ; preds = %97, %54
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = icmp slt i32 %56, 4000
  br i1 %57, label %59, label %58

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

59:                                               ; preds = %55
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %61
  %63 = load i32, ptr %8, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [4000 x i32], ptr %62, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %88, label %68

68:                                               ; preds = %59
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %70
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [4000 x i32], ptr %71, i64 0, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %86

77:                                               ; preds = %68
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %79
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [4000 x i32], ptr %80, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = icmp ne i32 %84, 0
  br label %86

86:                                               ; preds = %77, %68
  %87 = phi i1 [ false, %68 ], [ %85, %77 ]
  br label %88

88:                                               ; preds = %86, %59
  %89 = phi i1 [ true, %59 ], [ %87, %86 ]
  %90 = zext i1 %89 to i32
  %91 = load i32, ptr %7, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %92
  %94 = load i32, ptr %8, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [4000 x i32], ptr %93, i64 0, i64 %95
  store i32 %90, ptr %96, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %88
  %98 = load i32, ptr %8, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %8, align 4, !tbaa !5
  br label %55, !llvm.loop !14

100:                                              ; preds = %58
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %7, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %7, align 4, !tbaa !5
  br label %50, !llvm.loop !15

104:                                              ; preds = %53
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %6, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %6, align 4, !tbaa !5
  br label %45, !llvm.loop !16

108:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %109 = call i64 @clock() #6
  store i64 %109, ptr %9, align 8, !tbaa !12
  %110 = load i64, ptr %9, align 8, !tbaa !12
  %111 = load i64, ptr %5, align 8, !tbaa !12
  %112 = sub nsw i64 %110, %111
  %113 = sitofp i64 %112 to double
  %114 = fdiv double %113, 1.000000e+06
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %114)
  %116 = call i64 @clock() #6
  store i64 %116, ptr %5, align 8, !tbaa !12
  call void @_ZN7Closure5solveEPA4000_i(ptr noundef @A)
  %117 = call i64 @clock() #6
  store i64 %117, ptr %9, align 8, !tbaa !12
  %118 = load i64, ptr %9, align 8, !tbaa !12
  %119 = load i64, ptr %5, align 8, !tbaa !12
  %120 = sub nsw i64 %118, %119
  %121 = sitofp i64 %120 to double
  %122 = fdiv double %121, 1.000000e+06
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %122)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %124

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

127:                                              ; preds = %124
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %158

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

129:                                              ; preds = %151, %128
  %130 = load i32, ptr %11, align 4, !tbaa !5
  %131 = icmp slt i32 %130, 4000
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %154

133:                                              ; preds = %129
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [4000 x [4000 x i32]], ptr @A, i64 0, i64 %135
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [4000 x i32], ptr %136, i64 0, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = load i32, ptr %10, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %142
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [4000 x i32], ptr %143, i64 0, i64 %145
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = icmp ne i32 %140, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %133
  call void @abort() #7
  unreachable

150:                                              ; preds = %133
  br label %151

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

154:                                              ; preds = %132
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %10, align 4, !tbaa !5
  br label %124, !llvm.loop !18

158:                                              ; preds = %127
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %159 = load i32, ptr %1, align 4
  ret i32 %159
}

; Function Attrs: nounwind
declare i32 @rand() #3

; Function Attrs: nounwind
declare i64 @clock() #3

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

; Function Attrs: noreturn nounwind
declare void @abort() #5

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 = { 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 #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !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"

@A = external dso_local global [4000 x [4000 x i32]], align 16
@B = external dso_local local_unnamed_addr global [4000 x [4000 x i32]], align 16
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Closure5solveEPA4000_i(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  br label %.preheader45

.preheader45:                                     ; preds = %0, %3
  %indvars.iv54 = phi i64 [ 0, %0 ], [ %indvars.iv.next55, %3 ]
  br label %4

1:                                                ; preds = %3
  %2 = tail call i64 @clock() #5
  br label %.preheader44

3:                                                ; preds = %4
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond57.not = icmp eq i64 %indvars.iv.next55, 4000
  br i1 %exitcond57.not, label %1, label %.preheader45, !llvm.loop !5

4:                                                ; preds = %.preheader45, %4
  %indvars.iv = phi i64 [ 0, %.preheader45 ], [ %indvars.iv.next, %4 ]
  %5 = tail call i32 @rand() #5
  %6 = srem i32 %5, 2
  %7 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv54, i64 %indvars.iv
  store i32 %6, ptr %7, align 4, !tbaa !7
  %8 = getelementptr inbounds [4000 x [4000 x i32]], ptr @A, i64 0, i64 %indvars.iv54, i64 %indvars.iv
  store i32 %6, ptr %8, align 4, !tbaa !7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4000
  br i1 %exitcond.not, label %3, label %4, !llvm.loop !11

.preheader44:                                     ; preds = %1, %22
  %indvars.iv66 = phi i64 [ 0, %1 ], [ %indvars.iv.next67, %22 ]
  br label %.preheader43

9:                                                ; preds = %22
  %10 = tail call i64 @clock() #5
  %11 = sub nsw i64 %10, %2
  %12 = sitofp i64 %11 to double
  %13 = fdiv double %12, 1.000000e+06
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %13)
  %15 = tail call i64 @clock() #5
  tail call void @_ZN7Closure5solveEPA4000_i(ptr noundef nonnull @A)
  %16 = tail call i64 @clock() #5
  %17 = sub nsw i64 %16, %15
  %18 = sitofp i64 %17 to double
  %19 = fdiv double %18, 1.000000e+06
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %19)
  br label %.preheader

.preheader43:                                     ; preds = %.preheader44, %23
  %indvars.iv62 = phi i64 [ 0, %.preheader44 ], [ %indvars.iv.next63, %23 ]
  %21 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv62, i64 %indvars.iv66
  br label %24

22:                                               ; preds = %23
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %exitcond69.not = icmp eq i64 %indvars.iv.next67, 4000
  br i1 %exitcond69.not, label %9, label %.preheader44, !llvm.loop !12

23:                                               ; preds = %33
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %exitcond65.not = icmp eq i64 %indvars.iv.next63, 4000
  br i1 %exitcond65.not, label %22, label %.preheader43, !llvm.loop !13

24:                                               ; preds = %.preheader43, %33
  %indvars.iv58 = phi i64 [ 0, %.preheader43 ], [ %indvars.iv.next59, %33 ]
  %25 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv62, i64 %indvars.iv58
  %26 = load i32, ptr %25, align 4, !tbaa !7
  %.not41 = icmp eq i32 %26, 0
  br i1 %.not41, label %27, label %33

27:                                               ; preds = %24
  %28 = load i32, ptr %21, align 4, !tbaa !7
  %.not42 = icmp eq i32 %28, 0
  br i1 %.not42, label %33, label %29

29:                                               ; preds = %27
  %30 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv66, i64 %indvars.iv58
  %31 = load i32, ptr %30, align 4, !tbaa !7
  %32 = icmp ne i32 %31, 0
  br label %33

33:                                               ; preds = %27, %29, %24
  %34 = phi i1 [ true, %24 ], [ false, %27 ], [ %32, %29 ]
  %35 = zext i1 %34 to i32
  store i32 %35, ptr %25, align 4, !tbaa !7
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next59, 4000
  br i1 %exitcond61.not, label %23, label %24, !llvm.loop !14

.preheader:                                       ; preds = %9, %43
  %indvars.iv74 = phi i64 [ 0, %9 ], [ %indvars.iv.next75, %43 ]
  br label %44

36:                                               ; preds = %43
  ret i32 0

37:                                               ; preds = %44
  %indvars.iv.next71 = or disjoint i64 %indvars.iv70, 1
  %38 = getelementptr inbounds [4000 x [4000 x i32]], ptr @A, i64 0, i64 %indvars.iv74, i64 %indvars.iv.next71
  %39 = load i32, ptr %38, align 4, !tbaa !7
  %40 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv74, i64 %indvars.iv.next71
  %41 = load i32, ptr %40, align 4, !tbaa !7
  %.not.1 = icmp eq i32 %39, %41
  br i1 %.not.1, label %42, label %49

42:                                               ; preds = %37
  %indvars.iv.next71.1 = add nuw nsw i64 %indvars.iv70, 2
  %exitcond73.not.1 = icmp eq i64 %indvars.iv.next71.1, 4000
  br i1 %exitcond73.not.1, label %43, label %44, !llvm.loop !15

43:                                               ; preds = %42
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %exitcond77.not = icmp eq i64 %indvars.iv.next75, 4000
  br i1 %exitcond77.not, label %36, label %.preheader, !llvm.loop !16

44:                                               ; preds = %42, %.preheader
  %indvars.iv70 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next71.1, %42 ]
  %45 = getelementptr inbounds [4000 x [4000 x i32]], ptr @A, i64 0, i64 %indvars.iv74, i64 %indvars.iv70
  %46 = load i32, ptr %45, align 8, !tbaa !7
  %47 = getelementptr inbounds [4000 x [4000 x i32]], ptr @B, i64 0, i64 %indvars.iv74, i64 %indvars.iv70
  %48 = load i32, ptr %47, align 8, !tbaa !7
  %.not = icmp eq i32 %46, %48
  br i1 %.not, label %37, label %49

49:                                               ; preds = %37, %44
  tail call void @abort() #6
  unreachable
}

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #4

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 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 #2 = { 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 = { 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 #4 = { noreturn 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = distinct !{!15, !6}
!16 = distinct !{!16, !6}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass