; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/DIVFACT (B)

; 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.std::basic_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }

@isprime = external dso_local global [50001 x i32], align 16
@primes = external dso_local global %"class.std::vector", align 8
@ans = external dso_local global [500 x i32], align 16
@f = external dso_local global [50001 x i32], align 16
@inv = external dso_local global [100 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z4fastxx(i64 noundef, i64 noundef) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %27 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %28 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %30
  %32 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %31, ptr noundef null)
  %33 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %34 = getelementptr i8, ptr %33, i64 -24
  %35 = load i64, ptr %34, align 8
  %36 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %35
  %37 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %36, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !8
  br label %38

38:                                               ; preds = %49, %0
  %39 = load i32, ptr %2, align 4, !tbaa !8
  %40 = icmp slt i32 %39, 100
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %52

42:                                               ; preds = %38
  %43 = load i32, ptr %2, align 4, !tbaa !8
  %44 = sext i32 %43 to i64
  %45 = call noundef i64 @_Z4fastxx(i64 noundef %44, i64 noundef 1000000005)
  %46 = load i32, ptr %2, align 4, !tbaa !8
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [100 x i64], ptr @inv, i64 0, i64 %47
  store i64 %45, ptr %48, align 8, !tbaa !11
  br label %49

49:                                               ; preds = %42
  %50 = load i32, ptr %2, align 4, !tbaa !8
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %2, align 4, !tbaa !8
  br label %38, !llvm.loop !13

52:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 2, ptr %3, align 4, !tbaa !8
  br label %53

53:                                               ; preds = %80, %52
  %54 = load i32, ptr %3, align 4, !tbaa !8
  %55 = icmp slt i32 %54, 50001
  br i1 %55, label %57, label %56

56:                                               ; preds = %53
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %83

57:                                               ; preds = %53
  %58 = load i32, ptr %3, align 4, !tbaa !8
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [50001 x i32], ptr @isprime, i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !8
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %57
  br label %80

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %65 = load i32, ptr %3, align 4, !tbaa !8
  %66 = mul nsw i32 2, %65
  store i32 %66, ptr %5, align 4, !tbaa !8
  br label %67

67:                                               ; preds = %75, %64
  %68 = load i32, ptr %5, align 4, !tbaa !8
  %69 = icmp slt i32 %68, 50001
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %79

71:                                               ; preds = %67
  %72 = load i32, ptr %5, align 4, !tbaa !8
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [50001 x i32], ptr @isprime, i64 0, i64 %73
  store i32 1, ptr %74, align 4, !tbaa !8
  br label %75

75:                                               ; preds = %71
  %76 = load i32, ptr %3, align 4, !tbaa !8
  %77 = load i32, ptr %5, align 4, !tbaa !8
  %78 = add nsw i32 %77, %76
  store i32 %78, ptr %5, align 4, !tbaa !8
  br label %67, !llvm.loop !15

79:                                               ; preds = %70
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @primes, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br label %80

80:                                               ; preds = %79, %63
  %81 = load i32, ptr %3, align 4, !tbaa !8
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %3, align 4, !tbaa !8
  br label %53, !llvm.loop !16

83:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !8
  br label %85

85:                                               ; preds = %96, %83
  %86 = load i32, ptr %8, align 4, !tbaa !8
  %87 = load i32, ptr %6, align 4, !tbaa !8
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %90, label %89

89:                                               ; preds = %85
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %108

90:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %91 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %92 unwind label %99

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %93 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %94 unwind label %103

94:                                               ; preds = %92
  store i64 %93, ptr %12, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %95 unwind label %103

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %8, align 4, !tbaa !8
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %8, align 4, !tbaa !8
  br label %85, !llvm.loop !17

99:                                               ; preds = %90
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %10, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %11, align 4
  br label %107

103:                                              ; preds = %94, %92
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %10, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %107

107:                                              ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %263

108:                                              ; preds = %89
  %109 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %114, ptr %116)
          to label %117 unwind label %124

117:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 1, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 1, ptr %16, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !8
  br label %118

118:                                              ; preds = %238, %117
  %119 = load i32, ptr %17, align 4, !tbaa !8
  %120 = sext i32 %119 to i64
  %121 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %122 = icmp ult i64 %120, %121
  br i1 %122, label %128, label %123

123:                                              ; preds = %118
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %241

124:                                              ; preds = %108
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %10, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %11, align 4
  br label %263

128:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %129 = load i32, ptr %17, align 4, !tbaa !8
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %130) #7
  %132 = getelementptr inbounds %"struct.std::pair", ptr %131, i32 0, i32 0
  %133 = load i32, ptr %132, align 4, !tbaa !18
  store i32 %133, ptr %18, align 4, !tbaa !8
  %134 = load i32, ptr %18, align 4, !tbaa !8
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %136, label %144

136:                                              ; preds = %128
  %137 = load i32, ptr %17, align 4, !tbaa !8
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %138) #7
  %140 = getelementptr inbounds %"struct.std::pair", ptr %139, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !20
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [500 x i32], ptr @ans, i64 0, i64 %142
  store i32 1, ptr %143, align 4, !tbaa !8
  store i32 16, ptr %4, align 4
  br label %235

144:                                              ; preds = %128
  br label %145

145:                                              ; preds = %221, %144
  %146 = load i32, ptr %16, align 4, !tbaa !8
  %147 = load i32, ptr %18, align 4, !tbaa !8
  %148 = icmp sle i32 %146, %147
  br i1 %148, label %149, label %224

149:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %150 = load i32, ptr %16, align 4, !tbaa !8
  store i32 %150, ptr %19, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr @primes, ptr %20, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %151 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #7
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %21, i32 0, i32 0
  store ptr %151, ptr %152, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %153 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #7
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %22, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  br label %155

155:                                              ; preds = %218, %149
  %156 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %156, label %158, label %157

157:                                              ; preds = %155
  store i32 19, ptr %4, align 4
  br label %220

158:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  store ptr %159, ptr %23, align 8, !tbaa !21
  %160 = load ptr, ptr %23, align 8, !tbaa !21
  %161 = load i32, ptr %160, align 4, !tbaa !8
  %162 = load i32, ptr %19, align 4, !tbaa !8
  %163 = icmp sgt i32 %161, %162
  br i1 %163, label %164, label %165

164:                                              ; preds = %158
  store i32 19, ptr %4, align 4
  br label %215

165:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !8
  br label %166

166:                                              ; preds = %172, %165
  %167 = load i32, ptr %19, align 4, !tbaa !8
  %168 = load ptr, ptr %23, align 8, !tbaa !21
  %169 = load i32, ptr %168, align 4, !tbaa !8
  %170 = srem i32 %167, %169
  %171 = icmp eq i32 %170, 0
  br i1 %171, label %172, label %179

172:                                              ; preds = %166
  %173 = load ptr, ptr %23, align 8, !tbaa !21
  %174 = load i32, ptr %173, align 4, !tbaa !8
  %175 = load i32, ptr %19, align 4, !tbaa !8
  %176 = sdiv i32 %175, %174
  store i32 %176, ptr %19, align 4, !tbaa !8
  %177 = load i32, ptr %24, align 4, !tbaa !8
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %24, align 4, !tbaa !8
  br label %166, !llvm.loop !23

179:                                              ; preds = %166
  %180 = load i32, ptr %24, align 4, !tbaa !8
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %183, label %182

182:                                              ; preds = %179
  store i32 20, ptr %4, align 4
  br label %212

183:                                              ; preds = %179
  %184 = load i64, ptr %15, align 8, !tbaa !11
  %185 = load ptr, ptr %23, align 8, !tbaa !21
  %186 = load i32, ptr %185, align 4, !tbaa !8
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !8
  %190 = add nsw i32 %189, 1
  %191 = sext i32 %190 to i64
  %192 = call noundef i64 @_Z4fastxx(i64 noundef %191, i64 noundef 1000000005)
  %193 = mul nsw i64 %184, %192
  %194 = srem i64 %193, 1000000007
  store i64 %194, ptr %15, align 8, !tbaa !11
  %195 = load i32, ptr %24, align 4, !tbaa !8
  %196 = load ptr, ptr %23, align 8, !tbaa !21
  %197 = load i32, ptr %196, align 4, !tbaa !8
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %198
  %200 = load i32, ptr %199, align 4, !tbaa !8
  %201 = add nsw i32 %200, %195
  store i32 %201, ptr %199, align 4, !tbaa !8
  %202 = load i64, ptr %15, align 8, !tbaa !11
  %203 = load ptr, ptr %23, align 8, !tbaa !21
  %204 = load i32, ptr %203, align 4, !tbaa !8
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %205
  %207 = load i32, ptr %206, align 4, !tbaa !8
  %208 = add nsw i32 %207, 1
  %209 = sext i32 %208 to i64
  %210 = mul nsw i64 %202, %209
  %211 = srem i64 %210, 1000000007
  store i64 %211, ptr %15, align 8, !tbaa !11
  store i32 0, ptr %4, align 4
  br label %212

212:                                              ; preds = %183, %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  %213 = load i32, ptr %4, align 4
  switch i32 %213, label %215 [
    i32 0, label %214
  ]

214:                                              ; preds = %212
  store i32 0, ptr %4, align 4
  br label %215

215:                                              ; preds = %214, %212, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %216 = load i32, ptr %4, align 4
  switch i32 %216, label %220 [
    i32 0, label %217
    i32 20, label %218
  ]

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217, %215
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %155

220:                                              ; preds = %215, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %221

221:                                              ; preds = %220
  %222 = load i32, ptr %16, align 4, !tbaa !8
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %16, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %145, !llvm.loop !24

224:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %225 = load i32, ptr %17, align 4, !tbaa !8
  %226 = sext i32 %225 to i64
  %227 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %226) #7
  %228 = getelementptr inbounds %"struct.std::pair", ptr %227, i32 0, i32 1
  %229 = load i32, ptr %228, align 4, !tbaa !20
  store i32 %229, ptr %25, align 4, !tbaa !8
  %230 = load i64, ptr %15, align 8, !tbaa !11
  %231 = trunc i64 %230 to i32
  %232 = load i32, ptr %25, align 4, !tbaa !8
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [500 x i32], ptr @ans, i64 0, i64 %233
  store i32 %231, ptr %234, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  store i32 0, ptr %4, align 4
  br label %235

235:                                              ; preds = %224, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %236 = load i32, ptr %4, align 4
  switch i32 %236, label %269 [
    i32 0, label %237
    i32 16, label %238
  ]

237:                                              ; preds = %235
  br label %238

238:                                              ; preds = %237, %235
  %239 = load i32, ptr %17, align 4, !tbaa !8
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %17, align 4, !tbaa !8
  br label %118, !llvm.loop !25

241:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !8
  br label %242

242:                                              ; preds = %254, %241
  %243 = load i32, ptr %26, align 4, !tbaa !8
  %244 = load i32, ptr %6, align 4, !tbaa !8
  %245 = icmp slt i32 %243, %244
  br i1 %245, label %247, label %246

246:                                              ; preds = %242
  store i32 23, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %261

247:                                              ; preds = %242
  %248 = load i32, ptr %26, align 4, !tbaa !8
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [500 x i32], ptr @ans, i64 0, i64 %249
  %251 = load i32, ptr %250, align 4, !tbaa !8
  %252 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %251)
          to label %253 unwind label %257

253:                                              ; preds = %247
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %26, align 4, !tbaa !8
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %26, align 4, !tbaa !8
  br label %242, !llvm.loop !26

257:                                              ; preds = %247
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %10, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %263

261:                                              ; preds = %246
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %262 = load i32, ptr %1, align 4
  ret i32 %262

263:                                              ; preds = %257, %124, %107
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %264

264:                                              ; preds = %263
  %265 = load ptr, ptr %10, align 8
  %266 = load i32, ptr %11, align 4
  %267 = insertvalue { ptr, i32 } poison, ptr %265, 0
  %268 = insertvalue { ptr, i32 } %267, i32 %266, 1
  resume { ptr, i32 } %268

269:                                              ; preds = %235
  unreachable
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #3

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 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)) #6

; 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)) #0 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)) #0 align 2

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = !{!19, !9, i64 0}
!19 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!20 = !{!19, !9, i64 4}
!21 = !{!22, !22, i64 0}
!22 = !{!"any pointer", !10, i64 0}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}


; 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.std::basic_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }

@isprime = external dso_local local_unnamed_addr global [50001 x i32], align 16
@primes = external dso_local global %"class.std::vector", align 8
@ans = external dso_local local_unnamed_addr global [500 x i32], align 16
@f = external dso_local local_unnamed_addr global [50001 x i32], align 16
@inv = external dso_local local_unnamed_addr global [100 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %10 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %12
  %14 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef null)
  %15 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %16 = getelementptr i8, ptr %15, i64 -24
  %17 = load i64, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %17
  %19 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %18, ptr noundef null)
  br label %21

20:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  store i32 2, ptr %1, align 4, !tbaa !8
  br label %28

21:                                               ; preds = %0, %21
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %21 ]
  %22 = tail call noundef i64 @_Z4fastxx(i64 noundef %indvars.iv, i64 noundef 1000000005)
  %23 = getelementptr inbounds [100 x i64], ptr @inv, i64 0, i64 %indvars.iv
  store i64 %22, ptr %23, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 100
  br i1 %exitcond.not, label %20, label %21, !llvm.loop !13

24:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  store i32 0, ptr %4, align 4, !tbaa !8
  %26 = load i32, ptr %2, align 4, !tbaa !8
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph77, label %._crit_edge78

28:                                               ; preds = %20, %48
  %storemerge75 = phi i32 [ 2, %20 ], [ %50, %48 ]
  %29 = sext i32 %storemerge75 to i64
  %30 = getelementptr inbounds [50001 x i32], ptr @isprime, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !8
  %.not64 = icmp eq i32 %31, 0
  br i1 %.not64, label %32, label %48

32:                                               ; preds = %28
  %33 = icmp slt i32 %storemerge75, 25001
  br i1 %33, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %32
  %34 = shl i32 %storemerge75, 1
  %35 = sext i32 %34 to i64
  %36 = add nsw i64 %29, %35
  %smax = call i64 @llvm.smax.i64(i64 %36, i64 50001)
  %37 = icmp slt i64 %36, 50001
  %umin.neg = sext i1 %37 to i64
  %38 = select i1 %37, i64 2, i64 1
  %39 = add i64 %smax, %umin.neg
  %40 = sub i64 %39, %36
  %umax = call i64 @llvm.umax.i64(i64 %29, i64 1)
  %41 = udiv i64 %40, %umax
  %42 = add i64 %38, %41
  %min.iters.check = icmp ugt i64 %42, 7
  %ident.check.not = icmp eq i32 %storemerge75, 1
  %or.cond = and i1 %min.iters.check, %ident.check.not
  br i1 %or.cond, label %vector.ph, label %.lr.ph.preheader131

.lr.ph.preheader131:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv110.ph = phi i64 [ %35, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %42, -8
  %ind.end = or disjoint i64 %n.vec, 2
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 2
  %43 = getelementptr inbounds [50001 x i32], ptr @isprime, i64 0, i64 %offset.idx
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %43, align 8, !tbaa !8
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %44, align 8, !tbaa !8
  %index.next = add nuw i64 %index, 8
  %45 = icmp eq i64 %index.next, %n.vec
  br i1 %45, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %42, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader131

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %32
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @primes, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %.pre = load i32, ptr %1, align 4, !tbaa !8
  br label %48

.lr.ph:                                           ; preds = %.lr.ph.preheader131, %.lr.ph
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %.lr.ph ], [ %indvars.iv110.ph, %.lr.ph.preheader131 ]
  %46 = getelementptr inbounds [50001 x i32], ptr @isprime, i64 0, i64 %indvars.iv110
  store i32 1, ptr %46, align 4, !tbaa !8
  %indvars.iv.next111 = add nsw i64 %indvars.iv110, %29
  %47 = icmp slt i64 %indvars.iv.next111, 50001
  br i1 %47, label %.lr.ph, label %._crit_edge, !llvm.loop !18

48:                                               ; preds = %28, %._crit_edge
  %49 = phi i32 [ %storemerge75, %28 ], [ %.pre, %._crit_edge ]
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %1, align 4, !tbaa !8
  %51 = icmp slt i32 %49, 50000
  br i1 %51, label %28, label %24, !llvm.loop !19

._crit_edge78:                                    ; preds = %59, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  %52 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %53 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %52, ptr %53)
          to label %.preheader72 unwind label %71

.preheader72:                                     ; preds = %._crit_edge78
  %54 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %.not106 = icmp eq i64 %54, 0
  br i1 %.not106, label %.preheader, label %.lr.ph102

.lr.ph77:                                         ; preds = %24, %59
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %56 unwind label %64

56:                                               ; preds = %.lr.ph77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %57 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %58 unwind label %66

58:                                               ; preds = %56
  store i64 %57, ptr %6, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %59 unwind label %66

59:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %60 = load i32, ptr %4, align 4, !tbaa !8
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %4, align 4, !tbaa !8
  %62 = load i32, ptr %2, align 4, !tbaa !8
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %.lr.ph77, label %._crit_edge78, !llvm.loop !20

64:                                               ; preds = %.lr.ph77
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %58, %56
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  br label %128

.preheader:                                       ; preds = %117, %.preheader72
  %69 = load i32, ptr %2, align 4, !tbaa !8
  %70 = icmp sgt i32 %69, 0
  br i1 %70, label %.lr.ph104, label %._crit_edge105

71:                                               ; preds = %._crit_edge78
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %128

.lr.ph102:                                        ; preds = %.preheader72, %117
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %117 ], [ 0, %.preheader72 ]
  %.048100 = phi i32 [ %.250, %117 ], [ 1, %.preheader72 ]
  %.05199 = phi i64 [ %.6, %117 ], [ 1, %.preheader72 ]
  %73 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv114) #9
  %74 = load i32, ptr %73, align 4, !tbaa !21
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %77, label %.preheader71

.preheader71:                                     ; preds = %.lr.ph102
  %.not92 = icmp sgt i32 %.048100, %74
  br i1 %.not92, label %._crit_edge96, label %.lr.ph95.preheader

.lr.ph95.preheader:                               ; preds = %.preheader71
  %76 = add i32 %74, 1
  br label %.lr.ph95

77:                                               ; preds = %.lr.ph102
  %78 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv114) #9
  br label %117

.lr.ph95:                                         ; preds = %.lr.ph95.preheader, %._crit_edge88
  %.14994 = phi i32 [ %114, %._crit_edge88 ], [ %.048100, %.lr.ph95.preheader ]
  %.15293 = phi i64 [ %.253.lcssa, %._crit_edge88 ], [ %.05199, %.lr.ph95.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %79 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #9
  store ptr %79, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %80 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @primes) #9
  store ptr %80, ptr %8, align 8
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br i1 %81, label %.lr.ph87, label %._crit_edge88

.lr.ph87:                                         ; preds = %.lr.ph95, %._crit_edge82.thread
  %.04485 = phi i32 [ %.145.lcssa123, %._crit_edge82.thread ], [ %.14994, %.lr.ph95 ]
  %.25384 = phi i64 [ %.4.ph, %._crit_edge82.thread ], [ %.15293, %.lr.ph95 ]
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  %83 = load i32, ptr %82, align 4, !tbaa !8
  %84 = icmp sgt i32 %83, %.04485
  br i1 %84, label %._crit_edge88, label %.preheader70

.preheader70:                                     ; preds = %.lr.ph87
  %85 = srem i32 %.04485, %83
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %.lr.ph81, label %._crit_edge82.thread

.lr.ph81:                                         ; preds = %.preheader70, %.lr.ph81
  %.04180 = phi i32 [ %88, %.lr.ph81 ], [ 0, %.preheader70 ]
  %.14579 = phi i32 [ %87, %.lr.ph81 ], [ %.04485, %.preheader70 ]
  %87 = sdiv i32 %.14579, %83
  %88 = add nuw nsw i32 %.04180, 1
  %89 = srem i32 %87, %83
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %.lr.ph81, label %._crit_edge82, !llvm.loop !23

._crit_edge82:                                    ; preds = %.lr.ph81
  %91 = sext i32 %83 to i64
  %92 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !8
  %94 = add nsw i32 %93, 1
  %95 = sext i32 %94 to i64
  %96 = call noundef i64 @_Z4fastxx(i64 noundef %95, i64 noundef 1000000005)
  %97 = mul nsw i64 %96, %.25384
  %98 = srem i64 %97, 1000000007
  %99 = load i32, ptr %82, align 4, !tbaa !8
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !8
  %103 = add nsw i32 %102, %88
  store i32 %103, ptr %101, align 4, !tbaa !8
  %104 = load i32, ptr %82, align 4, !tbaa !8
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [50001 x i32], ptr @f, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !8
  %108 = add nsw i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = mul nsw i64 %98, %109
  %111 = srem i64 %110, 1000000007
  br label %._crit_edge82.thread

._crit_edge82.thread:                             ; preds = %.preheader70, %._crit_edge82
  %.145.lcssa123 = phi i32 [ %87, %._crit_edge82 ], [ %.04485, %.preheader70 ]
  %.4.ph = phi i64 [ %111, %._crit_edge82 ], [ %.25384, %.preheader70 ]
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  %113 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br i1 %113, label %.lr.ph87, label %._crit_edge88

._crit_edge88:                                    ; preds = %._crit_edge82.thread, %.lr.ph87, %.lr.ph95
  %.253.lcssa = phi i64 [ %.15293, %.lr.ph95 ], [ %.25384, %.lr.ph87 ], [ %.4.ph, %._crit_edge82.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %114 = add i32 %.14994, 1
  %exitcond113.not = icmp eq i32 %.14994, %74
  br i1 %exitcond113.not, label %._crit_edge96, label %.lr.ph95, !llvm.loop !24

._crit_edge96:                                    ; preds = %._crit_edge88, %.preheader71
  %.152.lcssa = phi i64 [ %.05199, %.preheader71 ], [ %.253.lcssa, %._crit_edge88 ]
  %.149.lcssa = phi i32 [ %.048100, %.preheader71 ], [ %76, %._crit_edge88 ]
  %115 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv114) #9
  %116 = trunc nsw i64 %.152.lcssa to i32
  br label %117

117:                                              ; preds = %._crit_edge96, %77
  %.pn128 = phi ptr [ %115, %._crit_edge96 ], [ %78, %77 ]
  %.sink = phi i32 [ %116, %._crit_edge96 ], [ 1, %77 ]
  %.6 = phi i64 [ %.152.lcssa, %._crit_edge96 ], [ %.05199, %77 ]
  %.250 = phi i32 [ %.149.lcssa, %._crit_edge96 ], [ %.048100, %77 ]
  %.sink127.in = getelementptr inbounds i8, ptr %.pn128, i64 4
  %.sink127 = load i32, ptr %.sink127.in, align 4, !tbaa !25
  %118 = sext i32 %.sink127 to i64
  %119 = getelementptr inbounds [500 x i32], ptr @ans, i64 0, i64 %118
  store i32 %.sink, ptr %119, align 4, !tbaa !8
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %120 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %121 = icmp ugt i64 %120, %indvars.iv.next115
  br i1 %121, label %.lr.ph102, label %.preheader, !llvm.loop !26

._crit_edge105:                                   ; preds = %.lr.ph104, %.preheader
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  ret i32 0

.lr.ph104:                                        ; preds = %.preheader, %.lr.ph104
  %indvars.iv117 = phi i64 [ %indvars.iv.next118, %.lr.ph104 ], [ 0, %.preheader ]
  %122 = getelementptr inbounds [500 x i32], ptr @ans, i64 0, i64 %indvars.iv117
  %123 = load i32, ptr %122, align 4, !tbaa !8
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %123)
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %125 = load i32, ptr %2, align 4, !tbaa !8
  %126 = sext i32 %125 to i64
  %127 = icmp slt i64 %indvars.iv.next118, %126
  br i1 %127, label %.lr.ph104, label %._crit_edge105, !llvm.loop !27

128:                                              ; preds = %71, %68
  %.pn.pn = phi { ptr, i32 } [ %.pn, %68 ], [ %72, %71 ]
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #3

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 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 #6

; 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 #0 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 #0 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #8

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { "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 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14, !16, !17}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !14, !16}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = !{!22, !9, i64 0}
!22 = !{!"_ZTSSt4pairIiiE", !9, i64 0, !9, i64 4}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = !{!22, !9, i64 4}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass