; LLVM IR from Dev-XYS/Algorithms :: Fast-Number-Theoretic-Transform (main)

; 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
@n0 = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@a0 = external dso_local global [500000 x i64], align 16
@a1 = external dso_local global [500000 x i64], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z4qpowxi(i64 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 nounwind uwtable
declare dso_local void @_Z3prePx(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dftPxi(ptr noundef, 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
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n0, ptr noundef @n1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %18, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = load i32, ptr @n0, align 4, !tbaa !5
  %11 = icmp sle i32 %9, %10
  br i1 %11, label %13, label %12

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

13:                                               ; preds = %8
  %14 = call noundef i64 @_Z4readv()
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %16
  store i64 %14, ptr %17, align 8, !tbaa !9
  br label %18

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

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

22:                                               ; preds = %32, %21
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = load i32, ptr @n1, align 4, !tbaa !5
  %25 = icmp sle i32 %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %35

27:                                               ; preds = %22
  %28 = call noundef i64 @_Z4readv()
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %30
  store i64 %28, ptr %31, align 8, !tbaa !9
  br label %32

32:                                               ; preds = %27
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %3, align 4, !tbaa !5
  br label %22, !llvm.loop !13

35:                                               ; preds = %26
  %36 = load i32, ptr @n0, align 4, !tbaa !5
  %37 = load i32, ptr @n1, align 4, !tbaa !5
  %38 = add nsw i32 %36, %37
  store i32 %38, ptr @n, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %42, %35
  %40 = load i32, ptr @n, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %47

42:                                               ; preds = %39
  %43 = load i32, ptr @k, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr @k, align 4, !tbaa !5
  %45 = load i32, ptr @n, align 4, !tbaa !5
  %46 = ashr i32 %45, 1
  store i32 %46, ptr @n, align 4, !tbaa !5
  br label %39, !llvm.loop !14

47:                                               ; preds = %39
  %48 = load i32, ptr @k, align 4, !tbaa !5
  %49 = shl i32 1, %48
  store i32 %49, ptr @n, align 4, !tbaa !5
  call void @_Z3prePx(ptr noundef @a0)
  call void @_Z3prePx(ptr noundef @a1)
  call void @_Z3dftPxi(ptr noundef @a0, i32 noundef 1)
  call void @_Z3dftPxi(ptr noundef @a1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %69, %47
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %72

55:                                               ; preds = %50
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !9
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %61
  %63 = load i64, ptr %62, align 8, !tbaa !9
  %64 = mul nsw i64 %59, %63
  %65 = srem i64 %64, 998244353
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %67
  store i64 %65, ptr %68, align 8, !tbaa !9
  br label %69

69:                                               ; preds = %55
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %4, align 4, !tbaa !5
  br label %50, !llvm.loop !15

72:                                               ; preds = %54
  call void @_Z3prePx(ptr noundef @a0)
  call void @_Z3dftPxi(ptr noundef @a0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %73 = load i32, ptr @n, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = call noundef i64 @_Z4qpowxi(i64 noundef %74, i32 noundef 998244351)
  store i64 %75, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %94, %72
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = load i32, ptr @n0, align 4, !tbaa !5
  %79 = load i32, ptr @n1, align 4, !tbaa !5
  %80 = add nsw i32 %78, %79
  %81 = icmp sle i32 %77, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %97

83:                                               ; preds = %76
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %85
  %87 = load i64, ptr %86, align 8, !tbaa !9
  %88 = load i64, ptr %5, align 8, !tbaa !9
  %89 = mul nsw i64 %87, %88
  %90 = srem i64 %89, 998244353
  %91 = add nsw i64 %90, 998244353
  %92 = srem i64 %91, 998244353
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %92)
  br label %94

94:                                               ; preds = %83
  %95 = load i32, ptr %6, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %6, align 4, !tbaa !5
  br label %76, !llvm.loop !16

97:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z4readv() #5

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

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 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 #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 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !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"

@n = external dso_local local_unnamed_addr global i32, align 4
@n0 = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@k = external dso_local local_unnamed_addr global i32, align 4
@a0 = external dso_local global [500000 x i64], align 16
@a1 = external dso_local global [500000 x i64], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3prePx(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dftPxi(ptr noundef, 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 @n0, ptr noundef nonnull @n1)
  %2 = load i32, ptr @n0, align 4, !tbaa !5
  %.not22 = icmp slt i32 %2, 0
  br i1 %.not22, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %0
  %3 = phi i32 [ %2, %0 ], [ %7, %.lr.ph ]
  %4 = load i32, ptr @n1, align 4, !tbaa !5
  %.not1924 = icmp slt i32 %4, 0
  br i1 %.not1924, label %._crit_edge, label %.lr.ph26

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %5 = tail call noundef i64 @_Z4readv()
  %6 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %indvars.iv
  store i64 %5, ptr %6, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %7 = load i32, ptr @n0, align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  %.not.not = icmp slt i64 %indvars.iv, %8
  br i1 %.not.not, label %.lr.ph, label %.preheader, !llvm.loop !11

._crit_edge.loopexit:                             ; preds = %.lr.ph26
  %.pre = load i32, ptr @n0, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %9 = phi i32 [ %3, %.preheader ], [ %.pre, %._crit_edge.loopexit ]
  %.lcssa = phi i32 [ %4, %.preheader ], [ %14, %._crit_edge.loopexit ]
  %10 = add nsw i32 %9, %.lcssa
  %k.promoted = load i32, ptr @k, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph29, label %19

.lr.ph26:                                         ; preds = %.preheader, %.lr.ph26
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %.lr.ph26 ], [ 0, %.preheader ]
  %12 = tail call noundef i64 @_Z4readv()
  %13 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %indvars.iv46
  store i64 %12, ptr %13, align 8, !tbaa !9
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %14 = load i32, ptr @n1, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %.not19.not = icmp slt i64 %indvars.iv46, %15
  br i1 %.not19.not, label %.lr.ph26, label %._crit_edge.loopexit, !llvm.loop !13

.lr.ph29:                                         ; preds = %._crit_edge, %.lr.ph29
  %storemerge27 = phi i32 [ %18, %.lr.ph29 ], [ %10, %._crit_edge ]
  %16 = phi i32 [ %17, %.lr.ph29 ], [ %k.promoted, %._crit_edge ]
  %17 = add nsw i32 %16, 1
  %18 = lshr i32 %storemerge27, 1
  %.not = icmp ult i32 %storemerge27, 2
  br i1 %.not, label %._crit_edge30, label %.lr.ph29, !llvm.loop !14

._crit_edge30:                                    ; preds = %.lr.ph29
  store i32 %17, ptr @k, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %._crit_edge30, %._crit_edge
  %20 = phi i32 [ %17, %._crit_edge30 ], [ %k.promoted, %._crit_edge ]
  %21 = shl nuw i32 1, %20
  store i32 %21, ptr @n, align 4, !tbaa !5
  tail call void @_Z3prePx(ptr noundef nonnull @a0)
  tail call void @_Z3prePx(ptr noundef nonnull @a1)
  tail call void @_Z3dftPxi(ptr noundef nonnull @a0, i32 noundef 1)
  tail call void @_Z3dftPxi(ptr noundef nonnull @a1, i32 noundef 1)
  %22 = load i32, ptr @n, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph35.preheader, label %._crit_edge36

.lr.ph35.preheader:                               ; preds = %19
  %wide.trip.count = zext nneg i32 %22 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %24 = icmp eq i32 %22, 1
  br i1 %24, label %._crit_edge36.loopexit.unr-lcssa, label %.lr.ph35.preheader.new

.lr.ph35.preheader.new:                           ; preds = %.lr.ph35.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %.lr.ph35

._crit_edge36.loopexit.unr-lcssa:                 ; preds = %.lr.ph35, %.lr.ph35.preheader
  %indvars.iv49.unr = phi i64 [ 0, %.lr.ph35.preheader ], [ %indvars.iv.next50.1, %.lr.ph35 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge36, label %.lr.ph35.epil

.lr.ph35.epil:                                    ; preds = %._crit_edge36.loopexit.unr-lcssa
  %25 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %indvars.iv49.unr
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %indvars.iv49.unr
  %28 = load i64, ptr %27, align 8, !tbaa !9
  %29 = mul nsw i64 %28, %26
  %30 = srem i64 %29, 998244353
  store i64 %30, ptr %25, align 8, !tbaa !9
  br label %._crit_edge36

._crit_edge36:                                    ; preds = %.lr.ph35.epil, %._crit_edge36.loopexit.unr-lcssa, %19
  tail call void @_Z3prePx(ptr noundef nonnull @a0)
  tail call void @_Z3dftPxi(ptr noundef nonnull @a0, i32 noundef -1)
  %31 = load i32, ptr @n, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = tail call noundef i64 @_Z4qpowxi(i64 noundef %32, i32 noundef 998244351)
  %34 = load i32, ptr @n0, align 4, !tbaa !5
  %35 = load i32, ptr @n1, align 4, !tbaa !5
  %36 = add nsw i32 %35, %34
  %.not2037 = icmp slt i32 %36, 0
  br i1 %.not2037, label %._crit_edge41, label %.lr.ph40

.lr.ph35:                                         ; preds = %.lr.ph35, %.lr.ph35.preheader.new
  %indvars.iv49 = phi i64 [ 0, %.lr.ph35.preheader.new ], [ %indvars.iv.next50.1, %.lr.ph35 ]
  %niter = phi i64 [ 0, %.lr.ph35.preheader.new ], [ %niter.next.1, %.lr.ph35 ]
  %37 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %indvars.iv49
  %38 = load i64, ptr %37, align 16, !tbaa !9
  %39 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %indvars.iv49
  %40 = load i64, ptr %39, align 16, !tbaa !9
  %41 = mul nsw i64 %40, %38
  %42 = srem i64 %41, 998244353
  store i64 %42, ptr %37, align 16, !tbaa !9
  %indvars.iv.next50 = or disjoint i64 %indvars.iv49, 1
  %43 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %indvars.iv.next50
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds [500000 x i64], ptr @a1, i64 0, i64 %indvars.iv.next50
  %46 = load i64, ptr %45, align 8, !tbaa !9
  %47 = mul nsw i64 %46, %44
  %48 = srem i64 %47, 998244353
  store i64 %48, ptr %43, align 8, !tbaa !9
  %indvars.iv.next50.1 = add nuw nsw i64 %indvars.iv49, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge36.loopexit.unr-lcssa, label %.lr.ph35, !llvm.loop !15

._crit_edge41:                                    ; preds = %.lr.ph40, %._crit_edge36
  ret i32 0

.lr.ph40:                                         ; preds = %._crit_edge36, %.lr.ph40
  %indvars.iv52 = phi i64 [ %indvars.iv.next53, %.lr.ph40 ], [ 0, %._crit_edge36 ]
  %49 = getelementptr inbounds [500000 x i64], ptr @a0, i64 0, i64 %indvars.iv52
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %.fr = freeze i64 %50
  %51 = mul i64 %.fr, %33
  %52 = srem i64 %51, 998244353
  %53 = add nsw i64 %52, 998244353
  %.cmp = icmp ugt i64 %52, -998244354
  %54 = select i1 %.cmp, i64 %53, i64 %52
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %54)
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %56 = load i32, ptr @n0, align 4, !tbaa !5
  %57 = load i32, ptr @n1, align 4, !tbaa !5
  %58 = add nsw i32 %57, %56
  %59 = sext i32 %58 to i64
  %.not20.not = icmp slt i64 %indvars.iv52, %59
  br i1 %.not20.not, label %.lr.ph40, label %._crit_edge41, !llvm.loop !16
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z4readv() local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { 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 #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 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" }

!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 = !{!10, !10, i64 0}
!10 = !{!"long long", !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: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass