; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/LUCIFER/A.ll (Z3getSt6vectorIiSaIiEEb)

; 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<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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@primes = external dso_local global %"class.std::vector", align 8
@dp = external dso_local global [12 x [100 x [2 x i64]]], align 16

; 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 nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i64 @_Z3getSt6vectorIiSaIiEEb(ptr noundef %0, i1 noundef zeroext %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %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 i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %21 = zext i1 %1 to i8
  store i8 %21, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %22 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %23 = trunc i64 %22 to i32
  store i32 %23, ptr %5, align 4, !tbaa !11
  call void @llvm.memset.p0.i64(ptr align 16 @dp, i8 0, i64 19200, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 50, ptr %6, align 4, !tbaa !11
  %24 = load i32, ptr %6, align 4, !tbaa !11
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [100 x [2 x i64]], ptr @dp, i64 0, i64 %25
  %27 = getelementptr inbounds [2 x i64], ptr %26, i64 0, i64 1
  store i64 1, ptr %27, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %28

28:                                               ; preds = %132, %2
  %29 = load i32, ptr %7, align 4, !tbaa !11
  %30 = load i32, ptr %5, align 4, !tbaa !11
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %135

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 -45, ptr %9, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %128, %33
  %35 = load i32, ptr %9, align 4, !tbaa !11
  %36 = icmp sle i32 %35, 45
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %131

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %39

39:                                               ; preds = %124, %38
  %40 = load i32, ptr %10, align 4, !tbaa !11
  %41 = icmp slt i32 %40, 2
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %127

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %44 = load i32, ptr %7, align 4, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %45
  %47 = load i32, ptr %6, align 4, !tbaa !11
  %48 = load i32, ptr %9, align 4, !tbaa !11
  %49 = add nsw i32 %47, %48
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [100 x [2 x i64]], ptr %46, i64 0, i64 %50
  %52 = load i32, ptr %10, align 4, !tbaa !11
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [2 x i64], ptr %51, i64 0, i64 %53
  %55 = load i64, ptr %54, align 8, !tbaa !13
  store i64 %55, ptr %11, align 8, !tbaa !13
  %56 = load i64, ptr %11, align 8, !tbaa !13
  %57 = icmp ne i64 %56, 0
  br i1 %57, label %59, label %58

58:                                               ; preds = %43
  store i32 10, ptr %8, align 4
  br label %121

59:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %60 = load i32, ptr %10, align 4, !tbaa !11
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %67

62:                                               ; preds = %59
  %63 = load i32, ptr %7, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %64) #4
  %66 = load i32, ptr %65, align 4, !tbaa !11
  br label %68

67:                                               ; preds = %59
  br label %68

68:                                               ; preds = %67, %62
  %69 = phi i32 [ %66, %62 ], [ 9, %67 ]
  store i32 %69, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %70

70:                                               ; preds = %117, %68
  %71 = load i32, ptr %13, align 4, !tbaa !11
  %72 = load i32, ptr %12, align 4, !tbaa !11
  %73 = icmp sle i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %120

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %76 = load i32, ptr %10, align 4, !tbaa !11
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %85

78:                                               ; preds = %75
  %79 = load i32, ptr %13, align 4, !tbaa !11
  %80 = load i32, ptr %7, align 4, !tbaa !11
  %81 = sext i32 %80 to i64
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %81) #4
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = icmp eq i32 %79, %83
  br label %85

85:                                               ; preds = %78, %75
  %86 = phi i1 [ false, %75 ], [ %84, %78 ]
  %87 = zext i1 %86 to i32
  store i32 %87, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %88 = load i32, ptr %9, align 4, !tbaa !11
  %89 = load i32, ptr %5, align 4, !tbaa !11
  %90 = load i32, ptr %7, align 4, !tbaa !11
  %91 = sub nsw i32 %89, %90
  %92 = srem i32 %91, 2
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %94, label %97

94:                                               ; preds = %85
  %95 = load i32, ptr %13, align 4, !tbaa !11
  %96 = sub nsw i32 0, %95
  br label %99

97:                                               ; preds = %85
  %98 = load i32, ptr %13, align 4, !tbaa !11
  br label %99

99:                                               ; preds = %97, %94
  %100 = phi i32 [ %96, %94 ], [ %98, %97 ]
  %101 = add nsw i32 %88, %100
  store i32 %101, ptr %15, align 4, !tbaa !11
  %102 = load i64, ptr %11, align 8, !tbaa !13
  %103 = load i32, ptr %7, align 4, !tbaa !11
  %104 = add nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %105
  %107 = load i32, ptr %6, align 4, !tbaa !11
  %108 = load i32, ptr %15, align 4, !tbaa !11
  %109 = add nsw i32 %107, %108
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [100 x [2 x i64]], ptr %106, i64 0, i64 %110
  %112 = load i32, ptr %14, align 4, !tbaa !11
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [2 x i64], ptr %111, i64 0, i64 %113
  %115 = load i64, ptr %114, align 8, !tbaa !13
  %116 = add nsw i64 %115, %102
  store i64 %116, ptr %114, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %117

117:                                              ; preds = %99
  %118 = load i32, ptr %13, align 4, !tbaa !11
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %13, align 4, !tbaa !11
  br label %70, !llvm.loop !15

120:                                              ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  store i32 0, ptr %8, align 4
  br label %121

121:                                              ; preds = %120, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %122 = load i32, ptr %8, align 4
  switch i32 %122, label %178 [
    i32 0, label %123
    i32 10, label %124
  ]

123:                                              ; preds = %121
  br label %124

124:                                              ; preds = %123, %121
  %125 = load i32, ptr %10, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %10, align 4, !tbaa !11
  br label %39, !llvm.loop !17

127:                                              ; preds = %42
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %9, align 4, !tbaa !11
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %9, align 4, !tbaa !11
  br label %34, !llvm.loop !18

131:                                              ; preds = %37
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %7, align 4, !tbaa !11
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %7, align 4, !tbaa !11
  br label %28, !llvm.loop !19

135:                                              ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store ptr @primes, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %136 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #4
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %138 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #4
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %138, ptr %139, align 8
  br label %140

140:                                              ; preds = %174, %135
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  br i1 %141, label %143, label %142

142:                                              ; preds = %140
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %176

143:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %145 = load i32, ptr %144, align 4, !tbaa !11
  store i32 %145, ptr %20, align 4, !tbaa !11
  %146 = load i32, ptr %5, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %147
  %149 = load i32, ptr %6, align 4, !tbaa !11
  %150 = load i32, ptr %20, align 4, !tbaa !11
  %151 = add nsw i32 %149, %150
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [100 x [2 x i64]], ptr %148, i64 0, i64 %152
  %154 = getelementptr inbounds [2 x i64], ptr %153, i64 0, i64 0
  %155 = load i64, ptr %154, align 16, !tbaa !13
  %156 = load i64, ptr %16, align 8, !tbaa !13
  %157 = add nsw i64 %156, %155
  store i64 %157, ptr %16, align 8, !tbaa !13
  %158 = load i8, ptr %4, align 1, !tbaa !9, !range !20, !noundef !21
  %159 = trunc i8 %158 to i1
  br i1 %159, label %160, label %173

160:                                              ; preds = %143
  %161 = load i32, ptr %5, align 4, !tbaa !11
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %162
  %164 = load i32, ptr %6, align 4, !tbaa !11
  %165 = load i32, ptr %20, align 4, !tbaa !11
  %166 = add nsw i32 %164, %165
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [100 x [2 x i64]], ptr %163, i64 0, i64 %167
  %169 = getelementptr inbounds [2 x i64], ptr %168, i64 0, i64 1
  %170 = load i64, ptr %169, align 8, !tbaa !13
  %171 = load i64, ptr %16, align 8, !tbaa !13
  %172 = add nsw i64 %171, %170
  store i64 %172, ptr %16, align 8, !tbaa !13
  br label %173

173:                                              ; preds = %160, %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %174

174:                                              ; preds = %173
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  br label %140

176:                                              ; preds = %142
  %177 = load i64, ptr %16, align 8, !tbaa !13
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret i64 %177

178:                                              ; preds = %121
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { inlinehint 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{i8 0, i8 2}
!21 = !{}


; 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<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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@primes = external dso_local global %"class.std::vector", align 8
@dp = external dso_local local_unnamed_addr global [12 x [100 x [2 x i64]]], align 16

; 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 nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i64 @_Z3getSt6vectorIiSaIiEEb(ptr noundef nonnull %0, i1 noundef zeroext %1) local_unnamed_addr #1 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %6 = trunc i64 %5 to i32
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(19200) @dp, i8 0, i64 19200, i1 false)
  store i64 1, ptr getelementptr inbounds (i8, ptr @dp, i64 808), align 8, !tbaa !5
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.preheader50.preheader, label %._crit_edge

.preheader50.preheader:                           ; preds = %2
  %wide.trip.count = and i64 %5, 2147483647
  br label %.preheader50

.preheader50:                                     ; preds = %.preheader50.preheader, %.split65.us
  %indvars.iv129 = phi i64 [ 0, %.preheader50.preheader ], [ %indvars.iv.next130, %.split65.us ]
  %8 = trunc nuw nsw i64 %indvars.iv129 to i32
  %9 = sub i32 %6, %8
  %10 = and i32 %9, -2147483647
  %11 = icmp eq i32 %10, 1
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  br i1 %11, label %.preheader.us.us, label %.preheader

.preheader.us.us:                                 ; preds = %.preheader50, %.loopexit.us.us.us.us.1
  %indvars.iv125 = phi i64 [ %indvars.iv.next126, %.loopexit.us.us.us.us.1 ], [ -45, %.preheader50 ]
  %12 = add nsw i64 %indvars.iv125, 50
  %13 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv129, i64 %12, i64 0
  %14 = load i64, ptr %13, align 16, !tbaa !5
  %.not.us.us.us.us = icmp eq i64 %14, 0
  br i1 %.not.us.us.us.us, label %.loopexit.us.us.us.us, label %.lr.ph.split.us.us.us.us.us

.loopexit.us.us.us.us:                            ; preds = %.lr.ph.split.us.us.us.us.us, %.preheader.us.us
  %15 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv129, i64 %12, i64 1
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %.not.us.us.us.us.1 = icmp eq i64 %16, 0
  br i1 %.not.us.us.us.us.1, label %.loopexit.us.us.us.us.1, label %17

17:                                               ; preds = %.loopexit.us.us.us.us
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv129) #4
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %.not4951.us.us.us.us.1 = icmp slt i32 %19, 0
  br i1 %.not4951.us.us.us.us.1, label %.loopexit.us.us.us.us.1, label %.lr.ph.split.us57.us.us.us.preheader.1

.lr.ph.split.us57.us.us.us.preheader.1:           ; preds = %17
  %20 = add nuw i32 %19, 1
  %wide.trip.count.1124 = zext i32 %20 to i64
  br label %.lr.ph.split.us57.us.us.us.1

.lr.ph.split.us57.us.us.us.1:                     ; preds = %.lr.ph.split.us57.us.us.us.1, %.lr.ph.split.us57.us.us.us.preheader.1
  %indvars.iv112.1 = phi i64 [ 0, %.lr.ph.split.us57.us.us.us.preheader.1 ], [ %indvars.iv.next113.1, %.lr.ph.split.us57.us.us.us.1 ]
  %21 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv129) #4
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = zext i32 %22 to i64
  %24 = icmp eq i64 %indvars.iv112.1, %23
  %25 = sub nsw i64 %12, %indvars.iv112.1
  %26 = zext i1 %24 to i64
  %27 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %25, i64 %26
  %28 = load i64, ptr %27, align 8, !tbaa !5
  %29 = add nsw i64 %28, %16
  store i64 %29, ptr %27, align 8, !tbaa !5
  %indvars.iv.next113.1 = add nuw nsw i64 %indvars.iv112.1, 1
  %exitcond115.1.not = icmp eq i64 %indvars.iv.next113.1, %wide.trip.count.1124
  br i1 %exitcond115.1.not, label %.loopexit.us.us.us.us.1, label %.lr.ph.split.us57.us.us.us.1, !llvm.loop !11

.loopexit.us.us.us.us.1:                          ; preds = %.lr.ph.split.us57.us.us.us.1, %17, %.loopexit.us.us.us.us
  %indvars.iv.next126 = add nsw i64 %indvars.iv125, 1
  %exitcond128.not = icmp eq i64 %indvars.iv.next126, 46
  br i1 %exitcond128.not, label %.split65.us, label %.preheader.us.us, !llvm.loop !13

.lr.ph.split.us.us.us.us.us:                      ; preds = %.preheader.us.us
  %30 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %12, i64 0
  %31 = load i64, ptr %30, align 16, !tbaa !5
  %32 = add nsw i64 %31, %14
  store i64 %32, ptr %30, align 16, !tbaa !5
  %33 = add nsw i64 %indvars.iv125, 49
  %34 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %33, i64 0
  %35 = load i64, ptr %34, align 16, !tbaa !5
  %36 = add nsw i64 %35, %14
  store i64 %36, ptr %34, align 16, !tbaa !5
  %37 = add nsw i64 %indvars.iv125, 48
  %38 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %37, i64 0
  %39 = load i64, ptr %38, align 16, !tbaa !5
  %40 = add nsw i64 %39, %14
  store i64 %40, ptr %38, align 16, !tbaa !5
  %41 = add nsw i64 %indvars.iv125, 47
  %42 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %41, i64 0
  %43 = load i64, ptr %42, align 16, !tbaa !5
  %44 = add nsw i64 %43, %14
  store i64 %44, ptr %42, align 16, !tbaa !5
  %45 = add nsw i64 %indvars.iv125, 46
  %46 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %45, i64 0
  %47 = load i64, ptr %46, align 16, !tbaa !5
  %48 = add nsw i64 %47, %14
  store i64 %48, ptr %46, align 16, !tbaa !5
  %49 = add nsw i64 %indvars.iv125, 45
  %50 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %49, i64 0
  %51 = load i64, ptr %50, align 16, !tbaa !5
  %52 = add nsw i64 %51, %14
  store i64 %52, ptr %50, align 16, !tbaa !5
  %53 = add nsw i64 %indvars.iv125, 44
  %54 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %53, i64 0
  %55 = load i64, ptr %54, align 16, !tbaa !5
  %56 = add nsw i64 %55, %14
  store i64 %56, ptr %54, align 16, !tbaa !5
  %57 = add nsw i64 %indvars.iv125, 43
  %58 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %57, i64 0
  %59 = load i64, ptr %58, align 16, !tbaa !5
  %60 = add nsw i64 %59, %14
  store i64 %60, ptr %58, align 16, !tbaa !5
  %61 = add nsw i64 %indvars.iv125, 42
  %62 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %61, i64 0
  %63 = load i64, ptr %62, align 16, !tbaa !5
  %64 = add nsw i64 %63, %14
  store i64 %64, ptr %62, align 16, !tbaa !5
  %65 = add nsw i64 %indvars.iv125, 41
  %66 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %65, i64 0
  %67 = load i64, ptr %66, align 16, !tbaa !5
  %68 = add nsw i64 %67, %14
  store i64 %68, ptr %66, align 16, !tbaa !5
  br label %.loopexit.us.us.us.us

._crit_edge:                                      ; preds = %.split65.us, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %69 = tail call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #4
  store ptr %69, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %70 = tail call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #4
  store ptr %70, ptr %4, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  br i1 %71, label %.lr.ph69, label %._crit_edge70

.lr.ph69:                                         ; preds = %._crit_edge
  %sext = shl i64 %5, 32
  %72 = ashr exact i64 %sext, 32
  br i1 %1, label %.lr.ph69.split.us, label %.lr.ph69.split

.lr.ph69.split.us:                                ; preds = %.lr.ph69, %.lr.ph69.split.us
  %.04167.us = phi i64 [ %82, %.lr.ph69.split.us ], [ 0, %.lr.ph69 ]
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = add nsw i32 %74, 50
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %72, i64 %76
  %78 = load i64, ptr %77, align 16, !tbaa !5
  %79 = add nsw i64 %78, %.04167.us
  %80 = getelementptr inbounds i8, ptr %77, i64 8
  %81 = load i64, ptr %80, align 8, !tbaa !5
  %82 = add nsw i64 %81, %79
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  br i1 %84, label %.lr.ph69.split.us, label %._crit_edge70

.preheader:                                       ; preds = %.preheader50, %.loopexit.1
  %indvars.iv = phi i64 [ %indvars.iv.next, %.loopexit.1 ], [ -45, %.preheader50 ]
  %85 = add nsw i64 %indvars.iv, 50
  %86 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv129, i64 %85, i64 0
  %87 = load i64, ptr %86, align 16, !tbaa !5
  %.not = icmp eq i64 %87, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.split.us.split

.split65.us:                                      ; preds = %.loopexit.1, %.loopexit.us.us.us.us.1
  %exitcond132.not = icmp eq i64 %indvars.iv.next130, %wide.trip.count
  br i1 %exitcond132.not, label %._crit_edge, label %.preheader50, !llvm.loop !14

.lr.ph.split.us.split:                            ; preds = %.preheader
  %sext135 = shl i64 %85, 32
  %88 = ashr exact i64 %sext135, 32
  %89 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %88, i64 0
  %90 = load i64, ptr %89, align 16, !tbaa !5
  %91 = add nsw i64 %90, %87
  store i64 %91, ptr %89, align 16, !tbaa !5
  %92 = shl i64 %indvars.iv, 32
  %sext135.1 = add i64 %92, 219043332096
  %93 = ashr exact i64 %sext135.1, 32
  %94 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %93, i64 0
  %95 = load i64, ptr %94, align 16, !tbaa !5
  %96 = add nsw i64 %95, %87
  store i64 %96, ptr %94, align 16, !tbaa !5
  %97 = shl i64 %indvars.iv, 32
  %sext135.2 = add i64 %97, 223338299392
  %98 = ashr exact i64 %sext135.2, 32
  %99 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %98, i64 0
  %100 = load i64, ptr %99, align 16, !tbaa !5
  %101 = add nsw i64 %100, %87
  store i64 %101, ptr %99, align 16, !tbaa !5
  %102 = shl i64 %indvars.iv, 32
  %sext135.3 = add i64 %102, 227633266688
  %103 = ashr exact i64 %sext135.3, 32
  %104 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %103, i64 0
  %105 = load i64, ptr %104, align 16, !tbaa !5
  %106 = add nsw i64 %105, %87
  store i64 %106, ptr %104, align 16, !tbaa !5
  %107 = shl i64 %indvars.iv, 32
  %sext135.4 = add i64 %107, 231928233984
  %108 = ashr exact i64 %sext135.4, 32
  %109 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %108, i64 0
  %110 = load i64, ptr %109, align 16, !tbaa !5
  %111 = add nsw i64 %110, %87
  store i64 %111, ptr %109, align 16, !tbaa !5
  %112 = shl i64 %indvars.iv, 32
  %sext135.5 = add i64 %112, 236223201280
  %113 = ashr exact i64 %sext135.5, 32
  %114 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %113, i64 0
  %115 = load i64, ptr %114, align 16, !tbaa !5
  %116 = add nsw i64 %115, %87
  store i64 %116, ptr %114, align 16, !tbaa !5
  %117 = shl i64 %indvars.iv, 32
  %sext135.6 = add i64 %117, 240518168576
  %118 = ashr exact i64 %sext135.6, 32
  %119 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %118, i64 0
  %120 = load i64, ptr %119, align 16, !tbaa !5
  %121 = add nsw i64 %120, %87
  store i64 %121, ptr %119, align 16, !tbaa !5
  %122 = shl i64 %indvars.iv, 32
  %sext135.7 = add i64 %122, 244813135872
  %123 = ashr exact i64 %sext135.7, 32
  %124 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %123, i64 0
  %125 = load i64, ptr %124, align 16, !tbaa !5
  %126 = add nsw i64 %125, %87
  store i64 %126, ptr %124, align 16, !tbaa !5
  %127 = shl i64 %indvars.iv, 32
  %sext135.8 = add i64 %127, 249108103168
  %128 = ashr exact i64 %sext135.8, 32
  %129 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %128, i64 0
  %130 = load i64, ptr %129, align 16, !tbaa !5
  %131 = add nsw i64 %130, %87
  store i64 %131, ptr %129, align 16, !tbaa !5
  %132 = shl i64 %indvars.iv, 32
  %sext135.9 = add i64 %132, 253403070464
  %133 = ashr exact i64 %sext135.9, 32
  %134 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %133, i64 0
  %135 = load i64, ptr %134, align 16, !tbaa !5
  %136 = add nsw i64 %135, %87
  store i64 %136, ptr %134, align 16, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph.split.us.split, %.preheader
  %137 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv129, i64 %85, i64 1
  %138 = load i64, ptr %137, align 8, !tbaa !5
  %.not.1 = icmp eq i64 %138, 0
  br i1 %.not.1, label %.loopexit.1, label %139

139:                                              ; preds = %.loopexit
  %140 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv129) #4
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %.not4951.1 = icmp slt i32 %141, 0
  br i1 %.not4951.1, label %.loopexit.1, label %.lr.ph.split.preheader.1

.lr.ph.split.preheader.1:                         ; preds = %139
  %142 = add nuw i32 %141, 1
  %wide.trip.count.1 = zext i32 %142 to i64
  br label %.lr.ph.split.1

.lr.ph.split.1:                                   ; preds = %.lr.ph.split.1, %.lr.ph.split.preheader.1
  %indvars.iv.1 = phi i64 [ 0, %.lr.ph.split.preheader.1 ], [ %indvars.iv.next.1, %.lr.ph.split.1 ]
  %143 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv129) #4
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = icmp eq i64 %indvars.iv.1, %145
  %147 = add nuw nsw i64 %85, %indvars.iv.1
  %sext136 = shl i64 %147, 32
  %148 = ashr exact i64 %sext136, 32
  %149 = zext i1 %146 to i64
  %150 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %indvars.iv.next130, i64 %148, i64 %149
  %151 = load i64, ptr %150, align 8, !tbaa !5
  %152 = add nsw i64 %151, %138
  store i64 %152, ptr %150, align 8, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.1.not = icmp eq i64 %indvars.iv.next.1, %wide.trip.count.1
  br i1 %exitcond.1.not, label %.loopexit.1, label %.lr.ph.split.1, !llvm.loop !11

.loopexit.1:                                      ; preds = %.lr.ph.split.1, %139, %.loopexit
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 46
  br i1 %exitcond.not, label %.split65.us, label %.preheader, !llvm.loop !13

._crit_edge70:                                    ; preds = %.lr.ph69.split, %.lr.ph69.split.us, %._crit_edge
  %.041.lcssa = phi i64 [ 0, %._crit_edge ], [ %82, %.lr.ph69.split.us ], [ %159, %.lr.ph69.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret i64 %.041.lcssa

.lr.ph69.split:                                   ; preds = %.lr.ph69, %.lr.ph69.split
  %.04167 = phi i64 [ %159, %.lr.ph69.split ], [ 0, %.lr.ph69 ]
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = add nsw i32 %154, 50
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [12 x [100 x [2 x i64]]], ptr @dp, i64 0, i64 %72, i64 %156
  %158 = load i64, ptr %157, align 16, !tbaa !5
  %159 = add nsw i64 %158, %.04167
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  br i1 %161, label %.lr.ph69.split, label %._crit_edge70
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { inlinehint 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 = !{!"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}


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