; LLVM IR from AdarshGaur/Competitive-Programming :: Codeforces/Codeforces Round #785 (Div. 2)/C. Palindrome Basis.ll (Z3prev)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@palins = external dso_local global %"class.std::vector", align 8
@dp = external dso_local global [40007 x [500 x i64]], align 16
@ans = external dso_local global [40007 x i64], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isPalinl(i64 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 uwtable
define dso_local void @_Z3prev() #2 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  store i64 0, ptr %1, align 8, !tbaa !5
  br label %7

7:                                                ; preds = %16, %0
  %8 = load i64, ptr %1, align 8, !tbaa !5
  %9 = icmp slt i64 %8, 40007
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  br label %19

11:                                               ; preds = %7
  %12 = load i64, ptr %1, align 8, !tbaa !5
  %13 = call noundef zeroext i1 @_Z7isPalinl(i64 noundef %12)
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  call void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) @palins, ptr noundef nonnull align 8 dereferenceable(8) %1)
  br label %15

15:                                               ; preds = %14, %11
  br label %16

16:                                               ; preds = %15
  %17 = load i64, ptr %1, align 8, !tbaa !5
  %18 = add nsw i64 %17, 1
  store i64 %18, ptr %1, align 8, !tbaa !5
  br label %7, !llvm.loop !9

19:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  %20 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @palins) #3
  store i64 %20, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store i64 0, ptr %3, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %29, %19
  %22 = load i64, ptr %3, align 8, !tbaa !5
  %23 = load i64, ptr %2, align 8, !tbaa !5
  %24 = icmp slt i64 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %32

26:                                               ; preds = %21
  %27 = load i64, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds [500 x i64], ptr @dp, i64 0, i64 %27
  store i64 1, ptr %28, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %26
  %30 = load i64, ptr %3, align 8, !tbaa !5
  %31 = add nsw i64 %30, 1
  store i64 %31, ptr %3, align 8, !tbaa !5
  br label %21, !llvm.loop !11

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  store i64 1, ptr %4, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %97, %32
  %34 = load i64, ptr %4, align 8, !tbaa !5
  %35 = icmp slt i64 %34, 40007
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  br label %100

37:                                               ; preds = %33
  %38 = load i64, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %38
  %40 = getelementptr inbounds [500 x i64], ptr %39, i64 0, i64 0
  store i64 0, ptr %40, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store i64 1, ptr %6, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %85, %37
  %42 = load i64, ptr %6, align 8, !tbaa !5
  %43 = load i64, ptr %2, align 8, !tbaa !5
  %44 = icmp slt i64 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %88

46:                                               ; preds = %41
  %47 = load i64, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %47
  %49 = load i64, ptr %6, align 8, !tbaa !5
  %50 = sub nsw i64 %49, 1
  %51 = getelementptr inbounds [500 x i64], ptr %48, i64 0, i64 %50
  %52 = load i64, ptr %51, align 8, !tbaa !5
  %53 = load i64, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %53
  %55 = load i64, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds [500 x i64], ptr %54, i64 0, i64 %55
  store i64 %52, ptr %56, align 8, !tbaa !5
  %57 = load i64, ptr %6, align 8, !tbaa !5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @palins, i64 noundef %57) #3
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %60 = load i64, ptr %4, align 8, !tbaa !5
  %61 = icmp sle i64 %59, %60
  br i1 %61, label %62, label %78

62:                                               ; preds = %46
  %63 = load i64, ptr %4, align 8, !tbaa !5
  %64 = load i64, ptr %6, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @palins, i64 noundef %64) #3
  %66 = load i64, ptr %65, align 8, !tbaa !5
  %67 = sub nsw i64 %63, %66
  %68 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %67
  %69 = load i64, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds [500 x i64], ptr %68, i64 0, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = load i64, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %72
  %74 = load i64, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds [500 x i64], ptr %73, i64 0, i64 %74
  %76 = load i64, ptr %75, align 8, !tbaa !5
  %77 = add nsw i64 %76, %71
  store i64 %77, ptr %75, align 8, !tbaa !5
  br label %78

78:                                               ; preds = %62, %46
  %79 = load i64, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %79
  %81 = load i64, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds [500 x i64], ptr %80, i64 0, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !5
  %84 = srem i64 %83, 1000000007
  store i64 %84, ptr %82, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %78
  %86 = load i64, ptr %6, align 8, !tbaa !5
  %87 = add nsw i64 %86, 1
  store i64 %87, ptr %6, align 8, !tbaa !5
  br label %41, !llvm.loop !12

88:                                               ; preds = %45
  %89 = load i64, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %89
  %91 = load i64, ptr %2, align 8, !tbaa !5
  %92 = sub nsw i64 %91, 1
  %93 = getelementptr inbounds [500 x i64], ptr %90, i64 0, i64 %92
  %94 = load i64, ptr %93, align 8, !tbaa !5
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds [40007 x i64], ptr @ans, i64 0, i64 %95
  store i64 %94, ptr %96, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %88
  %98 = load i64, ptr %4, align 8, !tbaa !5
  %99 = add nsw i64 %98, 1
  store i64 %99, ptr %4, align 8, !tbaa !5
  br label %33, !llvm.loop !13

100:                                              ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

attributes #0 = { 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 #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 = { 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", !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 = distinct !{!12, !10}
!13 = distinct !{!13, !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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@palins = external dso_local global %"class.std::vector", align 8
@dp = external dso_local local_unnamed_addr global [40007 x [500 x i64]], align 16
@ans = external dso_local local_unnamed_addr global [40007 x i64], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isPalinl(i64 noundef) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3prev() local_unnamed_addr #2 {
  %1 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
  store i64 0, ptr %1, align 8, !tbaa !5
  br label %9

2:                                                ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
  %3 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @palins) #3
  %4 = icmp sgt i64 %3, 0
  br i1 %4, label %.lr.ph.preheader, label %.preheader.thread

.lr.ph.preheader:                                 ; preds = %2
  %min.iters.check = icmp ult i64 %3, 4
  br i1 %min.iters.check, label %.lr.ph.preheader43, label %vector.ph

.lr.ph.preheader43:                               ; preds = %middle.block, %.lr.ph.preheader
  %.02731.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %3, 9223372036854775804
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %5 = getelementptr inbounds [500 x i64], ptr @dp, i64 0, i64 %index
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  store <2 x i64> <i64 1, i64 1>, ptr %5, align 16, !tbaa !5
  store <2 x i64> <i64 1, i64 1>, ptr %6, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %7 = icmp eq i64 %index.next, %n.vec
  br i1 %7, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %3, %n.vec
  br i1 %cmp.n, label %.preheader, label %.lr.ph.preheader43

.preheader.thread:                                ; preds = %2
  %8 = add nsw i64 %3, -1
  br label %.preheader.split.preheader

9:                                                ; preds = %0, %12
  %storemerge30 = phi i64 [ 0, %0 ], [ %14, %12 ]
  %10 = call noundef zeroext i1 @_Z7isPalinl(i64 noundef %storemerge30)
  br i1 %10, label %11, label %12

11:                                               ; preds = %9
  call void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) @palins, ptr noundef nonnull align 8 dereferenceable(8) %1)
  br label %12

12:                                               ; preds = %9, %11
  %13 = load i64, ptr %1, align 8, !tbaa !5
  %14 = add nsw i64 %13, 1
  store i64 %14, ptr %1, align 8, !tbaa !5
  %15 = icmp slt i64 %13, 40006
  br i1 %15, label %9, label %2, !llvm.loop !13

.preheader:                                       ; preds = %.lr.ph, %middle.block
  %.not = icmp eq i64 %3, 1
  %16 = add nsw i64 %3, -1
  br i1 %.not, label %.preheader.split.preheader, label %.lr.ph33.us

.preheader.split.preheader:                       ; preds = %.preheader.thread, %.preheader
  %17 = phi i64 [ %8, %.preheader.thread ], [ %16, %.preheader ]
  br label %.preheader.split

.lr.ph33.us:                                      ; preds = %.preheader, %._crit_edge.us
  %.02634.us = phi i64 [ %39, %._crit_edge.us ], [ 1, %.preheader ]
  %18 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %.02634.us
  store i64 0, ptr %18, align 16, !tbaa !5
  br label %19

19:                                               ; preds = %.lr.ph33.us, %32
  %20 = phi i64 [ 0, %.lr.ph33.us ], [ %34, %32 ]
  %.032.us = phi i64 [ 1, %.lr.ph33.us ], [ %35, %32 ]
  %21 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %.02634.us, i64 %.032.us
  store i64 %20, ptr %21, align 8, !tbaa !5
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @palins, i64 noundef %.032.us) #3
  %23 = load i64, ptr %22, align 8, !tbaa !5
  %.not.us = icmp sgt i64 %23, %.02634.us
  br i1 %.not.us, label %._crit_edge, label %24

._crit_edge:                                      ; preds = %19
  %.pre39 = load i64, ptr %21, align 8, !tbaa !5
  br label %32

24:                                               ; preds = %19
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @palins, i64 noundef %.032.us) #3
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = sub nsw i64 %.02634.us, %26
  %28 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %27, i64 %.032.us
  %29 = load i64, ptr %28, align 8, !tbaa !5
  %30 = load i64, ptr %21, align 8, !tbaa !5
  %31 = add nsw i64 %30, %29
  br label %32

32:                                               ; preds = %._crit_edge, %24
  %33 = phi i64 [ %.pre39, %._crit_edge ], [ %31, %24 ]
  %34 = srem i64 %33, 1000000007
  store i64 %34, ptr %21, align 8, !tbaa !5
  %35 = add nuw nsw i64 %.032.us, 1
  %exitcond37.not = icmp eq i64 %35, %3
  br i1 %exitcond37.not, label %._crit_edge.us, label %19, !llvm.loop !14

._crit_edge.us:                                   ; preds = %32
  %36 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %.02634.us, i64 %16
  %37 = load i64, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds [40007 x i64], ptr @ans, i64 0, i64 %.02634.us
  store i64 %37, ptr %38, align 8, !tbaa !5
  %39 = add nuw nsw i64 %.02634.us, 1
  %exitcond38.not = icmp eq i64 %39, 40007
  br i1 %exitcond38.not, label %.split.us, label %.lr.ph33.us, !llvm.loop !15

.lr.ph:                                           ; preds = %.lr.ph.preheader43, %.lr.ph
  %.02731 = phi i64 [ %41, %.lr.ph ], [ %.02731.ph, %.lr.ph.preheader43 ]
  %40 = getelementptr inbounds [500 x i64], ptr @dp, i64 0, i64 %.02731
  store i64 1, ptr %40, align 8, !tbaa !5
  %41 = add nuw nsw i64 %.02731, 1
  %exitcond.not = icmp eq i64 %41, %3
  br i1 %exitcond.not, label %.preheader, label %.lr.ph, !llvm.loop !16

.split.us:                                        ; preds = %._crit_edge.us, %.preheader.split
  ret void

.preheader.split:                                 ; preds = %.preheader.split, %.preheader.split.preheader
  %.02634 = phi i64 [ 1, %.preheader.split.preheader ], [ %51, %.preheader.split ]
  %42 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %.02634
  store i64 0, ptr %42, align 16, !tbaa !5
  %43 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %.02634, i64 %17
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds [40007 x i64], ptr @ans, i64 0, i64 %.02634
  store i64 %44, ptr %45, align 8, !tbaa !5
  %46 = add nuw nsw i64 %.02634, 1
  %47 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %46
  store i64 0, ptr %47, align 16, !tbaa !5
  %48 = getelementptr inbounds [40007 x [500 x i64]], ptr @dp, i64 0, i64 %46, i64 %17
  %49 = load i64, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds [40007 x i64], ptr @ans, i64 0, i64 %46
  store i64 %49, ptr %50, align 8, !tbaa !5
  %51 = add nuw nsw i64 %.02634, 2
  %exitcond36.not.1 = icmp eq i64 %51, 40007
  br i1 %exitcond36.not.1, label %.split.us, label %.preheader.split, !llvm.loop !15
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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 #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 = { 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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !12, !11}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass