; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2018-19/Open 2019/Plat/escape (TLE).ll (Z3swav)

; 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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, std::pair<int, modInt<int>>>, std::allocator<std::pair<std::vector<int>, std::pair<int, modInt<int>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, std::pair<int, modInt<int>>>, std::allocator<std::pair<std::vector<int>, std::pair<int, modInt<int>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, std::pair<int, modInt<int>>>, std::allocator<std::pair<std::vector<int>, std::pair<int, modInt<int>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, std::pair<int, modInt<int>>>, std::allocator<std::pair<std::vector<int>, std::pair<int, modInt<int>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%class.anon = type { i8 }
%"struct.std::pair" = type { i32, %struct.modInt }
%struct.modInt = type { i32 }
%"struct.std::pair.14" = type { %"class.std::vector.8", %"struct.std::pair" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@cur = external dso_local global %"class.std::vector.3", align 8
@tmp = external dso_local global %"class.std::vector.3", align 8

; 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: mustprogress uwtable
define dso_local void @_Z3swav() #1 {
  %1 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %2 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %3 = alloca %class.anon, align 1
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::pair", align 4
  %6 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #4
  %7 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %1, i32 0, i32 0
  store ptr %6, ptr %7, align 8
  %8 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #4
  %9 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %2, i32 0, i32 0
  store ptr %8, ptr %9, align 8
  %10 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %1, i32 0, i32 0
  %11 = load ptr, ptr %10, align 8
  %12 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %2, i32 0, i32 0
  %13 = load ptr, ptr %12, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEES2_Ii6modIntIiEEES3_IS9_SaIS9_EEEEZ3swavE3$_0EvT_SF_T0_"(ptr %11, ptr %13)
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %45, %0
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = call noundef i64 @_ZNKSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #4
  %17 = trunc i64 %16 to i32
  %18 = icmp slt i32 %15, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %48

20:                                               ; preds = %14
  %21 = call noundef i64 @_ZNKSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #4
  %22 = trunc i64 %21 to i32
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %40

24:                                               ; preds = %20
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #4
  %26 = getelementptr inbounds %"struct.std::pair.14", ptr %25, i32 0, i32 0
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %28) #4
  %30 = getelementptr inbounds %"struct.std::pair.14", ptr %29, i32 0, i32 0
  %31 = call noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %30)
  br i1 %31, label %32, label %40

32:                                               ; preds = %24
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %34) #4
  %36 = getelementptr inbounds %"struct.std::pair.14", ptr %35, i32 0, i32 1
  %37 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #4
  %38 = getelementptr inbounds %"struct.std::pair.14", ptr %37, i32 0, i32 1
  %39 = call i64 @_ZpLISt4pairIi6modIntIiEES3_ET_RS4_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store i64 %39, ptr %5, align 4
  br label %44

40:                                               ; preds = %24, %20
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %42) #4
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE9push_backERKS6_(ptr noundef nonnull align 8 dereferenceable(24) @cur, ptr noundef nonnull align 8 dereferenceable(32) %43)
  br label %44

44:                                               ; preds = %40, %32
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %4, align 4, !tbaa !5
  br label %14, !llvm.loop !9

48:                                               ; preds = %19
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #4
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEES2_Ii6modIntIiEEES3_IS9_SaIS9_EEEEZ3swavE3$_0EvT_SF_T0_"(ptr, ptr) #2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZpLISt4pairIi6modIntIiEES3_ET_RS4_RKT0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

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

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


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

@cur = external dso_local global %"class.std::vector.3", align 8
@tmp = external dso_local global %"class.std::vector.3", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3swav() local_unnamed_addr #0 {
  %1 = tail call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #3
  %2 = tail call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #3
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEES2_Ii6modIntIiEEES3_IS9_SaIS9_EEEEZ3swavE3$_0EvT_SF_T0_"(ptr %1, ptr %2)
  tail call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #3
  %3 = tail call noundef i64 @_ZNKSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #3
  %4 = trunc i64 %3 to i32
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %20, %0
  tail call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #3
  ret void

.lr.ph:                                           ; preds = %0, %20
  %indvars.iv = phi i64 [ %indvars.iv.next, %20 ], [ 0, %0 ]
  %6 = tail call noundef i64 @_ZNKSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #3
  %7 = and i64 %6, 4294967295
  %.not = icmp eq i64 %7, 0
  br i1 %.not, label %18, label %8

8:                                                ; preds = %.lr.ph
  %9 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #3
  %10 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %indvars.iv) #3
  %11 = tail call noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
  br i1 %11, label %12, label %18

12:                                               ; preds = %8
  %13 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %indvars.iv) #3
  %14 = getelementptr inbounds i8, ptr %13, i64 24
  %15 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @cur) #3
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  %17 = tail call i64 @_ZpLISt4pairIi6modIntIiEES3_ET_RS4_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %14)
  br label %20

18:                                               ; preds = %8, %.lr.ph
  %19 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %indvars.iv) #3
  tail call void @_ZNSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE9push_backERKS6_(ptr noundef nonnull align 8 dereferenceable(24) @cur, ptr noundef nonnull align 8 dereferenceable(32) %19)
  br label %20

20:                                               ; preds = %12, %18
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %21 = tail call noundef i64 @_ZNKSt6vectorISt4pairIS_IiSaIiEES0_Ii6modIntIiEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @tmp) #3
  %sext = shl i64 %21, 32
  %22 = ashr exact i64 %sext, 32
  %23 = icmp slt i64 %indvars.iv.next, %22
  br i1 %23, label %.lr.ph, label %._crit_edge, !llvm.loop !5
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEES2_Ii6modIntIiEEES3_IS9_SaIS9_EEEEZ3swavE3$_0EvT_SF_T0_"(ptr, ptr) local_unnamed_addr #1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZpLISt4pairIi6modIntIiEES3_ET_RS4_RKT0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass