; LLVM IR from ravireddy07/cpp-book :: src/Code-Chef (CLEANUP)

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

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

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

13:                                               ; preds = %109, %0
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = add i64 %14, -1
  store i64 %15, ptr %2, align 8, !tbaa !5
  %16 = icmp ne i64 %14, 0
  br i1 %16, label %17, label %111

17:                                               ; preds = %13
  %18 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %19 = load i64, ptr %3, align 8, !tbaa !5
  %20 = add i64 %19, 1
  %21 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %20, i64 4)
  %22 = extractvalue { i64, i1 } %21, 1
  %23 = extractvalue { i64, i1 } %21, 0
  %24 = select i1 %22, i64 -1, i64 %23
  %25 = call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #6
  store ptr %25, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 1, ptr %9, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %35, %17
  %27 = load i64, ptr %9, align 8, !tbaa !5
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = icmp ule i64 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %38

31:                                               ; preds = %26
  %32 = load ptr, ptr %8, align 8, !tbaa !9
  %33 = load i64, ptr %9, align 8, !tbaa !5
  %34 = getelementptr inbounds i32, ptr %32, i64 %33
  store i32 -1, ptr %34, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %31
  %36 = load i64, ptr %9, align 8, !tbaa !5
  %37 = add i64 %36, 1
  store i64 %37, ptr %9, align 8, !tbaa !5
  br label %26, !llvm.loop !13

38:                                               ; preds = %30
  br label %39

39:                                               ; preds = %43, %38
  %40 = load i64, ptr %4, align 8, !tbaa !5
  %41 = add i64 %40, -1
  store i64 %41, ptr %4, align 8, !tbaa !5
  %42 = icmp ne i64 %40, 0
  br i1 %42, label %43, label %48

43:                                               ; preds = %39
  %44 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %5)
  %45 = load ptr, ptr %8, align 8, !tbaa !9
  %46 = load i64, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds i32, ptr %45, i64 %46
  store i32 0, ptr %47, align 4, !tbaa !11
  br label %39, !llvm.loop !15

48:                                               ; preds = %39
  store i64 0, ptr %6, align 8, !tbaa !5
  store i64 1, ptr %7, align 8, !tbaa !5
  br label %49

49:                                               ; preds = %62, %61, %48
  %50 = load i64, ptr %6, align 8, !tbaa !5
  %51 = load i64, ptr %3, align 8, !tbaa !5
  %52 = icmp ule i64 %50, %51
  br i1 %52, label %53, label %70

53:                                               ; preds = %49
  %54 = load i64, ptr %6, align 8, !tbaa !5
  %55 = add i64 %54, 1
  store i64 %55, ptr %6, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !9
  %57 = load i64, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds i32, ptr %56, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %53
  br label %49, !llvm.loop !16

62:                                               ; preds = %53
  %63 = load i64, ptr %7, align 8, !tbaa !5
  %64 = trunc i64 %63 to i32
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  %66 = load i64, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds i32, ptr %65, i64 %66
  store i32 %64, ptr %67, align 4, !tbaa !11
  %68 = load i64, ptr %7, align 8, !tbaa !5
  %69 = sub i64 3, %68
  store i64 %69, ptr %7, align 8, !tbaa !5
  br label %49, !llvm.loop !16

70:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 1, ptr %10, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %86, %70
  %72 = load i64, ptr %10, align 8, !tbaa !5
  %73 = load i64, ptr %3, align 8, !tbaa !5
  %74 = icmp ule i64 %72, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %89

76:                                               ; preds = %71
  %77 = load ptr, ptr %8, align 8, !tbaa !9
  %78 = load i64, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds i32, ptr %77, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !11
  %81 = icmp eq i32 %80, 1
  br i1 %81, label %82, label %85

82:                                               ; preds = %76
  %83 = load i64, ptr %10, align 8, !tbaa !5
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %83)
  br label %85

85:                                               ; preds = %82, %76
  br label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %10, align 8, !tbaa !5
  %88 = add i64 %87, 1
  store i64 %88, ptr %10, align 8, !tbaa !5
  br label %71, !llvm.loop !17

89:                                               ; preds = %75
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 1, ptr %11, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %106, %89
  %92 = load i64, ptr %11, align 8, !tbaa !5
  %93 = load i64, ptr %3, align 8, !tbaa !5
  %94 = icmp ule i64 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %109

96:                                               ; preds = %91
  %97 = load ptr, ptr %8, align 8, !tbaa !9
  %98 = load i64, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds i32, ptr %97, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = icmp eq i32 %100, 2
  br i1 %101, label %102, label %105

102:                                              ; preds = %96
  %103 = load i64, ptr %11, align 8, !tbaa !5
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %103)
  br label %105

105:                                              ; preds = %102, %96
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %11, align 8, !tbaa !5
  %108 = add i64 %107, 1
  store i64 %108, ptr %11, align 8, !tbaa !5
  br label %91, !llvm.loop !18

109:                                              ; preds = %95
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %13, !llvm.loop !19

111:                                              ; preds = %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #3

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #4

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

declare i32 @printf(ptr noundef, ...) #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nobuiltin allocsize(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 }
attributes #6 = { builtin allocsize(0) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


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

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  store i64 0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %6 = load i64, ptr %1, align 8, !tbaa !5
  %7 = add i64 %6, -1
  store i64 %7, ptr %1, align 8, !tbaa !5
  %.not47 = icmp eq i64 %6, 0
  br i1 %.not47, label %._crit_edge50, label %.lr.ph49

.lr.ph49:                                         ; preds = %0, %._crit_edge46
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = add i64 %9, 1
  %11 = icmp ugt i64 %10, 4611686018427387903
  %12 = shl i64 %10, 2
  %13 = select i1 %11, i64 -1, i64 %12
  %14 = call noalias noundef nonnull ptr @_Znam(i64 noundef %13) #7
  %.not2634 = icmp eq i64 %9, 0
  br i1 %.not2634, label %.preheader32, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph49
  %scevgep = getelementptr i8, ptr %14, i64 4
  %umax = call i64 @llvm.umax.i64(i64 %10, i64 2)
  %15 = shl i64 %umax, 2
  %16 = add i64 %15, -4
  call void @llvm.memset.p0.i64(ptr align 4 %scevgep, i8 -1, i64 %16, i1 false), !tbaa !9
  br label %.preheader32

.preheader32:                                     ; preds = %.lr.ph.preheader, %.lr.ph49
  %17 = load i64, ptr %3, align 8, !tbaa !5
  %18 = add i64 %17, -1
  store i64 %18, ptr %3, align 8, !tbaa !5
  %.not2736 = icmp eq i64 %17, 0
  br i1 %.not2736, label %.preheader31, label %.lr.ph37

.preheader31.loopexit:                            ; preds = %.lr.ph37
  %.pre = load i64, ptr %2, align 8, !tbaa !5
  br label %.preheader31

.preheader31:                                     ; preds = %.preheader31.loopexit, %.preheader32
  %19 = phi i64 [ %.pre, %.preheader31.loopexit ], [ %9, %.preheader32 ]
  br label %.outer

.lr.ph37:                                         ; preds = %.preheader32, %.lr.ph37
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4)
  %21 = load i64, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds i32, ptr %14, i64 %21
  store i32 0, ptr %22, align 4, !tbaa !9
  %23 = load i64, ptr %3, align 8, !tbaa !5
  %24 = add i64 %23, -1
  store i64 %24, ptr %3, align 8, !tbaa !5
  %.not27 = icmp eq i64 %23, 0
  br i1 %.not27, label %.preheader31.loopexit, label %.lr.ph37, !llvm.loop !11

25:                                               ; preds = %.outer, %26
  %.024 = phi i64 [ %27, %26 ], [ %.024.ph, %.outer ]
  %.not28 = icmp ugt i64 %.024, %19
  br i1 %.not28, label %.preheader, label %26

.preheader:                                       ; preds = %25
  %.not2939 = icmp eq i64 %19, 0
  br i1 %.not2939, label %._crit_edge, label %.lr.ph41

26:                                               ; preds = %25
  %27 = add i64 %.024, 1
  %28 = getelementptr inbounds i32, ptr %14, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %25, label %31, !llvm.loop !13

31:                                               ; preds = %26
  %32 = getelementptr inbounds i32, ptr %14, i64 %27
  store i32 %.025.ph, ptr %32, align 4, !tbaa !9
  %33 = xor i32 %.025.ph, 3
  br label %.outer, !llvm.loop !13

.outer:                                           ; preds = %.preheader31, %31
  %.025.ph = phi i32 [ 1, %.preheader31 ], [ %33, %31 ]
  %.024.ph = phi i64 [ 0, %.preheader31 ], [ %27, %31 ]
  br label %25

._crit_edge:                                      ; preds = %42, %.preheader
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %35 = load i64, ptr %2, align 8, !tbaa !5
  %.not3042 = icmp eq i64 %35, 0
  br i1 %.not3042, label %._crit_edge46, label %.lr.ph45

.lr.ph41:                                         ; preds = %.preheader, %42
  %36 = phi i64 [ %43, %42 ], [ %19, %.preheader ]
  %.02240 = phi i64 [ %44, %42 ], [ 1, %.preheader ]
  %37 = getelementptr inbounds i32, ptr %14, i64 %.02240
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %42

40:                                               ; preds = %.lr.ph41
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.02240)
  %.pre51 = load i64, ptr %2, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %.lr.ph41, %40
  %43 = phi i64 [ %36, %.lr.ph41 ], [ %.pre51, %40 ]
  %44 = add i64 %.02240, 1
  %.not29 = icmp ugt i64 %44, %43
  br i1 %.not29, label %._crit_edge, label %.lr.ph41, !llvm.loop !14

._crit_edge46:                                    ; preds = %54, %._crit_edge
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %46 = load i64, ptr %1, align 8, !tbaa !5
  %47 = add i64 %46, -1
  store i64 %47, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %46, 0
  br i1 %.not, label %._crit_edge50, label %.lr.ph49, !llvm.loop !15

.lr.ph45:                                         ; preds = %._crit_edge, %54
  %48 = phi i64 [ %55, %54 ], [ %35, %._crit_edge ]
  %.043 = phi i64 [ %56, %54 ], [ 1, %._crit_edge ]
  %49 = getelementptr inbounds i32, ptr %14, i64 %.043
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = icmp eq i32 %50, 2
  br i1 %51, label %52, label %54

52:                                               ; preds = %.lr.ph45
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.043)
  %.pre52 = load i64, ptr %2, align 8, !tbaa !5
  br label %54

54:                                               ; preds = %.lr.ph45, %52
  %55 = phi i64 [ %48, %.lr.ph45 ], [ %.pre52, %52 ]
  %56 = add i64 %.043, 1
  %.not30 = icmp ugt i64 %56, %55
  br i1 %.not30, label %._crit_edge46, label %.lr.ph45, !llvm.loop !16

._crit_edge50:                                    ; preds = %._crit_edge46, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #4

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

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 = { nobuiltin allocsize(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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }

!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 = !{!"long", !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}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


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