; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101201G)

; 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
@m = external dso_local global i32, align 4
@match = external dso_local global [41 x [41 x i32]], align 16
@ans = external dso_local global i32, align 4
@str = external dso_local global [41 x [41 x i8]], align 16
@buf = external dso_local global [41 x [41 x i8]], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z4pathii(i32 noundef, i32 noundef) #0

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

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

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

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

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

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

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

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

24:                                               ; preds = %55, %23
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %27 = icmp slt i32 %25, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %58

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %51, %29
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = load i32, ptr @m, align 4, !tbaa !5
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %54

35:                                               ; preds = %30
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [41 x [41 x i8]], ptr @str, i64 0, i64 %37
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [41 x i8], ptr %38, i64 0, i64 %40
  %42 = load i8, ptr %41, align 1, !tbaa !11
  %43 = sext i8 %42 to i32
  %44 = icmp eq i32 %43, 76
  br i1 %44, label %45, label %50

45:                                               ; preds = %35
  %46 = load i32, ptr @ans, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr @ans, align 4, !tbaa !5
  %48 = load i32, ptr %3, align 4, !tbaa !5
  %49 = load i32, ptr %5, align 4, !tbaa !5
  call void @_Z3dfsii(i32 noundef %48, i32 noundef %49)
  br label %50

50:                                               ; preds = %45, %35
  br label %51

51:                                               ; preds = %50
  %52 = load i32, ptr %5, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %5, align 4, !tbaa !5
  br label %30, !llvm.loop !12

54:                                               ; preds = %34
  br label %55

55:                                               ; preds = %54
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %3, align 4, !tbaa !5
  br label %24, !llvm.loop !13

58:                                               ; preds = %28
  call void @llvm.memset.p0.i64(ptr align 16 @match, i8 -1, i64 6724, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %102, %58
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = load i32, ptr @n, align 4, !tbaa !5
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %105

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %98, %64
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = load i32, ptr @m, align 4, !tbaa !5
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %101

70:                                               ; preds = %65
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [41 x [41 x i8]], ptr @str, i64 0, i64 %72
  %74 = load i32, ptr %7, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [41 x i8], ptr %73, i64 0, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !11
  %78 = sext i8 %77 to i32
  %79 = icmp eq i32 %78, 67
  br i1 %79, label %80, label %97

80:                                               ; preds = %70
  %81 = load i32, ptr @ans, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr @ans, align 4, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = and i32 %83, 1
  %85 = load i32, ptr %7, align 4, !tbaa !5
  %86 = and i32 %85, 1
  %87 = icmp eq i32 %84, %86
  br i1 %87, label %88, label %96

88:                                               ; preds = %80
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @buf, ptr align 16 @str, i64 1681, i1 false)
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = load i32, ptr %7, align 4, !tbaa !5
  %91 = call noundef zeroext i1 @_Z4pathii(i32 noundef %89, i32 noundef %90)
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = load i32, ptr @ans, align 4, !tbaa !5
  %94 = add nsw i32 %93, -1
  store i32 %94, ptr @ans, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %92, %88
  br label %96

96:                                               ; preds = %95, %80
  br label %97

97:                                               ; preds = %96, %70
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %7, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %7, align 4, !tbaa !5
  br label %65, !llvm.loop !14

101:                                              ; preds = %69
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %6, align 4, !tbaa !5
  br label %59, !llvm.loop !15

105:                                              ; preds = %63
  %106 = load i32, ptr @ans, align 4, !tbaa !5
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %106)
  ret i32 0
}

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !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
@m = external dso_local global i32, align 4
@match = external dso_local local_unnamed_addr global [41 x [41 x i32]], align 16
@ans = external dso_local local_unnamed_addr global i32, align 4
@str = external dso_local global [41 x [41 x i8]], align 16
@buf = external dso_local local_unnamed_addr global [41 x [41 x i8]], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z4pathii(i32 noundef, i32 noundef) local_unnamed_addr #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, ptr noundef nonnull @m)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph, label %._crit_edge36.sink.split

.preheader26:                                     ; preds = %.lr.ph
  %4 = icmp sgt i32 %9, 0
  %5 = load i32, ptr @m, align 4
  %6 = icmp sgt i32 %5, 0
  %or.cond59 = select i1 %4, i1 %6, i1 false
  br i1 %or.cond59, label %.preheader25, label %._crit_edge36.sink.split

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

.preheader25:                                     ; preds = %.preheader26, %._crit_edge
  %12 = phi i32 [ %19, %._crit_edge ], [ %9, %.preheader26 ]
  %13 = phi i32 [ %20, %._crit_edge ], [ %5, %.preheader26 ]
  %14 = phi i32 [ %21, %._crit_edge ], [ %5, %.preheader26 ]
  %indvars.iv43 = phi i64 [ %indvars.iv.next44, %._crit_edge ], [ 0, %.preheader26 ]
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph29, label %._crit_edge

.lr.ph29:                                         ; preds = %.preheader25
  %16 = trunc nuw nsw i64 %indvars.iv43 to i32
  br label %24

._crit_edge31:                                    ; preds = %._crit_edge
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(6724) @match, i8 -1, i64 6724, i1 false)
  %17 = icmp sgt i32 %19, 0
  %.pr = load i32, ptr @m, align 4
  %18 = icmp sgt i32 %.pr, 0
  %or.cond = select i1 %17, i1 %18, i1 false
  br i1 %or.cond, label %.preheader, label %._crit_edge36

._crit_edge.loopexit:                             ; preds = %33
  %.pre52 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader25
  %19 = phi i32 [ %.pre52, %._crit_edge.loopexit ], [ %12, %.preheader25 ]
  %20 = phi i32 [ %34, %._crit_edge.loopexit ], [ %13, %.preheader25 ]
  %21 = phi i32 [ %34, %._crit_edge.loopexit ], [ %14, %.preheader25 ]
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %22 = sext i32 %19 to i64
  %23 = icmp slt i64 %indvars.iv.next44, %22
  br i1 %23, label %.preheader25, label %._crit_edge31, !llvm.loop !11

24:                                               ; preds = %.lr.ph29, %33
  %25 = phi i32 [ %13, %.lr.ph29 ], [ %34, %33 ]
  %indvars.iv40 = phi i64 [ 0, %.lr.ph29 ], [ %indvars.iv.next41, %33 ]
  %26 = getelementptr inbounds [41 x [41 x i8]], ptr @str, i64 0, i64 %indvars.iv43, i64 %indvars.iv40
  %27 = load i8, ptr %26, align 1, !tbaa !13
  %28 = icmp eq i8 %27, 76
  br i1 %28, label %29, label %33

29:                                               ; preds = %24
  %30 = load i32, ptr @ans, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @ans, align 4, !tbaa !5
  %32 = trunc nuw nsw i64 %indvars.iv40 to i32
  tail call void @_Z3dfsii(i32 noundef %16, i32 noundef %32)
  %.pre = load i32, ptr @m, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %24, %29
  %34 = phi i32 [ %25, %24 ], [ %.pre, %29 ]
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %35 = sext i32 %34 to i64
  %36 = icmp slt i64 %indvars.iv.next41, %35
  br i1 %36, label %24, label %._crit_edge.loopexit, !llvm.loop !14

.preheader:                                       ; preds = %._crit_edge31, %._crit_edge34
  %37 = phi i32 [ %43, %._crit_edge34 ], [ %19, %._crit_edge31 ]
  %38 = phi i32 [ %44, %._crit_edge34 ], [ %.pr, %._crit_edge31 ]
  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %._crit_edge34 ], [ 0, %._crit_edge31 ]
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph33, label %._crit_edge34

.lr.ph33:                                         ; preds = %.preheader
  %40 = trunc nuw nsw i64 %indvars.iv49 to i32
  br label %47

._crit_edge36.sink.split:                         ; preds = %0, %.preheader26
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(6724) @match, i8 -1, i64 6724, i1 false)
  br label %._crit_edge36

._crit_edge36:                                    ; preds = %._crit_edge34, %._crit_edge36.sink.split, %._crit_edge31
  %41 = load i32, ptr @ans, align 4, !tbaa !5
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %41)
  ret i32 0

._crit_edge34.loopexit:                           ; preds = %63
  %.pre53 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge34

._crit_edge34:                                    ; preds = %._crit_edge34.loopexit, %.preheader
  %43 = phi i32 [ %.pre53, %._crit_edge34.loopexit ], [ %37, %.preheader ]
  %44 = phi i32 [ %64, %._crit_edge34.loopexit ], [ %38, %.preheader ]
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %45 = sext i32 %43 to i64
  %46 = icmp slt i64 %indvars.iv.next50, %45
  br i1 %46, label %.preheader, label %._crit_edge36, !llvm.loop !15

47:                                               ; preds = %.lr.ph33, %63
  %indvars.iv46 = phi i64 [ 0, %.lr.ph33 ], [ %indvars.iv.next47, %63 ]
  %48 = getelementptr inbounds [41 x [41 x i8]], ptr @str, i64 0, i64 %indvars.iv49, i64 %indvars.iv46
  %49 = load i8, ptr %48, align 1, !tbaa !13
  %50 = icmp eq i8 %49, 67
  br i1 %50, label %51, label %63

51:                                               ; preds = %47
  %52 = load i32, ptr @ans, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr @ans, align 4, !tbaa !5
  %54 = trunc nuw nsw i64 %indvars.iv46 to i32
  %55 = xor i32 %54, %40
  %56 = and i32 %55, 1
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %63

58:                                               ; preds = %51
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1681) @buf, ptr noundef nonnull align 16 dereferenceable(1681) @str, i64 1681, i1 false)
  %59 = tail call noundef zeroext i1 @_Z4pathii(i32 noundef %40, i32 noundef %54)
  br i1 %59, label %60, label %63

60:                                               ; preds = %58
  %61 = load i32, ptr @ans, align 4, !tbaa !5
  %62 = add nsw i32 %61, -1
  store i32 %62, ptr @ans, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %47, %58, %60, %51
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %64 = load i32, ptr @m, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = icmp slt i64 %indvars.iv.next47, %65
  br i1 %66, label %47, label %._crit_edge34.loopexit, !llvm.loop !16
}

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

attributes #0 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }

!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}
!12 = !{!"llvm.loop.unswitch.partial.disable"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10, !12}
!16 = distinct !{!16, !10}


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