; LLVM IR from ravireddy07/cpp-book :: src/Common-Problems (XOR_4)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 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 [100010 x i64], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 800080, ptr %5) #4
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %24, %0
  %14 = load i32, ptr %6, align 4, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %17 = icmp ult i64 %15, %16
  br i1 %17, label %19, label %18

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

19:                                               ; preds = %13
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [100010 x i64], ptr %5, i64 0, i64 %21
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br label %24

24:                                               ; preds = %19
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %6, align 4, !tbaa !9
  br label %13, !llvm.loop !11

27:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %103, %27
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = load i64, ptr %2, align 8, !tbaa !5
  %32 = icmp ult i64 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %28
  store i32 5, ptr %8, align 4
  br label %106

34:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %9, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %97, %34
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = load i64, ptr %2, align 8, !tbaa !5
  %41 = icmp ult i64 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  store i32 8, ptr %8, align 4
  br label %100

43:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %10, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %91, %43
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = load i64, ptr %2, align 8, !tbaa !5
  %50 = icmp ult i64 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  store i32 11, ptr %8, align 4
  br label %94

52:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %53 = load i32, ptr %10, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %11, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %85, %52
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = load i64, ptr %2, align 8, !tbaa !5
  %59 = icmp ult i64 %57, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %55
  store i32 14, ptr %8, align 4
  br label %88

61:                                               ; preds = %55
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [100010 x i64], ptr %5, i64 0, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !5
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [100010 x i64], ptr %5, i64 0, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !5
  %70 = xor i64 %65, %69
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [100010 x i64], ptr %5, i64 0, i64 %72
  %74 = load i64, ptr %73, align 8, !tbaa !5
  %75 = xor i64 %70, %74
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [100010 x i64], ptr %5, i64 0, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !5
  %80 = xor i64 %75, %79
  %81 = icmp eq i64 %80, 0
  br i1 %81, label %82, label %84

82:                                               ; preds = %61
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %88

84:                                               ; preds = %61
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %11, align 4, !tbaa !9
  br label %55, !llvm.loop !13

88:                                               ; preds = %82, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %89 = load i32, ptr %8, align 4
  switch i32 %89, label %94 [
    i32 14, label %90
  ]

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %90
  %92 = load i32, ptr %10, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %10, align 4, !tbaa !9
  br label %46, !llvm.loop !14

94:                                               ; preds = %88, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %95 = load i32, ptr %8, align 4
  switch i32 %95, label %100 [
    i32 11, label %96
  ]

96:                                               ; preds = %94
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %9, align 4, !tbaa !9
  br label %37, !llvm.loop !15

100:                                              ; preds = %94, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %101 = load i32, ptr %8, align 4
  switch i32 %101, label %106 [
    i32 8, label %102
  ]

102:                                              ; preds = %100
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %7, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %7, align 4, !tbaa !9
  br label %28, !llvm.loop !16

106:                                              ; preds = %100, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %107 = load i32, ptr %8, align 4
  switch i32 %107, label %110 [
    i32 5, label %108
  ]

108:                                              ; preds = %106
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %110

110:                                              ; preds = %108, %106
  call void @llvm.lifetime.end.p0(i64 800080, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  %111 = load i32, ptr %1, align 4
  ret i32 %111
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

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 = { 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 #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 = !{!"long 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}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 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 [100010 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 800080, ptr nonnull %2) #4
  %3 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %4 = load i64, ptr %1, align 8
  %.not62 = icmp eq i64 %4, 0
  br i1 %.not62, label %.critedge48, label %.lr.ph

.critedge46.preheader:                            ; preds = %.lr.ph
  %.not4059.not = icmp eq i64 %7, 0
  br i1 %.not4059.not, label %.critedge48, label %.lr.ph61

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %5 = getelementptr inbounds [100010 x i64], ptr %2, i64 0, i64 %indvars.iv
  %6 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %7 = load i64, ptr %1, align 8
  %8 = icmp ugt i64 %7, %indvars.iv.next
  br i1 %8, label %.lr.ph, label %.critedge46.preheader, !llvm.loop !5

.critedge46.loopexit:                             ; preds = %10, %.critedge44.loopexit, %.lr.ph61
  %indvars.iv.next65 = add i32 %indvars.iv64, 1
  %indvars.iv.next74 = add nuw i64 %indvars.iv73, 1
  %indvars.iv.next81 = add nuw i64 %indvars.iv80, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next86, %7
  br i1 %exitcond.not, label %.critedge48, label %.lr.ph61, !llvm.loop !7

.lr.ph61:                                         ; preds = %.critedge46.preheader, %.critedge46.loopexit
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %.critedge46.loopexit ], [ 0, %.critedge46.preheader ]
  %indvars.iv80 = phi i64 [ %indvars.iv.next81, %.critedge46.loopexit ], [ 1, %.critedge46.preheader ]
  %indvars.iv73 = phi i64 [ %indvars.iv.next74, %.critedge46.loopexit ], [ 2, %.critedge46.preheader ]
  %indvars.iv64 = phi i32 [ %indvars.iv.next65, %.critedge46.loopexit ], [ 3, %.critedge46.preheader ]
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %.not4156 = icmp ugt i64 %7, %indvars.iv.next86
  br i1 %.not4156, label %.lr.ph58, label %.critedge46.loopexit

.lr.ph58:                                         ; preds = %.lr.ph61
  %9 = getelementptr inbounds [100010 x i64], ptr %2, i64 0, i64 %indvars.iv85
  br label %10

.critedge44.loopexit:                             ; preds = %13, %.critedge.loopexit
  %indvars.iv.next67 = add i32 %indvars.iv66, 1
  %indvars.iv.next76 = add i64 %indvars.iv75, 1
  br i1 %.not4253, label %10, label %.critedge46.loopexit, !llvm.loop !8

10:                                               ; preds = %.lr.ph58, %.critedge44.loopexit
  %indvars.iv82 = phi i64 [ %indvars.iv80, %.lr.ph58 ], [ %indvars.iv.next83, %.critedge44.loopexit ]
  %indvars.iv75 = phi i64 [ %indvars.iv73, %.lr.ph58 ], [ %indvars.iv.next76, %.critedge44.loopexit ]
  %indvars.iv66 = phi i32 [ %indvars.iv64, %.lr.ph58 ], [ %indvars.iv.next67, %.critedge44.loopexit ]
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %.not4253 = icmp ugt i64 %7, %indvars.iv.next83
  br i1 %.not4253, label %.lr.ph55, label %.critedge46.loopexit

.lr.ph55:                                         ; preds = %10
  %11 = sext i32 %indvars.iv66 to i64
  %12 = getelementptr inbounds [100010 x i64], ptr %2, i64 0, i64 %indvars.iv82
  br label %13

.critedge.loopexit:                               ; preds = %20
  %indvars.iv.next69 = add i64 %indvars.iv68, 1
  br i1 %.not50, label %13, label %.critedge44.loopexit, !llvm.loop !9

13:                                               ; preds = %.lr.ph55, %.critedge.loopexit
  %indvars.iv77 = phi i64 [ %indvars.iv75, %.lr.ph55 ], [ %indvars.iv.next78, %.critedge.loopexit ]
  %indvars.iv68 = phi i64 [ %11, %.lr.ph55 ], [ %indvars.iv.next69, %.critedge.loopexit ]
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %.not50 = icmp ugt i64 %7, %indvars.iv.next78
  br i1 %.not50, label %.lr.ph52, label %.critedge44.loopexit

.lr.ph52:                                         ; preds = %13
  %14 = load i64, ptr %9, align 8, !tbaa !10
  %15 = load i64, ptr %12, align 8, !tbaa !10
  %16 = xor i64 %15, %14
  %17 = getelementptr inbounds [100010 x i64], ptr %2, i64 0, i64 %indvars.iv77
  %18 = load i64, ptr %17, align 8, !tbaa !10
  %19 = xor i64 %16, %18
  br label %21

20:                                               ; preds = %21
  %indvars.iv.next71 = add nsw i64 %indvars.iv70, 1
  %.not = icmp ugt i64 %7, %indvars.iv.next71
  br i1 %.not, label %21, label %.critedge.loopexit, !llvm.loop !14

21:                                               ; preds = %.lr.ph52, %20
  %indvars.iv70 = phi i64 [ %indvars.iv68, %.lr.ph52 ], [ %indvars.iv.next71, %20 ]
  %22 = phi i64 [ %indvars.iv.next78, %.lr.ph52 ], [ %indvars.iv.next71, %20 ]
  %23 = getelementptr inbounds [100010 x i64], ptr %2, i64 0, i64 %22
  %24 = load i64, ptr %23, align 8, !tbaa !10
  %25 = icmp eq i64 %19, %24
  br i1 %25, label %.critedge48, label %20

.critedge48:                                      ; preds = %.critedge46.loopexit, %21, %.critedge46.preheader, %0
  %.str.sink = phi ptr [ @.str.1, %0 ], [ @.str.1, %.critedge46.preheader ], [ @.str, %21 ], [ @.str.1, %.critedge46.loopexit ]
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.sink)
  call void @llvm.lifetime.end.p0(i64 800080, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  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: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = distinct !{!14, !6}


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