; LLVM IR from Shah-Shishir/Codeforces-Solutions :: 451B. Sort the Array (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"

@arr = external dso_local global [100005 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 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 i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  br label %7

7:                                                ; preds = %139, %0
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  %9 = icmp ne i32 %8, -1
  br i1 %9, label %10, label %140

10:                                               ; preds = %7
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %11

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

15:                                               ; preds = %11
  %16 = load i32, ptr %3, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %17
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %18)
  br label %20

20:                                               ; preds = %15
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %3, align 4, !tbaa !5
  br label %11, !llvm.loop !9

23:                                               ; preds = %11
  store i32 0, ptr %6, align 4, !tbaa !5
  store i32 -1, ptr %5, align 4, !tbaa !5
  store i32 -1, ptr %4, align 4, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %67, %23
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sub nsw i32 %26, 1
  %28 = icmp slt i32 %25, %27
  br i1 %28, label %29, label %70

29:                                               ; preds = %24
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = icmp sgt i32 %33, %38
  br i1 %39, label %40, label %48

40:                                               ; preds = %29
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %6, align 4, !tbaa !5
  %43 = load i32, ptr %6, align 4, !tbaa !5
  %44 = icmp eq i32 %43, 1
  br i1 %44, label %45, label %47

45:                                               ; preds = %40
  %46 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %46, ptr %4, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %45, %40
  br label %66

48:                                               ; preds = %29
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = icmp slt i32 %52, %57
  br i1 %58, label %59, label %65

59:                                               ; preds = %48
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %62, label %64

62:                                               ; preds = %59
  %63 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %63, ptr %5, align 4, !tbaa !5
  br label %70

64:                                               ; preds = %59
  br label %65

65:                                               ; preds = %64, %48
  br label %66

66:                                               ; preds = %65, %47
  br label %67

67:                                               ; preds = %66
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %3, align 4, !tbaa !5
  br label %24, !llvm.loop !11

70:                                               ; preds = %62, %24
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = icmp sgt i32 %71, 0
  br i1 %72, label %73, label %79

73:                                               ; preds = %70
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = icmp eq i32 %74, -1
  br i1 %75, label %76, label %79

76:                                               ; preds = %73
  %77 = load i32, ptr %2, align 4, !tbaa !5
  %78 = sub nsw i32 %77, 1
  store i32 %78, ptr %5, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %76, %73, %70
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = load i32, ptr %5, align 4, !tbaa !5
  %82 = icmp eq i32 %80, %81
  br i1 %82, label %83, label %87

83:                                               ; preds = %79
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %85 = icmp eq i32 %84, -1
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store i32 0, ptr %5, align 4, !tbaa !5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %107

87:                                               ; preds = %83, %79
  %88 = load i32, ptr %5, align 4, !tbaa !5
  %89 = icmp eq i32 %88, -1
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = load i32, ptr %4, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds i32, ptr @arr, i64 %92
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds i32, ptr @arr, i64 %95
  %97 = getelementptr inbounds i32, ptr %96, i64 1
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef %93, ptr noundef %97)
  br label %106

98:                                               ; preds = %87
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr @arr, i64 %100
  %102 = load i32, ptr %5, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i32, ptr @arr, i64 %103
  %105 = getelementptr inbounds i32, ptr %104, i64 1
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef %101, ptr noundef %105)
  br label %106

106:                                              ; preds = %98, %90
  br label %107

107:                                              ; preds = %106, %86
  store i32 1, ptr %6, align 4, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %127, %107
  %109 = load i32, ptr %3, align 4, !tbaa !5
  %110 = load i32, ptr %2, align 4, !tbaa !5
  %111 = sub nsw i32 %110, 1
  %112 = icmp slt i32 %109, %111
  br i1 %112, label %113, label %130

113:                                              ; preds = %108
  %114 = load i32, ptr %3, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = load i32, ptr %3, align 4, !tbaa !5
  %119 = add nsw i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = icmp sgt i32 %117, %122
  br i1 %123, label %124, label %126

124:                                              ; preds = %113
  store i32 0, ptr %6, align 4, !tbaa !5
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %130

126:                                              ; preds = %113
  br label %127

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

130:                                              ; preds = %124, %108
  %131 = load i32, ptr %6, align 4, !tbaa !5
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %139

133:                                              ; preds = %130
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %4, align 4, !tbaa !5
  %136 = load i32, ptr %5, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %5, align 4, !tbaa !5
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %135, i32 noundef %137)
  br label %139

139:                                              ; preds = %133, %130
  br label %7, !llvm.loop !13

140:                                              ; preds = %7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) #3

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

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

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 = { inlinehint 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 #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}


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

@arr = external dso_local global [100005 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %2 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %.not67 = icmp eq i32 %2, -1
  br i1 %.not67, label %._crit_edge68, label %.preheader51

.preheader51:                                     ; preds = %0, %50
  %3 = load i32, ptr %1, align 4
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph, label %.preheader.thread

.preheader.thread:                                ; preds = %.preheader51
  %5 = add i32 %3, -1
  br label %._crit_edge

.preheader:                                       ; preds = %.lr.ph
  %6 = add i32 %10, -1
  %7 = icmp sgt i32 %10, 1
  br i1 %7, label %.lr.ph57.preheader, label %._crit_edge

.lr.ph57.preheader:                               ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %6 to i64
  %.pre = load i32, ptr @arr, align 16, !tbaa !5
  br label %.lr.ph57

.lr.ph:                                           ; preds = %.preheader51, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader51 ]
  %8 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %indvars.iv
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %8)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %10 = load i32, ptr %1, align 4
  %11 = sext i32 %10 to i64
  %12 = icmp slt i64 %indvars.iv.next, %11
  br i1 %12, label %.lr.ph, label %.preheader, !llvm.loop !9

.lr.ph57:                                         ; preds = %.lr.ph57.preheader, %24
  %13 = phi i32 [ %.pre, %.lr.ph57.preheader ], [ %15, %24 ]
  %indvars.iv71 = phi i64 [ 0, %.lr.ph57.preheader ], [ %indvars.iv.next72, %24 ]
  %.056 = phi i32 [ 0, %.lr.ph57.preheader ], [ %.1, %24 ]
  %.03955 = phi i32 [ -1, %.lr.ph57.preheader ], [ %.140, %24 ]
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %14 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %indvars.iv.next72
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = icmp sgt i32 %13, %15
  br i1 %16, label %17, label %21

17:                                               ; preds = %.lr.ph57
  %18 = add nsw i32 %.056, 1
  %19 = icmp eq i32 %.056, 0
  %20 = trunc nuw nsw i64 %indvars.iv71 to i32
  %spec.select = select i1 %19, i32 %20, i32 %.03955
  br label %24

21:                                               ; preds = %.lr.ph57
  %22 = icmp slt i32 %13, %15
  %23 = icmp sgt i32 %.056, 0
  %or.cond5 = select i1 %22, i1 %23, i1 false
  br i1 %or.cond5, label %._crit_edge.loopexit.split.loop.exit, label %24

24:                                               ; preds = %17, %21
  %.140 = phi i32 [ %.03955, %21 ], [ %spec.select, %17 ]
  %.1 = phi i32 [ %.056, %21 ], [ %18, %17 ]
  %exitcond.not = icmp eq i64 %indvars.iv.next72, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph57, !llvm.loop !11

._crit_edge.loopexit.split.loop.exit:             ; preds = %21
  %25 = trunc nuw nsw i64 %indvars.iv71 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %24, %._crit_edge.loopexit.split.loop.exit, %.preheader.thread, %.preheader
  %26 = phi i32 [ %6, %.preheader ], [ %5, %.preheader.thread ], [ %6, %._crit_edge.loopexit.split.loop.exit ], [ %6, %24 ]
  %.039.lcssa = phi i32 [ -1, %.preheader ], [ -1, %.preheader.thread ], [ %.03955, %._crit_edge.loopexit.split.loop.exit ], [ %.140, %24 ]
  %.0.lcssa = phi i32 [ 0, %.preheader ], [ 0, %.preheader.thread ], [ %.056, %._crit_edge.loopexit.split.loop.exit ], [ %.1, %24 ]
  %.036 = phi i32 [ -1, %.preheader ], [ -1, %.preheader.thread ], [ %25, %._crit_edge.loopexit.split.loop.exit ], [ -1, %24 ]
  %27 = icmp sgt i32 %.0.lcssa, 0
  %28 = icmp eq i32 %.036, -1
  %or.cond = and i1 %27, %28
  %.137 = select i1 %or.cond, i32 %26, i32 %.036
  %29 = and i32 %.137, %.039.lcssa
  %or.cond3 = icmp eq i32 %29, -1
  br i1 %or.cond3, label %35, label %.sink.split

.sink.split:                                      ; preds = %._crit_edge
  %30 = icmp eq i32 %.137, -1
  %31 = sext i32 %.039.lcssa to i64
  %32 = getelementptr inbounds i32, ptr @arr, i64 %31
  %33 = getelementptr inbounds i8, ptr %32, i64 4
  %34 = sext i32 %.137 to i64
  %gep = getelementptr i32, ptr getelementptr inbounds (i8, ptr @arr, i64 4), i64 %34
  %.sink = select i1 %30, ptr %33, ptr %gep
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef nonnull %32, ptr noundef nonnull %.sink)
  br label %35

35:                                               ; preds = %.sink.split, %._crit_edge
  %.241 = phi i32 [ 0, %._crit_edge ], [ %.039.lcssa, %.sink.split ]
  %.238 = phi i32 [ 0, %._crit_edge ], [ %.137, %.sink.split ]
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = call i32 @llvm.smax.i32(i32 %36, i32 1)
  %smax = add nsw i32 %37, -1
  %wide.trip.count77 = zext nneg i32 %smax to i64
  br label %38

38:                                               ; preds = %39, %35
  %indvars.iv74 = phi i64 [ %indvars.iv.next75, %39 ], [ 0, %35 ]
  %exitcond78.not = icmp eq i64 %indvars.iv74, %wide.trip.count77
  br i1 %exitcond78.not, label %.critedge, label %39

39:                                               ; preds = %38
  %40 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %indvars.iv74
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %42 = getelementptr inbounds [100005 x i32], ptr @arr, i64 0, i64 %indvars.iv.next75
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp sgt i32 %41, %43
  br i1 %44, label %45, label %38, !llvm.loop !12

45:                                               ; preds = %39
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %50

.critedge:                                        ; preds = %38
  %47 = add nsw i32 %.241, 1
  %48 = add nsw i32 %.238, 1
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %47, i32 noundef %48)
  br label %50

50:                                               ; preds = %45, %.critedge
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %.not = icmp eq i32 %51, -1
  br i1 %.not, label %._crit_edge68, label %.preheader51, !llvm.loop !13

._crit_edge68:                                    ; preds = %50, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

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 = { 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 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass