; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract/blockNet.ll (Z9growPoresR10voxelFieldIiEiii)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.35 = type { ptr, i64, %class.var3.28, %"class.std::vector.18" }
%class.var3.28 = type { i32, i32, i32 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9growPoresR10voxelFieldIiEiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %class.voxelField.35, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10voxelFieldIiEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 8 dereferenceable(56) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %260, %4
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = invoke noundef i32 @_ZNK10voxelFieldIiE2nzEv(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %22 unwind label %26

22:                                               ; preds = %19
  %23 = sub nsw i32 %21, 1
  %24 = icmp slt i32 %20, %23
  br i1 %24, label %30, label %25

25:                                               ; preds = %22
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %264

26:                                               ; preds = %19
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %12, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %13, align 4
  br label %263

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %255, %30
  %32 = load i32, ptr %15, align 4, !tbaa !9
  %33 = invoke noundef i32 @_ZNK10voxelFieldIiE2nyEv(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %34 unwind label %38

34:                                               ; preds = %31
  %35 = sub nsw i32 %33, 1
  %36 = icmp slt i32 %32, %35
  br i1 %36, label %42, label %37

37:                                               ; preds = %34
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %259

38:                                               ; preds = %31
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %12, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %13, align 4
  br label %258

42:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %250, %42
  %44 = load i32, ptr %16, align 4, !tbaa !9
  %45 = invoke noundef i32 @_ZNK10voxelFieldIiE2nxEv(ptr noundef nonnull align 8 dereferenceable(56) %9)
          to label %46 unwind label %50

46:                                               ; preds = %43
  %47 = sub nsw i32 %45, 1
  %48 = icmp slt i32 %44, %47
  br i1 %48, label %54, label %49

49:                                               ; preds = %46
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %254

50:                                               ; preds = %54, %43
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %12, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %13, align 4
  br label %253

54:                                               ; preds = %46
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %55, i32 noundef %56, i32 noundef %57, i64 noundef %59)
          to label %61 unwind label %50

61:                                               ; preds = %54
  %62 = load i32, ptr %60, align 4, !tbaa !9
  %63 = load i32, ptr %8, align 4, !tbaa !9
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %65, label %249

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef %66, i32 noundef %67, i64 noundef %69)
          to label %71 unwind label %99

71:                                               ; preds = %65
  store ptr %70, ptr %17, align 8, !tbaa !5
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %73)
          to label %75 unwind label %99

75:                                               ; preds = %71
  %76 = load i32, ptr %74, align 4, !tbaa !9
  %77 = icmp sle i32 %72, %76
  br i1 %77, label %78, label %103

78:                                               ; preds = %75
  %79 = load ptr, ptr %17, align 8, !tbaa !5
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %79)
          to label %81 unwind label %99

81:                                               ; preds = %78
  %82 = load i32, ptr %80, align 4, !tbaa !9
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = icmp sle i32 %82, %83
  br i1 %84, label %85, label %103

85:                                               ; preds = %81
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %86)
          to label %88 unwind label %99

88:                                               ; preds = %85
  %89 = load i32, ptr %87, align 4, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i32, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %90, i32 noundef %91, i32 noundef %92, i64 noundef %94)
          to label %96 unwind label %99

96:                                               ; preds = %88
  store i32 %89, ptr %95, align 4, !tbaa !9
  %97 = load i64, ptr %10, align 8, !tbaa !11
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %10, align 8, !tbaa !11
  br label %248

99:                                               ; preds = %232, %229, %222, %215, %204, %201, %194, %187, %176, %173, %166, %159, %148, %145, %138, %131, %120, %117, %110, %103, %88, %85, %78, %71, %65
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %12, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %253

103:                                              ; preds = %81, %75
  %104 = load i32, ptr %6, align 4, !tbaa !9
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %105)
          to label %107 unwind label %99

107:                                              ; preds = %103
  %108 = load i32, ptr %106, align 4, !tbaa !9
  %109 = icmp sle i32 %104, %108
  br i1 %109, label %110, label %131

110:                                              ; preds = %107
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %111)
          to label %113 unwind label %99

113:                                              ; preds = %110
  %114 = load i32, ptr %112, align 4, !tbaa !9
  %115 = load i32, ptr %7, align 4, !tbaa !9
  %116 = icmp sle i32 %114, %115
  br i1 %116, label %117, label %131

117:                                              ; preds = %113
  %118 = load ptr, ptr %17, align 8, !tbaa !5
  %119 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %118)
          to label %120 unwind label %99

120:                                              ; preds = %117
  %121 = load i32, ptr %119, align 4, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %122, i32 noundef %123, i32 noundef %124, i64 noundef %126)
          to label %128 unwind label %99

128:                                              ; preds = %120
  store i32 %121, ptr %127, align 4, !tbaa !9
  %129 = load i64, ptr %10, align 8, !tbaa !11
  %130 = add nsw i64 %129, 1
  store i64 %130, ptr %10, align 8, !tbaa !11
  br label %247

131:                                              ; preds = %113, %107
  %132 = load i32, ptr %6, align 4, !tbaa !9
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %133)
          to label %135 unwind label %99

135:                                              ; preds = %131
  %136 = load i32, ptr %134, align 4, !tbaa !9
  %137 = icmp sle i32 %132, %136
  br i1 %137, label %138, label %159

138:                                              ; preds = %135
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %139)
          to label %141 unwind label %99

141:                                              ; preds = %138
  %142 = load i32, ptr %140, align 4, !tbaa !9
  %143 = load i32, ptr %7, align 4, !tbaa !9
  %144 = icmp sle i32 %142, %143
  br i1 %144, label %145, label %159

145:                                              ; preds = %141
  %146 = load ptr, ptr %17, align 8, !tbaa !5
  %147 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %146)
          to label %148 unwind label %99

148:                                              ; preds = %145
  %149 = load i32, ptr %147, align 4, !tbaa !9
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = load i32, ptr %16, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %150, i32 noundef %151, i32 noundef %152, i64 noundef %154)
          to label %156 unwind label %99

156:                                              ; preds = %148
  store i32 %149, ptr %155, align 4, !tbaa !9
  %157 = load i64, ptr %10, align 8, !tbaa !11
  %158 = add nsw i64 %157, 1
  store i64 %158, ptr %10, align 8, !tbaa !11
  br label %246

159:                                              ; preds = %141, %135
  %160 = load i32, ptr %6, align 4, !tbaa !9
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %161)
          to label %163 unwind label %99

163:                                              ; preds = %159
  %164 = load i32, ptr %162, align 4, !tbaa !9
  %165 = icmp sle i32 %160, %164
  br i1 %165, label %166, label %187

166:                                              ; preds = %163
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %167)
          to label %169 unwind label %99

169:                                              ; preds = %166
  %170 = load i32, ptr %168, align 4, !tbaa !9
  %171 = load i32, ptr %7, align 4, !tbaa !9
  %172 = icmp sle i32 %170, %171
  br i1 %172, label %173, label %187

173:                                              ; preds = %169
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %174)
          to label %176 unwind label %99

176:                                              ; preds = %173
  %177 = load i32, ptr %175, align 4, !tbaa !9
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %11, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %178, i32 noundef %179, i32 noundef %180, i64 noundef %182)
          to label %184 unwind label %99

184:                                              ; preds = %176
  store i32 %177, ptr %183, align 4, !tbaa !9
  %185 = load i64, ptr %10, align 8, !tbaa !11
  %186 = add nsw i64 %185, 1
  store i64 %186, ptr %10, align 8, !tbaa !11
  br label %245

187:                                              ; preds = %169, %163
  %188 = load i32, ptr %6, align 4, !tbaa !9
  %189 = load ptr, ptr %17, align 8, !tbaa !5
  %190 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %189)
          to label %191 unwind label %99

191:                                              ; preds = %187
  %192 = load i32, ptr %190, align 4, !tbaa !9
  %193 = icmp sle i32 %188, %192
  br i1 %193, label %194, label %215

194:                                              ; preds = %191
  %195 = load ptr, ptr %17, align 8, !tbaa !5
  %196 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %195)
          to label %197 unwind label %99

197:                                              ; preds = %194
  %198 = load i32, ptr %196, align 4, !tbaa !9
  %199 = load i32, ptr %7, align 4, !tbaa !9
  %200 = icmp sle i32 %198, %199
  br i1 %200, label %201, label %215

201:                                              ; preds = %197
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef 1, ptr noundef %202)
          to label %204 unwind label %99

204:                                              ; preds = %201
  %205 = load i32, ptr %203, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %206, i32 noundef %207, i32 noundef %208, i64 noundef %210)
          to label %212 unwind label %99

212:                                              ; preds = %204
  store i32 %205, ptr %211, align 4, !tbaa !9
  %213 = load i64, ptr %10, align 8, !tbaa !11
  %214 = add nsw i64 %213, 1
  store i64 %214, ptr %10, align 8, !tbaa !11
  br label %244

215:                                              ; preds = %197, %191
  %216 = load i32, ptr %6, align 4, !tbaa !9
  %217 = load ptr, ptr %17, align 8, !tbaa !5
  %218 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %217)
          to label %219 unwind label %99

219:                                              ; preds = %215
  %220 = load i32, ptr %218, align 4, !tbaa !9
  %221 = icmp sle i32 %216, %220
  br i1 %221, label %222, label %243

222:                                              ; preds = %219
  %223 = load ptr, ptr %17, align 8, !tbaa !5
  %224 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %223)
          to label %225 unwind label %99

225:                                              ; preds = %222
  %226 = load i32, ptr %224, align 4, !tbaa !9
  %227 = load i32, ptr %7, align 4, !tbaa !9
  %228 = icmp sle i32 %226, %227
  br i1 %228, label %229, label %243

229:                                              ; preds = %225
  %230 = load ptr, ptr %17, align 8, !tbaa !5
  %231 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef -1, ptr noundef %230)
          to label %232 unwind label %99

232:                                              ; preds = %229
  %233 = load i32, ptr %231, align 4, !tbaa !9
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = load i32, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = load i32, ptr %11, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %234, i32 noundef %235, i32 noundef %236, i64 noundef %238)
          to label %240 unwind label %99

240:                                              ; preds = %232
  store i32 %233, ptr %239, align 4, !tbaa !9
  %241 = load i64, ptr %10, align 8, !tbaa !11
  %242 = add nsw i64 %241, 1
  store i64 %242, ptr %10, align 8, !tbaa !11
  br label %243

243:                                              ; preds = %240, %225, %219
  br label %244

244:                                              ; preds = %243, %212
  br label %245

245:                                              ; preds = %244, %184
  br label %246

246:                                              ; preds = %245, %156
  br label %247

247:                                              ; preds = %246, %128
  br label %248

248:                                              ; preds = %247, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %249

249:                                              ; preds = %248, %61
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %16, align 4, !tbaa !9
  br label %43, !llvm.loop !13

253:                                              ; preds = %99, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %258

254:                                              ; preds = %49
  br label %255

255:                                              ; preds = %254
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %15, align 4, !tbaa !9
  br label %31, !llvm.loop !15

258:                                              ; preds = %253, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %263

259:                                              ; preds = %37
  br label %260

260:                                              ; preds = %259
  %261 = load i32, ptr %11, align 4, !tbaa !9
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %11, align 4, !tbaa !9
  br label %19, !llvm.loop !16

263:                                              ; preds = %258, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %276

264:                                              ; preds = %25
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.62)
          to label %266 unwind label %272

266:                                              ; preds = %264
  %267 = load i64, ptr %10, align 8, !tbaa !11
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %265, i64 noundef %267)
          to label %269 unwind label %272

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @.str.28)
          to label %271 unwind label %272

271:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #4
  ret void

272:                                              ; preds = %269, %266, %264
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %12, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %13, align 4
  br label %276

276:                                              ; preds = %272, %263
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #4
  br label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr %12, align 8
  %279 = load i32, ptr %13, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10voxelFieldIiEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) #2 align 2

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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.35 = type { ptr, i64, %class.var3.28, %"class.std::vector.18" }
%class.var3.28 = type { i32, i32, i32 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9growPoresR10voxelFieldIiEiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.voxelField.35, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #4
  call void @_ZN10voxelFieldIiEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(56) %0)
  %6 = call noundef i32 @_ZNK10voxelFieldIiE2nzEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %7 = icmp sgt i32 %6, 2
  br i1 %7, label %.preheader91, label %._crit_edge100

.preheader91:                                     ; preds = %4, %._crit_edge96
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge96 ], [ 1, %4 ]
  %.099 = phi i64 [ %.1.lcssa, %._crit_edge96 ], [ 0, %4 ]
  %8 = call noundef i32 @_ZNK10voxelFieldIiE2nyEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %9 = icmp sgt i32 %8, 2
  br i1 %9, label %.preheader, label %._crit_edge96

._crit_edge100:                                   ; preds = %._crit_edge96, %4
  %.0.lcssa = phi i64 [ 0, %4 ], [ %.1.lcssa, %._crit_edge96 ]
  %10 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.62)
          to label %81 unwind label %86

.preheader:                                       ; preds = %.preheader91, %._crit_edge
  %.195 = phi i64 [ %.2.lcssa, %._crit_edge ], [ %.099, %.preheader91 ]
  %.07894 = phi i32 [ %17, %._crit_edge ], [ 1, %.preheader91 ]
  %11 = call noundef i32 @_ZNK10voxelFieldIiE2nxEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %12 = icmp sgt i32 %11, 2
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge96:                                    ; preds = %._crit_edge, %.preheader91
  %.1.lcssa = phi i64 [ %.099, %.preheader91 ], [ %.2.lcssa, %._crit_edge ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %13 = call noundef i32 @_ZNK10voxelFieldIiE2nzEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %14 = add nsw i32 %13, -1
  %15 = sext i32 %14 to i64
  %16 = icmp slt i64 %indvars.iv.next, %15
  br i1 %16, label %.preheader91, label %._crit_edge100, !llvm.loop !5

._crit_edge:                                      ; preds = %76, %.preheader
  %.2.lcssa = phi i64 [ %.195, %.preheader ], [ %.4, %76 ]
  %17 = add nuw nsw i32 %.07894, 1
  %18 = call noundef i32 @_ZNK10voxelFieldIiE2nyEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %19 = add nsw i32 %18, -1
  %20 = icmp slt i32 %17, %19
  br i1 %20, label %.preheader, label %._crit_edge96, !llvm.loop !7

.lr.ph:                                           ; preds = %.preheader, %76
  %.293 = phi i64 [ %.4, %76 ], [ %.195, %.preheader ]
  %.07792 = phi i32 [ %77, %76 ], [ 1, %.preheader ]
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %.07792, i32 noundef %.07894, i64 noundef %indvars.iv)
  %22 = load i32, ptr %21, align 4, !tbaa !8
  %23 = icmp eq i32 %22, %3
  br i1 %23, label %24, label %76

24:                                               ; preds = %.lr.ph
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef %.07792, i32 noundef %.07894, i64 noundef %indvars.iv)
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %27 = load i32, ptr %26, align 4, !tbaa !8
  %.not = icmp slt i32 %27, %1
  br i1 %.not, label %33, label %28

28:                                               ; preds = %24
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %30 = load i32, ptr %29, align 4, !tbaa !8
  %.not80 = icmp sgt i32 %30, %2
  br i1 %.not80, label %33, label %31

31:                                               ; preds = %28
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  br label %.sink.split

33:                                               ; preds = %28, %24
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %35 = load i32, ptr %34, align 4, !tbaa !8
  %.not81 = icmp slt i32 %35, %1
  br i1 %.not81, label %41, label %36

36:                                               ; preds = %33
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %38 = load i32, ptr %37, align 4, !tbaa !8
  %.not82 = icmp sgt i32 %38, %2
  br i1 %.not82, label %41, label %39

39:                                               ; preds = %36
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  br label %.sink.split

41:                                               ; preds = %36, %33
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %43 = load i32, ptr %42, align 4, !tbaa !8
  %.not83 = icmp slt i32 %43, %1
  br i1 %.not83, label %49, label %44

44:                                               ; preds = %41
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %46 = load i32, ptr %45, align 4, !tbaa !8
  %.not84 = icmp sgt i32 %46, %2
  br i1 %.not84, label %49, label %47

47:                                               ; preds = %44
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  br label %.sink.split

49:                                               ; preds = %44, %41
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %51 = load i32, ptr %50, align 4, !tbaa !8
  %.not85 = icmp slt i32 %51, %1
  br i1 %.not85, label %57, label %52

52:                                               ; preds = %49
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %54 = load i32, ptr %53, align 4, !tbaa !8
  %.not86 = icmp sgt i32 %54, %2
  br i1 %.not86, label %57, label %55

55:                                               ; preds = %52
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  br label %.sink.split

57:                                               ; preds = %52, %49
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %59 = load i32, ptr %58, align 4, !tbaa !8
  %.not87 = icmp slt i32 %59, %1
  br i1 %.not87, label %65, label %60

60:                                               ; preds = %57
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  %62 = load i32, ptr %61, align 4, !tbaa !8
  %.not88 = icmp sgt i32 %62, %2
  br i1 %.not88, label %65, label %63

63:                                               ; preds = %60
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef 1, ptr noundef nonnull %25)
  br label %.sink.split

65:                                               ; preds = %60, %57
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %67 = load i32, ptr %66, align 4, !tbaa !8
  %.not89 = icmp slt i32 %67, %1
  br i1 %.not89, label %76, label %68

68:                                               ; preds = %65
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  %70 = load i32, ptr %69, align 4, !tbaa !8
  %.not90 = icmp sgt i32 %70, %2
  br i1 %.not90, label %76, label %71

71:                                               ; preds = %68
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef -1, ptr noundef nonnull %25)
  br label %.sink.split

.sink.split:                                      ; preds = %39, %55, %71, %63, %47, %31
  %.sink104 = phi ptr [ %32, %31 ], [ %48, %47 ], [ %64, %63 ], [ %72, %71 ], [ %56, %55 ], [ %40, %39 ]
  %73 = load i32, ptr %.sink104, align 4, !tbaa !8
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %.07792, i32 noundef %.07894, i64 noundef %indvars.iv)
  store i32 %73, ptr %74, align 4, !tbaa !8
  %75 = add nsw i64 %.293, 1
  br label %76

76:                                               ; preds = %.sink.split, %68, %65, %.lr.ph
  %.4 = phi i64 [ %.293, %.lr.ph ], [ %.293, %68 ], [ %.293, %65 ], [ %75, %.sink.split ]
  %77 = add nuw nsw i32 %.07792, 1
  %78 = call noundef i32 @_ZNK10voxelFieldIiE2nxEv(ptr noundef nonnull align 8 dereferenceable(56) %5)
  %79 = add nsw i32 %78, -1
  %80 = icmp slt i32 %77, %79
  br i1 %80, label %.lr.ph, label %._crit_edge, !llvm.loop !12

81:                                               ; preds = %._crit_edge100
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %.0.lcssa)
          to label %83 unwind label %86

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @.str.28)
          to label %85 unwind label %86

85:                                               ; preds = %83
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #4
  ret void

86:                                               ; preds = %83, %81, %._crit_edge100
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #4
  resume { ptr, i32 } %87
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10voxelFieldIiEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_iEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_jEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiE3v_kEiPKi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = distinct !{!12, !6}


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