; LLVM IR from tangjz/acm-icpc :: lydsy/1425.ll (Z5solveiiiPiiS_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"

%"struct.std::greater" = type { i8 }
%struct.BigInt = type { i32, i32, [7 x i64] }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Node = type { %struct.BigInt, i32, i32, i32, i32, i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solveiiiPiiS_b(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i1 noundef zeroext %6) #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca %"struct.std::greater", align 1
  %16 = alloca %"struct.std::greater", align 1
  %17 = alloca %struct.BigInt, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::priority_queue", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %struct.Node, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %struct.Node, align 8
  %27 = alloca %struct.Node, align 8
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !9
  %28 = zext i1 %6 to i8
  store i8 %28, ptr %14, align 1, !tbaa !11
  %29 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %42

31:                                               ; preds = %7
  %32 = load ptr, ptr %11, align 8, !tbaa !9
  %33 = load ptr, ptr %11, align 8, !tbaa !9
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds i32, ptr %33, i64 %35
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %32, ptr noundef %36)
  %37 = load ptr, ptr %13, align 8, !tbaa !9
  %38 = load ptr, ptr %13, align 8, !tbaa !9
  %39 = load i32, ptr %12, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i32, ptr %38, i64 %40
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %37, ptr noundef %41)
  br label %53

42:                                               ; preds = %7
  %43 = load ptr, ptr %11, align 8, !tbaa !9
  %44 = load ptr, ptr %11, align 8, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds i32, ptr %44, i64 %46
  call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef %43, ptr noundef %47)
  %48 = load ptr, ptr %13, align 8, !tbaa !9
  %49 = load ptr, ptr %13, align 8, !tbaa !9
  %50 = load i32, ptr %12, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %49, i64 %51
  call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef %48, ptr noundef %52)
  br label %53

53:                                               ; preds = %42, %31
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #7
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 64, i1 false)
  %54 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %55 = trunc i8 %54 to i1
  %56 = zext i1 %55 to i64
  %57 = select i1 %55, i32 -1, i32 1
  %58 = getelementptr inbounds %struct.BigInt, ptr %17, i32 0, i32 0
  store i32 %57, ptr %58, align 8, !tbaa !15
  %59 = getelementptr inbounds %struct.BigInt, ptr %17, i32 0, i32 2
  %60 = getelementptr inbounds [7 x i64], ptr %59, i64 0, i64 0
  store i64 1, ptr %60, align 8, !tbaa !17
  %61 = getelementptr inbounds %struct.BigInt, ptr %17, i32 0, i32 1
  store i32 1, ptr %61, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %78, %53
  %63 = load i32, ptr %18, align 4, !tbaa !5
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %66, label %70

66:                                               ; preds = %62
  %67 = load i32, ptr %18, align 4, !tbaa !5
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = icmp slt i32 %67, %68
  br label %70

70:                                               ; preds = %66, %62
  %71 = phi i1 [ false, %62 ], [ %69, %66 ]
  br i1 %71, label %73, label %72

72:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %81

73:                                               ; preds = %70
  %74 = load ptr, ptr %13, align 8, !tbaa !9
  %75 = load i32, ptr %18, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds i32, ptr %74, i64 %76
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 4 dereferenceable(4) %77)
  br label %78

78:                                               ; preds = %73
  %79 = load i32, ptr %18, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %18, align 4, !tbaa !5
  br label %62, !llvm.loop !20

81:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %82 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %82, ptr %21, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %158, %81
  %84 = load i32, ptr %20, align 4, !tbaa !5
  %85 = load i32, ptr %10, align 4, !tbaa !5
  %86 = icmp sle i32 %84, %85
  br i1 %86, label %87, label %90

87:                                               ; preds = %83
  %88 = load i32, ptr %21, align 4, !tbaa !5
  %89 = icmp sge i32 %88, 0
  br label %90

90:                                               ; preds = %87, %83
  %91 = phi i1 [ false, %83 ], [ %89, %87 ]
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %164

93:                                               ; preds = %90
  %94 = load i32, ptr %21, align 4, !tbaa !5
  %95 = load i32, ptr %12, align 4, !tbaa !5
  %96 = icmp sle i32 %94, %95
  br i1 %96, label %97, label %129

97:                                               ; preds = %93
  %98 = load i32, ptr %21, align 4, !tbaa !5
  %99 = and i32 %98, 1
  %100 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %101 = trunc i8 %100 to i1
  %102 = zext i1 %101 to i32
  %103 = icmp eq i32 %99, %102
  br i1 %103, label %104, label %129

104:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 88, ptr %22) #7
  %105 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %105, ptr align 8 %17, i64 64, i1 false), !tbaa.struct !22
  %106 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 1
  %107 = load i32, ptr %20, align 4, !tbaa !5
  %108 = sub nsw i32 %107, 1
  store i32 %108, ptr %106, align 8, !tbaa !24
  %109 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 2
  %110 = load i32, ptr %20, align 4, !tbaa !5
  %111 = sub nsw i32 %110, 1
  store i32 %111, ptr %109, align 4, !tbaa !26
  %112 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 3
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = sub nsw i32 %113, 1
  store i32 %114, ptr %112, align 8, !tbaa !27
  %115 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 4
  %116 = load i32, ptr %21, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  store i32 %117, ptr %115, align 4, !tbaa !28
  %118 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 5
  %119 = load i32, ptr %21, align 4, !tbaa !5
  %120 = sub nsw i32 %119, 1
  store i32 %120, ptr %118, align 8, !tbaa !29
  %121 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 6
  %122 = load i32, ptr %12, align 4, !tbaa !5
  %123 = sub nsw i32 %122, 1
  store i32 %123, ptr %121, align 4, !tbaa !30
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %124 unwind label %125

124:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 88, ptr %22) #7
  br label %129

125:                                              ; preds = %104
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %23, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %22) #7
  br label %163

129:                                              ; preds = %124, %97, %93
  %130 = load i32, ptr %21, align 4, !tbaa !5
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %147

132:                                              ; preds = %129
  %133 = load i32, ptr %21, align 4, !tbaa !5
  %134 = load i32, ptr %12, align 4, !tbaa !5
  %135 = icmp sle i32 %133, %134
  br i1 %135, label %136, label %147

136:                                              ; preds = %132
  %137 = load ptr, ptr %13, align 8, !tbaa !9
  %138 = load i32, ptr %21, align 4, !tbaa !5
  %139 = sub nsw i32 %138, 1
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i32, ptr %137, i64 %140
  invoke void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 4 dereferenceable(4) %141)
          to label %142 unwind label %143

142:                                              ; preds = %136
  br label %147

143:                                              ; preds = %151, %136
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %23, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %24, align 4
  br label %163

147:                                              ; preds = %142, %132, %129
  %148 = load i32, ptr %20, align 4, !tbaa !5
  %149 = load i32, ptr %10, align 4, !tbaa !5
  %150 = icmp slt i32 %148, %149
  br i1 %150, label %151, label %157

151:                                              ; preds = %147
  %152 = load ptr, ptr %11, align 8, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds i32, ptr %152, i64 %154
  invoke void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 4 dereferenceable(4) %155)
          to label %156 unwind label %143

156:                                              ; preds = %151
  br label %157

157:                                              ; preds = %156, %147
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %20, align 4, !tbaa !5
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %20, align 4, !tbaa !5
  %161 = load i32, ptr %21, align 4, !tbaa !5
  %162 = add nsw i32 %161, -1
  store i32 %162, ptr %21, align 4, !tbaa !5
  br label %83, !llvm.loop !31

163:                                              ; preds = %143, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %329

164:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 1, ptr %25, align 4, !tbaa !5
  br label %165

165:                                              ; preds = %316, %164
  %166 = load i32, ptr %25, align 4, !tbaa !5
  %167 = load i32, ptr %9, align 4, !tbaa !5
  %168 = icmp slt i32 %166, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %320

170:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 88, ptr %26) #7
  %171 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %19)
          to label %172 unwind label %203

172:                                              ; preds = %170
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %171, i64 88, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.start.p0(i64 88, ptr %27) #7
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %19)
          to label %173 unwind label %207

173:                                              ; preds = %172
  %174 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 1
  %175 = load i32, ptr %174, align 8, !tbaa !24
  %176 = icmp sge i32 %175, 0
  br i1 %176, label %177, label %247

177:                                              ; preds = %173
  %178 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 2
  %179 = load i32, ptr %178, align 4, !tbaa !26
  %180 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 3
  %181 = load i32, ptr %180, align 8, !tbaa !27
  %182 = icmp slt i32 %179, %181
  br i1 %182, label %183, label %211

183:                                              ; preds = %177
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 88, i1 false), !tbaa.struct !32
  %184 = load ptr, ptr %11, align 8, !tbaa !9
  %185 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 2
  %186 = load i32, ptr %185, align 4, !tbaa !26
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds i32, ptr %184, i64 %187
  %189 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %189, ptr noundef nonnull align 4 dereferenceable(4) %188)
          to label %190 unwind label %207

190:                                              ; preds = %183
  %191 = load ptr, ptr %11, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 2
  %193 = load i32, ptr %192, align 4, !tbaa !26
  %194 = add nsw i32 %193, 1
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %191, i64 %195
  %197 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %197, ptr noundef nonnull align 4 dereferenceable(4) %196)
          to label %198 unwind label %207

198:                                              ; preds = %190
  %199 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 2
  %200 = load i32, ptr %199, align 4, !tbaa !26
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %199, align 4, !tbaa !26
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %202 unwind label %207

202:                                              ; preds = %198
  br label %211

203:                                              ; preds = %170
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %23, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %24, align 4
  br label %319

207:                                              ; preds = %304, %297, %288, %273, %265, %257, %236, %229, %221, %198, %190, %183, %172
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %23, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #7
  br label %319

211:                                              ; preds = %202, %177
  %212 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 1
  %213 = load i32, ptr %212, align 8, !tbaa !24
  %214 = icmp sgt i32 %213, 0
  br i1 %214, label %215, label %246

215:                                              ; preds = %211
  %216 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 1
  %217 = load i32, ptr %216, align 8, !tbaa !24
  %218 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 2
  %219 = load i32, ptr %218, align 4, !tbaa !26
  %220 = icmp slt i32 %217, %219
  br i1 %220, label %221, label %246

221:                                              ; preds = %215
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 88, i1 false), !tbaa.struct !32
  %222 = load ptr, ptr %11, align 8, !tbaa !9
  %223 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 1
  %224 = load i32, ptr %223, align 8, !tbaa !24
  %225 = sub nsw i32 %224, 1
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds i32, ptr %222, i64 %226
  %228 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %228, ptr noundef nonnull align 4 dereferenceable(4) %227)
          to label %229 unwind label %207

229:                                              ; preds = %221
  %230 = load ptr, ptr %11, align 8, !tbaa !9
  %231 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 1
  %232 = load i32, ptr %231, align 8, !tbaa !24
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds i32, ptr %230, i64 %233
  %235 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %235, ptr noundef nonnull align 4 dereferenceable(4) %234)
          to label %236 unwind label %207

236:                                              ; preds = %229
  %237 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 2
  %238 = load i32, ptr %237, align 4, !tbaa !26
  %239 = sub nsw i32 %238, 1
  %240 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 3
  store i32 %239, ptr %240, align 8, !tbaa !27
  %241 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 1
  %242 = load i32, ptr %241, align 8, !tbaa !24
  %243 = add nsw i32 %242, -1
  store i32 %243, ptr %241, align 8, !tbaa !24
  %244 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 2
  store i32 %242, ptr %244, align 4, !tbaa !26
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %245 unwind label %207

245:                                              ; preds = %236
  br label %246

246:                                              ; preds = %245, %215, %211
  br label %247

247:                                              ; preds = %246, %173
  %248 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 4
  %249 = load i32, ptr %248, align 4, !tbaa !28
  %250 = icmp sge i32 %249, 0
  br i1 %250, label %251, label %315

251:                                              ; preds = %247
  %252 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 5
  %253 = load i32, ptr %252, align 8, !tbaa !29
  %254 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 6
  %255 = load i32, ptr %254, align 4, !tbaa !30
  %256 = icmp slt i32 %253, %255
  br i1 %256, label %257, label %278

257:                                              ; preds = %251
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 88, i1 false), !tbaa.struct !32
  %258 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 1
  store i32 -1, ptr %258, align 8, !tbaa !24
  %259 = load ptr, ptr %13, align 8, !tbaa !9
  %260 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 5
  %261 = load i32, ptr %260, align 8, !tbaa !29
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds i32, ptr %259, i64 %262
  %264 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %264, ptr noundef nonnull align 4 dereferenceable(4) %263)
          to label %265 unwind label %207

265:                                              ; preds = %257
  %266 = load ptr, ptr %13, align 8, !tbaa !9
  %267 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 5
  %268 = load i32, ptr %267, align 8, !tbaa !29
  %269 = add nsw i32 %268, 1
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds i32, ptr %266, i64 %270
  %272 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %272, ptr noundef nonnull align 4 dereferenceable(4) %271)
          to label %273 unwind label %207

273:                                              ; preds = %265
  %274 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 5
  %275 = load i32, ptr %274, align 8, !tbaa !29
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %274, align 8, !tbaa !29
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %277 unwind label %207

277:                                              ; preds = %273
  br label %278

278:                                              ; preds = %277, %251
  %279 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 4
  %280 = load i32, ptr %279, align 4, !tbaa !28
  %281 = icmp sgt i32 %280, 0
  br i1 %281, label %282, label %314

282:                                              ; preds = %278
  %283 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 4
  %284 = load i32, ptr %283, align 4, !tbaa !28
  %285 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 5
  %286 = load i32, ptr %285, align 8, !tbaa !29
  %287 = icmp slt i32 %284, %286
  br i1 %287, label %288, label %314

288:                                              ; preds = %282
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 88, i1 false), !tbaa.struct !32
  %289 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 1
  store i32 -1, ptr %289, align 8, !tbaa !24
  %290 = load ptr, ptr %13, align 8, !tbaa !9
  %291 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 4
  %292 = load i32, ptr %291, align 4, !tbaa !28
  %293 = sub nsw i32 %292, 1
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds i32, ptr %290, i64 %294
  %296 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %296, ptr noundef nonnull align 4 dereferenceable(4) %295)
          to label %297 unwind label %207

297:                                              ; preds = %288
  %298 = load ptr, ptr %13, align 8, !tbaa !9
  %299 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 4
  %300 = load i32, ptr %299, align 4, !tbaa !28
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds i32, ptr %298, i64 %301
  %303 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 0
  invoke void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %303, ptr noundef nonnull align 4 dereferenceable(4) %302)
          to label %304 unwind label %207

304:                                              ; preds = %297
  %305 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 5
  %306 = load i32, ptr %305, align 8, !tbaa !29
  %307 = sub nsw i32 %306, 1
  %308 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 6
  store i32 %307, ptr %308, align 4, !tbaa !30
  %309 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 4
  %310 = load i32, ptr %309, align 4, !tbaa !28
  %311 = add nsw i32 %310, -1
  store i32 %311, ptr %309, align 4, !tbaa !28
  %312 = getelementptr inbounds %struct.Node, ptr %27, i32 0, i32 5
  store i32 %310, ptr %312, align 8, !tbaa !29
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %19, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %313 unwind label %207

313:                                              ; preds = %304
  br label %314

314:                                              ; preds = %313, %282, %278
  br label %315

315:                                              ; preds = %314, %247
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #7
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %25, align 4, !tbaa !5
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %25, align 4, !tbaa !5
  br label %165, !llvm.loop !33

319:                                              ; preds = %207, %203
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %329

320:                                              ; preds = %169
  %321 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %19)
          to label %322 unwind label %325

322:                                              ; preds = %320
  %323 = getelementptr inbounds %struct.Node, ptr %321, i32 0, i32 0
  invoke void @_ZNK6BigInt7printlnEv(ptr noundef nonnull align 8 dereferenceable(64) %323)
          to label %324 unwind label %325

324:                                              ; preds = %322
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #7
  ret void

325:                                              ; preds = %322, %320
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %23, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %24, align 4
  br label %329

329:                                              ; preds = %325, %319, %163
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #7
  br label %330

330:                                              ; preds = %329
  %331 = load ptr, ptr %23, align 8
  %332 = load i32, ptr %24, align 4
  %333 = insertvalue { ptr, i32 } poison, ptr %331, 0
  %334 = insertvalue { ptr, i32 } %333, i32 %332, 1
  resume { ptr, i32 } %334
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef, ptr noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(88)) #0 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) #5

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(88)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6BigInt7printlnEv(ptr noundef nonnull align 8 dereferenceable(64)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #6 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS6BigInt", !6, i64 0, !6, i64 4, !7, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = !{!16, !6, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 56, !23}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !6, i64 64}
!25 = !{!"_ZTS4Node", !16, i64 0, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !6, i64 84}
!26 = !{!25, !6, i64 68}
!27 = !{!25, !6, i64 72}
!28 = !{!25, !6, i64 76}
!29 = !{!25, !6, i64 80}
!30 = !{!25, !6, i64 84}
!31 = distinct !{!31, !21}
!32 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 56, !23, i64 64, i64 4, !5, i64 68, i64 4, !5, i64 72, i64 4, !5, i64 76, i64 4, !5, i64 80, i64 4, !5, i64 84, i64 4, !5}
!33 = distinct !{!33, !21}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.BigInt = type { i32, i32, [7 x i64] }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Node = type { %struct.BigInt, i32, i32, i32, i32, i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solveiiiPiiS_b(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i1 noundef zeroext %6) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca %struct.BigInt, align 8
  %9 = alloca %"class.std::priority_queue", align 8
  %10 = alloca %struct.Node, align 8
  %.sroa.0 = alloca %struct.BigInt, align 8
  %11 = alloca %struct.Node, align 8
  %12 = sext i32 %2 to i64
  %13 = getelementptr inbounds i32, ptr %3, i64 %12
  %14 = sext i32 %4 to i64
  %15 = getelementptr inbounds i32, ptr %5, i64 %14
  br i1 %6, label %16, label %17

16:                                               ; preds = %7
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef %3, ptr noundef %13)
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef %5, ptr noundef %15)
  br label %18

17:                                               ; preds = %7
  tail call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef %3, ptr noundef %13)
  tail call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef %5, ptr noundef %15)
  br label %18

18:                                               ; preds = %17, %16
  %19 = phi i32 [ 1, %17 ], [ -1, %16 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  %20 = getelementptr inbounds i8, ptr %8, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %20, i8 0, i64 48, i1 false)
  store i32 %19, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %8, i64 8
  store i64 1, ptr %21, align 8, !tbaa !10
  %22 = getelementptr inbounds i8, ptr %8, i64 4
  store i32 1, ptr %22, align 4, !tbaa !12
  %invariant.smin = tail call i32 @llvm.smin.i32(i32 %4, i32 %0)
  %23 = icmp sgt i32 %invariant.smin, 0
  br i1 %23, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %18
  %wide.trip.count = zext nneg i32 %invariant.smin to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %9)
  %invariant.gep = getelementptr i8, ptr %5, i64 -4
  %24 = or i32 %2, %0
  %25 = icmp sgt i32 %24, -1
  br i1 %25, label %.lr.ph130, label %.preheader

.lr.ph130:                                        ; preds = %._crit_edge
  %26 = getelementptr inbounds i8, ptr %10, i64 64
  %27 = getelementptr inbounds i8, ptr %10, i64 68
  %28 = getelementptr inbounds i8, ptr %10, i64 72
  %29 = add nsw i32 %2, -1
  %30 = getelementptr inbounds i8, ptr %10, i64 76
  %31 = getelementptr inbounds i8, ptr %10, i64 80
  %32 = getelementptr inbounds i8, ptr %10, i64 84
  %33 = add nsw i32 %4, -1
  %34 = sext i32 %2 to i64
  %35 = zext i32 %0 to i64
  br label %38

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %36 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(4) %36)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

.preheader:                                       ; preds = %51, %53, %._crit_edge
  %invariant.gep131 = getelementptr i8, ptr %3, i64 4
  %invariant.gep133 = getelementptr i8, ptr %3, i64 -4
  %invariant.gep135 = getelementptr i8, ptr %5, i64 4
  %37 = icmp sgt i32 %1, 1
  br i1 %37, label %.lr.ph140, label %._crit_edge141

.lr.ph140:                                        ; preds = %.preheader
  %.sroa.8.0..sroa_idx1 = getelementptr inbounds i8, ptr %11, i64 64
  %.sroa.11.0..sroa_idx11 = getelementptr inbounds i8, ptr %11, i64 68
  %.sroa.13.0..sroa_idx20 = getelementptr inbounds i8, ptr %11, i64 72
  %.sroa.14.0..sroa_idx28 = getelementptr inbounds i8, ptr %11, i64 76
  %.sroa.17.0..sroa_idx38 = getelementptr inbounds i8, ptr %11, i64 80
  %.sroa.19.0..sroa_idx47 = getelementptr inbounds i8, ptr %11, i64 84
  br label %58

38:                                               ; preds = %.lr.ph130, %53
  %indvars.iv145 = phi i64 [ %35, %.lr.ph130 ], [ %indvars.iv.next146, %53 ]
  %indvars.iv143 = phi i64 [ 0, %.lr.ph130 ], [ %indvars.iv.next144, %53 ]
  %39 = trunc nuw i64 %indvars.iv145 to i32
  %.not120 = icmp sgt i32 %39, %4
  %40 = trunc i64 %indvars.iv145 to i1
  %41 = xor i1 %40, %6
  %or.cond = or i1 %.not120, %41
  br i1 %or.cond, label %49, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, ptr noundef nonnull align 8 dereferenceable(64) %8, i64 64, i1 false), !tbaa.struct !15
  %43 = trunc i64 %indvars.iv143 to i32
  %44 = add i32 %43, -1
  store i32 %44, ptr %26, align 8, !tbaa !18
  store i32 %44, ptr %27, align 4, !tbaa !20
  store i32 %29, ptr %28, align 8, !tbaa !21
  %45 = add nsw i32 %39, -1
  store i32 %45, ptr %30, align 4, !tbaa !22
  store i32 %45, ptr %31, align 8, !tbaa !23
  store i32 %33, ptr %32, align 4, !tbaa !24
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(25) %9, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %46 unwind label %47

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %10) #8
  br label %49

47:                                               ; preds = %42
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %10) #8
  br label %111

49:                                               ; preds = %46, %38
  %.not122 = icmp eq i64 %indvars.iv145, 0
  %brmerge = or i1 %.not122, %.not120
  br i1 %brmerge, label %51, label %50

50:                                               ; preds = %49
  %gep = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv145
  call void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(4) %gep)
  br label %51

51:                                               ; preds = %49, %50
  %52 = icmp slt i64 %indvars.iv143, %34
  br i1 %52, label %53, label %.preheader

53:                                               ; preds = %51
  %54 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv143
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 4 dereferenceable(4) %54)
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %indvars.iv.next146 = add nsw i64 %indvars.iv145, -1
  %55 = icmp sgt i32 %39, 0
  %56 = and i1 %52, %55
  br i1 %56, label %38, label %.preheader, !llvm.loop !25

._crit_edge141:                                   ; preds = %106, %.preheader
  %57 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %9)
  invoke void @_ZNK6BigInt7printlnEv(ptr noundef nonnull align 8 dereferenceable(64) %57)
          to label %108 unwind label %109

58:                                               ; preds = %.lr.ph140, %106
  %.0116139 = phi i32 [ 1, %.lr.ph140 ], [ %107, %106 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %.sroa.0)
  %59 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %.sroa.0, ptr noundef nonnull align 8 dereferenceable(64) %59, i64 64, i1 false), !tbaa.struct !26
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 64
  %.sroa.8.0.copyload = load i32, ptr %.sroa.8.0..sroa_idx, align 8, !tbaa !16
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 68
  %.sroa.11.0.copyload = load i32, ptr %.sroa.11.0..sroa_idx, align 4, !tbaa !16
  %.sroa.13.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 72
  %.sroa.13.0.copyload = load i32, ptr %.sroa.13.0..sroa_idx, align 8, !tbaa !16
  %.sroa.14.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 76
  %.sroa.14.0.copyload = load i32, ptr %.sroa.14.0..sroa_idx, align 4, !tbaa !16
  %.sroa.17.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 80
  %.sroa.17.0.copyload = load i32, ptr %.sroa.17.0..sroa_idx, align 8, !tbaa !16
  %.sroa.19.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 84
  %.sroa.19.0.copyload = load i32, ptr %.sroa.19.0..sroa_idx, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %11) #8
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %9)
          to label %60 unwind label %71

60:                                               ; preds = %58
  %61 = icmp sgt i32 %.sroa.8.0.copyload, -1
  br i1 %61, label %62, label %84

62:                                               ; preds = %60
  %63 = icmp slt i32 %.sroa.11.0.copyload, %.sroa.13.0.copyload
  br i1 %63, label %64, label %73

64:                                               ; preds = %62
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %.sroa.0, i64 64, i1 false), !tbaa.struct !26
  store i32 %.sroa.8.0.copyload, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !16
  store i32 %.sroa.11.0.copyload, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !16
  store i32 %.sroa.13.0.copyload, ptr %.sroa.13.0..sroa_idx20, align 8, !tbaa !16
  store i32 %.sroa.14.0.copyload, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !16
  store i32 %.sroa.17.0.copyload, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !16
  store i32 %.sroa.19.0.copyload, ptr %.sroa.19.0..sroa_idx47, align 4, !tbaa !16
  %65 = sext i32 %.sroa.11.0.copyload to i64
  %66 = getelementptr inbounds i32, ptr %3, i64 %65
  call void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %66)
  %67 = load i32, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !20
  %68 = sext i32 %67 to i64
  %gep132 = getelementptr i32, ptr %invariant.gep131, i64 %68
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %gep132)
  %69 = load i32, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !20
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !20
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %9, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %73 unwind label %71

71:                                               ; preds = %97, %88, %75, %64, %58
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %.sroa.0)
  br label %111

73:                                               ; preds = %64, %62
  %.not = icmp ne i32 %.sroa.8.0.copyload, 0
  %74 = icmp slt i32 %.sroa.8.0.copyload, %.sroa.11.0.copyload
  %or.cond124 = select i1 %.not, i1 %74, i1 false
  br i1 %or.cond124, label %75, label %84

75:                                               ; preds = %73
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %.sroa.0, i64 64, i1 false), !tbaa.struct !26
  store i32 %.sroa.8.0.copyload, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !16
  store i32 %.sroa.11.0.copyload, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !16
  store i32 %.sroa.13.0.copyload, ptr %.sroa.13.0..sroa_idx20, align 8, !tbaa !16
  store i32 %.sroa.14.0.copyload, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !16
  store i32 %.sroa.17.0.copyload, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !16
  store i32 %.sroa.19.0.copyload, ptr %.sroa.19.0..sroa_idx47, align 4, !tbaa !16
  %76 = zext nneg i32 %.sroa.8.0.copyload to i64
  %gep134 = getelementptr i32, ptr %invariant.gep133, i64 %76
  call void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %gep134)
  %77 = load i32, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !18
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i32, ptr %3, i64 %78
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %79)
  %80 = load i32, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !20
  %81 = add nsw i32 %80, -1
  store i32 %81, ptr %.sroa.13.0..sroa_idx20, align 8, !tbaa !21
  %82 = load i32, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !18
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !18
  store i32 %82, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !20
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %9, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %84 unwind label %71

84:                                               ; preds = %73, %75, %60
  %85 = icmp sgt i32 %.sroa.14.0.copyload, -1
  br i1 %85, label %86, label %106

86:                                               ; preds = %84
  %87 = icmp slt i32 %.sroa.17.0.copyload, %.sroa.19.0.copyload
  br i1 %87, label %88, label %95

88:                                               ; preds = %86
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %.sroa.0, i64 64, i1 false), !tbaa.struct !26
  store i32 %.sroa.11.0.copyload, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !16
  store i32 %.sroa.13.0.copyload, ptr %.sroa.13.0..sroa_idx20, align 8, !tbaa !16
  store i32 %.sroa.14.0.copyload, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !16
  store i32 %.sroa.17.0.copyload, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !16
  store i32 %.sroa.19.0.copyload, ptr %.sroa.19.0..sroa_idx47, align 4, !tbaa !16
  store i32 -1, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !18
  %89 = sext i32 %.sroa.17.0.copyload to i64
  %90 = getelementptr inbounds i32, ptr %5, i64 %89
  call void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %90)
  %91 = load i32, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !23
  %92 = sext i32 %91 to i64
  %gep136 = getelementptr i32, ptr %invariant.gep135, i64 %92
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %gep136)
  %93 = load i32, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !23
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !23
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %9, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %95 unwind label %71

95:                                               ; preds = %88, %86
  %.not119 = icmp ne i32 %.sroa.14.0.copyload, 0
  %96 = icmp slt i32 %.sroa.14.0.copyload, %.sroa.17.0.copyload
  %or.cond125 = select i1 %.not119, i1 %96, i1 false
  br i1 %or.cond125, label %97, label %106

97:                                               ; preds = %95
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %.sroa.0, i64 64, i1 false), !tbaa.struct !26
  store i32 %.sroa.11.0.copyload, ptr %.sroa.11.0..sroa_idx11, align 4, !tbaa !16
  store i32 %.sroa.13.0.copyload, ptr %.sroa.13.0..sroa_idx20, align 8, !tbaa !16
  store i32 %.sroa.14.0.copyload, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !16
  store i32 %.sroa.17.0.copyload, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !16
  store i32 %.sroa.19.0.copyload, ptr %.sroa.19.0..sroa_idx47, align 4, !tbaa !16
  store i32 -1, ptr %.sroa.8.0..sroa_idx1, align 8, !tbaa !18
  %98 = zext nneg i32 %.sroa.14.0.copyload to i64
  %gep138 = getelementptr i32, ptr %invariant.gep, i64 %98
  call void @_ZN6BigIntdVERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %gep138)
  %99 = load i32, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !22
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %5, i64 %100
  call void @_ZN6BigIntmLERKi(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %101)
  %102 = load i32, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !23
  %103 = add nsw i32 %102, -1
  store i32 %103, ptr %.sroa.19.0..sroa_idx47, align 4, !tbaa !24
  %104 = load i32, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !22
  %105 = add nsw i32 %104, -1
  store i32 %105, ptr %.sroa.14.0..sroa_idx28, align 4, !tbaa !22
  store i32 %104, ptr %.sroa.17.0..sroa_idx38, align 8, !tbaa !23
  invoke void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25) %9, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %106 unwind label %71

106:                                              ; preds = %95, %97, %84
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %.sroa.0)
  %107 = add nuw nsw i32 %.0116139, 1
  %exitcond150.not = icmp eq i32 %107, %1
  br i1 %exitcond150.not, label %._crit_edge141, label %58, !llvm.loop !27

108:                                              ; preds = %._crit_edge141
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  ret void

109:                                              ; preds = %._crit_edge141
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %111

111:                                              ; preds = %109, %71, %47
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %72, %71 ], [ %110, %109 ]
  call void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0 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) #5

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6BigInt7printlnEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueI4NodeSt6vectorIS0_SaIS0_EESt4lessIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #6 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #7

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


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