; LLVM IR from darnstrom/daqp :: src (utils)

; 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.DAQPWorkspace = type { ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, ptr, ptr, ptr, ptr, i32, ptr, i32, i32, i32, double, ptr, ptr, i32, ptr }
%struct.DAQPSettings = type { double, double, double, double, double, i32, i32, double, double, double, double, double, double }

; 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 i32 @update_d(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  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
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %73, %3
  %17 = load i32, ptr %8, align 4, !tbaa !9
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.DAQPWorkspace, ptr %18, i32 0, i32 2
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = icmp slt i32 %17, %20
  br i1 %21, label %22, label %76

22:                                               ; preds = %16
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.DAQPWorkspace, ptr %23, i32 0, i32 9
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %25, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = and i32 %29, 4
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %22
  br label %73

33:                                               ; preds = %22
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load i32, ptr %8, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds double, ptr %34, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !15
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds double, ptr %39, i64 %41
  %43 = load double, ptr %42, align 8, !tbaa !15
  %44 = fsub double %38, %43
  store double %44, ptr %13, align 8, !tbaa !15
  %45 = load double, ptr %13, align 8, !tbaa !15
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.DAQPWorkspace, ptr %46, i32 0, i32 28
  %48 = load ptr, ptr %47, align 8, !tbaa !16
  %49 = getelementptr inbounds %struct.DAQPSettings, ptr %48, i32 0, i32 0
  %50 = load double, ptr %49, align 8, !tbaa !17
  %51 = fneg double %50
  %52 = fcmp olt double %45, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %33
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %342

54:                                               ; preds = %33
  %55 = load double, ptr %13, align 8, !tbaa !15
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.DAQPWorkspace, ptr %56, i32 0, i32 28
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  %59 = getelementptr inbounds %struct.DAQPSettings, ptr %58, i32 0, i32 2
  %60 = load double, ptr %59, align 8, !tbaa !19
  %61 = fcmp olt double %55, %60
  br i1 %61, label %62, label %71

62:                                               ; preds = %54
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.DAQPWorkspace, ptr %63, i32 0, i32 9
  %65 = load ptr, ptr %64, align 8, !tbaa !14
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds i32, ptr %65, i64 %67
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = or i32 %69, 5
  store i32 %70, ptr %68, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %62, %54
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72, %32
  %74 = load i32, ptr %8, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %8, align 4, !tbaa !9
  br label %16, !llvm.loop !20

76:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.DAQPWorkspace, ptr %77, i32 0, i32 1
  %79 = load i32, ptr %78, align 8, !tbaa !22
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.DAQPWorkspace, ptr %80, i32 0, i32 22
  store i32 0, ptr %81, align 8, !tbaa !23
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.DAQPWorkspace, ptr %82, i32 0, i32 10
  %84 = load ptr, ptr %83, align 8, !tbaa !24
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %136

86:                                               ; preds = %76
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %132, %86
  %88 = load i32, ptr %8, align 4, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.DAQPWorkspace, ptr %89, i32 0, i32 2
  %91 = load i32, ptr %90, align 4, !tbaa !11
  %92 = icmp slt i32 %88, %91
  br i1 %92, label %93, label %135

93:                                               ; preds = %87
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds double, ptr %94, i64 %96
  %98 = load double, ptr %97, align 8, !tbaa !15
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.DAQPWorkspace, ptr %99, i32 0, i32 10
  %101 = load ptr, ptr %100, align 8, !tbaa !24
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds double, ptr %101, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !15
  %106 = fmul double %98, %105
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.DAQPWorkspace, ptr %107, i32 0, i32 5
  %109 = load ptr, ptr %108, align 8, !tbaa !25
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds double, ptr %109, i64 %111
  store double %106, ptr %112, align 8, !tbaa !15
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load i32, ptr %8, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds double, ptr %113, i64 %115
  %117 = load double, ptr %116, align 8, !tbaa !15
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.DAQPWorkspace, ptr %118, i32 0, i32 10
  %120 = load ptr, ptr %119, align 8, !tbaa !24
  %121 = load i32, ptr %8, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds double, ptr %120, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !15
  %125 = fmul double %117, %124
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.DAQPWorkspace, ptr %126, i32 0, i32 6
  %128 = load ptr, ptr %127, align 8, !tbaa !26
  %129 = load i32, ptr %8, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds double, ptr %128, i64 %130
  store double %125, ptr %131, align 8, !tbaa !15
  br label %132

132:                                              ; preds = %93
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %8, align 4, !tbaa !9
  br label %87, !llvm.loop !27

135:                                              ; preds = %87
  br label %170

136:                                              ; preds = %76
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %166, %136
  %138 = load i32, ptr %8, align 4, !tbaa !9
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.DAQPWorkspace, ptr %139, i32 0, i32 2
  %141 = load i32, ptr %140, align 4, !tbaa !11
  %142 = icmp slt i32 %138, %141
  br i1 %142, label %143, label %169

143:                                              ; preds = %137
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds double, ptr %144, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !15
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.DAQPWorkspace, ptr %149, i32 0, i32 5
  %151 = load ptr, ptr %150, align 8, !tbaa !25
  %152 = load i32, ptr %8, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds double, ptr %151, i64 %153
  store double %148, ptr %154, align 8, !tbaa !15
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = load i32, ptr %8, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds double, ptr %155, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !15
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.DAQPWorkspace, ptr %160, i32 0, i32 6
  %162 = load ptr, ptr %161, align 8, !tbaa !26
  %163 = load i32, ptr %8, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds double, ptr %162, i64 %164
  store double %159, ptr %165, align 8, !tbaa !15
  br label %166

166:                                              ; preds = %143
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %8, align 4, !tbaa !9
  br label %137, !llvm.loop !28

169:                                              ; preds = %137
  br label %170

170:                                              ; preds = %169, %135
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.DAQPWorkspace, ptr %171, i32 0, i32 8
  %173 = load ptr, ptr %172, align 8, !tbaa !29
  %174 = icmp eq ptr %173, null
  br i1 %174, label %175, label %177

175:                                              ; preds = %170
  %176 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %176, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %341

177:                                              ; preds = %170
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.DAQPWorkspace, ptr %178, i32 0, i32 7
  %180 = load ptr, ptr %179, align 8, !tbaa !30
  %181 = icmp ne ptr %180, null
  br i1 %181, label %182, label %239

182:                                              ; preds = %177
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %235, %182
  %184 = load i32, ptr %8, align 4, !tbaa !9
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.DAQPWorkspace, ptr %185, i32 0, i32 3
  %187 = load i32, ptr %186, align 8, !tbaa !31
  %188 = icmp slt i32 %184, %187
  br i1 %188, label %189, label %238

189:                                              ; preds = %183
  %190 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %190, ptr %9, align 4, !tbaa !9
  store double 0.000000e+00, ptr %12, align 8, !tbaa !15
  br label %191

191:                                              ; preds = %213, %189
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %195, label %216

195:                                              ; preds = %191
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.DAQPWorkspace, ptr %196, i32 0, i32 7
  %198 = load ptr, ptr %197, align 8, !tbaa !30
  %199 = load i32, ptr %10, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %10, align 4, !tbaa !9
  %201 = sext i32 %199 to i64
  %202 = getelementptr inbounds double, ptr %198, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !15
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.DAQPWorkspace, ptr %204, i32 0, i32 8
  %206 = load ptr, ptr %205, align 8, !tbaa !29
  %207 = load i32, ptr %9, align 4, !tbaa !9
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds double, ptr %206, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !15
  %211 = load double, ptr %12, align 8, !tbaa !15
  %212 = call double @llvm.fmuladd.f64(double %203, double %210, double %211)
  store double %212, ptr %12, align 8, !tbaa !15
  br label %213

213:                                              ; preds = %195
  %214 = load i32, ptr %9, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %9, align 4, !tbaa !9
  br label %191, !llvm.loop !32

216:                                              ; preds = %191
  %217 = load double, ptr %12, align 8, !tbaa !15
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.DAQPWorkspace, ptr %218, i32 0, i32 5
  %220 = load ptr, ptr %219, align 8, !tbaa !25
  %221 = load i32, ptr %8, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds double, ptr %220, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !15
  %225 = fadd double %224, %217
  store double %225, ptr %223, align 8, !tbaa !15
  %226 = load double, ptr %12, align 8, !tbaa !15
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.DAQPWorkspace, ptr %227, i32 0, i32 6
  %229 = load ptr, ptr %228, align 8, !tbaa !26
  %230 = load i32, ptr %8, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %229, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !15
  %234 = fadd double %233, %226
  store double %234, ptr %232, align 8, !tbaa !15
  br label %235

235:                                              ; preds = %216
  %236 = load i32, ptr %8, align 4, !tbaa !9
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %8, align 4, !tbaa !9
  br label %183, !llvm.loop !33

238:                                              ; preds = %183
  br label %281

239:                                              ; preds = %177
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %240

240:                                              ; preds = %277, %239
  %241 = load i32, ptr %8, align 4, !tbaa !9
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.DAQPWorkspace, ptr %242, i32 0, i32 3
  %244 = load i32, ptr %243, align 8, !tbaa !31
  %245 = icmp slt i32 %241, %244
  br i1 %245, label %246, label %280

246:                                              ; preds = %240
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.DAQPWorkspace, ptr %247, i32 0, i32 8
  %249 = load ptr, ptr %248, align 8, !tbaa !29
  %250 = load i32, ptr %8, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds double, ptr %249, i64 %251
  %253 = load double, ptr %252, align 8, !tbaa !15
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.DAQPWorkspace, ptr %254, i32 0, i32 5
  %256 = load ptr, ptr %255, align 8, !tbaa !25
  %257 = load i32, ptr %8, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds double, ptr %256, i64 %258
  %260 = load double, ptr %259, align 8, !tbaa !15
  %261 = fadd double %260, %253
  store double %261, ptr %259, align 8, !tbaa !15
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.DAQPWorkspace, ptr %262, i32 0, i32 8
  %264 = load ptr, ptr %263, align 8, !tbaa !29
  %265 = load i32, ptr %8, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds double, ptr %264, i64 %266
  %268 = load double, ptr %267, align 8, !tbaa !15
  %269 = load ptr, ptr %5, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.DAQPWorkspace, ptr %269, i32 0, i32 6
  %271 = load ptr, ptr %270, align 8, !tbaa !26
  %272 = load i32, ptr %8, align 4, !tbaa !9
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds double, ptr %271, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !15
  %276 = fadd double %275, %268
  store double %276, ptr %274, align 8, !tbaa !15
  br label %277

277:                                              ; preds = %246
  %278 = load i32, ptr %8, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %8, align 4, !tbaa !9
  br label %240, !llvm.loop !34

280:                                              ; preds = %240
  br label %281

281:                                              ; preds = %280, %238
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.DAQPWorkspace, ptr %282, i32 0, i32 3
  %284 = load i32, ptr %283, align 8, !tbaa !31
  store i32 %284, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %285

285:                                              ; preds = %336, %281
  %286 = load i32, ptr %8, align 4, !tbaa !9
  %287 = load ptr, ptr %5, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.DAQPWorkspace, ptr %287, i32 0, i32 2
  %289 = load i32, ptr %288, align 4, !tbaa !11
  %290 = icmp slt i32 %286, %289
  br i1 %290, label %291, label %339

291:                                              ; preds = %285
  store i32 0, ptr %9, align 4, !tbaa !9
  store double 0.000000e+00, ptr %12, align 8, !tbaa !15
  br label %292

292:                                              ; preds = %314, %291
  %293 = load i32, ptr %9, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = icmp slt i32 %293, %294
  br i1 %295, label %296, label %317

296:                                              ; preds = %292
  %297 = load ptr, ptr %5, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.DAQPWorkspace, ptr %297, i32 0, i32 4
  %299 = load ptr, ptr %298, align 8, !tbaa !35
  %300 = load i32, ptr %10, align 4, !tbaa !9
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %10, align 4, !tbaa !9
  %302 = sext i32 %300 to i64
  %303 = getelementptr inbounds double, ptr %299, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !15
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.DAQPWorkspace, ptr %305, i32 0, i32 8
  %307 = load ptr, ptr %306, align 8, !tbaa !29
  %308 = load i32, ptr %9, align 4, !tbaa !9
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds double, ptr %307, i64 %309
  %311 = load double, ptr %310, align 8, !tbaa !15
  %312 = load double, ptr %12, align 8, !tbaa !15
  %313 = call double @llvm.fmuladd.f64(double %304, double %311, double %312)
  store double %313, ptr %12, align 8, !tbaa !15
  br label %314

314:                                              ; preds = %296
  %315 = load i32, ptr %9, align 4, !tbaa !9
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %9, align 4, !tbaa !9
  br label %292, !llvm.loop !36

317:                                              ; preds = %292
  %318 = load double, ptr %12, align 8, !tbaa !15
  %319 = load ptr, ptr %5, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.DAQPWorkspace, ptr %319, i32 0, i32 5
  %321 = load ptr, ptr %320, align 8, !tbaa !25
  %322 = load i32, ptr %8, align 4, !tbaa !9
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds double, ptr %321, i64 %323
  %325 = load double, ptr %324, align 8, !tbaa !15
  %326 = fadd double %325, %318
  store double %326, ptr %324, align 8, !tbaa !15
  %327 = load double, ptr %12, align 8, !tbaa !15
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.DAQPWorkspace, ptr %328, i32 0, i32 6
  %330 = load ptr, ptr %329, align 8, !tbaa !26
  %331 = load i32, ptr %8, align 4, !tbaa !9
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds double, ptr %330, i64 %332
  %334 = load double, ptr %333, align 8, !tbaa !15
  %335 = fadd double %334, %327
  store double %335, ptr %333, align 8, !tbaa !15
  br label %336

336:                                              ; preds = %317
  %337 = load i32, ptr %8, align 4, !tbaa !9
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %8, align 4, !tbaa !9
  br label %285, !llvm.loop !37

339:                                              ; preds = %285
  %340 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %340, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %341

341:                                              ; preds = %339, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %342

342:                                              ; preds = %341, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, 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
  %343 = load i32, ptr %4, align 4
  ret i32 %343
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { 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, !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 12}
!12 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !13, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !13, i64 200, !6, i64 208, !6, i64 216, !10, i64 224, !6, i64 232}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !6, i64 64}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !6, i64 208}
!17 = !{!18, !13, i64 0}
!18 = !{!"", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !10, i64 40, !10, i64 44, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88}
!19 = !{!18, !13, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !10, i64 8}
!23 = !{!12, !10, i64 168}
!24 = !{!12, !6, i64 72}
!25 = !{!12, !6, i64 32}
!26 = !{!12, !6, i64 40}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}
!29 = !{!12, !6, i64 56}
!30 = !{!12, !6, i64 48}
!31 = !{!12, !10, i64 16}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}
!35 = !{!12, !6, i64 24}
!36 = distinct !{!36, !21}
!37 = distinct !{!37, !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"

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local range(i32 -1, 2) i32 @update_d(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
  %4 = ptrtoint ptr %2 to i64
  %5 = ptrtoint ptr %1 to i64
  %6 = getelementptr inbounds i8, ptr %0, i64 12
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 64
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %0, i64 208
  br label %12

12:                                               ; preds = %.lr.ph, %33
  %13 = phi i32 [ %7, %.lr.ph ], [ %34, %33 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %33 ]
  %.099121 = phi i32 [ 0, %.lr.ph ], [ %.1100, %33 ]
  %14 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %16 = and i32 %15, 4
  %.not108 = icmp eq i32 %16, 0
  br i1 %.not108, label %17, label %33

17:                                               ; preds = %12
  %18 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %19 = load double, ptr %18, align 8, !tbaa !14
  %20 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %21 = load double, ptr %20, align 8, !tbaa !14
  %22 = fsub double %19, %21
  %23 = load ptr, ptr %11, align 8, !tbaa !15
  %24 = load double, ptr %23, align 8, !tbaa !16
  %25 = fneg double %24
  %26 = fcmp olt double %22, %25
  br i1 %26, label %.loopexit, label %27

27:                                               ; preds = %17
  %28 = getelementptr inbounds i8, ptr %23, i64 16
  %29 = load double, ptr %28, align 8, !tbaa !18
  %30 = fcmp olt double %22, %29
  br i1 %30, label %31, label %33

31:                                               ; preds = %27
  %32 = or i32 %15, 5
  store i32 %32, ptr %14, align 4, !tbaa !13
  %.pre = load i32, ptr %6, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %31, %27, %12
  %34 = phi i32 [ %13, %12 ], [ %.pre, %31 ], [ %13, %27 ]
  %.1100 = phi i32 [ %.099121, %12 ], [ 1, %31 ], [ %.099121, %27 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = sext i32 %34 to i64
  %36 = icmp slt i64 %indvars.iv.next, %35
  br i1 %36, label %12, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %33, %3
  %.099.lcssa = phi i32 [ 0, %3 ], [ %.1100, %33 ]
  %.lcssa = phi i32 [ %7, %3 ], [ %34, %33 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = getelementptr inbounds i8, ptr %0, i64 168
  store i32 0, ptr %39, align 8, !tbaa !22
  %40 = getelementptr inbounds i8, ptr %0, i64 72
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  %.not = icmp eq ptr %41, null
  %42 = icmp sgt i32 %.lcssa, 0
  br i1 %.not, label %.preheader114, label %.preheader116

.preheader116:                                    ; preds = %._crit_edge
  br i1 %42, label %.lr.ph125, label %.loopexit115

.lr.ph125:                                        ; preds = %.preheader116
  %43 = getelementptr inbounds i8, ptr %0, i64 32
  %44 = load ptr, ptr %43, align 8, !tbaa !24
  %45 = getelementptr inbounds i8, ptr %0, i64 40
  %46 = load ptr, ptr %45, align 8, !tbaa !25
  %wide.trip.count = zext nneg i32 %.lcssa to i64
  %min.iters.check = icmp ult i32 %.lcssa, 24
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph125
  %indvars.iv158.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph125 ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %47 = getelementptr inbounds double, ptr %1, i64 %indvars.iv158.ph
  %48 = load double, ptr %47, align 8, !tbaa !14
  %49 = getelementptr inbounds double, ptr %41, i64 %indvars.iv158.ph
  %50 = load double, ptr %49, align 8, !tbaa !14
  %51 = fmul double %48, %50
  %52 = getelementptr inbounds double, ptr %44, i64 %indvars.iv158.ph
  store double %51, ptr %52, align 8, !tbaa !14
  %53 = getelementptr inbounds double, ptr %2, i64 %indvars.iv158.ph
  %54 = load double, ptr %53, align 8, !tbaa !14
  %55 = load double, ptr %49, align 8, !tbaa !14
  %56 = fmul double %54, %55
  %57 = getelementptr inbounds double, ptr %46, i64 %indvars.iv158.ph
  store double %56, ptr %57, align 8, !tbaa !14
  %indvars.iv.next159.prol = or disjoint i64 %indvars.iv158.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv158.unr = phi i64 [ %indvars.iv158.ph, %scalar.ph.preheader ], [ %indvars.iv.next159.prol, %scalar.ph.prol ]
  %58 = add nsw i64 %wide.trip.count, -1
  %59 = icmp eq i64 %indvars.iv158.ph, %58
  br i1 %59, label %.loopexit115, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph125
  %60 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %44, i64 %60
  %scevgep218 = getelementptr i8, ptr %46, i64 %60
  %scevgep219 = getelementptr i8, ptr %1, i64 %60
  %scevgep220 = getelementptr i8, ptr %41, i64 %60
  %scevgep221 = getelementptr i8, ptr %2, i64 %60
  %bound0 = icmp ult ptr %44, %scevgep218
  %bound1 = icmp ult ptr %46, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0222 = icmp ult ptr %44, %scevgep219
  %bound1223 = icmp ugt ptr %scevgep, %1
  %found.conflict224 = and i1 %bound0222, %bound1223
  %conflict.rdx = or i1 %found.conflict, %found.conflict224
  %bound0225 = icmp ult ptr %44, %scevgep220
  %bound1226 = icmp ult ptr %41, %scevgep
  %found.conflict227 = and i1 %bound0225, %bound1226
  %conflict.rdx228 = or i1 %conflict.rdx, %found.conflict227
  %bound0229 = icmp ult ptr %44, %scevgep221
  %bound1230 = icmp ugt ptr %scevgep, %2
  %found.conflict231 = and i1 %bound0229, %bound1230
  %conflict.rdx232 = or i1 %conflict.rdx228, %found.conflict231
  %bound0233 = icmp ult ptr %46, %scevgep219
  %bound1234 = icmp ugt ptr %scevgep218, %1
  %found.conflict235 = and i1 %bound0233, %bound1234
  %conflict.rdx236 = or i1 %conflict.rdx232, %found.conflict235
  %bound0237 = icmp ult ptr %46, %scevgep220
  %bound1238 = icmp ult ptr %41, %scevgep218
  %found.conflict239 = and i1 %bound0237, %bound1238
  %conflict.rdx240 = or i1 %conflict.rdx236, %found.conflict239
  %bound0241 = icmp ult ptr %46, %scevgep221
  %bound1242 = icmp ugt ptr %scevgep218, %2
  %found.conflict243 = and i1 %bound0241, %bound1242
  %conflict.rdx244 = or i1 %conflict.rdx240, %found.conflict243
  br i1 %conflict.rdx244, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483646
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %61 = getelementptr inbounds double, ptr %1, i64 %index
  %wide.load = load <2 x double>, ptr %61, align 8, !tbaa !14, !alias.scope !26
  %62 = getelementptr inbounds double, ptr %41, i64 %index
  %wide.load245 = load <2 x double>, ptr %62, align 8, !tbaa !14, !alias.scope !29
  %63 = fmul <2 x double> %wide.load, %wide.load245
  %64 = getelementptr inbounds double, ptr %44, i64 %index
  store <2 x double> %63, ptr %64, align 8, !tbaa !14, !alias.scope !31, !noalias !33
  %65 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load246 = load <2 x double>, ptr %65, align 8, !tbaa !14, !alias.scope !36
  %66 = fmul <2 x double> %wide.load246, %wide.load245
  %67 = getelementptr inbounds double, ptr %46, i64 %index
  store <2 x double> %66, ptr %67, align 8, !tbaa !14, !alias.scope !37, !noalias !38
  %index.next = add nuw i64 %index, 2
  %68 = icmp eq i64 %index.next, %n.vec
  br i1 %68, label %middle.block, label %vector.body, !llvm.loop !39

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit115, label %scalar.ph.preheader

.preheader114:                                    ; preds = %._crit_edge
  br i1 %42, label %.lr.ph127, label %.loopexit115

.lr.ph127:                                        ; preds = %.preheader114
  %69 = getelementptr inbounds i8, ptr %0, i64 32
  %70 = load ptr, ptr %69, align 8, !tbaa !24
  %71 = getelementptr inbounds i8, ptr %0, i64 40
  %72 = load ptr, ptr %71, align 8, !tbaa !25
  %wide.trip.count164 = zext nneg i32 %.lcssa to i64
  %min.iters.check259 = icmp ult i32 %.lcssa, 24
  br i1 %min.iters.check259, label %scalar.ph258.preheader, label %vector.memcheck248

scalar.ph258.preheader:                           ; preds = %middle.block257, %vector.memcheck248, %.lr.ph127
  %indvars.iv161.ph = phi i64 [ 0, %vector.memcheck248 ], [ 0, %.lr.ph127 ], [ %n.vec262, %middle.block257 ]
  %xtraiter333 = and i64 %wide.trip.count164, 1
  %lcmp.mod334.not = icmp eq i64 %xtraiter333, 0
  br i1 %lcmp.mod334.not, label %scalar.ph258.prol.loopexit, label %scalar.ph258.prol

scalar.ph258.prol:                                ; preds = %scalar.ph258.preheader
  %73 = getelementptr inbounds double, ptr %1, i64 %indvars.iv161.ph
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = getelementptr inbounds double, ptr %70, i64 %indvars.iv161.ph
  store double %74, ptr %75, align 8, !tbaa !14
  %76 = getelementptr inbounds double, ptr %2, i64 %indvars.iv161.ph
  %77 = load double, ptr %76, align 8, !tbaa !14
  %78 = getelementptr inbounds double, ptr %72, i64 %indvars.iv161.ph
  store double %77, ptr %78, align 8, !tbaa !14
  %indvars.iv.next162.prol = or disjoint i64 %indvars.iv161.ph, 1
  br label %scalar.ph258.prol.loopexit

scalar.ph258.prol.loopexit:                       ; preds = %scalar.ph258.prol, %scalar.ph258.preheader
  %indvars.iv161.unr = phi i64 [ %indvars.iv161.ph, %scalar.ph258.preheader ], [ %indvars.iv.next162.prol, %scalar.ph258.prol ]
  %79 = add nsw i64 %wide.trip.count164, -1
  %80 = icmp eq i64 %indvars.iv161.ph, %79
  br i1 %80, label %.loopexit115, label %scalar.ph258

vector.memcheck248:                               ; preds = %.lr.ph127
  %81 = ptrtoint ptr %72 to i64
  %82 = ptrtoint ptr %70 to i64
  %83 = sub i64 %81, %82
  %diff.check = icmp ult i64 %83, 32
  %84 = sub i64 %82, %5
  %diff.check249 = icmp ult i64 %84, 32
  %conflict.rdx250 = or i1 %diff.check, %diff.check249
  %85 = sub i64 %4, %82
  %diff.check251 = icmp ult i64 %85, 32
  %conflict.rdx252 = or i1 %conflict.rdx250, %diff.check251
  %86 = sub i64 %81, %5
  %diff.check253 = icmp ult i64 %86, 32
  %conflict.rdx254 = or i1 %conflict.rdx252, %diff.check253
  %87 = sub i64 %81, %4
  %diff.check255 = icmp ult i64 %87, 32
  %conflict.rdx256 = or i1 %conflict.rdx254, %diff.check255
  br i1 %conflict.rdx256, label %scalar.ph258.preheader, label %vector.ph260

vector.ph260:                                     ; preds = %vector.memcheck248
  %n.vec262 = and i64 %wide.trip.count164, 2147483644
  br label %vector.body264

vector.body264:                                   ; preds = %vector.body264, %vector.ph260
  %index265 = phi i64 [ 0, %vector.ph260 ], [ %index.next270, %vector.body264 ]
  %88 = getelementptr inbounds double, ptr %1, i64 %index265
  %89 = getelementptr inbounds i8, ptr %88, i64 16
  %wide.load266 = load <2 x double>, ptr %88, align 8, !tbaa !14
  %wide.load267 = load <2 x double>, ptr %89, align 8, !tbaa !14
  %90 = getelementptr inbounds double, ptr %70, i64 %index265
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  store <2 x double> %wide.load266, ptr %90, align 8, !tbaa !14
  store <2 x double> %wide.load267, ptr %91, align 8, !tbaa !14
  %92 = getelementptr inbounds double, ptr %2, i64 %index265
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  %wide.load268 = load <2 x double>, ptr %92, align 8, !tbaa !14
  %wide.load269 = load <2 x double>, ptr %93, align 8, !tbaa !14
  %94 = getelementptr inbounds double, ptr %72, i64 %index265
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  store <2 x double> %wide.load268, ptr %94, align 8, !tbaa !14
  store <2 x double> %wide.load269, ptr %95, align 8, !tbaa !14
  %index.next270 = add nuw i64 %index265, 4
  %96 = icmp eq i64 %index.next270, %n.vec262
  br i1 %96, label %middle.block257, label %vector.body264, !llvm.loop !42

middle.block257:                                  ; preds = %vector.body264
  %cmp.n271 = icmp eq i64 %n.vec262, %wide.trip.count164
  br i1 %cmp.n271, label %.loopexit115, label %scalar.ph258.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv158 = phi i64 [ %indvars.iv.next159.1, %scalar.ph ], [ %indvars.iv158.unr, %scalar.ph.prol.loopexit ]
  %97 = getelementptr inbounds double, ptr %1, i64 %indvars.iv158
  %98 = load double, ptr %97, align 8, !tbaa !14
  %99 = getelementptr inbounds double, ptr %41, i64 %indvars.iv158
  %100 = load double, ptr %99, align 8, !tbaa !14
  %101 = fmul double %98, %100
  %102 = getelementptr inbounds double, ptr %44, i64 %indvars.iv158
  store double %101, ptr %102, align 8, !tbaa !14
  %103 = getelementptr inbounds double, ptr %2, i64 %indvars.iv158
  %104 = load double, ptr %103, align 8, !tbaa !14
  %105 = load double, ptr %99, align 8, !tbaa !14
  %106 = fmul double %104, %105
  %107 = getelementptr inbounds double, ptr %46, i64 %indvars.iv158
  store double %106, ptr %107, align 8, !tbaa !14
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %108 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next159
  %109 = load double, ptr %108, align 8, !tbaa !14
  %110 = getelementptr inbounds double, ptr %41, i64 %indvars.iv.next159
  %111 = load double, ptr %110, align 8, !tbaa !14
  %112 = fmul double %109, %111
  %113 = getelementptr inbounds double, ptr %44, i64 %indvars.iv.next159
  store double %112, ptr %113, align 8, !tbaa !14
  %114 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next159
  %115 = load double, ptr %114, align 8, !tbaa !14
  %116 = load double, ptr %110, align 8, !tbaa !14
  %117 = fmul double %115, %116
  %118 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next159
  store double %117, ptr %118, align 8, !tbaa !14
  %indvars.iv.next159.1 = add nuw nsw i64 %indvars.iv158, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next159.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.loopexit115, label %scalar.ph, !llvm.loop !43

scalar.ph258:                                     ; preds = %scalar.ph258.prol.loopexit, %scalar.ph258
  %indvars.iv161 = phi i64 [ %indvars.iv.next162.1, %scalar.ph258 ], [ %indvars.iv161.unr, %scalar.ph258.prol.loopexit ]
  %119 = getelementptr inbounds double, ptr %1, i64 %indvars.iv161
  %120 = load double, ptr %119, align 8, !tbaa !14
  %121 = getelementptr inbounds double, ptr %70, i64 %indvars.iv161
  store double %120, ptr %121, align 8, !tbaa !14
  %122 = getelementptr inbounds double, ptr %2, i64 %indvars.iv161
  %123 = load double, ptr %122, align 8, !tbaa !14
  %124 = getelementptr inbounds double, ptr %72, i64 %indvars.iv161
  store double %123, ptr %124, align 8, !tbaa !14
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %125 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next162
  %126 = load double, ptr %125, align 8, !tbaa !14
  %127 = getelementptr inbounds double, ptr %70, i64 %indvars.iv.next162
  store double %126, ptr %127, align 8, !tbaa !14
  %128 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next162
  %129 = load double, ptr %128, align 8, !tbaa !14
  %130 = getelementptr inbounds double, ptr %72, i64 %indvars.iv.next162
  store double %129, ptr %130, align 8, !tbaa !14
  %indvars.iv.next162.1 = add nuw nsw i64 %indvars.iv161, 2
  %exitcond165.not.1 = icmp eq i64 %indvars.iv.next162.1, %wide.trip.count164
  br i1 %exitcond165.not.1, label %.loopexit115, label %scalar.ph258, !llvm.loop !44

.loopexit115:                                     ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %scalar.ph258.prol.loopexit, %scalar.ph258, %middle.block, %middle.block257, %.preheader116, %.preheader114
  %131 = getelementptr inbounds i8, ptr %0, i64 56
  %132 = load ptr, ptr %131, align 8, !tbaa !45
  %133 = icmp eq ptr %132, null
  br i1 %133, label %.loopexit, label %134

134:                                              ; preds = %.loopexit115
  %135 = getelementptr inbounds i8, ptr %0, i64 48
  %136 = load ptr, ptr %135, align 8, !tbaa !46
  %.not107 = icmp eq ptr %136, null
  %137 = getelementptr inbounds i8, ptr %0, i64 16
  %138 = load i32, ptr %137, align 8, !tbaa !47
  %139 = icmp sgt i32 %138, 0
  br i1 %.not107, label %.preheader109, label %.preheader112

.preheader112:                                    ; preds = %134
  br i1 %139, label %.preheader111.lr.ph, label %.loopexit110

.preheader111.lr.ph:                              ; preds = %.preheader112
  %140 = getelementptr inbounds i8, ptr %0, i64 32
  %141 = load ptr, ptr %140, align 8, !tbaa !24
  %142 = getelementptr inbounds i8, ptr %0, i64 40
  %143 = load ptr, ptr %142, align 8, !tbaa !25
  %144 = sext i32 %38 to i64
  %wide.trip.count178 = zext nneg i32 %138 to i64
  %wide.trip.count175 = zext i32 %38 to i64
  br label %.preheader111

.preheader109:                                    ; preds = %134
  br i1 %139, label %.lr.ph138, label %.loopexit110

.lr.ph138:                                        ; preds = %.preheader109
  %145 = getelementptr inbounds i8, ptr %0, i64 32
  %146 = load ptr, ptr %145, align 8, !tbaa !24
  %147 = getelementptr inbounds i8, ptr %0, i64 40
  %148 = load ptr, ptr %147, align 8, !tbaa !25
  %wide.trip.count183 = zext nneg i32 %138 to i64
  %min.iters.check289 = icmp ult i32 %138, 10
  br i1 %min.iters.check289, label %scalar.ph288.preheader, label %vector.memcheck272

scalar.ph288.preheader:                           ; preds = %middle.block287, %vector.memcheck272, %.lr.ph138
  %indvars.iv180.ph = phi i64 [ 0, %vector.memcheck272 ], [ 0, %.lr.ph138 ], [ %n.vec292, %middle.block287 ]
  %xtraiter335 = and i64 %wide.trip.count183, 1
  %lcmp.mod336.not = icmp eq i64 %xtraiter335, 0
  br i1 %lcmp.mod336.not, label %scalar.ph288.prol.loopexit, label %scalar.ph288.prol

scalar.ph288.prol:                                ; preds = %scalar.ph288.preheader
  %149 = getelementptr inbounds double, ptr %132, i64 %indvars.iv180.ph
  %150 = load double, ptr %149, align 8, !tbaa !14
  %151 = getelementptr inbounds double, ptr %146, i64 %indvars.iv180.ph
  %152 = load double, ptr %151, align 8, !tbaa !14
  %153 = fadd double %150, %152
  store double %153, ptr %151, align 8, !tbaa !14
  %154 = load double, ptr %149, align 8, !tbaa !14
  %155 = getelementptr inbounds double, ptr %148, i64 %indvars.iv180.ph
  %156 = load double, ptr %155, align 8, !tbaa !14
  %157 = fadd double %154, %156
  store double %157, ptr %155, align 8, !tbaa !14
  %indvars.iv.next181.prol = or disjoint i64 %indvars.iv180.ph, 1
  br label %scalar.ph288.prol.loopexit

scalar.ph288.prol.loopexit:                       ; preds = %scalar.ph288.prol, %scalar.ph288.preheader
  %indvars.iv180.unr = phi i64 [ %indvars.iv180.ph, %scalar.ph288.preheader ], [ %indvars.iv.next181.prol, %scalar.ph288.prol ]
  %158 = add nsw i64 %wide.trip.count183, -1
  %159 = icmp eq i64 %indvars.iv180.ph, %158
  br i1 %159, label %.loopexit110, label %scalar.ph288

vector.memcheck272:                               ; preds = %.lr.ph138
  %160 = shl nuw nsw i64 %wide.trip.count183, 3
  %scevgep273 = getelementptr i8, ptr %146, i64 %160
  %scevgep274 = getelementptr i8, ptr %148, i64 %160
  %scevgep275 = getelementptr i8, ptr %132, i64 %160
  %bound0276 = icmp ult ptr %146, %scevgep274
  %bound1277 = icmp ult ptr %148, %scevgep273
  %found.conflict278 = and i1 %bound0276, %bound1277
  %bound0279 = icmp ult ptr %146, %scevgep275
  %bound1280 = icmp ult ptr %132, %scevgep273
  %found.conflict281 = and i1 %bound0279, %bound1280
  %conflict.rdx282 = or i1 %found.conflict278, %found.conflict281
  %bound0283 = icmp ult ptr %148, %scevgep275
  %bound1284 = icmp ult ptr %132, %scevgep274
  %found.conflict285 = and i1 %bound0283, %bound1284
  %conflict.rdx286 = or i1 %conflict.rdx282, %found.conflict285
  br i1 %conflict.rdx286, label %scalar.ph288.preheader, label %vector.ph290

vector.ph290:                                     ; preds = %vector.memcheck272
  %n.vec292 = and i64 %wide.trip.count183, 2147483646
  br label %vector.body294

vector.body294:                                   ; preds = %vector.body294, %vector.ph290
  %index295 = phi i64 [ 0, %vector.ph290 ], [ %index.next300, %vector.body294 ]
  %161 = getelementptr inbounds double, ptr %132, i64 %index295
  %wide.load296 = load <2 x double>, ptr %161, align 8, !tbaa !14, !alias.scope !48
  %162 = getelementptr inbounds double, ptr %146, i64 %index295
  %wide.load297 = load <2 x double>, ptr %162, align 8, !tbaa !14, !alias.scope !51, !noalias !53
  %163 = fadd <2 x double> %wide.load296, %wide.load297
  store <2 x double> %163, ptr %162, align 8, !tbaa !14, !alias.scope !51, !noalias !53
  %164 = getelementptr inbounds double, ptr %148, i64 %index295
  %wide.load299 = load <2 x double>, ptr %164, align 8, !tbaa !14, !alias.scope !55, !noalias !48
  %165 = fadd <2 x double> %wide.load296, %wide.load299
  store <2 x double> %165, ptr %164, align 8, !tbaa !14, !alias.scope !55, !noalias !48
  %index.next300 = add nuw i64 %index295, 2
  %166 = icmp eq i64 %index.next300, %n.vec292
  br i1 %166, label %middle.block287, label %vector.body294, !llvm.loop !56

middle.block287:                                  ; preds = %vector.body294
  %cmp.n301 = icmp eq i64 %n.vec292, %wide.trip.count183
  br i1 %cmp.n301, label %.loopexit110, label %scalar.ph288.preheader

.preheader111:                                    ; preds = %.preheader111.lr.ph, %._crit_edge132
  %indvars.iv168 = phi i64 [ 0, %.preheader111.lr.ph ], [ %indvars.iv.next169, %._crit_edge132 ]
  %.0101135 = phi i32 [ 0, %.preheader111.lr.ph ], [ %.1102.lcssa, %._crit_edge132 ]
  %167 = icmp slt i64 %indvars.iv168, %144
  br i1 %167, label %.lr.ph131.preheader, label %._crit_edge132

.lr.ph131.preheader:                              ; preds = %.preheader111
  %168 = sext i32 %.0101135 to i64
  br label %.lr.ph131

.lr.ph131:                                        ; preds = %.lr.ph131.preheader, %.lr.ph131
  %indvars.iv170 = phi i64 [ %indvars.iv168, %.lr.ph131.preheader ], [ %indvars.iv.next171, %.lr.ph131 ]
  %indvars.iv166 = phi i64 [ %168, %.lr.ph131.preheader ], [ %indvars.iv.next167, %.lr.ph131 ]
  %.097130 = phi double [ 0.000000e+00, %.lr.ph131.preheader ], [ %173, %.lr.ph131 ]
  %indvars.iv.next167 = add nsw i64 %indvars.iv166, 1
  %169 = getelementptr inbounds double, ptr %136, i64 %indvars.iv166
  %170 = load double, ptr %169, align 8, !tbaa !14
  %171 = getelementptr inbounds double, ptr %132, i64 %indvars.iv170
  %172 = load double, ptr %171, align 8, !tbaa !14
  %173 = tail call double @llvm.fmuladd.f64(double %170, double %172, double %.097130)
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %exitcond176.not = icmp eq i64 %indvars.iv.next171, %wide.trip.count175
  br i1 %exitcond176.not, label %._crit_edge132.loopexit, label %.lr.ph131, !llvm.loop !57

._crit_edge132.loopexit:                          ; preds = %.lr.ph131
  %174 = trunc nsw i64 %indvars.iv.next167 to i32
  br label %._crit_edge132

._crit_edge132:                                   ; preds = %._crit_edge132.loopexit, %.preheader111
  %.1102.lcssa = phi i32 [ %.0101135, %.preheader111 ], [ %174, %._crit_edge132.loopexit ]
  %.097.lcssa = phi double [ 0.000000e+00, %.preheader111 ], [ %173, %._crit_edge132.loopexit ]
  %175 = getelementptr inbounds double, ptr %141, i64 %indvars.iv168
  %176 = load double, ptr %175, align 8, !tbaa !14
  %177 = fadd double %.097.lcssa, %176
  store double %177, ptr %175, align 8, !tbaa !14
  %178 = getelementptr inbounds double, ptr %143, i64 %indvars.iv168
  %179 = load double, ptr %178, align 8, !tbaa !14
  %180 = fadd double %.097.lcssa, %179
  store double %180, ptr %178, align 8, !tbaa !14
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond179.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count178
  br i1 %exitcond179.not, label %.loopexit110, label %.preheader111, !llvm.loop !58

scalar.ph288:                                     ; preds = %scalar.ph288.prol.loopexit, %scalar.ph288
  %indvars.iv180 = phi i64 [ %indvars.iv.next181.1, %scalar.ph288 ], [ %indvars.iv180.unr, %scalar.ph288.prol.loopexit ]
  %181 = getelementptr inbounds double, ptr %132, i64 %indvars.iv180
  %182 = load double, ptr %181, align 8, !tbaa !14
  %183 = getelementptr inbounds double, ptr %146, i64 %indvars.iv180
  %184 = load double, ptr %183, align 8, !tbaa !14
  %185 = fadd double %182, %184
  store double %185, ptr %183, align 8, !tbaa !14
  %186 = load double, ptr %181, align 8, !tbaa !14
  %187 = getelementptr inbounds double, ptr %148, i64 %indvars.iv180
  %188 = load double, ptr %187, align 8, !tbaa !14
  %189 = fadd double %186, %188
  store double %189, ptr %187, align 8, !tbaa !14
  %indvars.iv.next181 = add nuw nsw i64 %indvars.iv180, 1
  %190 = getelementptr inbounds double, ptr %132, i64 %indvars.iv.next181
  %191 = load double, ptr %190, align 8, !tbaa !14
  %192 = getelementptr inbounds double, ptr %146, i64 %indvars.iv.next181
  %193 = load double, ptr %192, align 8, !tbaa !14
  %194 = fadd double %191, %193
  store double %194, ptr %192, align 8, !tbaa !14
  %195 = load double, ptr %190, align 8, !tbaa !14
  %196 = getelementptr inbounds double, ptr %148, i64 %indvars.iv.next181
  %197 = load double, ptr %196, align 8, !tbaa !14
  %198 = fadd double %195, %197
  store double %198, ptr %196, align 8, !tbaa !14
  %indvars.iv.next181.1 = add nuw nsw i64 %indvars.iv180, 2
  %exitcond184.not.1 = icmp eq i64 %indvars.iv.next181.1, %wide.trip.count183
  br i1 %exitcond184.not.1, label %.loopexit110, label %scalar.ph288, !llvm.loop !59

.loopexit110:                                     ; preds = %._crit_edge132, %scalar.ph288.prol.loopexit, %scalar.ph288, %middle.block287, %.preheader112, %.preheader109
  %199 = icmp slt i32 %138, %.lcssa
  br i1 %199, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %.loopexit110
  %200 = icmp sgt i32 %38, 0
  %201 = getelementptr inbounds i8, ptr %0, i64 32
  %202 = load ptr, ptr %201, align 8, !tbaa !24
  %203 = getelementptr inbounds i8, ptr %0, i64 40
  %204 = load ptr, ptr %203, align 8, !tbaa !25
  br i1 %200, label %.preheader.lr.ph.split.us, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %205 = sext i32 %138 to i64
  %wide.trip.count188 = sext i32 %.lcssa to i64
  %206 = sub nsw i64 %wide.trip.count188, %205
  %min.iters.check312 = icmp ult i64 %206, 6
  br i1 %min.iters.check312, label %.preheader.preheader326, label %vector.memcheck302

.preheader.preheader326:                          ; preds = %middle.block310, %vector.memcheck302, %.preheader.preheader
  %indvars.iv185.ph = phi i64 [ %205, %vector.memcheck302 ], [ %205, %.preheader.preheader ], [ %ind.end, %middle.block310 ]
  %207 = sub nsw i64 %wide.trip.count188, %indvars.iv185.ph
  %xtraiter337 = and i64 %207, 1
  %lcmp.mod338.not = icmp eq i64 %xtraiter337, 0
  br i1 %lcmp.mod338.not, label %.preheader.prol.loopexit, label %.preheader.prol

.preheader.prol:                                  ; preds = %.preheader.preheader326
  %208 = getelementptr inbounds double, ptr %202, i64 %indvars.iv185.ph
  %209 = load double, ptr %208, align 8, !tbaa !14
  %210 = fadd double %209, 0.000000e+00
  store double %210, ptr %208, align 8, !tbaa !14
  %211 = getelementptr inbounds double, ptr %204, i64 %indvars.iv185.ph
  %212 = load double, ptr %211, align 8, !tbaa !14
  %213 = fadd double %212, 0.000000e+00
  store double %213, ptr %211, align 8, !tbaa !14
  %indvars.iv.next186.prol = add nsw i64 %indvars.iv185.ph, 1
  br label %.preheader.prol.loopexit

.preheader.prol.loopexit:                         ; preds = %.preheader.prol, %.preheader.preheader326
  %indvars.iv185.unr = phi i64 [ %indvars.iv185.ph, %.preheader.preheader326 ], [ %indvars.iv.next186.prol, %.preheader.prol ]
  %214 = add nsw i64 %wide.trip.count188, -1
  %215 = icmp eq i64 %indvars.iv185.ph, %214
  br i1 %215, label %.loopexit, label %.preheader

vector.memcheck302:                               ; preds = %.preheader.preheader
  %216 = shl nsw i64 %205, 3
  %scevgep303 = getelementptr i8, ptr %202, i64 %216
  %217 = shl nsw i64 %wide.trip.count188, 3
  %scevgep304 = getelementptr i8, ptr %202, i64 %217
  %scevgep305 = getelementptr i8, ptr %204, i64 %216
  %scevgep306 = getelementptr i8, ptr %204, i64 %217
  %bound0307 = icmp ult ptr %scevgep303, %scevgep306
  %bound1308 = icmp ult ptr %scevgep305, %scevgep304
  %found.conflict309 = and i1 %bound0307, %bound1308
  br i1 %found.conflict309, label %.preheader.preheader326, label %vector.ph313

vector.ph313:                                     ; preds = %vector.memcheck302
  %n.vec315 = and i64 %206, -4
  %ind.end = add nsw i64 %n.vec315, %205
  br label %vector.body317

vector.body317:                                   ; preds = %vector.body317, %vector.ph313
  %index318 = phi i64 [ 0, %vector.ph313 ], [ %index.next323, %vector.body317 ]
  %offset.idx = add i64 %index318, %205
  %218 = getelementptr inbounds double, ptr %202, i64 %offset.idx
  %219 = getelementptr inbounds i8, ptr %218, i64 16
  %wide.load319 = load <2 x double>, ptr %218, align 8, !tbaa !14, !alias.scope !60, !noalias !63
  %wide.load320 = load <2 x double>, ptr %219, align 8, !tbaa !14, !alias.scope !60, !noalias !63
  %220 = fadd <2 x double> %wide.load319, zeroinitializer
  %221 = fadd <2 x double> %wide.load320, zeroinitializer
  store <2 x double> %220, ptr %218, align 8, !tbaa !14, !alias.scope !60, !noalias !63
  store <2 x double> %221, ptr %219, align 8, !tbaa !14, !alias.scope !60, !noalias !63
  %222 = getelementptr inbounds double, ptr %204, i64 %offset.idx
  %223 = getelementptr inbounds i8, ptr %222, i64 16
  %wide.load321 = load <2 x double>, ptr %222, align 8, !tbaa !14, !alias.scope !63
  %wide.load322 = load <2 x double>, ptr %223, align 8, !tbaa !14, !alias.scope !63
  %224 = fadd <2 x double> %wide.load321, zeroinitializer
  %225 = fadd <2 x double> %wide.load322, zeroinitializer
  store <2 x double> %224, ptr %222, align 8, !tbaa !14, !alias.scope !63
  store <2 x double> %225, ptr %223, align 8, !tbaa !14, !alias.scope !63
  %index.next323 = add nuw i64 %index318, 4
  %226 = icmp eq i64 %index.next323, %n.vec315
  br i1 %226, label %middle.block310, label %vector.body317, !llvm.loop !65

middle.block310:                                  ; preds = %vector.body317
  %cmp.n324 = icmp eq i64 %206, %n.vec315
  br i1 %cmp.n324, label %.loopexit, label %.preheader.preheader326

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  %227 = getelementptr inbounds i8, ptr %0, i64 24
  %228 = load ptr, ptr %227, align 8, !tbaa !66
  %229 = zext nneg i32 %38 to i64
  %230 = sext i32 %138 to i64
  %wide.trip.count202 = sext i32 %.lcssa to i64
  %wide.trip.count197 = zext nneg i32 %38 to i64
  %xtraiter339 = and i64 %wide.trip.count197, 3
  %231 = icmp ult i32 %38, 4
  %unroll_iter = and i64 %wide.trip.count197, 2147483644
  %invariant.gep = getelementptr i8, ptr %228, i64 8
  %invariant.gep346 = getelementptr i8, ptr %228, i64 16
  %invariant.gep348 = getelementptr i8, ptr %228, i64 24
  %lcmp.mod340.not = icmp eq i64 %xtraiter339, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge143.us, %.preheader.lr.ph.split.us
  %indvars.iv199 = phi i64 [ %indvars.iv.next200, %._crit_edge143.us ], [ %230, %.preheader.lr.ph.split.us ]
  %.2103146.us = phi i64 [ %255, %._crit_edge143.us ], [ 0, %.preheader.lr.ph.split.us ]
  %sext = shl i64 %.2103146.us, 32
  %232 = ashr exact i64 %sext, 32
  br i1 %231, label %._crit_edge143.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv192 = phi i64 [ %indvars.iv.next193.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %indvars.iv190 = phi i64 [ %indvars.iv.next191.3, %.preheader.us.new ], [ %232, %.preheader.us ]
  %.198141.us = phi double [ %249, %.preheader.us.new ], [ 0.000000e+00, %.preheader.us ]
  %niter = phi i64 [ %niter.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %233 = getelementptr inbounds double, ptr %228, i64 %indvars.iv190
  %234 = load double, ptr %233, align 8, !tbaa !14
  %235 = getelementptr inbounds double, ptr %132, i64 %indvars.iv192
  %236 = load double, ptr %235, align 8, !tbaa !14
  %237 = tail call double @llvm.fmuladd.f64(double %234, double %236, double %.198141.us)
  %indvars.iv.next193 = or disjoint i64 %indvars.iv192, 1
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv190
  %238 = load double, ptr %gep, align 8, !tbaa !14
  %239 = getelementptr inbounds double, ptr %132, i64 %indvars.iv.next193
  %240 = load double, ptr %239, align 8, !tbaa !14
  %241 = tail call double @llvm.fmuladd.f64(double %238, double %240, double %237)
  %indvars.iv.next193.1 = or disjoint i64 %indvars.iv192, 2
  %gep347 = getelementptr double, ptr %invariant.gep346, i64 %indvars.iv190
  %242 = load double, ptr %gep347, align 8, !tbaa !14
  %243 = getelementptr inbounds double, ptr %132, i64 %indvars.iv.next193.1
  %244 = load double, ptr %243, align 8, !tbaa !14
  %245 = tail call double @llvm.fmuladd.f64(double %242, double %244, double %241)
  %indvars.iv.next193.2 = or disjoint i64 %indvars.iv192, 3
  %indvars.iv.next191.3 = add nsw i64 %indvars.iv190, 4
  %gep349 = getelementptr double, ptr %invariant.gep348, i64 %indvars.iv190
  %246 = load double, ptr %gep349, align 8, !tbaa !14
  %247 = getelementptr inbounds double, ptr %132, i64 %indvars.iv.next193.2
  %248 = load double, ptr %247, align 8, !tbaa !14
  %249 = tail call double @llvm.fmuladd.f64(double %246, double %248, double %245)
  %indvars.iv.next193.3 = add nuw nsw i64 %indvars.iv192, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge143.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !67

._crit_edge143.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa325.ph = phi double [ poison, %.preheader.us ], [ %249, %.preheader.us.new ]
  %indvars.iv192.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next193.3, %.preheader.us.new ]
  %indvars.iv190.unr = phi i64 [ %232, %.preheader.us ], [ %indvars.iv.next191.3, %.preheader.us.new ]
  %.198141.us.unr = phi double [ 0.000000e+00, %.preheader.us ], [ %249, %.preheader.us.new ]
  br i1 %lcmp.mod340.not, label %._crit_edge143.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge143.us.unr-lcssa, %.epil.preheader
  %indvars.iv192.epil = phi i64 [ %indvars.iv.next193.epil, %.epil.preheader ], [ %indvars.iv192.unr, %._crit_edge143.us.unr-lcssa ]
  %indvars.iv190.epil = phi i64 [ %indvars.iv.next191.epil, %.epil.preheader ], [ %indvars.iv190.unr, %._crit_edge143.us.unr-lcssa ]
  %.198141.us.epil = phi double [ %254, %.epil.preheader ], [ %.198141.us.unr, %._crit_edge143.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge143.us.unr-lcssa ]
  %indvars.iv.next191.epil = add nsw i64 %indvars.iv190.epil, 1
  %250 = getelementptr inbounds double, ptr %228, i64 %indvars.iv190.epil
  %251 = load double, ptr %250, align 8, !tbaa !14
  %252 = getelementptr inbounds double, ptr %132, i64 %indvars.iv192.epil
  %253 = load double, ptr %252, align 8, !tbaa !14
  %254 = tail call double @llvm.fmuladd.f64(double %251, double %253, double %.198141.us.epil)
  %indvars.iv.next193.epil = add nuw nsw i64 %indvars.iv192.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter339
  br i1 %epil.iter.cmp.not, label %._crit_edge143.us, label %.epil.preheader, !llvm.loop !68

._crit_edge143.us:                                ; preds = %.epil.preheader, %._crit_edge143.us.unr-lcssa
  %.lcssa325 = phi double [ %.lcssa325.ph, %._crit_edge143.us.unr-lcssa ], [ %254, %.epil.preheader ]
  %255 = add nsw i64 %232, %229
  %256 = getelementptr inbounds double, ptr %202, i64 %indvars.iv199
  %257 = load double, ptr %256, align 8, !tbaa !14
  %258 = fadd double %.lcssa325, %257
  store double %258, ptr %256, align 8, !tbaa !14
  %259 = getelementptr inbounds double, ptr %204, i64 %indvars.iv199
  %260 = load double, ptr %259, align 8, !tbaa !14
  %261 = fadd double %.lcssa325, %260
  store double %261, ptr %259, align 8, !tbaa !14
  %indvars.iv.next200 = add nsw i64 %indvars.iv199, 1
  %exitcond203.not = icmp eq i64 %indvars.iv.next200, %wide.trip.count202
  br i1 %exitcond203.not, label %.loopexit, label %.preheader.us, !llvm.loop !70

.preheader:                                       ; preds = %.preheader.prol.loopexit, %.preheader
  %indvars.iv185 = phi i64 [ %indvars.iv.next186.1, %.preheader ], [ %indvars.iv185.unr, %.preheader.prol.loopexit ]
  %262 = getelementptr inbounds double, ptr %202, i64 %indvars.iv185
  %263 = load double, ptr %262, align 8, !tbaa !14
  %264 = fadd double %263, 0.000000e+00
  store double %264, ptr %262, align 8, !tbaa !14
  %265 = getelementptr inbounds double, ptr %204, i64 %indvars.iv185
  %266 = load double, ptr %265, align 8, !tbaa !14
  %267 = fadd double %266, 0.000000e+00
  store double %267, ptr %265, align 8, !tbaa !14
  %indvars.iv.next186 = add nsw i64 %indvars.iv185, 1
  %268 = getelementptr inbounds double, ptr %202, i64 %indvars.iv.next186
  %269 = load double, ptr %268, align 8, !tbaa !14
  %270 = fadd double %269, 0.000000e+00
  store double %270, ptr %268, align 8, !tbaa !14
  %271 = getelementptr inbounds double, ptr %204, i64 %indvars.iv.next186
  %272 = load double, ptr %271, align 8, !tbaa !14
  %273 = fadd double %272, 0.000000e+00
  store double %273, ptr %271, align 8, !tbaa !14
  %indvars.iv.next186.1 = add nsw i64 %indvars.iv185, 2
  %exitcond189.not.1 = icmp eq i64 %indvars.iv.next186.1, %wide.trip.count188
  br i1 %exitcond189.not.1, label %.loopexit, label %.preheader, !llvm.loop !71

.loopexit:                                        ; preds = %17, %.preheader.prol.loopexit, %.preheader, %._crit_edge143.us, %middle.block310, %.loopexit110, %.loopexit115
  %.1 = phi i32 [ %.099.lcssa, %.loopexit115 ], [ %.099.lcssa, %.loopexit110 ], [ %.099.lcssa, %middle.block310 ], [ %.099.lcssa, %._crit_edge143.us ], [ %.099.lcssa, %.preheader ], [ %.099.lcssa, %.preheader.prol.loopexit ], [ -1, %17 ]
  ret i32 %.1
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 12}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !11, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !10, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !11, i64 200, !7, i64 208, !7, i64 216, !10, i64 224, !7, i64 232}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !7, i64 64}
!13 = !{!10, !10, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!6, !7, i64 208}
!16 = !{!17, !11, i64 0}
!17 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 44, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88}
!18 = !{!17, !11, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !10, i64 8}
!22 = !{!6, !10, i64 168}
!23 = !{!6, !7, i64 72}
!24 = !{!6, !7, i64 32}
!25 = !{!6, !7, i64 40}
!26 = !{!27}
!27 = distinct !{!27, !28}
!28 = distinct !{!28, !"LVerDomain"}
!29 = !{!30}
!30 = distinct !{!30, !28}
!31 = !{!32}
!32 = distinct !{!32, !28}
!33 = !{!34, !27, !30, !35}
!34 = distinct !{!34, !28}
!35 = distinct !{!35, !28}
!36 = !{!35}
!37 = !{!34}
!38 = !{!27, !30, !35}
!39 = distinct !{!39, !20, !40, !41}
!40 = !{!"llvm.loop.isvectorized", i32 1}
!41 = !{!"llvm.loop.unroll.runtime.disable"}
!42 = distinct !{!42, !20, !40, !41}
!43 = distinct !{!43, !20, !40}
!44 = distinct !{!44, !20, !40}
!45 = !{!6, !7, i64 56}
!46 = !{!6, !7, i64 48}
!47 = !{!6, !10, i64 16}
!48 = !{!49}
!49 = distinct !{!49, !50}
!50 = distinct !{!50, !"LVerDomain"}
!51 = !{!52}
!52 = distinct !{!52, !50}
!53 = !{!54, !49}
!54 = distinct !{!54, !50}
!55 = !{!54}
!56 = distinct !{!56, !20, !40, !41}
!57 = distinct !{!57, !20}
!58 = distinct !{!58, !20}
!59 = distinct !{!59, !20, !40}
!60 = !{!61}
!61 = distinct !{!61, !62}
!62 = distinct !{!62, !"LVerDomain"}
!63 = !{!64}
!64 = distinct !{!64, !62}
!65 = distinct !{!65, !20, !40, !41}
!66 = !{!6, !7, i64 24}
!67 = distinct !{!67, !20}
!68 = distinct !{!68, !69}
!69 = !{!"llvm.loop.unroll.disable"}
!70 = distinct !{!70, !20}
!71 = distinct !{!71, !20, !40}


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