; LLVM IR from kazunetakahashi/atcoder :: 2019/0721_AGC036/F.ll (Z13make_elementsx)

; 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<Element, std::allocator<Element>>::_Vector_impl" }
%"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl" = type { %"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.Element = type <{ %class.mint, %class.mint, i32, i32, i8, [7 x i8] }>
%class.mint = type { i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13make_elementsx(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, i64 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i1, align 1
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %struct.Element, align 8
  %12 = alloca %class.mint, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %struct.Element, align 8
  %19 = alloca %class.mint, align 8
  %20 = alloca %class.mint, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  store ptr %0, ptr %3, align 8
  store i64 %1, ptr %4, align 8, !tbaa !5
  store i1 false, ptr %5, align 1
  %27 = load i64, ptr %4, align 8, !tbaa !5
  %28 = mul nsw i64 2, %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  call void @_ZNSaI7ElementEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorI7ElementSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %28, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %29 unwind label %35

29:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorI7ElementED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %74, %29
  %31 = load i64, ptr %9, align 8, !tbaa !5
  %32 = load i64, ptr %4, align 8, !tbaa !5
  %33 = icmp slt i64 %31, %32
  br i1 %33, label %39, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %86

35:                                               ; preds = %2
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %7, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %8, align 4
  call void @_ZNSt15__new_allocatorI7ElementED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  br label %206

39:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %40 = load i64, ptr %4, align 8, !tbaa !5
  %41 = mul nsw i64 4, %40
  %42 = load i64, ptr %4, align 8, !tbaa !5
  %43 = mul nsw i64 %41, %42
  %44 = load i64, ptr %9, align 8, !tbaa !5
  %45 = load i64, ptr %4, align 8, !tbaa !5
  %46 = add nsw i64 %44, %45
  %47 = load i64, ptr %9, align 8, !tbaa !5
  %48 = load i64, ptr %4, align 8, !tbaa !5
  %49 = add nsw i64 %47, %48
  %50 = mul nsw i64 %46, %49
  %51 = sub nsw i64 %43, %50
  %52 = invoke noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %51)
          to label %53 unwind label %77

53:                                               ; preds = %39
  %54 = fadd double %52, 1.000000e-10
  %55 = fptosi double %54 to i64
  store i64 %55, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %56 = load i64, ptr %4, align 8, !tbaa !5
  %57 = sub nsw i64 %56, 1
  %58 = load i64, ptr %9, align 8, !tbaa !5
  %59 = sub nsw i64 %57, %58
  %60 = trunc i64 %59 to i32
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %61 = load i64, ptr %4, align 8, !tbaa !5
  %62 = mul nsw i64 2, %61
  store i64 %62, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %63 = load i64, ptr %10, align 8, !tbaa !5
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %14, align 8, !tbaa !5
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %66 unwind label %81

66:                                               ; preds = %53
  %67 = load i64, ptr %65, align 8, !tbaa !5
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %67)
          to label %68 unwind label %81

68:                                               ; preds = %66
  %69 = getelementptr inbounds %class.mint, ptr %12, i32 0, i32 0
  %70 = load i64, ptr %69, align 8
  invoke void @_ZN7ElementC2Ei4mint(ptr noundef nonnull align 8 dereferenceable(25) %11, i32 noundef %60, i64 %70)
          to label %71 unwind label %81

71:                                               ; preds = %68
  %72 = load i64, ptr %9, align 8, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %72) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %73, ptr align 8 %11, i64 25, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %74

74:                                               ; preds = %71
  %75 = load i64, ptr %9, align 8, !tbaa !5
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %9, align 8, !tbaa !5
  br label %30, !llvm.loop !14

77:                                               ; preds = %39
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %85

81:                                               ; preds = %68, %66, %53
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  br label %85

85:                                               ; preds = %81, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %205

86:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %141, %86
  %88 = load i64, ptr %15, align 8, !tbaa !5
  %89 = load i64, ptr %4, align 8, !tbaa !5
  %90 = icmp slt i64 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %163

92:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %93 = load i64, ptr %4, align 8, !tbaa !5
  %94 = mul nsw i64 4, %93
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = mul nsw i64 %94, %95
  %97 = load i64, ptr %15, align 8, !tbaa !5
  %98 = load i64, ptr %15, align 8, !tbaa !5
  %99 = mul nsw i64 %97, %98
  %100 = sub nsw i64 %96, %99
  %101 = invoke noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %100)
          to label %102 unwind label %144

102:                                              ; preds = %92
  %103 = fadd double %101, 1.000000e-10
  %104 = fptosi double %103 to i64
  store i64 %104, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %105 = load i64, ptr %4, align 8, !tbaa !5
  %106 = load i64, ptr %4, align 8, !tbaa !5
  %107 = mul nsw i64 %105, %106
  %108 = load i64, ptr %15, align 8, !tbaa !5
  %109 = load i64, ptr %15, align 8, !tbaa !5
  %110 = mul nsw i64 %108, %109
  %111 = sub nsw i64 %107, %110
  %112 = invoke noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %111)
          to label %113 unwind label %148

113:                                              ; preds = %102
  %114 = fsub double %112, 1.000000e-10
  %115 = fptosi double %114 to i64
  store i64 %115, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  %116 = load i64, ptr %4, align 8, !tbaa !5
  %117 = sub nsw i64 %116, 1
  %118 = load i64, ptr %15, align 8, !tbaa !5
  %119 = sub nsw i64 %117, %118
  %120 = trunc i64 %119 to i32
  %121 = load i64, ptr %17, align 8, !tbaa !5
  %122 = add nsw i64 %121, 1
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %122)
          to label %123 unwind label %152

123:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %124 = load i64, ptr %4, align 8, !tbaa !5
  %125 = mul nsw i64 2, %124
  store i64 %125, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %126 = load i64, ptr %16, align 8, !tbaa !5
  %127 = add nsw i64 %126, 1
  store i64 %127, ptr %22, align 8, !tbaa !5
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %129 unwind label %156

129:                                              ; preds = %123
  %130 = load i64, ptr %128, align 8, !tbaa !5
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %130)
          to label %131 unwind label %156

131:                                              ; preds = %129
  %132 = getelementptr inbounds %class.mint, ptr %19, i32 0, i32 0
  %133 = load i64, ptr %132, align 8
  %134 = getelementptr inbounds %class.mint, ptr %20, i32 0, i32 0
  %135 = load i64, ptr %134, align 8
  invoke void @_ZN7ElementC2Ei4mintS0_(ptr noundef nonnull align 8 dereferenceable(25) %18, i32 noundef %120, i64 %133, i64 %135)
          to label %136 unwind label %156

136:                                              ; preds = %131
  %137 = load i64, ptr %15, align 8, !tbaa !5
  %138 = load i64, ptr %4, align 8, !tbaa !5
  %139 = add nsw i64 %137, %138
  %140 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %139) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %18, i64 25, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %141

141:                                              ; preds = %136
  %142 = load i64, ptr %15, align 8, !tbaa !5
  %143 = add nsw i64 %142, 1
  store i64 %143, ptr %15, align 8, !tbaa !5
  br label %87, !llvm.loop !16

144:                                              ; preds = %92
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %162

148:                                              ; preds = %102
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  br label %161

152:                                              ; preds = %113
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %160

156:                                              ; preds = %131, %129, %123
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %160

160:                                              ; preds = %156, %152
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  br label %161

161:                                              ; preds = %160, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %162

162:                                              ; preds = %161, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %205

163:                                              ; preds = %91
  %164 = call ptr @_ZNSt6vectorI7ElementSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %164, ptr %165, align 8
  %166 = call ptr @_ZNSt6vectorI7ElementSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %167 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %166, ptr %167, align 8
  %168 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8
  %170 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP7ElementSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %169, ptr %171)
          to label %172 unwind label %179

172:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store i64 0, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !5
  br label %173

173:                                              ; preds = %198, %172
  %174 = load i64, ptr %26, align 8, !tbaa !5
  %175 = load i64, ptr %4, align 8, !tbaa !5
  %176 = mul nsw i64 2, %175
  %177 = icmp slt i64 %174, %176
  br i1 %177, label %183, label %178

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

179:                                              ; preds = %163
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %7, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %8, align 4
  br label %205

183:                                              ; preds = %173
  %184 = load i64, ptr %25, align 8, !tbaa !5
  %185 = trunc i64 %184 to i32
  %186 = load i64, ptr %26, align 8, !tbaa !5
  %187 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %186) #6
  %188 = getelementptr inbounds %struct.Element, ptr %187, i32 0, i32 3
  store i32 %185, ptr %188, align 4, !tbaa !17
  %189 = load i64, ptr %26, align 8, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %189) #6
  %191 = getelementptr inbounds %struct.Element, ptr %190, i32 0, i32 4
  %192 = load i8, ptr %191, align 8, !tbaa !20, !range !21, !noundef !22
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %197

194:                                              ; preds = %183
  %195 = load i64, ptr %25, align 8, !tbaa !5
  %196 = add nsw i64 %195, 1
  store i64 %196, ptr %25, align 8, !tbaa !5
  br label %197

197:                                              ; preds = %194, %183
  br label %198

198:                                              ; preds = %197
  %199 = load i64, ptr %26, align 8, !tbaa !5
  %200 = add nsw i64 %199, 1
  store i64 %200, ptr %26, align 8, !tbaa !5
  br label %173, !llvm.loop !23

201:                                              ; preds = %178
  store i1 true, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %202 = load i1, ptr %5, align 1
  br i1 %202, label %204, label %203

203:                                              ; preds = %201
  call void @_ZNSt6vectorI7ElementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %204

204:                                              ; preds = %203, %201
  ret void

205:                                              ; preds = %179, %162, %85
  call void @_ZNSt6vectorI7ElementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %206

206:                                              ; preds = %205, %35
  %207 = load ptr, ptr %7, align 8
  %208 = load i32, ptr %8, align 4
  %209 = insertvalue { ptr, i32 } poison, ptr %207, 0
  %210 = insertvalue { ptr, i32 } %209, i32 %208, 1
  resume { ptr, i32 } %210
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ElementC2Ei4mint(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i64) unnamed_addr #0 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7ElementC2Ei4mintS0_(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i64, i64) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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


; 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<Element, std::allocator<Element>>::_Vector_impl" }
%"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl" = type { %"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Element, std::allocator<Element>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.Element = type <{ %class.mint, %class.mint, i32, i32, i8, [7 x i8] }>
%class.mint = type { i64 }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13make_elementsx(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, i64 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca %struct.Element, align 8
  %5 = alloca %class.mint, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %struct.Element, align 8
  %9 = alloca %class.mint, align 8
  %10 = alloca %class.mint, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = shl i64 %1, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #7
  call void @_ZNSaI7ElementEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNSt6vectorI7ElementSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %13, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %14 unwind label %16

14:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorI7ElementED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  %15 = icmp sgt i64 %1, 0
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %factor.op.mul = mul i64 %1, %1
  %.reass = shl i64 %factor.op.mul, 2
  br label %18

.preheader54:                                     ; preds = %32
  br i1 %15, label %.lr.ph59, label %._crit_edge

.lr.ph59:                                         ; preds = %.preheader54
  %factor.op.mul56 = mul i64 %1, %1
  %.reass57 = shl i64 %factor.op.mul56, 2
  br label %39

16:                                               ; preds = %2
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI7ElementED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  br label %71

18:                                               ; preds = %.lr.ph, %32
  %.04855 = phi i64 [ 0, %.lr.ph ], [ %34, %32 ]
  %19 = add nuw nsw i64 %.04855, %1
  %20 = mul nuw nsw i64 %19, %19
  %21 = sub nsw i64 %.reass, %20
  %22 = call noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %21)
  %23 = fadd double %22, 1.000000e-10
  %24 = fptosi double %23 to i64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  %25 = xor i64 %.04855, -1
  %26 = add nsw i64 %25, %1
  %27 = trunc i64 %26 to i32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store i64 %13, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %28 = add nsw i64 %24, 1
  store i64 %28, ptr %7, align 8, !tbaa !5
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %30 = load i64, ptr %29, align 8, !tbaa !5
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %30)
  %31 = load i64, ptr %5, align 8
  invoke void @_ZN7ElementC2Ei4mint(ptr noundef nonnull align 8 dereferenceable(25) %4, i32 noundef %27, i64 %31)
          to label %32 unwind label %35

32:                                               ; preds = %18
  %33 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.04855) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(25) %33, ptr noundef nonnull align 8 dereferenceable(25) %4, i64 25, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  %34 = add nuw nsw i64 %.04855, 1
  %exitcond.not = icmp eq i64 %34, %1
  br i1 %exitcond.not, label %.preheader54, label %18, !llvm.loop !14

35:                                               ; preds = %18
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  br label %70

._crit_edge:                                      ; preds = %39, %14, %.preheader54
  %37 = call ptr @_ZNSt6vectorI7ElementSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %38 = call ptr @_ZNSt6vectorI7ElementSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP7ElementSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %37, ptr %38)
          to label %.preheader unwind label %61

.preheader:                                       ; preds = %._crit_edge
  br i1 %15, label %.lr.ph62.preheader, label %._crit_edge63

.lr.ph62.preheader:                               ; preds = %.preheader
  %smax = call i64 @llvm.smax.i64(i64 %13, i64 1)
  br label %.lr.ph62

39:                                               ; preds = %.lr.ph59, %39
  %.04958 = phi i64 [ 0, %.lr.ph59 ], [ %60, %39 ]
  %40 = mul nuw nsw i64 %.04958, %.04958
  %41 = sub nsw i64 %.reass57, %40
  %42 = call noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %41)
  %43 = fadd double %42, 1.000000e-10
  %44 = fptosi double %43 to i64
  %45 = sub nsw i64 %factor.op.mul56, %40
  %46 = call noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %45)
  %47 = fadd double %46, -1.000000e-10
  %48 = fptosi double %47 to i64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  %49 = xor i64 %.04958, -1
  %50 = add nsw i64 %49, %1
  %51 = trunc i64 %50 to i32
  %52 = add nsw i64 %48, 1
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef %52)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store i64 %13, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %53 = add nsw i64 %44, 1
  store i64 %53, ptr %12, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %55 = load i64, ptr %54, align 8, !tbaa !5
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %55)
  %56 = load i64, ptr %9, align 8
  %57 = load i64, ptr %10, align 8
  call void @_ZN7ElementC2Ei4mintS0_(ptr noundef nonnull align 8 dereferenceable(25) %8, i32 noundef %51, i64 %56, i64 %57)
  %58 = add nuw nsw i64 %.04958, %1
  %59 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %58) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(25) %59, ptr noundef nonnull align 8 dereferenceable(25) %8, i64 25, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  %60 = add nuw nsw i64 %.04958, 1
  %exitcond64.not = icmp eq i64 %60, %1
  br i1 %exitcond64.not, label %._crit_edge, label %39, !llvm.loop !16

61:                                               ; preds = %._crit_edge
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %70

.lr.ph62:                                         ; preds = %.lr.ph62.preheader, %.lr.ph62
  %.061 = phi i64 [ %69, %.lr.ph62 ], [ 0, %.lr.ph62.preheader ]
  %.04360 = phi i32 [ %spec.select, %.lr.ph62 ], [ 0, %.lr.ph62.preheader ]
  %63 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.061) #7
  %64 = getelementptr inbounds i8, ptr %63, i64 20
  store i32 %.04360, ptr %64, align 4, !tbaa !17
  %65 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.061) #7
  %66 = getelementptr inbounds i8, ptr %65, i64 24
  %67 = load i8, ptr %66, align 8, !tbaa !20, !range !21, !noundef !22
  %68 = zext nneg i8 %67 to i32
  %spec.select = add i32 %.04360, %68
  %69 = add nuw nsw i64 %.061, 1
  %exitcond65.not = icmp eq i64 %69, %smax
  br i1 %exitcond65.not, label %._crit_edge63, label %.lr.ph62, !llvm.loop !23

._crit_edge63:                                    ; preds = %.lr.ph62, %.preheader
  ret void

70:                                               ; preds = %61, %35
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %62, %61 ]
  call void @_ZNSt6vectorI7ElementSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %71

71:                                               ; preds = %70, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %70 ], [ %17, %16 ]
  resume { ptr, i32 } %.pn.pn
}

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIxEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ElementC2Ei4mint(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i64) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7ElementC2Ei4mintS0_(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i64, i64) unnamed_addr #2 align 2

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

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

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

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

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

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

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


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass