; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/MAIN72 (main)

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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca [101 x i32], align 16
  %5 = alloca [100001 x i32], align 16
  %6 = alloca [100001 x i32], align 16
  %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
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 404, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 400004, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 400004, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %15 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %16

16:                                               ; preds = %131, %0
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = add nsw i32 %17, -1
  store i32 %18, ptr %2, align 4, !tbaa !5
  %19 = icmp ne i32 %17, 0
  br i1 %19, label %20, label %134

20:                                               ; preds = %16
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %30, %20
  %23 = load i32, ptr %10, align 4, !tbaa !5
  %24 = icmp sle i32 %23, 100000
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %33

26:                                               ; preds = %22
  %27 = load i32, ptr %10, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %28
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %26
  %31 = load i32, ptr %10, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %10, align 4, !tbaa !5
  br label %22, !llvm.loop !9

33:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %44, %33
  %35 = load i32, ptr %11, align 4, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %47

39:                                               ; preds = %34
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 %41
  %43 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %42)
  br label %44

44:                                               ; preds = %39
  %45 = load i32, ptr %11, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %11, align 4, !tbaa !5
  br label %34, !llvm.loop !11

47:                                               ; preds = %38
  %48 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 0
  store i32 0, ptr %48, align 16, !tbaa !5
  %49 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 0
  %50 = load i32, ptr %49, align 16, !tbaa !5
  %51 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 1
  store i32 %50, ptr %51, align 4, !tbaa !5
  store i32 2, ptr %7, align 4, !tbaa !5
  %52 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 0
  %53 = load i32, ptr %52, align 16, !tbaa !5
  %54 = sext i32 %53 to i64
  store i64 %54, ptr %9, align 8, !tbaa !12
  %55 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 0
  %56 = load i32, ptr %55, align 16, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %57
  store i32 1, ptr %58, align 4, !tbaa !5
  %59 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 1
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %61
  store i32 1, ptr %62, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %128, %47
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = load i32, ptr %3, align 4, !tbaa !5
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 10, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %131

68:                                               ; preds = %63
  %69 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %69, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %123, %68
  %71 = load i32, ptr %14, align 4, !tbaa !5
  %72 = load i32, ptr %7, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 13, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %126

75:                                               ; preds = %70
  %76 = load i32, ptr %14, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = add nsw i32 %79, %83
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %122

89:                                               ; preds = %75
  %90 = load i32, ptr %14, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = load i32, ptr %12, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = add nsw i32 %93, %97
  %99 = load i32, ptr %8, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 %100
  store i32 %98, ptr %101, align 4, !tbaa !5
  %102 = load i32, ptr %14, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [101 x i32], ptr %4, i64 0, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = add nsw i32 %105, %109
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %111
  store i32 1, ptr %112, align 4, !tbaa !5
  %113 = load i32, ptr %8, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [100001 x i32], ptr %6, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = load i64, ptr %9, align 8, !tbaa !12
  %119 = add nsw i64 %118, %117
  store i64 %119, ptr %9, align 8, !tbaa !12
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %8, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %89, %75
  br label %123

123:                                              ; preds = %122
  %124 = load i32, ptr %14, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %14, align 4, !tbaa !5
  br label %70, !llvm.loop !14

126:                                              ; preds = %74
  %127 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %127, ptr %7, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %126
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %12, align 4, !tbaa !5
  br label %63, !llvm.loop !15

131:                                              ; preds = %67
  %132 = load i64, ptr %9, align 8, !tbaa !12
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %132)
  br label %16, !llvm.loop !16

134:                                              ; preds = %16
  store i32 0, ptr %1, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 400004, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 400004, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 404, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  %135 = load i32, ptr %1, align 4
  ret i32 %135
}

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !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"

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [101 x i32], align 16
  %4 = alloca [100001 x i32], align 16
  %5 = alloca [100001 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 404, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 400004, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 400004, ptr nonnull %5) #4
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %8 = add nsw i32 %7, -1
  store i32 %8, ptr %1, align 4, !tbaa !5
  %.not47 = icmp eq i32 %7, 0
  br i1 %.not47, label %._crit_edge50, label %.lr.ph49

.lr.ph49:                                         ; preds = %0
  %9 = getelementptr inbounds i8, ptr %5, i64 4
  br label %.preheader32

.preheader32:                                     ; preds = %.lr.ph49, %._crit_edge45
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(400004) %4, i8 0, i64 400004, i1 false), !tbaa !5
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.preheader32
  store i32 0, ptr %5, align 16, !tbaa !5
  %13 = load i32, ptr %3, align 16, !tbaa !5
  %14 = sext i32 %13 to i64
  store i32 1, ptr %4, align 16, !tbaa !5
  %15 = getelementptr inbounds [100001 x i32], ptr %4, i64 0, i64 %14
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %._crit_edge45

._crit_edge:                                      ; preds = %.lr.ph
  store i32 0, ptr %5, align 16, !tbaa !5
  %16 = load i32, ptr %3, align 16, !tbaa !5
  store i32 %16, ptr %9, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  store i32 1, ptr %4, align 16, !tbaa !5
  %18 = getelementptr inbounds [100001 x i32], ptr %4, i64 0, i64 %17
  store i32 1, ptr %18, align 4, !tbaa !5
  %19 = icmp sgt i32 %22, 1
  br i1 %19, label %.preheader.preheader, label %._crit_edge45

.preheader.preheader:                             ; preds = %._crit_edge
  %wide.trip.count60 = zext nneg i32 %22 to i64
  br label %.preheader

.lr.ph:                                           ; preds = %.preheader32, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader32 ]
  %20 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %indvars.iv
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %20)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = icmp slt i64 %indvars.iv.next, %23
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge39
  %indvars.iv57 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next58, %._crit_edge39 ]
  %.02843 = phi i64 [ %17, %.preheader.preheader ], [ %.1.lcssa, %._crit_edge39 ]
  %.03142 = phi i32 [ 2, %.preheader.preheader ], [ %.029.lcssa, %._crit_edge39 ]
  %25 = icmp sgt i32 %.03142, 0
  br i1 %25, label %.lr.ph38, label %._crit_edge39

.lr.ph38:                                         ; preds = %.preheader
  %26 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %indvars.iv57
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %wide.trip.count = zext nneg i32 %.03142 to i64
  br label %31

._crit_edge45:                                    ; preds = %._crit_edge39, %._crit_edge.thread, %._crit_edge
  %.028.lcssa = phi i64 [ %17, %._crit_edge ], [ %14, %._crit_edge.thread ], [ %.1.lcssa, %._crit_edge39 ]
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %.028.lcssa)
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %29, 0
  br i1 %.not, label %._crit_edge50, label %.preheader32, !llvm.loop !11

._crit_edge39:                                    ; preds = %48, %.preheader
  %.029.lcssa = phi i32 [ %.03142, %.preheader ], [ %.130, %48 ]
  %.1.lcssa = phi i64 [ %.02843, %.preheader ], [ %.2, %48 ]
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next58, %wide.trip.count60
  br i1 %exitcond61.not, label %._crit_edge45, label %.preheader, !llvm.loop !12

31:                                               ; preds = %.lr.ph38, %48
  %indvars.iv54 = phi i64 [ 0, %.lr.ph38 ], [ %indvars.iv.next55, %48 ]
  %.136 = phi i64 [ %.02843, %.lr.ph38 ], [ %.2, %48 ]
  %.02935 = phi i32 [ %.03142, %.lr.ph38 ], [ %.130, %48 ]
  %32 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %indvars.iv54
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = add nsw i32 %27, %33
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100001 x i32], ptr %4, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %48

39:                                               ; preds = %31
  %40 = sext i32 %.02935 to i64
  %41 = getelementptr inbounds [100001 x i32], ptr %5, i64 0, i64 %40
  store i32 %34, ptr %41, align 4, !tbaa !5
  %42 = load i32, ptr %32, align 4, !tbaa !5
  %43 = add nsw i32 %42, %27
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [100001 x i32], ptr %4, i64 0, i64 %44
  store i32 1, ptr %45, align 4, !tbaa !5
  %46 = add nsw i64 %.136, %35
  %47 = add nsw i32 %.02935, 1
  br label %48

48:                                               ; preds = %31, %39
  %.130 = phi i32 [ %47, %39 ], [ %.02935, %31 ]
  %.2 = phi i64 [ %46, %39 ], [ %.136, %31 ]
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge39, label %31, !llvm.loop !13

._crit_edge50:                                    ; preds = %._crit_edge45, %0
  call void @llvm.lifetime.end.p0(i64 400004, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 400004, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 404, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i32 0
}

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

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

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

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

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

attributes #0 = { mustprogress nofree 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass