; LLVM IR from tangjz/acm-icpc :: usaco/Training/Chapter 1 Getting started (barn1)

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

@dis = external dso_local global [201 x i32], align 16
@num = external dso_local global [201 x i32], align 16
@M = external dso_local global i32, align 4
@S = external dso_local global i32, align 4
@C = external dso_local global i32, align 4
@ans = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 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
  store i32 0, ptr %1, align 4
  %3 = load ptr, ptr @stdin, align 8, !tbaa !5
  %4 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
  %5 = load ptr, ptr @stdout, align 8, !tbaa !5
  %6 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef @M, ptr noundef @S, ptr noundef @C)
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %8

8:                                                ; preds = %17, %0
  %9 = load i32, ptr %2, align 4, !tbaa !9
  %10 = load i32, ptr @C, align 4, !tbaa !9
  %11 = icmp slt i32 %9, %10
  br i1 %11, label %12, label %20

12:                                               ; preds = %8
  %13 = load i32, ptr %2, align 4, !tbaa !9
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %14
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.5, ptr noundef %15)
  br label %17

17:                                               ; preds = %12
  %18 = load i32, ptr %2, align 4, !tbaa !9
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %2, align 4, !tbaa !9
  br label %8, !llvm.loop !11

20:                                               ; preds = %8
  %21 = load i32, ptr @C, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr @num, i64 %22
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @num, ptr noundef %23)
  %24 = load i32, ptr @C, align 4, !tbaa !9
  %25 = sub nsw i32 %24, 1
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !9
  %29 = load i32, ptr @num, align 16, !tbaa !9
  %30 = sub nsw i32 %28, %29
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @ans, align 4, !tbaa !9
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %52, %20
  %33 = load i32, ptr %2, align 4, !tbaa !9
  %34 = load i32, ptr @C, align 4, !tbaa !9
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %36, label %55

36:                                               ; preds = %32
  %37 = load i32, ptr %2, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = load i32, ptr %2, align 4, !tbaa !9
  %42 = sub nsw i32 %41, 1
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = sub nsw i32 %40, %45
  %47 = sub nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %49, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %36
  %53 = load i32, ptr %2, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %2, align 4, !tbaa !9
  br label %32, !llvm.loop !13

55:                                               ; preds = %32
  %56 = load i32, ptr @S, align 4, !tbaa !9
  %57 = sub nsw i32 %56, 1
  store i32 %57, ptr %2, align 4, !tbaa !9
  %58 = load i32, ptr @M, align 4, !tbaa !9
  %59 = add nsw i32 %58, -1
  store i32 %59, ptr @M, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %104, %55
  %61 = load i32, ptr @M, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %66

63:                                               ; preds = %60
  %64 = load i32, ptr %2, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br label %66

66:                                               ; preds = %63, %60
  %67 = phi i1 [ false, %60 ], [ %65, %63 ]
  br i1 %67, label %68, label %107

68:                                               ; preds = %66
  %69 = load i32, ptr %2, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %103

74:                                               ; preds = %68
  %75 = load i32, ptr @M, align 4, !tbaa !9
  %76 = load i32, ptr %2, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = icmp sge i32 %75, %79
  br i1 %80, label %81, label %96

81:                                               ; preds = %74
  %82 = load i32, ptr %2, align 4, !tbaa !9
  %83 = load i32, ptr %2, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = mul nsw i32 %82, %86
  %88 = load i32, ptr @ans, align 4, !tbaa !9
  %89 = sub nsw i32 %88, %87
  store i32 %89, ptr @ans, align 4, !tbaa !9
  %90 = load i32, ptr %2, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = load i32, ptr @M, align 4, !tbaa !9
  %95 = sub nsw i32 %94, %93
  store i32 %95, ptr @M, align 4, !tbaa !9
  br label %102

96:                                               ; preds = %74
  %97 = load i32, ptr %2, align 4, !tbaa !9
  %98 = load i32, ptr @M, align 4, !tbaa !9
  %99 = mul nsw i32 %97, %98
  %100 = load i32, ptr @ans, align 4, !tbaa !9
  %101 = sub nsw i32 %100, %99
  store i32 %101, ptr @ans, align 4, !tbaa !9
  store i32 0, ptr @M, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %96, %81
  br label %103

103:                                              ; preds = %102, %68
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %2, align 4, !tbaa !9
  %106 = add nsw i32 %105, -1
  store i32 %106, ptr %2, align 4, !tbaa !9
  br label %60, !llvm.loop !14

107:                                              ; preds = %66
  %108 = load i32, ptr @ans, align 4, !tbaa !9
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %108)
  %110 = load ptr, ptr @stdin, align 8, !tbaa !5
  %111 = call i32 @fclose(ptr noundef %110)
  %112 = load ptr, ptr @stdout, align 8, !tbaa !5
  %113 = call i32 @fclose(ptr noundef %112)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

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

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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

@dis = external dso_local local_unnamed_addr global [201 x i32], align 16
@num = external dso_local global [201 x i32], align 16
@M = external dso_local global i32, align 4
@S = external dso_local global i32, align 4
@C = external dso_local global i32, align 4
@ans = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = load ptr, ptr @stdin, align 8, !tbaa !5
  %2 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %1)
  %3 = load ptr, ptr @stdout, align 8, !tbaa !5
  %4 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %3)
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull @M, ptr noundef nonnull @S, ptr noundef nonnull @C)
  %6 = load i32, ptr @C, align 4, !tbaa !9
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre = sext i32 %6 to i64
  br label %._crit_edge

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

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %11, %.lr.ph ]
  %13 = getelementptr inbounds i32, ptr @num, i64 %.pre-phi
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @num, ptr noundef nonnull %13)
  %14 = load i32, ptr @C, align 4, !tbaa !9
  %15 = add nsw i32 %14, -1
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = load i32, ptr @num, align 16, !tbaa !9
  %20 = add i32 %18, 1
  %21 = sub i32 %20, %19
  store i32 %21, ptr @ans, align 4, !tbaa !9
  %22 = icmp sgt i32 %14, 1
  br i1 %22, label %.lr.ph22.preheader, label %._crit_edge23

.lr.ph22.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %14 to i64
  %23 = add nsw i64 %wide.trip.count, -1
  %xtraiter = and i64 %23, 1
  %24 = icmp eq i32 %14, 2
  br i1 %24, label %._crit_edge23.loopexit.unr-lcssa, label %.lr.ph22.preheader.new

.lr.ph22.preheader.new:                           ; preds = %.lr.ph22.preheader
  %unroll_iter = and i64 %23, -2
  br label %.lr.ph22

.lr.ph22:                                         ; preds = %.lr.ph22, %.lr.ph22.preheader.new
  %25 = phi i32 [ %19, %.lr.ph22.preheader.new ], [ %35, %.lr.ph22 ]
  %indvars.iv31 = phi i64 [ 1, %.lr.ph22.preheader.new ], [ %indvars.iv.next32.1, %.lr.ph22 ]
  %niter = phi i64 [ 0, %.lr.ph22.preheader.new ], [ %niter.next.1, %.lr.ph22 ]
  %26 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %indvars.iv31
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = xor i32 %25, -1
  %29 = add i32 %27, %28
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %31, align 4, !tbaa !9
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %34 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %indvars.iv.next32
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = xor i32 %27, -1
  %37 = add i32 %35, %36
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %39, align 4, !tbaa !9
  %indvars.iv.next32.1 = add nuw nsw i64 %indvars.iv31, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge23.loopexit.unr-lcssa, label %.lr.ph22, !llvm.loop !13

._crit_edge23.loopexit.unr-lcssa:                 ; preds = %.lr.ph22, %.lr.ph22.preheader
  %.unr = phi i32 [ %19, %.lr.ph22.preheader ], [ %35, %.lr.ph22 ]
  %indvars.iv31.unr = phi i64 [ 1, %.lr.ph22.preheader ], [ %indvars.iv.next32.1, %.lr.ph22 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge23, label %.lr.ph22.epil

.lr.ph22.epil:                                    ; preds = %._crit_edge23.loopexit.unr-lcssa
  %42 = getelementptr inbounds [201 x i32], ptr @num, i64 0, i64 %indvars.iv31.unr
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = xor i32 %.unr, -1
  %45 = add i32 %43, %44
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %47, align 4, !tbaa !9
  br label %._crit_edge23

._crit_edge23:                                    ; preds = %.lr.ph22.epil, %._crit_edge23.loopexit.unr-lcssa, %._crit_edge
  %50 = load i32, ptr @S, align 4, !tbaa !9
  %51 = load i32, ptr @M, align 4, !tbaa !9
  %52 = add nsw i32 %51, -1
  store i32 %52, ptr @M, align 4, !tbaa !9
  %.224 = add i32 %50, -1
  %53 = icmp ne i32 %52, 0
  %54 = icmp ne i32 %.224, 0
  %55 = select i1 %53, i1 %54, i1 false
  br i1 %55, label %.lr.ph27.preheader, label %._crit_edge28

.lr.ph27.preheader:                               ; preds = %._crit_edge23
  %56 = sext i32 %.224 to i64
  br label %.lr.ph27

.lr.ph27:                                         ; preds = %.lr.ph27.preheader, %69
  %indvars.iv34 = phi i64 [ %56, %.lr.ph27.preheader ], [ %indvars.iv.next35, %69 ]
  %57 = phi i32 [ %52, %.lr.ph27.preheader ], [ %71, %69 ]
  %58 = phi i32 [ %21, %.lr.ph27.preheader ], [ %70, %69 ]
  %59 = getelementptr inbounds [201 x i32], ptr @dis, i64 0, i64 %indvars.iv34
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %.not = icmp eq i32 %60, 0
  br i1 %.not, label %69, label %61

61:                                               ; preds = %.lr.ph27
  %.not18 = icmp slt i32 %57, %60
  %62 = trunc nsw i64 %indvars.iv34 to i32
  br i1 %.not18, label %.thread, label %63

63:                                               ; preds = %61
  %64 = mul nsw i32 %60, %62
  %65 = sub nsw i32 %58, %64
  store i32 %65, ptr @ans, align 4, !tbaa !9
  %66 = sub nsw i32 %57, %60
  store i32 %66, ptr @M, align 4, !tbaa !9
  br label %69

.thread:                                          ; preds = %61
  %67 = mul nsw i32 %57, %62
  %68 = sub nsw i32 %58, %67
  store i32 %68, ptr @ans, align 4, !tbaa !9
  store i32 0, ptr @M, align 4, !tbaa !9
  br label %._crit_edge28

69:                                               ; preds = %.lr.ph27, %63
  %70 = phi i32 [ %58, %.lr.ph27 ], [ %65, %63 ]
  %71 = phi i32 [ %57, %.lr.ph27 ], [ %66, %63 ]
  %indvars.iv.next35 = add nsw i64 %indvars.iv34, -1
  %72 = icmp ne i32 %71, 0
  %73 = icmp ne i64 %indvars.iv.next35, 0
  %74 = select i1 %72, i1 %73, i1 false
  br i1 %74, label %.lr.ph27, label %._crit_edge28, !llvm.loop !14

._crit_edge28:                                    ; preds = %69, %.thread, %._crit_edge23
  %75 = phi i32 [ %21, %._crit_edge23 ], [ %68, %.thread ], [ %70, %69 ]
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %75)
  %77 = load ptr, ptr @stdin, align 8, !tbaa !5
  %78 = tail call i32 @fclose(ptr noundef %77)
  %79 = load ptr, ptr @stdout, align 8, !tbaa !5
  %80 = tail call i32 @fclose(ptr noundef %79)
  ret i32 0
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #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 @_ZSt4sortIPiEvT_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: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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