; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2020-21/Dec/Gold/genomics.ll (Z2adc)

; 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.std::array" = type { [4 x %"struct.std::array.12"] }
%"struct.std::array.12" = type { [17 x %struct.mi] }
%struct.mi = type { i32 }

@dp = external dso_local global %"struct.std::array", align 4
@DP = external dso_local global %"struct.std::array", align 4

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

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

; 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) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIS_I2miLm17EELm4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(272)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checki(i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z2adc(i8 noundef signext %0) #3 {
  %2 = alloca i8, align 1
  %3 = alloca %"struct.std::array", align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i8 %0, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 272, ptr %3) #6
  call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 272, i1 false)
  call void @_ZNSt5arrayIS_I2miLm17EELm4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(272) %3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @DP, ptr align 4 %3, i64 272, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 272, ptr %3) #6
  %7 = load i8, ptr %2, align 1, !tbaa !5
  %8 = sext i8 %7 to i32
  %9 = icmp eq i32 %8, 63
  br i1 %9, label %14, label %10

10:                                               ; preds = %1
  %11 = load i8, ptr %2, align 1, !tbaa !5
  %12 = sext i8 %11 to i32
  %13 = icmp eq i32 %12, 65
  br i1 %13, label %14, label %15

14:                                               ; preds = %10, %1
  call void @_Z5checki(i32 noundef 0)
  br label %15

15:                                               ; preds = %14, %10
  %16 = load i8, ptr %2, align 1, !tbaa !5
  %17 = sext i8 %16 to i32
  %18 = icmp eq i32 %17, 63
  br i1 %18, label %23, label %19

19:                                               ; preds = %15
  %20 = load i8, ptr %2, align 1, !tbaa !5
  %21 = sext i8 %20 to i32
  %22 = icmp eq i32 %21, 71
  br i1 %22, label %23, label %24

23:                                               ; preds = %19, %15
  call void @_Z5checki(i32 noundef 1)
  br label %24

24:                                               ; preds = %23, %19
  %25 = load i8, ptr %2, align 1, !tbaa !5
  %26 = sext i8 %25 to i32
  %27 = icmp eq i32 %26, 63
  br i1 %27, label %32, label %28

28:                                               ; preds = %24
  %29 = load i8, ptr %2, align 1, !tbaa !5
  %30 = sext i8 %29 to i32
  %31 = icmp eq i32 %30, 67
  br i1 %31, label %32, label %33

32:                                               ; preds = %28, %24
  call void @_Z5checki(i32 noundef 2)
  br label %33

33:                                               ; preds = %32, %28
  %34 = load i8, ptr %2, align 1, !tbaa !5
  %35 = sext i8 %34 to i32
  %36 = icmp eq i32 %35, 63
  br i1 %36, label %41, label %37

37:                                               ; preds = %33
  %38 = load i8, ptr %2, align 1, !tbaa !5
  %39 = sext i8 %38 to i32
  %40 = icmp eq i32 %39, 84
  br i1 %40, label %41, label %42

41:                                               ; preds = %37, %33
  call void @_Z5checki(i32 noundef 3)
  br label %42

42:                                               ; preds = %41, %37
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @dp, ptr align 4 @DP, i64 272, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %75, %42
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = icmp slt i32 %44, 4
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %78

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %71, %47
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = icmp slt i32 %49, 16
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %74

52:                                               ; preds = %48
  %53 = load i32, ptr %4, align 4, !tbaa !9
  %54 = load i32, ptr %6, align 4, !tbaa !9
  %55 = srem i32 %54, 4
  %56 = icmp eq i32 %53, %55
  br i1 %56, label %57, label %70

57:                                               ; preds = %52
  %58 = load i32, ptr %4, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 noundef %59) #6
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %60, i64 noundef %62) #6
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = sdiv i32 %64, 4
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @dp, i64 noundef %66) #6
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %67, i64 noundef 16) #6
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %63)
  br label %70

70:                                               ; preds = %57, %52
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %6, align 4, !tbaa !9
  br label %48, !llvm.loop !11

74:                                               ; preds = %51
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %4, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %4, align 4, !tbaa !9
  br label %43, !llvm.loop !13

78:                                               ; preds = %46
  ret void
}

; 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{i64 0, i64 272, !5}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !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.std::array" = type { [4 x %"struct.std::array.12"] }
%"struct.std::array.12" = type { [17 x %struct.mi] }
%struct.mi = type { i32 }

@dp = external dso_local global %"struct.std::array", align 4
@DP = external dso_local global %"struct.std::array", align 4

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

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

; 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) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIS_I2miLm17EELm4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(272)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checki(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z2adc(i8 noundef signext %0) local_unnamed_addr #3 {
  %2 = alloca %"struct.std::array", align 4
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %2) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(272) %2, i8 0, i64 272, i1 false)
  call void @_ZNSt5arrayIS_I2miLm17EELm4EEC2Ev(ptr noundef nonnull align 4 dereferenceable(272) %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(272) @DP, ptr noundef nonnull align 4 dereferenceable(272) %2, i64 272, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %2) #6
  switch i8 %0, label %.preheader [
    i8 65, label %3
    i8 63, label %3
    i8 71, label %.preheader.sink.split
    i8 67, label %.thread29
    i8 84, label %5
  ]

3:                                                ; preds = %1, %1
  call void @_Z5checki(i32 noundef 0)
  %cond = icmp eq i8 %0, 63
  br i1 %cond, label %4, label %.preheader

4:                                                ; preds = %3
  call void @_Z5checki(i32 noundef 1)
  call void @_Z5checki(i32 noundef 2)
  br label %5

.thread29:                                        ; preds = %1
  br label %.preheader.sink.split

5:                                                ; preds = %4, %1
  br label %.preheader.sink.split

.preheader.sink.split:                            ; preds = %1, %5, %.thread29
  %.sink = phi i32 [ 2, %.thread29 ], [ 3, %5 ], [ 1, %1 ]
  call void @_Z5checki(i32 noundef %.sink)
  br label %.preheader

.preheader:                                       ; preds = %.preheader.sink.split, %3, %1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(272) @dp, ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 272, i1 false), !tbaa.struct !5
  br label %40

.preheader.1:                                     ; preds = %51, %16
  %indvars.iv.1 = phi i64 [ %indvars.iv.next.1, %16 ], [ 0, %51 ]
  %6 = and i64 %indvars.iv.1, 3
  %7 = icmp eq i64 %6, 1
  br i1 %7, label %8, label %16

8:                                                ; preds = %.preheader.1
  %9 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 noundef 1) #6
  %10 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %9, i64 noundef %indvars.iv.1) #6
  %11 = lshr i64 %indvars.iv.1, 2
  %12 = and i64 %11, 1073741823
  %13 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @dp, i64 noundef %12) #6
  %14 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %13, i64 noundef 16) #6
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %10)
  br label %16

16:                                               ; preds = %8, %.preheader.1
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.1.not = icmp eq i64 %indvars.iv.next.1, 16
  br i1 %exitcond.1.not, label %.preheader.2, label %.preheader.1, !llvm.loop !9

.preheader.2:                                     ; preds = %16, %27
  %indvars.iv.2 = phi i64 [ %indvars.iv.next.2, %27 ], [ 0, %16 ]
  %17 = and i64 %indvars.iv.2, 3
  %18 = icmp eq i64 %17, 2
  br i1 %18, label %19, label %27

19:                                               ; preds = %.preheader.2
  %20 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 noundef 2) #6
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %20, i64 noundef %indvars.iv.2) #6
  %22 = lshr i64 %indvars.iv.2, 2
  %23 = and i64 %22, 1073741823
  %24 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @dp, i64 noundef %23) #6
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %24, i64 noundef 16) #6
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %21)
  br label %27

27:                                               ; preds = %19, %.preheader.2
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %exitcond.2.not = icmp eq i64 %indvars.iv.next.2, 16
  br i1 %exitcond.2.not, label %.preheader.3, label %.preheader.2, !llvm.loop !9

.preheader.3:                                     ; preds = %27, %38
  %indvars.iv.3 = phi i64 [ %indvars.iv.next.3, %38 ], [ 0, %27 ]
  %28 = and i64 %indvars.iv.3, 3
  %29 = icmp eq i64 %28, 3
  br i1 %29, label %30, label %38

30:                                               ; preds = %.preheader.3
  %31 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 noundef 3) #6
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %31, i64 noundef %indvars.iv.3) #6
  %33 = lshr i64 %indvars.iv.3, 2
  %34 = and i64 %33, 1073741823
  %35 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @dp, i64 noundef %34) #6
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %35, i64 noundef 16) #6
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %32)
  br label %38

38:                                               ; preds = %30, %.preheader.3
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %exitcond.3.not = icmp eq i64 %indvars.iv.next.3, 16
  br i1 %exitcond.3.not, label %39, label %.preheader.3, !llvm.loop !9

39:                                               ; preds = %38
  ret void

40:                                               ; preds = %.preheader, %51
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next, %51 ]
  %41 = and i64 %indvars.iv, 3
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %51

43:                                               ; preds = %40
  %44 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @DP, i64 noundef 0) #6
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %44, i64 noundef %indvars.iv) #6
  %46 = lshr exact i64 %indvars.iv, 2
  %47 = and i64 %46, 1073741823
  %48 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZNSt5arrayIS_I2miLm17EELm4EEixEm(ptr noundef nonnull align 4 dereferenceable(272) @dp, i64 noundef %47) #6
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayI2miLm17EEixEm(ptr noundef nonnull align 4 dereferenceable(68) %48, i64 noundef 16) #6
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2mipLERKS_(ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %45)
  br label %51

51:                                               ; preds = %40, %43
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 16
  br i1 %exitcond.not, label %.preheader.1, label %40, !llvm.loop !9
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{i64 0, i64 272, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass