; LLVM IR from tangjz/acm-icpc :: lydsy (1046)

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

@n = external dso_local global i32, align 4
@t = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [10001 x i32], align 16
@f = external dso_local global [10001 x i32], align 16
@g = external dso_local global [10001 x i32], align 16
@lim = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRKiS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %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
  store i32 0, ptr %1, align 4
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %19, %0
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = load i32, ptr @n, align 4, !tbaa !5
  %12 = icmp sle i32 %10, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %22

14:                                               ; preds = %9
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds i32, ptr @a, i64 %16
  %18 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %17)
  br label %19

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !9

22:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %23 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %23, ptr %3, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %58, %22
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %28, label %27

27:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %61

28:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %29 = load i32, ptr @lim, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i32, ptr @g, i64 %30
  %32 = getelementptr inbounds i32, ptr %31, i64 1
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %34
  %36 = call noundef ptr @_ZSt11lower_boundIPiiPFbRKiS2_EET_S5_S5_RKT0_T1_(ptr noundef getelementptr inbounds (i32, ptr @g, i64 1), ptr noundef %32, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef @_Z3cmpRKiS0_)
  %37 = ptrtoint ptr %36 to i64
  %38 = sub i64 %37, ptrtoint (ptr @g to i64)
  %39 = sdiv exact i64 %38, 4
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %4, align 4, !tbaa !5
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [10001 x i32], ptr @f, i64 0, i64 %43
  store i32 %41, ptr %44, align 4, !tbaa !5
  %45 = load i32, ptr %3, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [10001 x i32], ptr @g, i64 0, i64 %50
  store i32 %48, ptr %51, align 4, !tbaa !5
  %52 = load i32, ptr @lim, align 4, !tbaa !5
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %55, label %57

55:                                               ; preds = %28
  %56 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %56, ptr @lim, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %55, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = add nsw i32 %59, -1
  store i32 %60, ptr %3, align 4, !tbaa !5
  br label %24, !llvm.loop !11

61:                                               ; preds = %27
  %62 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  br label %63

63:                                               ; preds = %123, %61
  %64 = load i32, ptr @t, align 4, !tbaa !5
  %65 = add nsw i32 %64, -1
  store i32 %65, ptr @t, align 4, !tbaa !5
  %66 = icmp ne i32 %64, 0
  br i1 %66, label %67, label %124

67:                                               ; preds = %63
  %68 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @m)
  %69 = load i32, ptr @m, align 4, !tbaa !5
  %70 = load i32, ptr @lim, align 4, !tbaa !5
  %71 = icmp sgt i32 %69, %70
  br i1 %71, label %72, label %74

72:                                               ; preds = %67
  %73 = call i32 @puts(ptr noundef @.str.1)
  br label %123

74:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %75 = load i32, ptr @m, align 4, !tbaa !5
  store i32 %75, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 -2147483648, ptr %7, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %119, %74
  %77 = load i32, ptr %5, align 4, !tbaa !5
  %78 = load i32, ptr @n, align 4, !tbaa !5
  %79 = icmp sle i32 %77, %78
  br i1 %79, label %80, label %83

80:                                               ; preds = %76
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = icmp ne i32 %81, 0
  br label %83

83:                                               ; preds = %80, %76
  %84 = phi i1 [ false, %76 ], [ %82, %80 ]
  br i1 %84, label %86, label %85

85:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %122

86:                                               ; preds = %83
  %87 = load i32, ptr %5, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [10001 x i32], ptr @f, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = load i32, ptr %6, align 4, !tbaa !5
  %92 = icmp sge i32 %90, %91
  br i1 %92, label %93, label %118

93:                                               ; preds = %86
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = icmp sgt i32 %97, %98
  br i1 %99, label %100, label %118

100:                                              ; preds = %93
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = load i32, ptr %6, align 4, !tbaa !5
  %106 = add nsw i32 %105, -1
  store i32 %106, ptr %6, align 4, !tbaa !5
  %107 = icmp ne i32 %106, 0
  %108 = xor i1 %107, true
  %109 = zext i1 %108 to i64
  %110 = getelementptr inbounds [3 x i8], ptr @.str.3, i64 0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !12
  %112 = sext i8 %111 to i32
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %104, i32 noundef %112)
  %114 = load i32, ptr %5, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !5
  store i32 %117, ptr %7, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %100, %93, %86
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %5, align 4, !tbaa !5
  br label %76, !llvm.loop !13

122:                                              ; preds = %85
  br label %123

123:                                              ; preds = %122, %72
  br label %63, !llvm.loop !14

124:                                              ; preds = %63
  ret i32 0
}

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

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

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

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

declare i32 @puts(ptr noundef) #2

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

attributes #0 = { 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 #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 = { "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!7, !7, i64 0}
!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"

@n = external dso_local global i32, align 4
@t = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [10001 x i32], align 16
@f = external dso_local local_unnamed_addr global [10001 x i32], align 16
@g = external dso_local global [10001 x i32], align 16
@lim = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRKiS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %.not36 = icmp slt i32 %2, 1
  br i1 %.not36, label %.preheader35, label %.lr.ph

.preheader35:                                     ; preds = %.lr.ph, %0
  %.lcssa = phi i32 [ %2, %0 ], [ %6, %.lr.ph ]
  %.not3138 = icmp eq i32 %.lcssa, 0
  br i1 %.not3138, label %._crit_edge, label %.lr.ph40.preheader

.lr.ph40.preheader:                               ; preds = %.preheader35
  %3 = sext i32 %.lcssa to i64
  %.pre = load i32, ptr @lim, align 4, !tbaa !5
  br label %.lr.ph40

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %4 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %6 = load i32, ptr @n, align 4, !tbaa !5
  %7 = sext i32 %6 to i64
  %.not.not = icmp slt i64 %indvars.iv, %7
  br i1 %.not.not, label %.lr.ph, label %.preheader35, !llvm.loop !9

._crit_edge:                                      ; preds = %26, %.preheader35
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %9 = load i32, ptr @t, align 4, !tbaa !5
  %10 = add nsw i32 %9, -1
  store i32 %10, ptr @t, align 4, !tbaa !5
  %.not3245 = icmp eq i32 %9, 0
  br i1 %.not3245, label %._crit_edge48, label %.lr.ph47

.lr.ph40:                                         ; preds = %.lr.ph40.preheader, %26
  %11 = phi i32 [ %.pre, %.lr.ph40.preheader ], [ %27, %26 ]
  %indvars.iv51 = phi i64 [ %3, %.lr.ph40.preheader ], [ %indvars.iv.next52, %26 ]
  %12 = sext i32 %11 to i64
  %gep = getelementptr i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), i64 %12
  %13 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %indvars.iv51
  %14 = tail call noundef ptr @_ZSt11lower_boundIPiiPFbRKiS2_EET_S5_S5_RKT0_T1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @g, i64 4), ptr noundef nonnull %gep, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull @_Z3cmpRKiS0_)
  %15 = ptrtoint ptr %14 to i64
  %16 = sub i64 %15, ptrtoint (ptr @g to i64)
  %17 = lshr exact i64 %16, 2
  %18 = trunc i64 %17 to i32
  %19 = getelementptr inbounds [10001 x i32], ptr @f, i64 0, i64 %indvars.iv51
  store i32 %18, ptr %19, align 4, !tbaa !5
  %20 = load i32, ptr %13, align 4, !tbaa !5
  %sext = shl i64 %16, 30
  %21 = ashr i64 %sext, 32
  %22 = getelementptr inbounds [10001 x i32], ptr @g, i64 0, i64 %21
  store i32 %20, ptr %22, align 4, !tbaa !5
  %23 = load i32, ptr @lim, align 4, !tbaa !5
  %24 = icmp slt i32 %23, %18
  br i1 %24, label %25, label %26

25:                                               ; preds = %.lr.ph40
  store i32 %18, ptr @lim, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %25, %.lr.ph40
  %27 = phi i32 [ %18, %25 ], [ %23, %.lr.ph40 ]
  %indvars.iv.next52 = add nsw i64 %indvars.iv51, -1
  %.not31 = icmp eq i64 %indvars.iv.next52, 0
  br i1 %.not31, label %._crit_edge, label %.lr.ph40, !llvm.loop !11

.lr.ph47:                                         ; preds = %._crit_edge, %.loopexit
  %28 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @m)
  %29 = load i32, ptr @m, align 4, !tbaa !5
  %30 = load i32, ptr @lim, align 4, !tbaa !5
  %31 = icmp sgt i32 %29, %30
  br i1 %31, label %36, label %.preheader

.preheader:                                       ; preds = %.lr.ph47
  %32 = load i32, ptr @n, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 0
  %34 = icmp ne i32 %29, 0
  %35 = and i1 %33, %34
  br i1 %35, label %.lr.ph44, label %.loopexit

36:                                               ; preds = %.lr.ph47
  %37 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.loopexit

.lr.ph44:                                         ; preds = %.preheader, %53
  %38 = phi i32 [ %54, %53 ], [ %32, %.preheader ]
  %indvars.iv54 = phi i64 [ %indvars.iv.next55, %53 ], [ 1, %.preheader ]
  %.043 = phi i32 [ %.1, %53 ], [ -2147483648, %.preheader ]
  %.02242 = phi i32 [ %.123, %53 ], [ %29, %.preheader ]
  %39 = getelementptr inbounds [10001 x i32], ptr @f, i64 0, i64 %indvars.iv54
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %.not33 = icmp slt i32 %40, %.02242
  br i1 %.not33, label %53, label %41

41:                                               ; preds = %.lr.ph44
  %42 = getelementptr inbounds [10001 x i32], ptr @a, i64 0, i64 %indvars.iv54
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, %.043
  br i1 %44, label %45, label %53

45:                                               ; preds = %41
  %46 = add nsw i32 %.02242, -1
  %.not34 = icmp eq i32 %46, 0
  %47 = zext i1 %.not34 to i64
  %48 = getelementptr inbounds [3 x i8], ptr @.str.3, i64 0, i64 %47
  %49 = load i8, ptr %48, align 1, !tbaa !12
  %50 = sext i8 %49 to i32
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %43, i32 noundef %50)
  %52 = load i32, ptr %42, align 4, !tbaa !5
  %.pre57 = load i32, ptr @n, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %.lr.ph44, %41, %45
  %54 = phi i32 [ %.pre57, %45 ], [ %38, %41 ], [ %38, %.lr.ph44 ]
  %.123 = phi i32 [ %46, %45 ], [ %.02242, %41 ], [ %.02242, %.lr.ph44 ]
  %.1 = phi i32 [ %52, %45 ], [ %.043, %41 ], [ %.043, %.lr.ph44 ]
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %55 = sext i32 %54 to i64
  %56 = icmp slt i64 %indvars.iv54, %55
  %57 = icmp ne i32 %.123, 0
  %58 = and i1 %56, %57
  br i1 %58, label %.lr.ph44, label %.loopexit, !llvm.loop !13

.loopexit:                                        ; preds = %53, %.preheader, %36
  %59 = load i32, ptr @t, align 4, !tbaa !5
  %60 = add nsw i32 %59, -1
  store i32 %60, ptr @t, align 4, !tbaa !5
  %.not32 = icmp eq i32 %59, 0
  br i1 %.not32, label %._crit_edge48, label %.lr.ph47, !llvm.loop !14

._crit_edge48:                                    ; preds = %.loopexit, %._crit_edge
  ret i32 0
}

; 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 noundef ptr @_ZSt11lower_boundIPiiPFbRKiS2_EET_S5_S5_RKT0_T1_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) local_unnamed_addr #3

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

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

attributes #0 = { 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 #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 = { 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" }

!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 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass