; LLVM IR from QUILL-PIC/Quill :: src/maxwell.ll (ZN11fdtd_solver15init_boundariesEv)

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

%class.maxwell_solver = type { ptr, ptr, ptr, ptr, double, double, double, double, double, double }
%struct.celle = type { double, double, double }
%struct.cellb = type { 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11fdtd_solver15init_boundariesEv(ptr noundef nonnull align 8 dereferenceable(80) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca 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 i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %23 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call noundef i32 @_ZN7field3dI5celleE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40) %24)
  store i32 %25, ptr %3, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %26 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = call noundef i32 @_ZN7field3dI5celleE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
  store i32 %28, ptr %4, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %29 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = call noundef i32 @_ZN7field3dI5celleE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40) %30)
  store i32 %31, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !12
  br label %32

32:                                               ; preds = %89, %1
  %33 = load i32, ptr %7, align 4, !tbaa !12
  %34 = load i32, ptr %4, align 4, !tbaa !12
  %35 = sub nsw i32 %34, 1
  %36 = icmp slt i32 %33, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %32
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %92

38:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !12
  br label %39

39:                                               ; preds = %85, %38
  %40 = load i32, ptr %9, align 4, !tbaa !12
  %41 = load i32, ptr %5, align 4, !tbaa !12
  %42 = sub nsw i32 %41, 1
  %43 = icmp slt i32 %40, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %39
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %88

45:                                               ; preds = %39
  %46 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = load i32, ptr %6, align 4, !tbaa !12
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %47, i32 noundef %48)
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = load i32, ptr %7, align 4, !tbaa !12
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %50, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = load i32, ptr %9, align 4, !tbaa !12
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %struct.celle, ptr %54, i64 %56
  %58 = getelementptr inbounds %struct.celle, ptr %57, i32 0, i32 1
  store double 0.000000e+00, ptr %58, align 8, !tbaa !14
  %59 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !12
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %60, i32 noundef %61)
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !12
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load i32, ptr %9, align 4, !tbaa !12
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds %struct.celle, ptr %67, i64 %69
  %71 = getelementptr inbounds %struct.celle, ptr %70, i32 0, i32 2
  store double 0.000000e+00, ptr %71, align 8, !tbaa !16
  %72 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  %74 = load i32, ptr %6, align 4, !tbaa !12
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %73, i32 noundef %74)
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load i32, ptr %7, align 4, !tbaa !12
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds ptr, ptr %76, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !12
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds %struct.cellb, ptr %80, i64 %82
  %84 = getelementptr inbounds %struct.cellb, ptr %83, i32 0, i32 0
  store double 0.000000e+00, ptr %84, align 8, !tbaa !18
  br label %85

85:                                               ; preds = %45
  %86 = load i32, ptr %9, align 4, !tbaa !12
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %9, align 4, !tbaa !12
  br label %39, !llvm.loop !20

88:                                               ; preds = %44
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %7, align 4, !tbaa !12
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %7, align 4, !tbaa !12
  br label %32, !llvm.loop !22

92:                                               ; preds = %37
  %93 = load i32, ptr %3, align 4, !tbaa !12
  %94 = sub nsw i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !12
  br label %95

95:                                               ; preds = %191, %92
  %96 = load i32, ptr %10, align 4, !tbaa !12
  %97 = load i32, ptr %4, align 4, !tbaa !12
  %98 = sub nsw i32 %97, 1
  %99 = icmp slt i32 %96, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %95
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %194

101:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !12
  br label %102

102:                                              ; preds = %187, %101
  %103 = load i32, ptr %11, align 4, !tbaa !12
  %104 = load i32, ptr %5, align 4, !tbaa !12
  %105 = sub nsw i32 %104, 1
  %106 = icmp slt i32 %103, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %102
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %190

108:                                              ; preds = %102
  %109 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = load i32, ptr %6, align 4, !tbaa !12
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %110, i32 noundef %111)
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load i32, ptr %10, align 4, !tbaa !12
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds ptr, ptr %113, i64 %115
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = load i32, ptr %11, align 4, !tbaa !12
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds %struct.celle, ptr %117, i64 %119
  %121 = getelementptr inbounds %struct.celle, ptr %120, i32 0, i32 0
  store double 0.000000e+00, ptr %121, align 8, !tbaa !23
  %122 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %123 = load ptr, ptr %122, align 8, !tbaa !9
  %124 = load i32, ptr %6, align 4, !tbaa !12
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %123, i32 noundef %124)
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = load i32, ptr %10, align 4, !tbaa !12
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds ptr, ptr %126, i64 %128
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = load i32, ptr %11, align 4, !tbaa !12
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds %struct.celle, ptr %130, i64 %132
  %134 = getelementptr inbounds %struct.celle, ptr %133, i32 0, i32 1
  store double 0.000000e+00, ptr %134, align 8, !tbaa !14
  %135 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = load i32, ptr %6, align 4, !tbaa !12
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %136, i32 noundef %137)
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = load i32, ptr %10, align 4, !tbaa !12
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i32, ptr %11, align 4, !tbaa !12
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds %struct.celle, ptr %143, i64 %145
  %147 = getelementptr inbounds %struct.celle, ptr %146, i32 0, i32 2
  store double 0.000000e+00, ptr %147, align 8, !tbaa !16
  %148 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %149 = load ptr, ptr %148, align 8, !tbaa !17
  %150 = load i32, ptr %6, align 4, !tbaa !12
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %149, i32 noundef %150)
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = load i32, ptr %10, align 4, !tbaa !12
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds ptr, ptr %152, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = load i32, ptr %11, align 4, !tbaa !12
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds %struct.cellb, ptr %156, i64 %158
  %160 = getelementptr inbounds %struct.cellb, ptr %159, i32 0, i32 0
  store double 0.000000e+00, ptr %160, align 8, !tbaa !18
  %161 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %162 = load ptr, ptr %161, align 8, !tbaa !17
  %163 = load i32, ptr %6, align 4, !tbaa !12
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %162, i32 noundef %163)
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = load i32, ptr %10, align 4, !tbaa !12
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds ptr, ptr %165, i64 %167
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  %170 = load i32, ptr %11, align 4, !tbaa !12
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds %struct.cellb, ptr %169, i64 %171
  %173 = getelementptr inbounds %struct.cellb, ptr %172, i32 0, i32 1
  store double 0.000000e+00, ptr %173, align 8, !tbaa !24
  %174 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %175 = load ptr, ptr %174, align 8, !tbaa !17
  %176 = load i32, ptr %6, align 4, !tbaa !12
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %175, i32 noundef %176)
  %178 = load ptr, ptr %177, align 8, !tbaa !5
  %179 = load i32, ptr %10, align 4, !tbaa !12
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds ptr, ptr %178, i64 %180
  %182 = load ptr, ptr %181, align 8, !tbaa !5
  %183 = load i32, ptr %11, align 4, !tbaa !12
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %struct.cellb, ptr %182, i64 %184
  %186 = getelementptr inbounds %struct.cellb, ptr %185, i32 0, i32 2
  store double 0.000000e+00, ptr %186, align 8, !tbaa !25
  br label %187

187:                                              ; preds = %108
  %188 = load i32, ptr %11, align 4, !tbaa !12
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %11, align 4, !tbaa !12
  br label %102, !llvm.loop !26

190:                                              ; preds = %107
  br label %191

191:                                              ; preds = %190
  %192 = load i32, ptr %10, align 4, !tbaa !12
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %10, align 4, !tbaa !12
  br label %95, !llvm.loop !27

194:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !12
  br label %195

195:                                              ; preds = %252, %194
  %196 = load i32, ptr %13, align 4, !tbaa !12
  %197 = load i32, ptr %3, align 4, !tbaa !12
  %198 = sub nsw i32 %197, 1
  %199 = icmp slt i32 %196, %198
  br i1 %199, label %201, label %200

200:                                              ; preds = %195
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %255

201:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %202

202:                                              ; preds = %248, %201
  %203 = load i32, ptr %14, align 4, !tbaa !12
  %204 = load i32, ptr %5, align 4, !tbaa !12
  %205 = sub nsw i32 %204, 1
  %206 = icmp slt i32 %203, %205
  br i1 %206, label %208, label %207

207:                                              ; preds = %202
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %251

208:                                              ; preds = %202
  %209 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %210 = load ptr, ptr %209, align 8, !tbaa !9
  %211 = load i32, ptr %13, align 4, !tbaa !12
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %210, i32 noundef %211)
  %213 = load ptr, ptr %212, align 8, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !12
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds ptr, ptr %213, i64 %215
  %217 = load ptr, ptr %216, align 8, !tbaa !5
  %218 = load i32, ptr %14, align 4, !tbaa !12
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds %struct.celle, ptr %217, i64 %219
  %221 = getelementptr inbounds %struct.celle, ptr %220, i32 0, i32 0
  store double 0.000000e+00, ptr %221, align 8, !tbaa !23
  %222 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = load i32, ptr %13, align 4, !tbaa !12
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %223, i32 noundef %224)
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  %227 = load i32, ptr %12, align 4, !tbaa !12
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds ptr, ptr %226, i64 %228
  %230 = load ptr, ptr %229, align 8, !tbaa !5
  %231 = load i32, ptr %14, align 4, !tbaa !12
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds %struct.celle, ptr %230, i64 %232
  %234 = getelementptr inbounds %struct.celle, ptr %233, i32 0, i32 2
  store double 0.000000e+00, ptr %234, align 8, !tbaa !16
  %235 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %236 = load ptr, ptr %235, align 8, !tbaa !17
  %237 = load i32, ptr %13, align 4, !tbaa !12
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %236, i32 noundef %237)
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = load i32, ptr %12, align 4, !tbaa !12
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds ptr, ptr %239, i64 %241
  %243 = load ptr, ptr %242, align 8, !tbaa !5
  %244 = load i32, ptr %14, align 4, !tbaa !12
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds %struct.cellb, ptr %243, i64 %245
  %247 = getelementptr inbounds %struct.cellb, ptr %246, i32 0, i32 1
  store double 0.000000e+00, ptr %247, align 8, !tbaa !24
  br label %248

248:                                              ; preds = %208
  %249 = load i32, ptr %14, align 4, !tbaa !12
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %14, align 4, !tbaa !12
  br label %202, !llvm.loop !28

251:                                              ; preds = %207
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %13, align 4, !tbaa !12
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %13, align 4, !tbaa !12
  br label %195, !llvm.loop !29

255:                                              ; preds = %200
  %256 = load i32, ptr %4, align 4, !tbaa !12
  %257 = sub nsw i32 %256, 1
  store i32 %257, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !12
  br label %258

258:                                              ; preds = %354, %255
  %259 = load i32, ptr %15, align 4, !tbaa !12
  %260 = load i32, ptr %3, align 4, !tbaa !12
  %261 = sub nsw i32 %260, 1
  %262 = icmp slt i32 %259, %261
  br i1 %262, label %264, label %263

263:                                              ; preds = %258
  store i32 20, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %357

264:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !12
  br label %265

265:                                              ; preds = %350, %264
  %266 = load i32, ptr %16, align 4, !tbaa !12
  %267 = load i32, ptr %5, align 4, !tbaa !12
  %268 = sub nsw i32 %267, 1
  %269 = icmp slt i32 %266, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %265
  store i32 23, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %353

271:                                              ; preds = %265
  %272 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %273 = load ptr, ptr %272, align 8, !tbaa !9
  %274 = load i32, ptr %15, align 4, !tbaa !12
  %275 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %273, i32 noundef %274)
  %276 = load ptr, ptr %275, align 8, !tbaa !5
  %277 = load i32, ptr %12, align 4, !tbaa !12
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds ptr, ptr %276, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !5
  %281 = load i32, ptr %16, align 4, !tbaa !12
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds %struct.celle, ptr %280, i64 %282
  %284 = getelementptr inbounds %struct.celle, ptr %283, i32 0, i32 0
  store double 0.000000e+00, ptr %284, align 8, !tbaa !23
  %285 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !12
  %288 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %286, i32 noundef %287)
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = load i32, ptr %12, align 4, !tbaa !12
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds ptr, ptr %289, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !5
  %294 = load i32, ptr %16, align 4, !tbaa !12
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds %struct.celle, ptr %293, i64 %295
  %297 = getelementptr inbounds %struct.celle, ptr %296, i32 0, i32 1
  store double 0.000000e+00, ptr %297, align 8, !tbaa !14
  %298 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %299 = load ptr, ptr %298, align 8, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !12
  %301 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %299, i32 noundef %300)
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = load i32, ptr %12, align 4, !tbaa !12
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds ptr, ptr %302, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  %307 = load i32, ptr %16, align 4, !tbaa !12
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds %struct.celle, ptr %306, i64 %308
  %310 = getelementptr inbounds %struct.celle, ptr %309, i32 0, i32 2
  store double 0.000000e+00, ptr %310, align 8, !tbaa !16
  %311 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %312 = load ptr, ptr %311, align 8, !tbaa !17
  %313 = load i32, ptr %15, align 4, !tbaa !12
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %312, i32 noundef %313)
  %315 = load ptr, ptr %314, align 8, !tbaa !5
  %316 = load i32, ptr %12, align 4, !tbaa !12
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds ptr, ptr %315, i64 %317
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  %320 = load i32, ptr %16, align 4, !tbaa !12
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds %struct.cellb, ptr %319, i64 %321
  %323 = getelementptr inbounds %struct.cellb, ptr %322, i32 0, i32 0
  store double 0.000000e+00, ptr %323, align 8, !tbaa !18
  %324 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %325 = load ptr, ptr %324, align 8, !tbaa !17
  %326 = load i32, ptr %15, align 4, !tbaa !12
  %327 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %325, i32 noundef %326)
  %328 = load ptr, ptr %327, align 8, !tbaa !5
  %329 = load i32, ptr %12, align 4, !tbaa !12
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds ptr, ptr %328, i64 %330
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = load i32, ptr %16, align 4, !tbaa !12
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds %struct.cellb, ptr %332, i64 %334
  %336 = getelementptr inbounds %struct.cellb, ptr %335, i32 0, i32 1
  store double 0.000000e+00, ptr %336, align 8, !tbaa !24
  %337 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %338 = load ptr, ptr %337, align 8, !tbaa !17
  %339 = load i32, ptr %15, align 4, !tbaa !12
  %340 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %338, i32 noundef %339)
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = load i32, ptr %12, align 4, !tbaa !12
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds ptr, ptr %341, i64 %343
  %345 = load ptr, ptr %344, align 8, !tbaa !5
  %346 = load i32, ptr %16, align 4, !tbaa !12
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds %struct.cellb, ptr %345, i64 %347
  %349 = getelementptr inbounds %struct.cellb, ptr %348, i32 0, i32 2
  store double 0.000000e+00, ptr %349, align 8, !tbaa !25
  br label %350

350:                                              ; preds = %271
  %351 = load i32, ptr %16, align 4, !tbaa !12
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %16, align 4, !tbaa !12
  br label %265, !llvm.loop !30

353:                                              ; preds = %270
  br label %354

354:                                              ; preds = %353
  %355 = load i32, ptr %15, align 4, !tbaa !12
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %15, align 4, !tbaa !12
  br label %258, !llvm.loop !31

357:                                              ; preds = %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !12
  br label %358

358:                                              ; preds = %415, %357
  %359 = load i32, ptr %18, align 4, !tbaa !12
  %360 = load i32, ptr %3, align 4, !tbaa !12
  %361 = sub nsw i32 %360, 1
  %362 = icmp slt i32 %359, %361
  br i1 %362, label %364, label %363

363:                                              ; preds = %358
  store i32 26, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %418

364:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !12
  br label %365

365:                                              ; preds = %411, %364
  %366 = load i32, ptr %19, align 4, !tbaa !12
  %367 = load i32, ptr %4, align 4, !tbaa !12
  %368 = sub nsw i32 %367, 1
  %369 = icmp slt i32 %366, %368
  br i1 %369, label %371, label %370

370:                                              ; preds = %365
  store i32 29, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %414

371:                                              ; preds = %365
  %372 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %373 = load ptr, ptr %372, align 8, !tbaa !9
  %374 = load i32, ptr %18, align 4, !tbaa !12
  %375 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %373, i32 noundef %374)
  %376 = load ptr, ptr %375, align 8, !tbaa !5
  %377 = load i32, ptr %19, align 4, !tbaa !12
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds ptr, ptr %376, i64 %378
  %380 = load ptr, ptr %379, align 8, !tbaa !5
  %381 = load i32, ptr %17, align 4, !tbaa !12
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds %struct.celle, ptr %380, i64 %382
  %384 = getelementptr inbounds %struct.celle, ptr %383, i32 0, i32 1
  store double 0.000000e+00, ptr %384, align 8, !tbaa !14
  %385 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %386 = load ptr, ptr %385, align 8, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !12
  %388 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %386, i32 noundef %387)
  %389 = load ptr, ptr %388, align 8, !tbaa !5
  %390 = load i32, ptr %19, align 4, !tbaa !12
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds ptr, ptr %389, i64 %391
  %393 = load ptr, ptr %392, align 8, !tbaa !5
  %394 = load i32, ptr %17, align 4, !tbaa !12
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds %struct.celle, ptr %393, i64 %395
  %397 = getelementptr inbounds %struct.celle, ptr %396, i32 0, i32 0
  store double 0.000000e+00, ptr %397, align 8, !tbaa !23
  %398 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %399 = load ptr, ptr %398, align 8, !tbaa !17
  %400 = load i32, ptr %18, align 4, !tbaa !12
  %401 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %399, i32 noundef %400)
  %402 = load ptr, ptr %401, align 8, !tbaa !5
  %403 = load i32, ptr %19, align 4, !tbaa !12
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds ptr, ptr %402, i64 %404
  %406 = load ptr, ptr %405, align 8, !tbaa !5
  %407 = load i32, ptr %17, align 4, !tbaa !12
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds %struct.cellb, ptr %406, i64 %408
  %410 = getelementptr inbounds %struct.cellb, ptr %409, i32 0, i32 2
  store double 0.000000e+00, ptr %410, align 8, !tbaa !25
  br label %411

411:                                              ; preds = %371
  %412 = load i32, ptr %19, align 4, !tbaa !12
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %19, align 4, !tbaa !12
  br label %365, !llvm.loop !32

414:                                              ; preds = %370
  br label %415

415:                                              ; preds = %414
  %416 = load i32, ptr %18, align 4, !tbaa !12
  %417 = add nsw i32 %416, 1
  store i32 %417, ptr %18, align 4, !tbaa !12
  br label %358, !llvm.loop !33

418:                                              ; preds = %363
  %419 = load i32, ptr %5, align 4, !tbaa !12
  %420 = sub nsw i32 %419, 1
  store i32 %420, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !12
  br label %421

421:                                              ; preds = %517, %418
  %422 = load i32, ptr %20, align 4, !tbaa !12
  %423 = load i32, ptr %3, align 4, !tbaa !12
  %424 = sub nsw i32 %423, 1
  %425 = icmp slt i32 %422, %424
  br i1 %425, label %427, label %426

426:                                              ; preds = %421
  store i32 32, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %520

427:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !12
  br label %428

428:                                              ; preds = %513, %427
  %429 = load i32, ptr %21, align 4, !tbaa !12
  %430 = load i32, ptr %4, align 4, !tbaa !12
  %431 = sub nsw i32 %430, 1
  %432 = icmp slt i32 %429, %431
  br i1 %432, label %434, label %433

433:                                              ; preds = %428
  store i32 35, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %516

434:                                              ; preds = %428
  %435 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %436 = load ptr, ptr %435, align 8, !tbaa !9
  %437 = load i32, ptr %20, align 4, !tbaa !12
  %438 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %436, i32 noundef %437)
  %439 = load ptr, ptr %438, align 8, !tbaa !5
  %440 = load i32, ptr %21, align 4, !tbaa !12
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds ptr, ptr %439, i64 %441
  %443 = load ptr, ptr %442, align 8, !tbaa !5
  %444 = load i32, ptr %17, align 4, !tbaa !12
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds %struct.celle, ptr %443, i64 %445
  %447 = getelementptr inbounds %struct.celle, ptr %446, i32 0, i32 0
  store double 0.000000e+00, ptr %447, align 8, !tbaa !23
  %448 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %449 = load ptr, ptr %448, align 8, !tbaa !9
  %450 = load i32, ptr %20, align 4, !tbaa !12
  %451 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %449, i32 noundef %450)
  %452 = load ptr, ptr %451, align 8, !tbaa !5
  %453 = load i32, ptr %21, align 4, !tbaa !12
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds ptr, ptr %452, i64 %454
  %456 = load ptr, ptr %455, align 8, !tbaa !5
  %457 = load i32, ptr %17, align 4, !tbaa !12
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds %struct.celle, ptr %456, i64 %458
  %460 = getelementptr inbounds %struct.celle, ptr %459, i32 0, i32 1
  store double 0.000000e+00, ptr %460, align 8, !tbaa !14
  %461 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 1
  %462 = load ptr, ptr %461, align 8, !tbaa !9
  %463 = load i32, ptr %20, align 4, !tbaa !12
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %462, i32 noundef %463)
  %465 = load ptr, ptr %464, align 8, !tbaa !5
  %466 = load i32, ptr %21, align 4, !tbaa !12
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds ptr, ptr %465, i64 %467
  %469 = load ptr, ptr %468, align 8, !tbaa !5
  %470 = load i32, ptr %17, align 4, !tbaa !12
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds %struct.celle, ptr %469, i64 %471
  %473 = getelementptr inbounds %struct.celle, ptr %472, i32 0, i32 2
  store double 0.000000e+00, ptr %473, align 8, !tbaa !16
  %474 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %475 = load ptr, ptr %474, align 8, !tbaa !17
  %476 = load i32, ptr %20, align 4, !tbaa !12
  %477 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %475, i32 noundef %476)
  %478 = load ptr, ptr %477, align 8, !tbaa !5
  %479 = load i32, ptr %21, align 4, !tbaa !12
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds ptr, ptr %478, i64 %480
  %482 = load ptr, ptr %481, align 8, !tbaa !5
  %483 = load i32, ptr %17, align 4, !tbaa !12
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds %struct.cellb, ptr %482, i64 %484
  %486 = getelementptr inbounds %struct.cellb, ptr %485, i32 0, i32 0
  store double 0.000000e+00, ptr %486, align 8, !tbaa !18
  %487 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %488 = load ptr, ptr %487, align 8, !tbaa !17
  %489 = load i32, ptr %20, align 4, !tbaa !12
  %490 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %488, i32 noundef %489)
  %491 = load ptr, ptr %490, align 8, !tbaa !5
  %492 = load i32, ptr %21, align 4, !tbaa !12
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds ptr, ptr %491, i64 %493
  %495 = load ptr, ptr %494, align 8, !tbaa !5
  %496 = load i32, ptr %17, align 4, !tbaa !12
  %497 = sext i32 %496 to i64
  %498 = getelementptr inbounds %struct.cellb, ptr %495, i64 %497
  %499 = getelementptr inbounds %struct.cellb, ptr %498, i32 0, i32 1
  store double 0.000000e+00, ptr %499, align 8, !tbaa !24
  %500 = getelementptr inbounds %class.maxwell_solver, ptr %22, i32 0, i32 2
  %501 = load ptr, ptr %500, align 8, !tbaa !17
  %502 = load i32, ptr %20, align 4, !tbaa !12
  %503 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %501, i32 noundef %502)
  %504 = load ptr, ptr %503, align 8, !tbaa !5
  %505 = load i32, ptr %21, align 4, !tbaa !12
  %506 = sext i32 %505 to i64
  %507 = getelementptr inbounds ptr, ptr %504, i64 %506
  %508 = load ptr, ptr %507, align 8, !tbaa !5
  %509 = load i32, ptr %17, align 4, !tbaa !12
  %510 = sext i32 %509 to i64
  %511 = getelementptr inbounds %struct.cellb, ptr %508, i64 %510
  %512 = getelementptr inbounds %struct.cellb, ptr %511, i32 0, i32 2
  store double 0.000000e+00, ptr %512, align 8, !tbaa !25
  br label %513

513:                                              ; preds = %434
  %514 = load i32, ptr %21, align 4, !tbaa !12
  %515 = add nsw i32 %514, 1
  store i32 %515, ptr %21, align 4, !tbaa !12
  br label %428, !llvm.loop !34

516:                                              ; preds = %433
  br label %517

517:                                              ; preds = %516
  %518 = load i32, ptr %20, align 4, !tbaa !12
  %519 = add nsw i32 %518, 1
  store i32 %519, ptr %20, align 4, !tbaa !12
  br label %421, !llvm.loop !35

520:                                              ; preds = %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS14maxwell_solver", !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTS5celle", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!15, !11, i64 16}
!17 = !{!10, !6, i64 16}
!18 = !{!19, !11, i64 0}
!19 = !{!"_ZTS5cellb", !11, i64 0, !11, i64 8, !11, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!15, !11, i64 0}
!24 = !{!19, !11, i64 8}
!25 = !{!19, !11, i64 16}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}
!35 = distinct !{!35, !21}


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

%struct.celle = type { double, double, double }
%struct.cellb = type { double, double, double }

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5celleE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5celleE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7field3dI5celleE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11fdtd_solver15init_boundariesEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(80) %0) unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef i32 @_ZN7field3dI5celleE6get_nxEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = tail call noundef i32 @_ZN7field3dI5celleE6get_nyEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = tail call noundef i32 @_ZN7field3dI5celleE6get_nzEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
  %9 = add i32 %6, -1
  %10 = icmp sgt i32 %6, 1
  br i1 %10, label %.preheader140.lr.ph, label %._crit_edge143.thread207

._crit_edge143.thread207:                         ; preds = %1
  %11 = add i32 %4, -1
  br label %.preheader138

.preheader140.lr.ph:                              ; preds = %1
  %12 = icmp sgt i32 %8, 1
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %12, label %.preheader140.us.preheader, label %.preheader139.lr.ph.thread

.preheader139.lr.ph.thread:                       ; preds = %.preheader140.lr.ph
  %14 = add i32 %4, -1
  br label %.preheader138

.preheader140.us.preheader:                       ; preds = %.preheader140.lr.ph
  %15 = add nsw i32 %8, -1
  %wide.trip.count171 = zext nneg i32 %9 to i64
  %wide.trip.count = zext i32 %15 to i64
  br label %.preheader140.us

.preheader140.us:                                 ; preds = %.preheader140.us.preheader, %._crit_edge.us
  %indvars.iv168 = phi i64 [ 0, %.preheader140.us.preheader ], [ %indvars.iv.next169, %._crit_edge.us ]
  br label %16

16:                                               ; preds = %.preheader140.us, %16
  %indvars.iv = phi i64 [ 0, %.preheader140.us ], [ %indvars.iv.next, %16 ]
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %17, i32 noundef 0)
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv168
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds %struct.celle, ptr %21, i64 %indvars.iv, i32 1
  store double 0.000000e+00, ptr %22, align 8, !tbaa !12
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %23, i32 noundef 0)
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv168
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds %struct.celle, ptr %27, i64 %indvars.iv, i32 2
  store double 0.000000e+00, ptr %28, align 8, !tbaa !14
  %29 = load ptr, ptr %13, align 8, !tbaa !15
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %29, i32 noundef 0)
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds ptr, ptr %31, i64 %indvars.iv168
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = getelementptr inbounds %struct.cellb, ptr %33, i64 %indvars.iv
  store double 0.000000e+00, ptr %34, align 8, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us, label %16, !llvm.loop !18

._crit_edge.us:                                   ; preds = %16
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count171
  br i1 %exitcond172.not, label %._crit_edge143, label %.preheader140.us, !llvm.loop !20

._crit_edge143:                                   ; preds = %._crit_edge.us
  %35 = add i32 %4, -1
  br i1 %10, label %.preheader139.lr.ph, label %.preheader138

.preheader139.lr.ph:                              ; preds = %._crit_edge143
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = add nsw i32 %8, -1
  %wide.trip.count181 = zext nneg i32 %9 to i64
  %wide.trip.count176 = zext i32 %37 to i64
  br label %.preheader139.us

.preheader139.us:                                 ; preds = %.preheader139.lr.ph, %._crit_edge.us146
  %indvars.iv178 = phi i64 [ 0, %.preheader139.lr.ph ], [ %indvars.iv.next179, %._crit_edge.us146 ]
  br label %38

38:                                               ; preds = %.preheader139.us, %38
  %indvars.iv173 = phi i64 [ 0, %.preheader139.us ], [ %indvars.iv.next174, %38 ]
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %39, i32 noundef %35)
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  %42 = getelementptr inbounds ptr, ptr %41, i64 %indvars.iv178
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %struct.celle, ptr %43, i64 %indvars.iv173
  store double 0.000000e+00, ptr %44, align 8, !tbaa !21
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %45, i32 noundef %35)
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  %48 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv178
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds %struct.celle, ptr %49, i64 %indvars.iv173, i32 1
  store double 0.000000e+00, ptr %50, align 8, !tbaa !12
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %51, i32 noundef %35)
  %53 = load ptr, ptr %52, align 8, !tbaa !11
  %54 = getelementptr inbounds ptr, ptr %53, i64 %indvars.iv178
  %55 = load ptr, ptr %54, align 8, !tbaa !11
  %56 = getelementptr inbounds %struct.celle, ptr %55, i64 %indvars.iv173, i32 2
  store double 0.000000e+00, ptr %56, align 8, !tbaa !14
  %57 = load ptr, ptr %36, align 8, !tbaa !15
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %57, i32 noundef %35)
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds ptr, ptr %59, i64 %indvars.iv178
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = getelementptr inbounds %struct.cellb, ptr %61, i64 %indvars.iv173
  store double 0.000000e+00, ptr %62, align 8, !tbaa !16
  %63 = load ptr, ptr %36, align 8, !tbaa !15
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %63, i32 noundef %35)
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds ptr, ptr %65, i64 %indvars.iv178
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  %68 = getelementptr inbounds %struct.cellb, ptr %67, i64 %indvars.iv173, i32 1
  store double 0.000000e+00, ptr %68, align 8, !tbaa !22
  %69 = load ptr, ptr %36, align 8, !tbaa !15
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %69, i32 noundef %35)
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = getelementptr inbounds ptr, ptr %71, i64 %indvars.iv178
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.cellb, ptr %73, i64 %indvars.iv173, i32 2
  store double 0.000000e+00, ptr %74, align 8, !tbaa !23
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %exitcond177.not = icmp eq i64 %indvars.iv.next174, %wide.trip.count176
  br i1 %exitcond177.not, label %._crit_edge.us146, label %38, !llvm.loop !24

._crit_edge.us146:                                ; preds = %38
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %exitcond182.not = icmp eq i64 %indvars.iv.next179, %wide.trip.count181
  br i1 %exitcond182.not, label %.preheader138, label %.preheader139.us, !llvm.loop !25

.preheader138:                                    ; preds = %._crit_edge.us146, %.preheader139.lr.ph.thread, %._crit_edge143.thread207, %._crit_edge143
  %75 = phi i32 [ %35, %._crit_edge143 ], [ %11, %._crit_edge143.thread207 ], [ %14, %.preheader139.lr.ph.thread ], [ %35, %._crit_edge.us146 ]
  %76 = icmp sgt i32 %4, 1
  br i1 %76, label %.preheader137.lr.ph, label %._crit_edge159

.preheader137.lr.ph:                              ; preds = %.preheader138
  %77 = icmp sgt i32 %8, 1
  %78 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %77, label %.preheader137.us.preheader, label %.preheader133.lr.ph

.preheader137.us.preheader:                       ; preds = %.preheader137.lr.ph
  %79 = add nsw i32 %8, -1
  %wide.trip.count186 = zext i32 %79 to i64
  br label %.preheader137.us

.preheader137.us:                                 ; preds = %.preheader137.us.preheader, %._crit_edge.us149
  %.0126148.us = phi i32 [ %96, %._crit_edge.us149 ], [ 0, %.preheader137.us.preheader ]
  br label %80

80:                                               ; preds = %.preheader137.us, %80
  %indvars.iv183 = phi i64 [ 0, %.preheader137.us ], [ %indvars.iv.next184, %80 ]
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %81, i32 noundef %.0126148.us)
  %83 = load ptr, ptr %82, align 8, !tbaa !11
  %84 = load ptr, ptr %83, align 8, !tbaa !11
  %85 = getelementptr inbounds %struct.celle, ptr %84, i64 %indvars.iv183
  store double 0.000000e+00, ptr %85, align 8, !tbaa !21
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %86, i32 noundef %.0126148.us)
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = getelementptr inbounds %struct.celle, ptr %89, i64 %indvars.iv183, i32 2
  store double 0.000000e+00, ptr %90, align 8, !tbaa !14
  %91 = load ptr, ptr %78, align 8, !tbaa !15
  %92 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %91, i32 noundef %.0126148.us)
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = getelementptr inbounds %struct.cellb, ptr %94, i64 %indvars.iv183, i32 1
  store double 0.000000e+00, ptr %95, align 8, !tbaa !22
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %exitcond187.not = icmp eq i64 %indvars.iv.next184, %wide.trip.count186
  br i1 %exitcond187.not, label %._crit_edge.us149, label %80, !llvm.loop !26

._crit_edge.us149:                                ; preds = %80
  %96 = add nuw nsw i32 %.0126148.us, 1
  %exitcond188.not = icmp eq i32 %96, %75
  br i1 %exitcond188.not, label %.preheader136, label %.preheader137.us, !llvm.loop !27

.preheader136:                                    ; preds = %._crit_edge.us149
  br i1 %76, label %.preheader135.lr.ph, label %._crit_edge159

.preheader135.lr.ph:                              ; preds = %.preheader136
  %97 = sext i32 %9 to i64
  %98 = getelementptr inbounds i8, ptr %0, i64 16
  %99 = add nsw i32 %8, -1
  %wide.trip.count192 = zext i32 %99 to i64
  br label %.preheader135.us

.preheader135.us:                                 ; preds = %.preheader135.lr.ph, %._crit_edge.us152
  %.0124151.us = phi i32 [ %137, %._crit_edge.us152 ], [ 0, %.preheader135.lr.ph ]
  br label %100

100:                                              ; preds = %.preheader135.us, %100
  %indvars.iv189 = phi i64 [ 0, %.preheader135.us ], [ %indvars.iv.next190, %100 ]
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %101, i32 noundef %.0124151.us)
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = getelementptr inbounds ptr, ptr %103, i64 %97
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = getelementptr inbounds %struct.celle, ptr %105, i64 %indvars.iv189
  store double 0.000000e+00, ptr %106, align 8, !tbaa !21
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %107, i32 noundef %.0124151.us)
  %109 = load ptr, ptr %108, align 8, !tbaa !11
  %110 = getelementptr inbounds ptr, ptr %109, i64 %97
  %111 = load ptr, ptr %110, align 8, !tbaa !11
  %112 = getelementptr inbounds %struct.celle, ptr %111, i64 %indvars.iv189, i32 1
  store double 0.000000e+00, ptr %112, align 8, !tbaa !12
  %113 = load ptr, ptr %2, align 8, !tbaa !5
  %114 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %113, i32 noundef %.0124151.us)
  %115 = load ptr, ptr %114, align 8, !tbaa !11
  %116 = getelementptr inbounds ptr, ptr %115, i64 %97
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = getelementptr inbounds %struct.celle, ptr %117, i64 %indvars.iv189, i32 2
  store double 0.000000e+00, ptr %118, align 8, !tbaa !14
  %119 = load ptr, ptr %98, align 8, !tbaa !15
  %120 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %119, i32 noundef %.0124151.us)
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds ptr, ptr %121, i64 %97
  %123 = load ptr, ptr %122, align 8, !tbaa !11
  %124 = getelementptr inbounds %struct.cellb, ptr %123, i64 %indvars.iv189
  store double 0.000000e+00, ptr %124, align 8, !tbaa !16
  %125 = load ptr, ptr %98, align 8, !tbaa !15
  %126 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %125, i32 noundef %.0124151.us)
  %127 = load ptr, ptr %126, align 8, !tbaa !11
  %128 = getelementptr inbounds ptr, ptr %127, i64 %97
  %129 = load ptr, ptr %128, align 8, !tbaa !11
  %130 = getelementptr inbounds %struct.cellb, ptr %129, i64 %indvars.iv189, i32 1
  store double 0.000000e+00, ptr %130, align 8, !tbaa !22
  %131 = load ptr, ptr %98, align 8, !tbaa !15
  %132 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %131, i32 noundef %.0124151.us)
  %133 = load ptr, ptr %132, align 8, !tbaa !11
  %134 = getelementptr inbounds ptr, ptr %133, i64 %97
  %135 = load ptr, ptr %134, align 8, !tbaa !11
  %136 = getelementptr inbounds %struct.cellb, ptr %135, i64 %indvars.iv189, i32 2
  store double 0.000000e+00, ptr %136, align 8, !tbaa !23
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next190, %wide.trip.count192
  br i1 %exitcond193.not, label %._crit_edge.us152, label %100, !llvm.loop !28

._crit_edge.us152:                                ; preds = %100
  %137 = add nuw nsw i32 %.0124151.us, 1
  %exitcond194.not = icmp eq i32 %137, %75
  br i1 %exitcond194.not, label %.preheader134, label %.preheader135.us, !llvm.loop !29

.preheader134:                                    ; preds = %._crit_edge.us152
  br i1 %76, label %.preheader133.lr.ph, label %._crit_edge159

.preheader133.lr.ph:                              ; preds = %.preheader137.lr.ph, %.preheader134
  %138 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %10, label %.preheader133.us.preheader, label %._crit_edge159

.preheader133.us.preheader:                       ; preds = %.preheader133.lr.ph
  %wide.trip.count198 = zext i32 %9 to i64
  br label %.preheader133.us

.preheader133.us:                                 ; preds = %.preheader133.us.preheader, %._crit_edge.us156
  %.0122154.us = phi i32 [ %157, %._crit_edge.us156 ], [ 0, %.preheader133.us.preheader ]
  br label %139

139:                                              ; preds = %.preheader133.us, %139
  %indvars.iv195 = phi i64 [ 0, %.preheader133.us ], [ %indvars.iv.next196, %139 ]
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %140, i32 noundef %.0122154.us)
  %142 = load ptr, ptr %141, align 8, !tbaa !11
  %143 = getelementptr inbounds ptr, ptr %142, i64 %indvars.iv195
  %144 = load ptr, ptr %143, align 8, !tbaa !11
  %145 = getelementptr inbounds i8, ptr %144, i64 8
  store double 0.000000e+00, ptr %145, align 8, !tbaa !12
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %146, i32 noundef %.0122154.us)
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds ptr, ptr %148, i64 %indvars.iv195
  %150 = load ptr, ptr %149, align 8, !tbaa !11
  store double 0.000000e+00, ptr %150, align 8, !tbaa !21
  %151 = load ptr, ptr %138, align 8, !tbaa !15
  %152 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %151, i32 noundef %.0122154.us)
  %153 = load ptr, ptr %152, align 8, !tbaa !11
  %154 = getelementptr inbounds ptr, ptr %153, i64 %indvars.iv195
  %155 = load ptr, ptr %154, align 8, !tbaa !11
  %156 = getelementptr inbounds i8, ptr %155, i64 16
  store double 0.000000e+00, ptr %156, align 8, !tbaa !23
  %indvars.iv.next196 = add nuw nsw i64 %indvars.iv195, 1
  %exitcond199.not = icmp eq i64 %indvars.iv.next196, %wide.trip.count198
  br i1 %exitcond199.not, label %._crit_edge.us156, label %139, !llvm.loop !30

._crit_edge.us156:                                ; preds = %139
  %157 = add nuw nsw i32 %.0122154.us, 1
  %exitcond200.not = icmp eq i32 %157, %75
  br i1 %exitcond200.not, label %._crit_edge155, label %.preheader133.us, !llvm.loop !31

._crit_edge155:                                   ; preds = %._crit_edge.us156
  br i1 %76, label %.preheader.lr.ph, label %._crit_edge159

.preheader.lr.ph:                                 ; preds = %._crit_edge155
  %158 = add nsw i32 %8, -1
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %10, label %.preheader.us.preheader, label %._crit_edge159

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %wide.trip.count204 = zext i32 %9 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us160
  %.0120158.us = phi i32 [ %198, %._crit_edge.us160 ], [ 0, %.preheader.us.preheader ]
  br label %161

161:                                              ; preds = %.preheader.us, %161
  %indvars.iv201 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next202, %161 ]
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  %163 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %162, i32 noundef %.0120158.us)
  %164 = load ptr, ptr %163, align 8, !tbaa !11
  %165 = getelementptr inbounds ptr, ptr %164, i64 %indvars.iv201
  %166 = load ptr, ptr %165, align 8, !tbaa !11
  %167 = getelementptr inbounds %struct.celle, ptr %166, i64 %159
  store double 0.000000e+00, ptr %167, align 8, !tbaa !21
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %168, i32 noundef %.0120158.us)
  %170 = load ptr, ptr %169, align 8, !tbaa !11
  %171 = getelementptr inbounds ptr, ptr %170, i64 %indvars.iv201
  %172 = load ptr, ptr %171, align 8, !tbaa !11
  %173 = getelementptr inbounds %struct.celle, ptr %172, i64 %159, i32 1
  store double 0.000000e+00, ptr %173, align 8, !tbaa !12
  %174 = load ptr, ptr %2, align 8, !tbaa !5
  %175 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5celleEixEi(ptr noundef nonnull align 8 dereferenceable(40) %174, i32 noundef %.0120158.us)
  %176 = load ptr, ptr %175, align 8, !tbaa !11
  %177 = getelementptr inbounds ptr, ptr %176, i64 %indvars.iv201
  %178 = load ptr, ptr %177, align 8, !tbaa !11
  %179 = getelementptr inbounds %struct.celle, ptr %178, i64 %159, i32 2
  store double 0.000000e+00, ptr %179, align 8, !tbaa !14
  %180 = load ptr, ptr %160, align 8, !tbaa !15
  %181 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %180, i32 noundef %.0120158.us)
  %182 = load ptr, ptr %181, align 8, !tbaa !11
  %183 = getelementptr inbounds ptr, ptr %182, i64 %indvars.iv201
  %184 = load ptr, ptr %183, align 8, !tbaa !11
  %185 = getelementptr inbounds %struct.cellb, ptr %184, i64 %159
  store double 0.000000e+00, ptr %185, align 8, !tbaa !16
  %186 = load ptr, ptr %160, align 8, !tbaa !15
  %187 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %186, i32 noundef %.0120158.us)
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  %189 = getelementptr inbounds ptr, ptr %188, i64 %indvars.iv201
  %190 = load ptr, ptr %189, align 8, !tbaa !11
  %191 = getelementptr inbounds %struct.cellb, ptr %190, i64 %159, i32 1
  store double 0.000000e+00, ptr %191, align 8, !tbaa !22
  %192 = load ptr, ptr %160, align 8, !tbaa !15
  %193 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellbEixEi(ptr noundef nonnull align 8 dereferenceable(40) %192, i32 noundef %.0120158.us)
  %194 = load ptr, ptr %193, align 8, !tbaa !11
  %195 = getelementptr inbounds ptr, ptr %194, i64 %indvars.iv201
  %196 = load ptr, ptr %195, align 8, !tbaa !11
  %197 = getelementptr inbounds %struct.cellb, ptr %196, i64 %159, i32 2
  store double 0.000000e+00, ptr %197, align 8, !tbaa !23
  %indvars.iv.next202 = add nuw nsw i64 %indvars.iv201, 1
  %exitcond205.not = icmp eq i64 %indvars.iv.next202, %wide.trip.count204
  br i1 %exitcond205.not, label %._crit_edge.us160, label %161, !llvm.loop !32

._crit_edge.us160:                                ; preds = %161
  %198 = add nuw nsw i32 %.0120158.us, 1
  %exitcond206.not = icmp eq i32 %198, %75
  br i1 %exitcond206.not, label %._crit_edge159, label %.preheader.us, !llvm.loop !33

._crit_edge159:                                   ; preds = %._crit_edge.us160, %.preheader138, %.preheader136, %.preheader134, %.preheader133.lr.ph, %.preheader.lr.ph, %._crit_edge155
  ret void
}

attributes #0 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTS14maxwell_solver", !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"_ZTS5celle", !10, i64 0, !10, i64 8, !10, i64 16}
!14 = !{!13, !10, i64 16}
!15 = !{!6, !7, i64 16}
!16 = !{!17, !10, i64 0}
!17 = !{!"_ZTS5cellb", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!13, !10, i64 0}
!22 = !{!17, !10, i64 8}
!23 = !{!17, !10, i64 16}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}
!33 = distinct !{!33, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass