; LLVM IR from sgtlaugh/algovault :: code_library/misc/all_divisors.ll (Z3genb)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@divisors = external dso_local global [10000010 x %"class.std::vector"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3genb(i1 noundef zeroext %0) #0 {
  %2 = alloca i8, align 1
  %3 = alloca [10000010 x i16], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [10000010 x i32], align 16
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = zext i1 %0 to i8
  store i8 %19, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20000020, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 40000040, ptr %10) #5
  %20 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 1
  store i32 1, ptr %20, align 4, !tbaa !9
  %21 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 1
  store i16 1, ptr %21, align 2, !tbaa !11
  store i32 4, ptr %4, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %29, %1
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = icmp slt i32 %23, 10000010
  br i1 %24, label %25, label %34

25:                                               ; preds = %22
  %26 = load i32, ptr %4, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %27
  store i16 2, ptr %28, align 2, !tbaa !11
  br label %29

29:                                               ; preds = %25
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %4, align 4, !tbaa !9
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %4, align 4, !tbaa !9
  br label %22, !llvm.loop !13

34:                                               ; preds = %22
  store i32 3, ptr %4, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %75, %34
  %36 = load i32, ptr %4, align 4, !tbaa !9
  %37 = load i32, ptr %4, align 4, !tbaa !9
  %38 = mul nsw i32 %36, %37
  %39 = icmp slt i32 %38, 10000010
  br i1 %39, label %40, label %78

40:                                               ; preds = %35
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = load i32, ptr %4, align 4, !tbaa !9
  %43 = mul nsw i32 %41, %42
  store i32 %43, ptr %5, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %69, %40
  %45 = load i32, ptr %5, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 10000010
  br i1 %46, label %47, label %54

47:                                               ; preds = %44
  %48 = load i32, ptr %4, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %49
  %51 = load i16, ptr %50, align 2, !tbaa !11
  %52 = icmp ne i16 %51, 0
  %53 = xor i1 %52, true
  br label %54

54:                                               ; preds = %47, %44
  %55 = phi i1 [ false, %44 ], [ %53, %47 ]
  br i1 %55, label %56, label %74

56:                                               ; preds = %54
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %58
  %60 = load i16, ptr %59, align 2, !tbaa !11
  %61 = icmp ne i16 %60, 0
  br i1 %61, label %68, label %62

62:                                               ; preds = %56
  %63 = load i32, ptr %4, align 4, !tbaa !9
  %64 = trunc i32 %63 to i16
  %65 = load i32, ptr %5, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %66
  store i16 %64, ptr %67, align 2, !tbaa !11
  br label %68

68:                                               ; preds = %62, %56
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %4, align 4, !tbaa !9
  %71 = mul nsw i32 2, %70
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = add nsw i32 %72, %71
  store i32 %73, ptr %5, align 4, !tbaa !9
  br label %44, !llvm.loop !15

74:                                               ; preds = %54
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %4, align 4, !tbaa !9
  %77 = add nsw i32 %76, 2
  store i32 %77, ptr %4, align 4, !tbaa !9
  br label %35, !llvm.loop !16

78:                                               ; preds = %35
  store i32 2, ptr %4, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %114, %78
  %80 = load i32, ptr %4, align 4, !tbaa !9
  %81 = icmp slt i32 %80, 10000010
  br i1 %81, label %82, label %117

82:                                               ; preds = %79
  %83 = load i32, ptr %4, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %84
  %86 = load i16, ptr %85, align 2, !tbaa !11
  %87 = icmp ne i16 %86, 0
  br i1 %87, label %93, label %88

88:                                               ; preds = %82
  %89 = load i32, ptr %4, align 4, !tbaa !9
  %90 = load i32, ptr %4, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %91
  store i32 %89, ptr %92, align 4, !tbaa !9
  br label %113

93:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %94 = load i32, ptr %4, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %95
  %97 = load i16, ptr %96, align 2, !tbaa !11
  %98 = sext i16 %97 to i32
  store i32 %98, ptr %11, align 4, !tbaa !9
  %99 = load i32, ptr %4, align 4, !tbaa !9
  %100 = load i32, ptr %4, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [10000010 x i16], ptr %3, i64 0, i64 %101
  %103 = load i16, ptr %102, align 2, !tbaa !11
  %104 = sext i16 %103 to i32
  %105 = sdiv i32 %99, %104
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %106
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %107)
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = load i32, ptr %4, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %111
  store i32 %109, ptr %112, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %113

113:                                              ; preds = %93, %88
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %4, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %4, align 4, !tbaa !9
  br label %79, !llvm.loop !17

117:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 1, ptr %12, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds ([10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 1), ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  store i32 2, ptr %4, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %220, %117
  %119 = load i32, ptr %4, align 4, !tbaa !9
  %120 = icmp slt i32 %119, 10000010
  br i1 %120, label %121, label %223

121:                                              ; preds = %118
  store i32 1, ptr %7, align 4, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !9
  %122 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %122, ptr %6, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %145, %121
  %124 = load i32, ptr %6, align 4, !tbaa !9
  %125 = icmp sgt i32 %124, 1
  br i1 %125, label %126, label %136

126:                                              ; preds = %123
  %127 = load i32, ptr %6, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = load i32, ptr %4, align 4, !tbaa !9
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp eq i32 %130, %134
  br label %136

136:                                              ; preds = %126, %123
  %137 = phi i1 [ false, %123 ], [ %135, %126 ]
  br i1 %137, label %138, label %148

138:                                              ; preds = %136
  %139 = load i32, ptr %6, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = load i32, ptr %6, align 4, !tbaa !9
  %144 = sdiv i32 %143, %142
  store i32 %144, ptr %6, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %138
  %146 = load i32, ptr %7, align 4, !tbaa !9
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %7, align 4, !tbaa !9
  br label %123, !llvm.loop !18

148:                                              ; preds = %136
  %149 = load i32, ptr %4, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %150
  %152 = load i32, ptr %7, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = load i32, ptr %6, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %155
  %157 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #5
  %158 = mul i64 %153, %157
  call void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %158)
  store i32 1, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %192, %148
  %160 = load i32, ptr %5, align 4, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !9
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %163, label %201

163:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %164 = load i32, ptr %6, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %165
  store ptr %166, ptr %13, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %167 = load ptr, ptr %13, align 8, !tbaa !19
  %168 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #5
  %169 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %168, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %170 = load ptr, ptr %13, align 8, !tbaa !19
  %171 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #5
  %172 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %171, ptr %172, align 8
  br label %173

173:                                              ; preds = %189, %163
  %174 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %174, label %176, label %175

175:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %191

176:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %178 = load i32, ptr %177, align 4, !tbaa !9
  store i32 %178, ptr %16, align 4, !tbaa !9
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  %181 = mul nsw i32 %179, %180
  %182 = load i32, ptr %4, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %183
  %185 = load i32, ptr %8, align 4, !tbaa !9
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %8, align 4, !tbaa !9
  %187 = sext i32 %185 to i64
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %187) #5
  store i32 %181, ptr %188, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %189

189:                                              ; preds = %176
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %173

191:                                              ; preds = %175
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr %5, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %5, align 4, !tbaa !9
  %195 = load i32, ptr %4, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [10000010 x i32], ptr %10, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = load i32, ptr %9, align 4, !tbaa !9
  %200 = mul nsw i32 %199, %198
  store i32 %200, ptr %9, align 4, !tbaa !9
  br label %159, !llvm.loop !21

201:                                              ; preds = %159
  %202 = load i8, ptr %2, align 1, !tbaa !5, !range !22, !noundef !23
  %203 = trunc i8 %202 to i1
  br i1 %203, label %204, label %219

204:                                              ; preds = %201
  %205 = load i32, ptr %4, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %206
  %208 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %207) #5
  %209 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %208, ptr %209, align 8
  %210 = load i32, ptr %4, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %211
  %213 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %212) #5
  %214 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %213, ptr %214, align 8
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %216 = load ptr, ptr %215, align 8
  %217 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %216, ptr %218)
  br label %219

219:                                              ; preds = %204, %201
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %4, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %4, align 4, !tbaa !9
  br label %118, !llvm.loop !24

223:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 40000040, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 20000020, ptr %3) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 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)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = distinct !{!21, !14}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !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.__gnu_cxx::__normal_iterator" = type { ptr }

@divisors = external dso_local global [10000010 x %"class.std::vector"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3genb(i1 noundef zeroext %0) local_unnamed_addr #0 {
  %2 = alloca [10000010 x i16], align 16
  %3 = alloca [10000010 x i32], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 20000020, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 40000040, ptr nonnull %3) #5
  %8 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 1, ptr %8, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 2
  store i16 1, ptr %9, align 2, !tbaa !9
  br label %10

10:                                               ; preds = %15, %1
  %indvars.iv = phi i64 [ 4, %1 ], [ %indvars.iv.next.7, %15 ]
  %11 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv
  store i16 2, ptr %11, align 8, !tbaa !9
  %indvars.iv.next = or disjoint i64 %indvars.iv, 2
  %12 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next
  store i16 2, ptr %12, align 4, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 4
  %13 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.1
  store i16 2, ptr %13, align 8, !tbaa !9
  %14 = icmp ult i64 %indvars.iv, 10000004
  br i1 %14, label %15, label %.preheader66, !llvm.loop !11

15:                                               ; preds = %10
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 6
  %16 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.2
  store i16 2, ptr %16, align 4, !tbaa !9
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 8
  %17 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.3
  store i16 2, ptr %17, align 8, !tbaa !9
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 10
  %18 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.4
  store i16 2, ptr %18, align 4, !tbaa !9
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv, 12
  %19 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.5
  store i16 2, ptr %19, align 8, !tbaa !9
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv, 14
  %20 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv.next.6
  store i16 2, ptr %20, align 4, !tbaa !9
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv, 16
  br label %10

.preheader66:                                     ; preds = %10, %.critedge
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %.critedge ], [ 3, %10 ]
  %indvars.iv80 = phi i64 [ %indvars.iv.next81, %.critedge ], [ 6, %10 ]
  %21 = phi i64 [ %30, %.critedge ], [ 9, %10 ]
  %22 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv85
  %23 = trunc i64 %indvars.iv85 to i16
  br label %24

24:                                               ; preds = %.preheader66, %26
  %indvars.iv82 = phi i64 [ %21, %.preheader66 ], [ %indvars.iv.next83, %26 ]
  %25 = load i16, ptr %22, align 2, !tbaa !9
  %.not63 = icmp eq i16 %25, 0
  br i1 %.not63, label %26, label %.critedge

26:                                               ; preds = %24
  %27 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv82
  %28 = load i16, ptr %27, align 2, !tbaa !9
  %.not64 = icmp eq i16 %28, 0
  %spec.store.select = select i1 %.not64, i16 %23, i16 %28
  store i16 %spec.store.select, ptr %27, align 2
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, %indvars.iv80
  %29 = icmp ult i64 %indvars.iv.next83, 10000010
  br i1 %29, label %24, label %.critedge, !llvm.loop !13

.critedge:                                        ; preds = %24, %26
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 2
  %30 = mul nuw nsw i64 %indvars.iv.next86, %indvars.iv.next86
  %31 = icmp ult i64 %30, 10000010
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 4
  br i1 %31, label %.preheader66, label %.preheader65, !llvm.loop !14

.preheader65:                                     ; preds = %.critedge, %44
  %indvars.iv88 = phi i64 [ %indvars.iv.next89, %44 ], [ 2, %.critedge ]
  %32 = getelementptr inbounds [10000010 x i16], ptr %2, i64 0, i64 %indvars.iv88
  %33 = load i16, ptr %32, align 2, !tbaa !9
  %.not = icmp eq i16 %33, 0
  br i1 %.not, label %34, label %36

34:                                               ; preds = %.preheader65
  %35 = trunc nuw nsw i64 %indvars.iv88 to i32
  br label %44

36:                                               ; preds = %.preheader65
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %37 = sext i16 %33 to i32
  store i32 %37, ptr %4, align 4, !tbaa !5
  %38 = trunc nuw nsw i64 %indvars.iv88 to i32
  %39 = sdiv i32 %38, %37
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [10000010 x i32], ptr %3, i64 0, i64 %40
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %41)
  %43 = load i32, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %44

44:                                               ; preds = %34, %36
  %.sink = phi i32 [ %35, %34 ], [ %43, %36 ]
  %45 = getelementptr inbounds [10000010 x i32], ptr %3, i64 0, i64 %indvars.iv88
  store i32 %.sink, ptr %45, align 4
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next89, 10000010
  br i1 %exitcond.not, label %46, label %.preheader65, !llvm.loop !15

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @divisors, i64 24), ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %.preheader

.preheader:                                       ; preds = %46, %84
  %indvars.iv95 = phi i64 [ 2, %46 ], [ %indvars.iv.next96, %84 ]
  %47 = getelementptr inbounds [10000010 x i32], ptr %3, i64 0, i64 %indvars.iv95
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = trunc nuw nsw i64 %indvars.iv95 to i32
  br label %50

50:                                               ; preds = %.preheader, %55
  %.05673 = phi i32 [ %49, %.preheader ], [ %56, %55 ]
  %.05772 = phi i32 [ 1, %.preheader ], [ %57, %55 ]
  %51 = zext nneg i32 %.05673 to i64
  %52 = getelementptr inbounds [10000010 x i32], ptr %3, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = icmp eq i32 %53, %48
  br i1 %54, label %55, label %.critedge2

55:                                               ; preds = %50
  %56 = sdiv i32 %.05673, %48
  %57 = add nuw nsw i32 %.05772, 1
  %58 = icmp sgt i32 %56, 1
  br i1 %58, label %50, label %.critedge2, !llvm.loop !16

.critedge2:                                       ; preds = %55, %50
  %.057.lcssa = phi i32 [ %57, %55 ], [ %.05772, %50 ]
  %.056.lcssa = phi i32 [ %56, %55 ], [ %.05673, %50 ]
  %59 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %indvars.iv95
  %60 = zext nneg i32 %.057.lcssa to i64
  %61 = sext i32 %.056.lcssa to i64
  %62 = getelementptr inbounds [10000010 x %"class.std::vector"], ptr @divisors, i64 0, i64 %61
  %63 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  %64 = mul i64 %63, %60
  call void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %64)
  br label %65

65:                                               ; preds = %.critedge2, %._crit_edge
  %.15577 = phi i32 [ 0, %.critedge2 ], [ %71, %._crit_edge ]
  %.05876 = phi i32 [ 1, %.critedge2 ], [ %73, %._crit_edge ]
  %.05975 = phi i32 [ 0, %.critedge2 ], [ %.160.lcssa, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %66 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  store ptr %66, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %67 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  store ptr %67, ptr %7, align 8
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %68, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %65
  %69 = sext i32 %.05975 to i64
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %70 = trunc nsw i64 %indvars.iv.next92 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %65
  %.160.lcssa = phi i32 [ %.05975, %65 ], [ %70, %._crit_edge.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %71 = add nuw i32 %.15577, 1
  %72 = load i32, ptr %47, align 4, !tbaa !5
  %73 = mul nsw i32 %72, %.05876
  %exitcond94.not = icmp eq i32 %71, %.057.lcssa
  br i1 %exitcond94.not, label %80, label %65, !llvm.loop !17

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv91 = phi i64 [ %69, %.lr.ph.preheader ], [ %indvars.iv.next92, %.lr.ph ]
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = mul nsw i32 %75, %.05876
  %indvars.iv.next92 = add nsw i64 %indvars.iv91, 1
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %indvars.iv91) #5
  store i32 %76, ptr %77, align 4, !tbaa !5
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %79, label %.lr.ph, label %._crit_edge.loopexit

80:                                               ; preds = %._crit_edge
  br i1 %0, label %81, label %84

81:                                               ; preds = %80
  %82 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  %83 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %82, ptr %83)
  br label %84

84:                                               ; preds = %80, %81
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, 10000010
  br i1 %exitcond98.not, label %85, label %.preheader, !llvm.loop !18

85:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 40000040, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 20000020, ptr nonnull %2) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 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 #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) local_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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass