; LLVM IR from siconos/siconos :: externals/lbl/metis4/kwayrefine.ll_ (ComputeKWayPartitionParams)

; 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.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }
%struct.controldef = type { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }
%struct.rinfodef = type { i32, i32, i32, ptr }
%struct.edegreedef = type { i32, i32 }

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

; Function Attrs: nounwind uwtable
define dso_local void @__ComputeKWayPartitionParams(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.graphdef, ptr %27, i32 0, i32 2
  %29 = load i32, ptr %28, align 8, !tbaa !11
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.graphdef, ptr %30, i32 0, i32 4
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  store ptr %32, ptr %16, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.graphdef, ptr %33, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !14
  store ptr %35, ptr %17, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.graphdef, ptr %36, i32 0, i32 7
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  store ptr %38, ptr %18, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.graphdef, ptr %39, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  store ptr %41, ptr %19, align 8, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.graphdef, ptr %42, i32 0, i32 14
  %44 = load ptr, ptr %43, align 8, !tbaa !17
  store ptr %44, ptr %21, align 8, !tbaa !5
  %45 = load i32, ptr %6, align 4, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.graphdef, ptr %46, i32 0, i32 15
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  %49 = call ptr @__idxset(i32 noundef %45, i32 noundef 0, ptr noundef %48)
  store ptr %49, ptr %20, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.graphdef, ptr %50, i32 0, i32 18
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  store ptr %52, ptr %22, align 8, !tbaa !5
  %53 = load i32, ptr %11, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.graphdef, ptr %54, i32 0, i32 17
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = call ptr @__idxset(i32 noundef %53, i32 noundef -1, ptr noundef %56)
  store ptr %57, ptr %23, align 8, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.graphdef, ptr %58, i32 0, i32 21
  %60 = load ptr, ptr %59, align 8, !tbaa !21
  store ptr %60, ptr %24, align 8, !tbaa !5
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.controldef, ptr %61, i32 0, i32 11
  %63 = getelementptr inbounds %struct.workspacedef, ptr %62, i32 0, i32 5
  store i32 0, ptr %63, align 8, !tbaa !22
  store i32 0, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %315, %3
  %65 = load i32, ptr %7, align 4, !tbaa !9
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %68, label %318

68:                                               ; preds = %64
  %69 = load ptr, ptr %21, align 8, !tbaa !5
  %70 = load i32, ptr %7, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !9
  store i32 %73, ptr %14, align 4, !tbaa !9
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  %75 = load i32, ptr %7, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds i32, ptr %74, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = load ptr, ptr %20, align 8, !tbaa !5
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds i32, ptr %79, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = add nsw i32 %83, %78
  store i32 %84, ptr %82, align 4, !tbaa !9
  %85 = load ptr, ptr %24, align 8, !tbaa !5
  %86 = load i32, ptr %7, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds %struct.rinfodef, ptr %85, i64 %87
  store ptr %88, ptr %25, align 8, !tbaa !5
  %89 = load ptr, ptr %25, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.rinfodef, ptr %89, i32 0, i32 2
  store i32 0, ptr %90, align 8, !tbaa !27
  %91 = load ptr, ptr %25, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.rinfodef, ptr %91, i32 0, i32 1
  store i32 0, ptr %92, align 4, !tbaa !29
  %93 = load ptr, ptr %25, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.rinfodef, ptr %93, i32 0, i32 0
  store i32 0, ptr %94, align 8, !tbaa !30
  %95 = load ptr, ptr %25, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.rinfodef, ptr %95, i32 0, i32 3
  store ptr null, ptr %96, align 8, !tbaa !31
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds i32, ptr %97, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !9
  store i32 %101, ptr %8, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %134, %68
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = load ptr, ptr %16, align 8, !tbaa !5
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %104, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = icmp slt i32 %103, %109
  br i1 %110, label %111, label %137

111:                                              ; preds = %102
  %112 = load i32, ptr %14, align 4, !tbaa !9
  %113 = load ptr, ptr %21, align 8, !tbaa !5
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds i32, ptr %113, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !9
  %122 = icmp ne i32 %112, %121
  br i1 %122, label %123, label %133

123:                                              ; preds = %111
  %124 = load ptr, ptr %19, align 8, !tbaa !5
  %125 = load i32, ptr %8, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds i32, ptr %124, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !9
  %129 = load ptr, ptr %25, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.rinfodef, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !29
  %132 = add nsw i32 %131, %128
  store i32 %132, ptr %130, align 4, !tbaa !29
  br label %133

133:                                              ; preds = %123, %111
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %8, align 4, !tbaa !9
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %8, align 4, !tbaa !9
  br label %102, !llvm.loop !32

137:                                              ; preds = %102
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.graphdef, ptr %138, i32 0, i32 9
  %140 = load ptr, ptr %139, align 8, !tbaa !34
  %141 = load i32, ptr %7, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %140, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = load ptr, ptr %25, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.rinfodef, ptr %145, i32 0, i32 1
  %147 = load i32, ptr %146, align 4, !tbaa !29
  %148 = sub nsw i32 %144, %147
  %149 = load ptr, ptr %25, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.rinfodef, ptr %149, i32 0, i32 0
  store i32 %148, ptr %150, align 8, !tbaa !30
  %151 = load ptr, ptr %25, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.rinfodef, ptr %151, i32 0, i32 1
  %153 = load i32, ptr %152, align 4, !tbaa !29
  %154 = icmp sgt i32 %153, 0
  br i1 %154, label %155, label %161

155:                                              ; preds = %137
  %156 = load ptr, ptr %25, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.rinfodef, ptr %156, i32 0, i32 1
  %158 = load i32, ptr %157, align 4, !tbaa !29
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = add nsw i32 %159, %158
  store i32 %160, ptr %13, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %155, %137
  %162 = load ptr, ptr %25, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.rinfodef, ptr %162, i32 0, i32 1
  %164 = load i32, ptr %163, align 4, !tbaa !29
  %165 = load ptr, ptr %25, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.rinfodef, ptr %165, i32 0, i32 0
  %167 = load i32, ptr %166, align 8, !tbaa !30
  %168 = sub nsw i32 %164, %167
  %169 = icmp sge i32 %168, 0
  br i1 %169, label %170, label %185

170:                                              ; preds = %161
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %7, align 4, !tbaa !9
  %173 = load ptr, ptr %22, align 8, !tbaa !5
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i32, ptr %173, i64 %175
  store i32 %172, ptr %176, align 4, !tbaa !9
  %177 = load i32, ptr %12, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %12, align 4, !tbaa !9
  %179 = load ptr, ptr %23, align 8, !tbaa !5
  %180 = load i32, ptr %7, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i32, ptr %179, i64 %181
  store i32 %177, ptr %182, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %171
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184, %161
  %186 = load ptr, ptr %25, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.rinfodef, ptr %186, i32 0, i32 1
  %188 = load i32, ptr %187, align 4, !tbaa !29
  %189 = icmp sgt i32 %188, 0
  br i1 %189, label %190, label %314

190:                                              ; preds = %185
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.controldef, ptr %191, i32 0, i32 11
  %193 = getelementptr inbounds %struct.workspacedef, ptr %192, i32 0, i32 3
  %194 = load ptr, ptr %193, align 8, !tbaa !35
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.controldef, ptr %195, i32 0, i32 11
  %197 = getelementptr inbounds %struct.workspacedef, ptr %196, i32 0, i32 5
  %198 = load i32, ptr %197, align 8, !tbaa !22
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds %struct.edegreedef, ptr %194, i64 %199
  %201 = load ptr, ptr %25, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.rinfodef, ptr %201, i32 0, i32 3
  store ptr %200, ptr %202, align 8, !tbaa !31
  store ptr %200, ptr %26, align 8, !tbaa !5
  %203 = load ptr, ptr %16, align 8, !tbaa !5
  %204 = load i32, ptr %7, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds i32, ptr %203, i64 %206
  %208 = load i32, ptr %207, align 4, !tbaa !9
  %209 = load ptr, ptr %16, align 8, !tbaa !5
  %210 = load i32, ptr %7, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds i32, ptr %209, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !9
  %214 = sub nsw i32 %208, %213
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.controldef, ptr %215, i32 0, i32 11
  %217 = getelementptr inbounds %struct.workspacedef, ptr %216, i32 0, i32 5
  %218 = load i32, ptr %217, align 8, !tbaa !22
  %219 = add nsw i32 %218, %214
  store i32 %219, ptr %217, align 8, !tbaa !22
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  %221 = load i32, ptr %7, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds i32, ptr %220, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !9
  store i32 %224, ptr %8, align 4, !tbaa !9
  br label %225

225:                                              ; preds = %310, %190
  %226 = load i32, ptr %8, align 4, !tbaa !9
  %227 = load ptr, ptr %16, align 8, !tbaa !5
  %228 = load i32, ptr %7, align 4, !tbaa !9
  %229 = add nsw i32 %228, 1
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds i32, ptr %227, i64 %230
  %232 = load i32, ptr %231, align 4, !tbaa !9
  %233 = icmp slt i32 %226, %232
  br i1 %233, label %234, label %313

234:                                              ; preds = %225
  %235 = load ptr, ptr %21, align 8, !tbaa !5
  %236 = load ptr, ptr %18, align 8, !tbaa !5
  %237 = load i32, ptr %8, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds i32, ptr %236, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds i32, ptr %235, i64 %241
  %243 = load i32, ptr %242, align 4, !tbaa !9
  store i32 %243, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %15, align 4, !tbaa !9
  %246 = icmp ne i32 %244, %245
  br i1 %246, label %247, label %309

247:                                              ; preds = %234
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %248

248:                                              ; preds = %277, %247
  %249 = load i32, ptr %9, align 4, !tbaa !9
  %250 = load ptr, ptr %25, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.rinfodef, ptr %250, i32 0, i32 2
  %252 = load i32, ptr %251, align 8, !tbaa !27
  %253 = icmp slt i32 %249, %252
  br i1 %253, label %254, label %280

254:                                              ; preds = %248
  %255 = load ptr, ptr %26, align 8, !tbaa !5
  %256 = load i32, ptr %9, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds %struct.edegreedef, ptr %255, i64 %257
  %259 = getelementptr inbounds %struct.edegreedef, ptr %258, i32 0, i32 0
  %260 = load i32, ptr %259, align 4, !tbaa !36
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = icmp eq i32 %260, %261
  br i1 %262, label %263, label %276

263:                                              ; preds = %254
  %264 = load ptr, ptr %19, align 8, !tbaa !5
  %265 = load i32, ptr %8, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %264, i64 %266
  %268 = load i32, ptr %267, align 4, !tbaa !9
  %269 = load ptr, ptr %26, align 8, !tbaa !5
  %270 = load i32, ptr %9, align 4, !tbaa !9
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds %struct.edegreedef, ptr %269, i64 %271
  %273 = getelementptr inbounds %struct.edegreedef, ptr %272, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !38
  %275 = add nsw i32 %274, %268
  store i32 %275, ptr %273, align 4, !tbaa !38
  br label %280

276:                                              ; preds = %254
  br label %277

277:                                              ; preds = %276
  %278 = load i32, ptr %9, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %9, align 4, !tbaa !9
  br label %248, !llvm.loop !39

280:                                              ; preds = %263, %248
  %281 = load i32, ptr %9, align 4, !tbaa !9
  %282 = load ptr, ptr %25, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.rinfodef, ptr %282, i32 0, i32 2
  %284 = load i32, ptr %283, align 8, !tbaa !27
  %285 = icmp eq i32 %281, %284
  br i1 %285, label %286, label %308

286:                                              ; preds = %280
  %287 = load i32, ptr %15, align 4, !tbaa !9
  %288 = load ptr, ptr %26, align 8, !tbaa !5
  %289 = load ptr, ptr %25, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.rinfodef, ptr %289, i32 0, i32 2
  %291 = load i32, ptr %290, align 8, !tbaa !27
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds %struct.edegreedef, ptr %288, i64 %292
  %294 = getelementptr inbounds %struct.edegreedef, ptr %293, i32 0, i32 0
  store i32 %287, ptr %294, align 4, !tbaa !36
  %295 = load ptr, ptr %19, align 8, !tbaa !5
  %296 = load i32, ptr %8, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds i32, ptr %295, i64 %297
  %299 = load i32, ptr %298, align 4, !tbaa !9
  %300 = load ptr, ptr %26, align 8, !tbaa !5
  %301 = load ptr, ptr %25, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.rinfodef, ptr %301, i32 0, i32 2
  %303 = load i32, ptr %302, align 8, !tbaa !27
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %302, align 8, !tbaa !27
  %305 = sext i32 %303 to i64
  %306 = getelementptr inbounds %struct.edegreedef, ptr %300, i64 %305
  %307 = getelementptr inbounds %struct.edegreedef, ptr %306, i32 0, i32 1
  store i32 %299, ptr %307, align 4, !tbaa !38
  br label %308

308:                                              ; preds = %286, %280
  br label %309

309:                                              ; preds = %308, %234
  br label %310

310:                                              ; preds = %309
  %311 = load i32, ptr %8, align 4, !tbaa !9
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %8, align 4, !tbaa !9
  br label %225, !llvm.loop !40

313:                                              ; preds = %225
  br label %314

314:                                              ; preds = %313, %185
  br label %315

315:                                              ; preds = %314
  %316 = load i32, ptr %7, align 4, !tbaa !9
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %7, align 4, !tbaa !9
  br label %64, !llvm.loop !41

318:                                              ; preds = %64
  %319 = load i32, ptr %13, align 4, !tbaa !9
  %320 = sdiv i32 %319, 2
  %321 = load ptr, ptr %5, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.graphdef, ptr %321, i32 0, i32 12
  store i32 %320, ptr %322, align 8, !tbaa !42
  %323 = load i32, ptr %12, align 4, !tbaa !9
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.graphdef, ptr %324, i32 0, i32 16
  store i32 %323, ptr %325, align 8, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret void
}

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

declare ptr @__idxset(i32 noundef, i32 noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"graphdef", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !6, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!13 = !{!12, !6, i64 24}
!14 = !{!12, !6, i64 32}
!15 = !{!12, !6, i64 48}
!16 = !{!12, !6, i64 56}
!17 = !{!12, !6, i64 96}
!18 = !{!12, !6, i64 104}
!19 = !{!12, !6, i64 128}
!20 = !{!12, !6, i64 120}
!21 = !{!12, !6, i64 152}
!22 = !{!23, !10, i64 80}
!23 = !{!"controldef", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !24, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !25, i64 48, !26, i64 104, !26, i64 112, !26, i64 120, !26, i64 128, !26, i64 136, !26, i64 144, !26, i64 152, !26, i64 160, !26, i64 168, !26, i64 176, !26, i64 184, !26, i64 192, !26, i64 200, !26, i64 208, !26, i64 216, !26, i64 224}
!24 = !{!"float", !7, i64 0}
!25 = !{!"workspacedef", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !6, i64 48}
!26 = !{!"double", !7, i64 0}
!27 = !{!28, !10, i64 8}
!28 = !{!"rinfodef", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16}
!29 = !{!28, !10, i64 4}
!30 = !{!28, !10, i64 0}
!31 = !{!28, !6, i64 16}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!12, !6, i64 64}
!35 = !{!23, !6, i64 64}
!36 = !{!37, !10, i64 0}
!37 = !{!"edegreedef", !10, i64 0, !10, i64 4}
!38 = !{!37, !10, i64 4}
!39 = distinct !{!39, !33}
!40 = distinct !{!40, !33}
!41 = distinct !{!41, !33}
!42 = !{!12, !10, i64 88}
!43 = !{!12, !10, i64 112}


; 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.rinfodef = type { i32, i32, i32, ptr }
%struct.edegreedef = type { i32, i32 }

; Function Attrs: nounwind uwtable
define dso_local void @__ComputeKWayPartitionParams(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 24
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %1, i64 48
  %11 = load ptr, ptr %10, align 8, !tbaa !13
  %12 = getelementptr inbounds i8, ptr %1, i64 56
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %1, i64 96
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %1, i64 104
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  %18 = tail call ptr @__idxset(i32 noundef %2, i32 noundef 0, ptr noundef %17) #3
  %19 = getelementptr inbounds i8, ptr %1, i64 128
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %1, i64 120
  %22 = load ptr, ptr %21, align 8, !tbaa !18
  %23 = tail call ptr @__idxset(i32 noundef %5, i32 noundef -1, ptr noundef %22) #3
  %24 = getelementptr inbounds i8, ptr %1, i64 152
  %25 = load ptr, ptr %24, align 8, !tbaa !19
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 0, ptr %26, align 8, !tbaa !20
  %27 = icmp sgt i32 %5, 0
  br i1 %27, label %.lr.ph130, label %._crit_edge131

.lr.ph130:                                        ; preds = %3
  %28 = getelementptr inbounds i8, ptr %1, i64 64
  %29 = load ptr, ptr %28, align 8, !tbaa !25
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  %wide.trip.count146 = zext nneg i32 %5 to i64
  br label %31

31:                                               ; preds = %.lr.ph130, %.loopexit109
  %indvars.iv143 = phi i64 [ 0, %.lr.ph130 ], [ %indvars.iv.next144, %.loopexit109 ]
  %.0100127 = phi i32 [ 0, %.lr.ph130 ], [ %.1101, %.loopexit109 ]
  %.0102126 = phi i32 [ 0, %.lr.ph130 ], [ %spec.select, %.loopexit109 ]
  %32 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv143
  %33 = load i32, ptr %32, align 4, !tbaa !26
  %34 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv143
  %35 = load i32, ptr %34, align 4, !tbaa !26
  %36 = sext i32 %33 to i64
  %37 = getelementptr inbounds i32, ptr %18, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !26
  %39 = add nsw i32 %38, %35
  store i32 %39, ptr %37, align 4, !tbaa !26
  %40 = getelementptr inbounds %struct.rinfodef, ptr %25, i64 %indvars.iv143
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  store i32 0, ptr %41, align 8, !tbaa !27
  %42 = getelementptr inbounds i8, ptr %40, i64 4
  store i32 0, ptr %42, align 4, !tbaa !29
  store i32 0, ptr %40, align 8, !tbaa !30
  %43 = getelementptr inbounds i8, ptr %40, i64 16
  store ptr null, ptr %43, align 8, !tbaa !31
  %44 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv143
  %45 = load i32, ptr %44, align 4, !tbaa !26
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %46 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next144
  %47 = load i32, ptr %46, align 4, !tbaa !26
  %48 = icmp slt i32 %45, %47
  br i1 %48, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %31
  %49 = sext i32 %45 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %61
  %50 = phi i32 [ %47, %.lr.ph.preheader ], [ %62, %61 ]
  %51 = phi i32 [ 0, %.lr.ph.preheader ], [ %63, %61 ]
  %indvars.iv = phi i64 [ %49, %.lr.ph.preheader ], [ %indvars.iv.next, %61 ]
  %52 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv
  %53 = load i32, ptr %52, align 4, !tbaa !26
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i32, ptr %15, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !26
  %.not108 = icmp eq i32 %33, %56
  br i1 %.not108, label %61, label %57

57:                                               ; preds = %.lr.ph
  %58 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv
  %59 = load i32, ptr %58, align 4, !tbaa !26
  %60 = add nsw i32 %51, %59
  store i32 %60, ptr %42, align 4, !tbaa !29
  %.pre = load i32, ptr %46, align 4, !tbaa !26
  br label %61

61:                                               ; preds = %.lr.ph, %57
  %62 = phi i32 [ %50, %.lr.ph ], [ %.pre, %57 ]
  %63 = phi i32 [ %51, %.lr.ph ], [ %60, %57 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %64 = sext i32 %62 to i64
  %65 = icmp slt i64 %indvars.iv.next, %64
  br i1 %65, label %.lr.ph, label %._crit_edge, !llvm.loop !32

._crit_edge:                                      ; preds = %61, %31
  %66 = phi i32 [ 0, %31 ], [ %63, %61 ]
  %67 = getelementptr inbounds i32, ptr %29, i64 %indvars.iv143
  %68 = load i32, ptr %67, align 4, !tbaa !26
  %69 = sub nsw i32 %68, %66
  store i32 %69, ptr %40, align 8, !tbaa !30
  %70 = tail call i32 @llvm.smax.i32(i32 %66, i32 0)
  %spec.select = add nuw nsw i32 %70, %.0102126
  %.not = icmp slt i32 %66, %69
  br i1 %.not, label %77, label %71

71:                                               ; preds = %._crit_edge
  %72 = sext i32 %.0100127 to i64
  %73 = getelementptr inbounds i32, ptr %20, i64 %72
  %74 = trunc nuw nsw i64 %indvars.iv143 to i32
  store i32 %74, ptr %73, align 4, !tbaa !26
  %75 = add nsw i32 %.0100127, 1
  %76 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv143
  store i32 %.0100127, ptr %76, align 4, !tbaa !26
  %.pre148 = load i32, ptr %42, align 4, !tbaa !29
  br label %77

77:                                               ; preds = %71, %._crit_edge
  %78 = phi i32 [ %.pre148, %71 ], [ %66, %._crit_edge ]
  %.1101 = phi i32 [ %75, %71 ], [ %.0100127, %._crit_edge ]
  %79 = icmp sgt i32 %78, 0
  br i1 %79, label %80, label %.loopexit109

80:                                               ; preds = %77
  %81 = load ptr, ptr %30, align 8, !tbaa !34
  %82 = load i32, ptr %26, align 8, !tbaa !20
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds %struct.edegreedef, ptr %81, i64 %83
  store ptr %84, ptr %43, align 8, !tbaa !31
  %85 = load i32, ptr %46, align 4, !tbaa !26
  %86 = load i32, ptr %44, align 4, !tbaa !26
  %87 = add i32 %85, %82
  %88 = sub i32 %87, %86
  store i32 %88, ptr %26, align 8, !tbaa !20
  %89 = load i32, ptr %44, align 4, !tbaa !26
  %invariant.gep = getelementptr inbounds i8, ptr %84, i64 4
  %90 = load i32, ptr %46, align 4, !tbaa !26
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %.lr.ph125.preheader, label %.loopexit109

.lr.ph125.preheader:                              ; preds = %80
  %92 = sext i32 %89 to i64
  br label %.lr.ph125

.lr.ph125:                                        ; preds = %.lr.ph125.preheader, %117
  %indvars.iv140 = phi i64 [ %92, %.lr.ph125.preheader ], [ %indvars.iv.next141, %117 ]
  %93 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv140
  %94 = load i32, ptr %93, align 4, !tbaa !26
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds i32, ptr %15, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !26
  %.not107 = icmp eq i32 %33, %97
  br i1 %.not107, label %117, label %.preheader

.preheader:                                       ; preds = %.lr.ph125
  %98 = load i32, ptr %41, align 8, !tbaa !27
  %99 = icmp sgt i32 %98, 0
  br i1 %99, label %.lr.ph120.preheader, label %.loopexit

.lr.ph120.preheader:                              ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %98 to i64
  br label %.lr.ph120

.lr.ph120:                                        ; preds = %.lr.ph120.preheader, %109
  %indvars.iv137 = phi i64 [ 0, %.lr.ph120.preheader ], [ %indvars.iv.next138, %109 ]
  %100 = getelementptr inbounds %struct.edegreedef, ptr %84, i64 %indvars.iv137
  %101 = load i32, ptr %100, align 4, !tbaa !35
  %102 = icmp eq i32 %101, %97
  br i1 %102, label %103, label %109

103:                                              ; preds = %.lr.ph120
  %104 = trunc nuw nsw i64 %indvars.iv137 to i32
  %105 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv140
  %106 = load i32, ptr %105, align 4, !tbaa !26
  %gep = getelementptr inbounds %struct.edegreedef, ptr %invariant.gep, i64 %indvars.iv137
  %107 = load i32, ptr %gep, align 4, !tbaa !37
  %108 = add nsw i32 %107, %106
  store i32 %108, ptr %gep, align 4, !tbaa !37
  br label %.loopexit

109:                                              ; preds = %.lr.ph120
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next138, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit.thread, label %.lr.ph120, !llvm.loop !38

.loopexit:                                        ; preds = %.preheader, %103
  %.099114 = phi i32 [ %104, %103 ], [ 0, %.preheader ]
  %110 = icmp eq i32 %.099114, %98
  br i1 %110, label %.loopexit.thread, label %117

.loopexit.thread:                                 ; preds = %109, %.loopexit
  %111 = sext i32 %98 to i64
  %112 = getelementptr inbounds %struct.edegreedef, ptr %84, i64 %111
  store i32 %97, ptr %112, align 4, !tbaa !35
  %113 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv140
  %114 = load i32, ptr %113, align 4, !tbaa !26
  %115 = add nsw i32 %98, 1
  store i32 %115, ptr %41, align 8, !tbaa !27
  %116 = getelementptr inbounds %struct.edegreedef, ptr %84, i64 %111, i32 1
  store i32 %114, ptr %116, align 4, !tbaa !37
  br label %117

117:                                              ; preds = %.lr.ph125, %.loopexit.thread, %.loopexit
  %indvars.iv.next141 = add nsw i64 %indvars.iv140, 1
  %118 = load i32, ptr %46, align 4, !tbaa !26
  %119 = sext i32 %118 to i64
  %120 = icmp slt i64 %indvars.iv.next141, %119
  br i1 %120, label %.lr.ph125, label %.loopexit109, !llvm.loop !39

.loopexit109:                                     ; preds = %117, %80, %77
  %exitcond147.not = icmp eq i64 %indvars.iv.next144, %wide.trip.count146
  br i1 %exitcond147.not, label %._crit_edge131.loopexit, label %31, !llvm.loop !40

._crit_edge131.loopexit:                          ; preds = %.loopexit109
  %121 = lshr i32 %spec.select, 1
  br label %._crit_edge131

._crit_edge131:                                   ; preds = %._crit_edge131.loopexit, %3
  %.0102.lcssa = phi i32 [ 0, %3 ], [ %121, %._crit_edge131.loopexit ]
  %.0100.lcssa = phi i32 [ 0, %3 ], [ %.1101, %._crit_edge131.loopexit ]
  %122 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %.0102.lcssa, ptr %122, align 8, !tbaa !41
  %123 = getelementptr inbounds i8, ptr %1, i64 112
  store i32 %.0100.lcssa, ptr %123, align 8, !tbaa !42
  ret void
}

declare ptr @__idxset(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 speculatable willreturn memory(none) }
attributes #3 = { 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, !10, i64 16}
!6 = !{!"graphdef", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 104, !10, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !10, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 48}
!14 = !{!6, !7, i64 56}
!15 = !{!6, !7, i64 96}
!16 = !{!6, !7, i64 104}
!17 = !{!6, !7, i64 128}
!18 = !{!6, !7, i64 120}
!19 = !{!6, !7, i64 152}
!20 = !{!21, !10, i64 80}
!21 = !{!"controldef", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !22, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !23, i64 48, !24, i64 104, !24, i64 112, !24, i64 120, !24, i64 128, !24, i64 136, !24, i64 144, !24, i64 152, !24, i64 160, !24, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !24, i64 200, !24, i64 208, !24, i64 216, !24, i64 224}
!22 = !{!"float", !8, i64 0}
!23 = !{!"workspacedef", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 48}
!24 = !{!"double", !8, i64 0}
!25 = !{!6, !7, i64 64}
!26 = !{!10, !10, i64 0}
!27 = !{!28, !10, i64 8}
!28 = !{!"rinfodef", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16}
!29 = !{!28, !10, i64 4}
!30 = !{!28, !10, i64 0}
!31 = !{!28, !7, i64 16}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!21, !7, i64 64}
!35 = !{!36, !10, i64 0}
!36 = !{!"edegreedef", !10, i64 0, !10, i64 4}
!37 = !{!36, !10, i64 4}
!38 = distinct !{!38, !33}
!39 = distinct !{!39, !33}
!40 = distinct !{!40, !33}
!41 = !{!6, !10, i64 88}
!42 = !{!6, !10, i64 112}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass