; LLVM IR from tangjz/acm-icpc :: TDL_training/2016-04-24 (F - Toll Roads - lzy)

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

%struct.Edge = type { i32, i32, ptr }

@e = external dso_local global ptr, align 8
@E = external dso_local global [1000009 x %struct.Edge], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@u = external dso_local global i32, align 4
@v = external dso_local global i32, align 4
@w = external dso_local global i32, align 4
@l = external dso_local global [500009 x i32], align 16
@r = external dso_local global [500009 x i32], align 16
@f = external dso_local global [500009 x i32], align 16
@s = external dso_local global [500009 x i32], align 16
@opt = external dso_local global [2 x i8], align 1
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3addiii(i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, i32 noundef) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3addii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3geti(i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %4 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  store ptr @E, ptr @e, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %5

5:                                                ; preds = %18, %0
  %6 = load i32, ptr %2, align 4, !tbaa !9
  %7 = load i32, ptr @n, align 4, !tbaa !9
  %8 = icmp slt i32 %6, %7
  br i1 %8, label %10, label %9

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

10:                                               ; preds = %5
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @u, ptr noundef @v, ptr noundef @w)
  %12 = load i32, ptr @u, align 4, !tbaa !9
  %13 = load i32, ptr @v, align 4, !tbaa !9
  %14 = load i32, ptr @w, align 4, !tbaa !9
  call void @_Z3addiii(i32 noundef %12, i32 noundef %13, i32 noundef %14)
  %15 = load i32, ptr @v, align 4, !tbaa !9
  %16 = load i32, ptr @u, align 4, !tbaa !9
  %17 = load i32, ptr @w, align 4, !tbaa !9
  call void @_Z3addiii(i32 noundef %15, i32 noundef %16, i32 noundef %17)
  br label %18

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

21:                                               ; preds = %9
  call void @_Z3dfsii(i32 noundef 0, i32 noundef 1)
  br label %22

22:                                               ; preds = %95, %21
  %23 = load i32, ptr @m, align 4, !tbaa !9
  %24 = add nsw i32 %23, -1
  store i32 %24, ptr @m, align 4, !tbaa !9
  %25 = icmp ne i32 %23, 0
  br i1 %25, label %26, label %96

26:                                               ; preds = %22
  %27 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @opt)
  %28 = load i8, ptr @opt, align 1, !tbaa !13
  %29 = sext i8 %28 to i32
  %30 = icmp eq i32 %29, 83
  br i1 %30, label %31, label %77

31:                                               ; preds = %26
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @u, ptr noundef @v, ptr noundef @w)
  %33 = load i32, ptr @u, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [500009 x i32], ptr @f, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = load i32, ptr @v, align 4, !tbaa !9
  %38 = icmp eq i32 %36, %37
  br i1 %38, label %39, label %40

39:                                               ; preds = %31
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @u, ptr noundef nonnull align 4 dereferenceable(4) @v) #6
  br label %40

40:                                               ; preds = %39, %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %41 = load i32, ptr @v, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = call noundef i32 @_Z3geti(i32 noundef %44)
  %46 = load i32, ptr @v, align 4, !tbaa !9
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = add nsw i32 %45, %49
  %51 = load i32, ptr @u, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = call noundef i32 @_Z3geti(i32 noundef %54)
  %56 = sub nsw i32 %50, %55
  %57 = load i32, ptr @u, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = sub nsw i32 %56, %60
  store i32 %61, ptr %3, align 4, !tbaa !9
  %62 = load i32, ptr @v, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = load i32, ptr @w, align 4, !tbaa !9
  %67 = load i32, ptr %3, align 4, !tbaa !9
  %68 = sub nsw i32 %66, %67
  call void @_Z3addii(i32 noundef %65, i32 noundef %68)
  %69 = load i32, ptr @v, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [500009 x i32], ptr @r, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  %74 = load i32, ptr %3, align 4, !tbaa !9
  %75 = load i32, ptr @w, align 4, !tbaa !9
  %76 = sub nsw i32 %74, %75
  call void @_Z3addii(i32 noundef %73, i32 noundef %76)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %95

77:                                               ; preds = %26
  %78 = load i8, ptr @opt, align 1, !tbaa !13
  %79 = sext i8 %78 to i32
  %80 = icmp eq i32 %79, 80
  br i1 %80, label %81, label %94

81:                                               ; preds = %77
  %82 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef @u)
  %83 = load i32, ptr @u, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = call noundef i32 @_Z3geti(i32 noundef %86)
  %88 = load i32, ptr @u, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = add nsw i32 %87, %91
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %92)
  br label %94

94:                                               ; preds = %81, %77
  br label %95

95:                                               ; preds = %94, %40
  br label %22, !llvm.loop !14

96:                                               ; preds = %22
  %97 = load i32, ptr %1, align 4
  ret i32 %97
}

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

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

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

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

%struct.Edge = type { i32, i32, ptr }

@e = external dso_local local_unnamed_addr global ptr, align 8
@E = external dso_local global [1000009 x %struct.Edge], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@u = external dso_local global i32, align 4
@v = external dso_local global i32, align 4
@w = external dso_local global i32, align 4
@l = external dso_local local_unnamed_addr global [500009 x i32], align 16
@r = external dso_local local_unnamed_addr global [500009 x i32], align 16
@f = external dso_local local_unnamed_addr global [500009 x i32], align 16
@s = external dso_local local_unnamed_addr global [500009 x i32], align 16
@opt = external dso_local global [2 x i8], align 1
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3addiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3addii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3geti(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  store ptr @E, ptr @e, align 8, !tbaa !5
  %2 = load i32, ptr @n, align 4, !tbaa !9
  %3 = icmp sgt i32 %2, 1
  br i1 %3, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  tail call void @_Z3dfsii(i32 noundef 0, i32 noundef 1)
  %4 = load i32, ptr @m, align 4, !tbaa !9
  %5 = add nsw i32 %4, -1
  store i32 %5, ptr @m, align 4, !tbaa !9
  %.not9 = icmp eq i32 %4, 0
  br i1 %.not9, label %._crit_edge12, label %.lr.ph11

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.08 = phi i32 [ %13, %.lr.ph ], [ 1, %0 ]
  %6 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @u, ptr noundef nonnull @v, ptr noundef nonnull @w)
  %7 = load i32, ptr @u, align 4, !tbaa !9
  %8 = load i32, ptr @v, align 4, !tbaa !9
  %9 = load i32, ptr @w, align 4, !tbaa !9
  tail call void @_Z3addiii(i32 noundef %7, i32 noundef %8, i32 noundef %9)
  %10 = load i32, ptr @v, align 4, !tbaa !9
  %11 = load i32, ptr @u, align 4, !tbaa !9
  %12 = load i32, ptr @w, align 4, !tbaa !9
  tail call void @_Z3addiii(i32 noundef %10, i32 noundef %11, i32 noundef %12)
  %13 = add nuw nsw i32 %.08, 1
  %14 = load i32, ptr @n, align 4, !tbaa !9
  %15 = icmp slt i32 %13, %14
  br i1 %15, label %.lr.ph, label %._crit_edge, !llvm.loop !11

.lr.ph11:                                         ; preds = %._crit_edge, %74
  %16 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @opt)
  %17 = load i8, ptr @opt, align 1, !tbaa !13
  switch i8 %17, label %74 [
    i8 83, label %18
    i8 80, label %61
  ]

18:                                               ; preds = %.lr.ph11
  %19 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @u, ptr noundef nonnull @v, ptr noundef nonnull @w)
  %20 = load i32, ptr @u, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [500009 x i32], ptr @f, i64 0, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = load i32, ptr @v, align 4, !tbaa !9
  %25 = icmp eq i32 %23, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %18
  tail call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @u, ptr noundef nonnull align 4 dereferenceable(4) @v) #5
  %.pre = load i32, ptr @v, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %26, %18
  %28 = phi i32 [ %.pre, %26 ], [ %24, %18 ]
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !9
  %32 = tail call noundef i32 @_Z3geti(i32 noundef %31)
  %33 = load i32, ptr @v, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = load i32, ptr @u, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = tail call noundef i32 @_Z3geti(i32 noundef %40)
  %42 = load i32, ptr @u, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %.neg7 = add i32 %36, %32
  %46 = add i32 %41, %45
  %47 = sub i32 %.neg7, %46
  %48 = load i32, ptr @v, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = load i32, ptr @w, align 4, !tbaa !9
  %53 = sub nsw i32 %52, %47
  tail call void @_Z3addii(i32 noundef %51, i32 noundef %53)
  %54 = load i32, ptr @v, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [500009 x i32], ptr @r, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  %59 = load i32, ptr @w, align 4, !tbaa !9
  %60 = sub nsw i32 %47, %59
  tail call void @_Z3addii(i32 noundef %58, i32 noundef %60)
  br label %74

61:                                               ; preds = %.lr.ph11
  %62 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull @u)
  %63 = load i32, ptr @u, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [500009 x i32], ptr @l, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = tail call noundef i32 @_Z3geti(i32 noundef %66)
  %68 = load i32, ptr @u, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [500009 x i32], ptr @s, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = add nsw i32 %71, %67
  %73 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %72)
  br label %74

74:                                               ; preds = %.lr.ph11, %61, %27
  %75 = load i32, ptr @m, align 4, !tbaa !9
  %76 = add nsw i32 %75, -1
  store i32 %76, ptr @m, align 4, !tbaa !9
  %.not = icmp eq i32 %75, 0
  br i1 %.not, label %._crit_edge12, label %.lr.ph11, !llvm.loop !14

._crit_edge12:                                    ; preds = %74, %._crit_edge
  ret i32 0
}

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

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

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

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 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 = { 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 = { 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 = { inlinehint 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 #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 = !{!"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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass