; LLVM IR from kimwalisch/primesieve :: test (move_primesieve_iterator)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.primesieve::iterator" = type { i64, i64, i64, i64, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl" }
%"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl" = type { %"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl_data" }
%"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checkb(i1 noundef zeroext) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.primesieve::iterator", align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca %"struct.primesieve::iterator", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %2) #6
  call void @_ZN10primesieve8iteratorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %10 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %11 unwind label %22

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

12:                                               ; preds = %21, %11
  %13 = load i64, ptr %3, align 8, !tbaa !5
  %14 = icmp ult i64 %13, 500000000
  br i1 %14, label %15, label %30

15:                                               ; preds = %12
  %16 = load i64, ptr %3, align 8, !tbaa !5
  %17 = load i64, ptr %6, align 8, !tbaa !5
  %18 = add i64 %17, %16
  store i64 %18, ptr %6, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %15
  %20 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %21 unwind label %26

21:                                               ; preds = %19
  store i64 %20, ptr %3, align 8, !tbaa !5
  br label %12, !llvm.loop !9

22:                                               ; preds = %0
  %23 = landingpad { ptr, i32 }
          cleanup
  %24 = extractvalue { ptr, i32 } %23, 0
  store ptr %24, ptr %4, align 8
  %25 = extractvalue { ptr, i32 } %23, 1
  store i32 %25, ptr %5, align 4
  br label %127

26:                                               ; preds = %19
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %4, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %5, align 4
  br label %126

30:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #6
  call void @_ZN10primesieve8iteratorC1EOS0_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br label %31

31:                                               ; preds = %40, %30
  %32 = load i64, ptr %3, align 8, !tbaa !5
  %33 = icmp ule i64 %32, 1000000000
  br i1 %33, label %34, label %45

34:                                               ; preds = %31
  %35 = load i64, ptr %3, align 8, !tbaa !5
  %36 = load i64, ptr %6, align 8, !tbaa !5
  %37 = add i64 %36, %35
  store i64 %37, ptr %6, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %34
  %39 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %40 unwind label %41

40:                                               ; preds = %38
  store i64 %39, ptr %3, align 8, !tbaa !5
  br label %31, !llvm.loop !11

41:                                               ; preds = %84, %81, %79, %76, %64, %53, %50, %47, %45, %38
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %4, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %5, align 4
  br label %125

45:                                               ; preds = %31
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %47 unwind label %41

47:                                               ; preds = %45
  %48 = load i64, ptr %6, align 8, !tbaa !5
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %46, i64 noundef %48)
          to label %50 unwind label %41

50:                                               ; preds = %47
  %51 = load i64, ptr %6, align 8, !tbaa !5
  %52 = icmp eq i64 %51, 24739512092254535
  invoke void @_Z5checkb(i1 noundef zeroext %52)
          to label %53 unwind label %41

53:                                               ; preds = %50
  %54 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #6
  call void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48) %2, i64 noundef 0, i64 noundef %54) #6
  %55 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %56 unwind label %41

56:                                               ; preds = %53
  store i64 %55, ptr %3, align 8, !tbaa !5
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %66, %56
  %58 = load i64, ptr %3, align 8, !tbaa !5
  %59 = icmp ult i64 %58, 600000000
  br i1 %59, label %60, label %67

60:                                               ; preds = %57
  %61 = load i64, ptr %3, align 8, !tbaa !5
  %62 = load i64, ptr %6, align 8, !tbaa !5
  %63 = add i64 %62, %61
  store i64 %63, ptr %6, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %60
  %65 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %66 unwind label %41

66:                                               ; preds = %64
  store i64 %65, ptr %3, align 8, !tbaa !5
  br label %57, !llvm.loop !12

67:                                               ; preds = %57
  %68 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN10primesieve8iteratoraSEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br label %69

69:                                               ; preds = %78, %67
  %70 = load i64, ptr %3, align 8, !tbaa !5
  %71 = icmp ule i64 %70, 1000000000
  br i1 %71, label %72, label %79

72:                                               ; preds = %69
  %73 = load i64, ptr %3, align 8, !tbaa !5
  %74 = load i64, ptr %6, align 8, !tbaa !5
  %75 = add i64 %74, %73
  store i64 %75, ptr %6, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %72
  %77 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %78 unwind label %41

78:                                               ; preds = %76
  store i64 %77, ptr %3, align 8, !tbaa !5
  br label %69, !llvm.loop !13

79:                                               ; preds = %69
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %81 unwind label %41

81:                                               ; preds = %79
  %82 = load i64, ptr %6, align 8, !tbaa !5
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %80, i64 noundef %82)
          to label %84 unwind label %41

84:                                               ; preds = %81
  %85 = load i64, ptr %6, align 8, !tbaa !5
  %86 = icmp eq i64 %85, 24739512092254535
  invoke void @_Z5checkb(i1 noundef zeroext %86)
          to label %87 unwind label %41

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1000, ptr %9, align 4, !tbaa !14
  %88 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJiEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %89 unwind label %116

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %90 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %91 = invoke noundef i64 @_ZN10primesieve8iterator10prev_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %92 unwind label %120

92:                                               ; preds = %89
  store i64 %91, ptr %3, align 8, !tbaa !5
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %94 unwind label %120

94:                                               ; preds = %92
  %95 = load i64, ptr %3, align 8, !tbaa !5
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %93, i64 noundef %95)
          to label %97 unwind label %120

97:                                               ; preds = %94
  %98 = load i64, ptr %3, align 8, !tbaa !5
  %99 = icmp eq i64 %98, 997
  invoke void @_Z5checkb(i1 noundef zeroext %99)
          to label %100 unwind label %120

100:                                              ; preds = %97
  %101 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #6
  call void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48) %7, i64 noundef 5, i64 noundef %101) #6
  %102 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %103 unwind label %120

103:                                              ; preds = %100
  %104 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %105 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %104)
          to label %106 unwind label %120

106:                                              ; preds = %103
  store i64 %105, ptr %3, align 8, !tbaa !5
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %108 unwind label %120

108:                                              ; preds = %106
  %109 = load i64, ptr %3, align 8, !tbaa !5
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %107, i64 noundef %109)
          to label %111 unwind label %120

111:                                              ; preds = %108
  %112 = load i64, ptr %3, align 8, !tbaa !5
  %113 = icmp eq i64 %112, 5
  invoke void @_Z5checkb(i1 noundef zeroext %113)
          to label %114 unwind label %120

114:                                              ; preds = %111
  store i32 0, ptr %1, align 4
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %2) #6
  %115 = load i32, ptr %1, align 4
  ret i32 %115

116:                                              ; preds = %87
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %4, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %124

120:                                              ; preds = %111, %108, %106, %103, %100, %97, %94, %92, %89
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %4, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %5, align 4
  br label %124

124:                                              ; preds = %120, %116
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  br label %125

125:                                              ; preds = %124, %41
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #6
  br label %126

126:                                              ; preds = %125, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %127

127:                                              ; preds = %126, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %2) #6
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %4, align 8
  %130 = load i32, ptr %5, align 4
  %131 = insertvalue { ptr, i32 } poison, ptr %129, 0
  %132 = insertvalue { ptr, i32 } %131, i32 %130, 1
  resume { ptr, i32 } %132
}

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorC1EOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #5 align 2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN10primesieve8iteratoraSEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJiEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #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 = { 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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #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 = !{!"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}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.primesieve::iterator" = type { i64, i64, i64, i64, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl" }
%"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl" = type { %"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl_data" }
%"struct.std::_Vector_base<primesieve::iterator, std::allocator<primesieve::iterator>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checkb(i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.primesieve::iterator", align 8
  %2 = alloca %"struct.primesieve::iterator", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #6
  call void @_ZN10primesieve8iteratorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #6
  %5 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %.preheader45 unwind label %11

.preheader45:                                     ; preds = %0
  %6 = icmp ult i64 %5, 500000000
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader45, %8
  %.053 = phi i64 [ %9, %8 ], [ 0, %.preheader45 ]
  %.03052 = phi i64 [ %7, %8 ], [ %5, %.preheader45 ]
  %7 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %8 unwind label %13

8:                                                ; preds = %.lr.ph
  %9 = add i64 %.053, %.03052
  %10 = icmp ult i64 %7, 500000000
  br i1 %10, label %.lr.ph, label %._crit_edge, !llvm.loop !5

11:                                               ; preds = %0
  %12 = landingpad { ptr, i32 }
          cleanup
  br label %73

13:                                               ; preds = %.lr.ph
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %73

._crit_edge:                                      ; preds = %8, %.preheader45
  %.030.lcssa = phi i64 [ %5, %.preheader45 ], [ %7, %8 ]
  %.0.lcssa = phi i64 [ 0, %.preheader45 ], [ %9, %8 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @_ZN10primesieve8iteratorC1EOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %1) #6
  %15 = icmp ult i64 %.030.lcssa, 1000000001
  br i1 %15, label %.lr.ph58, label %._crit_edge59

.lr.ph58:                                         ; preds = %._crit_edge, %17
  %.156 = phi i64 [ %18, %17 ], [ %.0.lcssa, %._crit_edge ]
  %.13155 = phi i64 [ %16, %17 ], [ %.030.lcssa, %._crit_edge ]
  %16 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %17 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

17:                                               ; preds = %.lr.ph58
  %18 = add i64 %.156, %.13155
  %19 = icmp ult i64 %16, 1000000001
  br i1 %19, label %.lr.ph58, label %._crit_edge59, !llvm.loop !7

.loopexit:                                        ; preds = %.lr.ph70
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %.lr.ph63
  %lpad.loopexit40 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.lr.ph58
  %lpad.loopexit43 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %._crit_edge59, %21, %23, %25, %._crit_edge71, %40, %42
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

._crit_edge59:                                    ; preds = %17, %._crit_edge
  %.1.lcssa = phi i64 [ %.0.lcssa, %._crit_edge ], [ %18, %17 ]
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %21 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

21:                                               ; preds = %._crit_edge59
  %22 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %.1.lcssa)
          to label %23 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

23:                                               ; preds = %21
  %24 = icmp eq i64 %.1.lcssa, 24739512092254535
  invoke void @_Z5checkb(i1 noundef zeroext %24)
          to label %25 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

25:                                               ; preds = %23
  %26 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #6
  call void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef 0, i64 noundef %26) #6
  %27 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader:                                       ; preds = %25
  %28 = icmp ult i64 %27, 600000000
  br i1 %28, label %.lr.ph63, label %._crit_edge64

.lr.ph63:                                         ; preds = %.preheader, %30
  %.262 = phi i64 [ %31, %30 ], [ 0, %.preheader ]
  %.23261 = phi i64 [ %29, %30 ], [ %27, %.preheader ]
  %29 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %30 unwind label %.loopexit.split-lp.loopexit

30:                                               ; preds = %.lr.ph63
  %31 = add i64 %.262, %.23261
  %32 = icmp ult i64 %29, 600000000
  br i1 %32, label %.lr.ph63, label %._crit_edge64, !llvm.loop !8

._crit_edge64:                                    ; preds = %30, %.preheader
  %.232.lcssa = phi i64 [ %27, %.preheader ], [ %29, %30 ]
  %.2.lcssa = phi i64 [ 0, %.preheader ], [ %31, %30 ]
  %33 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN10primesieve8iteratoraSEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %1) #6
  %34 = icmp ult i64 %.232.lcssa, 1000000001
  br i1 %34, label %.lr.ph70, label %._crit_edge71

.lr.ph70:                                         ; preds = %._crit_edge64, %36
  %.368 = phi i64 [ %37, %36 ], [ %.2.lcssa, %._crit_edge64 ]
  %.33367 = phi i64 [ %35, %36 ], [ %.232.lcssa, %._crit_edge64 ]
  %35 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %36 unwind label %.loopexit

36:                                               ; preds = %.lr.ph70
  %37 = add i64 %.368, %.33367
  %38 = icmp ult i64 %35, 1000000001
  br i1 %38, label %.lr.ph70, label %._crit_edge71, !llvm.loop !9

._crit_edge71:                                    ; preds = %36, %._crit_edge64
  %.3.lcssa = phi i64 [ %.2.lcssa, %._crit_edge64 ], [ %37, %36 ]
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %40 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

40:                                               ; preds = %._crit_edge71
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %39, i64 noundef %.3.lcssa)
          to label %42 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

42:                                               ; preds = %40
  %43 = icmp eq i64 %.3.lcssa, 24739512092254535
  invoke void @_Z5checkb(i1 noundef zeroext %43)
          to label %44 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 1000, ptr %4, align 4, !tbaa !10
  %45 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJiEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %46 unwind label %68

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %47 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %48 = invoke noundef i64 @_ZN10primesieve8iterator10prev_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %49 unwind label %70

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %51 unwind label %70

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %50, i64 noundef %48)
          to label %53 unwind label %70

53:                                               ; preds = %51
  %54 = icmp eq i64 %48, 997
  invoke void @_Z5checkb(i1 noundef zeroext %54)
          to label %55 unwind label %70

55:                                               ; preds = %53
  %56 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #6
  call void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48) %2, i64 noundef 5, i64 noundef %56) #6
  %57 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %58 unwind label %70

58:                                               ; preds = %55
  %59 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %60 = invoke noundef i64 @_ZN10primesieve8iterator10next_primeEv(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %61 unwind label %70

61:                                               ; preds = %58
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %63 unwind label %70

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %62, i64 noundef %60)
          to label %65 unwind label %70

65:                                               ; preds = %63
  %66 = icmp eq i64 %60, 5
  invoke void @_Z5checkb(i1 noundef zeroext %66)
          to label %67 unwind label %70

67:                                               ; preds = %65
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #6
  ret i32 0

68:                                               ; preds = %44
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %72

70:                                               ; preds = %65, %63, %61, %58, %55, %53, %51, %49, %46
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %72

72:                                               ; preds = %70, %68
  %.pn = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %72
  %.pn35 = phi { ptr, i32 } [ %.pn, %72 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit40, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit43, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %73

73:                                               ; preds = %13, %.loopexit.split-lp, %11
  %.pn37.pn = phi { ptr, i32 } [ %12, %11 ], [ %14, %13 ], [ %.pn35, %.loopexit.split-lp ]
  call void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn37.pn
}

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorC1EOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iterator7jump_toEmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() local_unnamed_addr #5 align 2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN10primesieve8iteratoraSEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN10primesieve8iteratorESaIS1_EE12emplace_backIJiEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN10primesieve8iteratorD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #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 = { 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 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass