; LLVM IR from sbischoff-ai/simple-molecular-dynamics :: SimpleMolecularDynamics/SimpleMolecularDynamics/MDSim.ll (ZN5MDSim18refreshVerletListsEbb)

; 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.vec = type <{ ptr, i32, [4 x i8] }>
%class.MDSim = type <{ ptr, i8, [7 x i8], ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, ptr, %class.vec, %class.vec, %class.mat, i32, i32, i32, i32, i8, [7 x i8] }>
%class.mat = type { ptr, i32, i32 }
%class.MDParticle = type { i32, [4 x i8], %class.vec, %class.vec, %class.vec, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #0

declare void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #1

declare void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #1

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #1

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN5MDSim18refreshVerletListsEbb(ptr noundef nonnull align 8 dereferenceable(185) %0, i1 noundef zeroext %1, i1 noundef zeroext %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca %class.vec, align 8
  %11 = alloca %class.vec, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %class.vec, align 8
  %17 = alloca %class.vec, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca %class.vec, align 8
  %21 = alloca %class.vec, align 8
  %22 = alloca %class.vec, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  %23 = zext i1 %1 to i8
  store i8 %23, ptr %5, align 1, !tbaa !9
  %24 = zext i1 %2 to i8
  store i8 %24, ptr %6, align 1, !tbaa !9
  %25 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store double 0.000000e+00, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  call void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  invoke void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %26 unwind label %45

26:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %27 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %28 = trunc i8 %27 to i1
  br i1 %28, label %29, label %54

29:                                               ; preds = %26
  %30 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !15
  %32 = call noundef ptr @_ZN14MDParticleList8getFirstEv(ptr noundef nonnull align 8 dereferenceable(24) %31)
  store ptr %32, ptr %14, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %42, %29
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %53

36:                                               ; preds = %33
  %37 = load ptr, ptr %14, align 8, !tbaa !5
  %38 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
  %39 = getelementptr inbounds %class.MDParticle, ptr %38, i32 0, i32 4
  %40 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmLEd(ptr noundef nonnull align 8 dereferenceable(12) %39, double noundef 0.000000e+00)
          to label %41 unwind label %49

41:                                               ; preds = %36
  br label %42

42:                                               ; preds = %41
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %43)
  store ptr %44, ptr %14, align 8, !tbaa !5
  br label %33, !llvm.loop !20

45:                                               ; preds = %3
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %12, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %13, align 4
  br label %341

49:                                               ; preds = %36
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %12, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %13, align 4
  br label %340

53:                                               ; preds = %33
  br label %54

54:                                               ; preds = %53, %26
  %55 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = call noundef ptr @_ZN14MDParticleList8getFirstEv(ptr noundef nonnull align 8 dereferenceable(24) %56)
  store ptr %57, ptr %14, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %334, %54
  %59 = load ptr, ptr %14, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %338

61:                                               ; preds = %58
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  %64 = getelementptr inbounds %class.MDParticle, ptr %63, i32 0, i32 5
  %65 = load ptr, ptr %64, align 8, !tbaa !22
  call void @_ZN14MDParticleList5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %65)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  store ptr %67, ptr %15, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %330, %61
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %333

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %72)
  %74 = getelementptr inbounds %class.MDParticle, ptr %73, i32 0, i32 2
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %17, ptr noundef nonnull align 8 dereferenceable(12) %74)
          to label %75 unwind label %121

75:                                               ; preds = %71
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %76)
  %78 = getelementptr inbounds %class.MDParticle, ptr %77, i32 0, i32 2
  invoke void @_Zmi3vecRKS_(ptr dead_on_unwind writable sret(%class.vec) align 8 %16, ptr noundef %17, ptr noundef nonnull align 8 dereferenceable(12) %78)
          to label %79 unwind label %125

79:                                               ; preds = %75
  %80 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %16)
          to label %81 unwind label %129

81:                                               ; preds = %79
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %16) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  %82 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 23
  %83 = load i8, ptr %82, align 8, !tbaa !24, !range !13, !noundef !14
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %144

85:                                               ; preds = %81
  store i32 1, ptr %7, align 4, !tbaa !25
  br label %86

86:                                               ; preds = %140, %85
  %87 = load i32, ptr %7, align 4, !tbaa !25
  %88 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 21
  %89 = load i32, ptr %88, align 8, !tbaa !26
  %90 = icmp sle i32 %87, %89
  br i1 %90, label %91, label %143

91:                                               ; preds = %86
  %92 = load i32, ptr %7, align 4, !tbaa !25
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef %92)
          to label %94 unwind label %135

94:                                               ; preds = %91
  %95 = load double, ptr %93, align 8, !tbaa !11
  %96 = invoke noundef double @_ZSt3absd(double noundef %95)
          to label %97 unwind label %135

97:                                               ; preds = %94
  %98 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 16
  %99 = load i32, ptr %7, align 4, !tbaa !25
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %98, i32 noundef %99)
          to label %101 unwind label %135

101:                                              ; preds = %97
  %102 = load double, ptr %100, align 8, !tbaa !11
  %103 = fmul double 5.000000e-01, %102
  %104 = fcmp ogt double %96, %103
  br i1 %104, label %105, label %139

105:                                              ; preds = %101
  %106 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 16
  %107 = load i32, ptr %7, align 4, !tbaa !25
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %106, i32 noundef %107)
          to label %109 unwind label %135

109:                                              ; preds = %105
  %110 = load double, ptr %108, align 8, !tbaa !11
  %111 = load i32, ptr %7, align 4, !tbaa !25
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef %111)
          to label %113 unwind label %135

113:                                              ; preds = %109
  %114 = load double, ptr %112, align 8, !tbaa !11
  %115 = call double @llvm.copysign.f64(double %110, double %114)
  %116 = load i32, ptr %7, align 4, !tbaa !25
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef %116)
          to label %118 unwind label %135

118:                                              ; preds = %113
  %119 = load double, ptr %117, align 8, !tbaa !11
  %120 = fsub double %119, %115
  store double %120, ptr %117, align 8, !tbaa !11
  br label %139

121:                                              ; preds = %71
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %134

125:                                              ; preds = %75
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %12, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %13, align 4
  br label %133

129:                                              ; preds = %79
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %12, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %13, align 4
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %16) #8
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %17) #8
  br label %134

134:                                              ; preds = %133, %121
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %337

135:                                              ; preds = %304, %297, %292, %267, %144, %113, %109, %105, %97, %94, %91
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %12, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %13, align 4
  br label %337

139:                                              ; preds = %118, %101
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %7, align 4, !tbaa !25
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %7, align 4, !tbaa !25
  br label %86, !llvm.loop !27

143:                                              ; preds = %86
  br label %144

144:                                              ; preds = %143, %81
  %145 = invoke noundef double @_ZN3vec5v_absEv(ptr noundef nonnull align 8 dereferenceable(12) %10)
          to label %146 unwind label %135

146:                                              ; preds = %144
  store double %145, ptr %8, align 8, !tbaa !11
  %147 = load i8, ptr %6, align 1, !tbaa !9, !range !13, !noundef !14
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %256

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %150 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 22
  %151 = load i32, ptr %150, align 4, !tbaa !28
  %152 = sitofp i32 %151 to double
  store double %152, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %153 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 14
  %154 = load double, ptr %153, align 8, !tbaa !29
  store double %154, ptr %19, align 8, !tbaa !11
  %155 = load double, ptr %8, align 8, !tbaa !11
  %156 = load double, ptr %19, align 8, !tbaa !11
  %157 = fcmp olt double %155, %156
  br i1 %157, label %158, label %175

158:                                              ; preds = %149
  %159 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 17
  %160 = load double, ptr %8, align 8, !tbaa !11
  %161 = load double, ptr %19, align 8, !tbaa !11
  %162 = fdiv double %160, %161
  %163 = load double, ptr %18, align 8, !tbaa !11
  %164 = fmul double %162, %163
  %165 = fptosi double %164 to i32
  %166 = add nsw i32 %165, 1
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %159, i32 noundef %166)
          to label %168 unwind label %171

168:                                              ; preds = %158
  %169 = load double, ptr %167, align 8, !tbaa !11
  %170 = fadd double %169, 1.000000e+00
  store double %170, ptr %167, align 8, !tbaa !11
  br label %175

171:                                              ; preds = %240, %238, %227, %222, %211, %209, %198, %195, %189, %187, %181, %179, %158
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %12, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %337

175:                                              ; preds = %168, %149
  %176 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 21
  %177 = load i32, ptr %176, align 8, !tbaa !26
  %178 = icmp eq i32 %177, 2
  br i1 %178, label %179, label %255

179:                                              ; preds = %175
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 1)
          to label %181 unwind label %171

181:                                              ; preds = %179
  %182 = load double, ptr %180, align 8, !tbaa !11
  %183 = invoke noundef double @_ZSt3absd(double noundef %182)
          to label %184 unwind label %171

184:                                              ; preds = %181
  %185 = load double, ptr %19, align 8, !tbaa !11
  %186 = fcmp olt double %183, %185
  br i1 %186, label %187, label %254

187:                                              ; preds = %184
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 2)
          to label %189 unwind label %171

189:                                              ; preds = %187
  %190 = load double, ptr %188, align 8, !tbaa !11
  %191 = invoke noundef double @_ZSt3absd(double noundef %190)
          to label %192 unwind label %171

192:                                              ; preds = %189
  %193 = load double, ptr %19, align 8, !tbaa !11
  %194 = fcmp olt double %191, %193
  br i1 %194, label %195, label %254

195:                                              ; preds = %192
  %196 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 18
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 1)
          to label %198 unwind label %171

198:                                              ; preds = %195
  %199 = load double, ptr %197, align 8, !tbaa !11
  %200 = load double, ptr %19, align 8, !tbaa !11
  %201 = fmul double 2.000000e+00, %200
  %202 = fdiv double %199, %201
  %203 = fadd double %202, 5.000000e-01
  %204 = load double, ptr %18, align 8, !tbaa !11
  %205 = fmul double %203, %204
  %206 = fptosi double %205 to i32
  %207 = add nsw i32 %206, 1
  %208 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16) %196, i32 noundef %207)
          to label %209 unwind label %171

209:                                              ; preds = %198
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 2)
          to label %211 unwind label %171

211:                                              ; preds = %209
  %212 = load double, ptr %210, align 8, !tbaa !11
  %213 = load double, ptr %19, align 8, !tbaa !11
  %214 = fmul double 2.000000e+00, %213
  %215 = fdiv double %212, %214
  %216 = fadd double %215, 5.000000e-01
  %217 = load double, ptr %18, align 8, !tbaa !11
  %218 = fmul double %216, %217
  %219 = fptosi double %218 to i32
  %220 = add nsw i32 %219, 1
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %208, i32 noundef %220)
          to label %222 unwind label %171

222:                                              ; preds = %211
  %223 = load double, ptr %221, align 8, !tbaa !11
  %224 = fadd double %223, 1.000000e+00
  store double %224, ptr %221, align 8, !tbaa !11
  %225 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 18
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 1)
          to label %227 unwind label %171

227:                                              ; preds = %222
  %228 = load double, ptr %226, align 8, !tbaa !11
  %229 = load double, ptr %19, align 8, !tbaa !11
  %230 = fmul double -2.000000e+00, %229
  %231 = fdiv double %228, %230
  %232 = fadd double %231, 5.000000e-01
  %233 = load double, ptr %18, align 8, !tbaa !11
  %234 = fmul double %232, %233
  %235 = fptosi double %234 to i32
  %236 = add nsw i32 %235, 1
  %237 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16) %225, i32 noundef %236)
          to label %238 unwind label %171

238:                                              ; preds = %227
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %10, i32 noundef 2)
          to label %240 unwind label %171

240:                                              ; preds = %238
  %241 = load double, ptr %239, align 8, !tbaa !11
  %242 = load double, ptr %19, align 8, !tbaa !11
  %243 = fmul double -2.000000e+00, %242
  %244 = fdiv double %241, %243
  %245 = fadd double %244, 5.000000e-01
  %246 = load double, ptr %18, align 8, !tbaa !11
  %247 = fmul double %245, %246
  %248 = fptosi double %247 to i32
  %249 = add nsw i32 %248, 1
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %237, i32 noundef %249)
          to label %251 unwind label %171

251:                                              ; preds = %240
  %252 = load double, ptr %250, align 8, !tbaa !11
  %253 = fadd double %252, 1.000000e+00
  store double %253, ptr %250, align 8, !tbaa !11
  br label %254

254:                                              ; preds = %251, %192, %184
  br label %255

255:                                              ; preds = %254, %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %256

256:                                              ; preds = %255, %146
  %257 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 10
  %258 = load double, ptr %257, align 8, !tbaa !30
  %259 = fcmp ogt double %258, 0.000000e+00
  br i1 %259, label %260, label %267

260:                                              ; preds = %256
  %261 = load double, ptr %8, align 8, !tbaa !11
  %262 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 10
  %263 = load double, ptr %262, align 8, !tbaa !30
  %264 = fcmp ogt double %261, %263
  br i1 %264, label %265, label %266

265:                                              ; preds = %260
  br label %330

266:                                              ; preds = %260
  br label %267

267:                                              ; preds = %266, %256
  %268 = load ptr, ptr %14, align 8, !tbaa !5
  %269 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %268)
  %270 = getelementptr inbounds %class.MDParticle, ptr %269, i32 0, i32 5
  %271 = load ptr, ptr %270, align 8, !tbaa !22
  %272 = load ptr, ptr %15, align 8, !tbaa !5
  %273 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %272)
  invoke void @_ZN14MDParticleList11addParticleEP10MDParticle(ptr noundef nonnull align 8 dereferenceable(24) %271, ptr noundef %273)
          to label %274 unwind label %135

274:                                              ; preds = %267
  %275 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %276 = trunc i8 %275 to i1
  br i1 %276, label %277, label %329

277:                                              ; preds = %274
  %278 = load double, ptr %8, align 8, !tbaa !11
  %279 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 9
  %280 = load double, ptr %279, align 8, !tbaa !31
  %281 = fcmp olt double %278, %280
  br i1 %281, label %286, label %282

282:                                              ; preds = %277
  %283 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 9
  %284 = load double, ptr %283, align 8, !tbaa !31
  %285 = fcmp oeq double %284, 0.000000e+00
  br i1 %285, label %286, label %328

286:                                              ; preds = %282, %277
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %287 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 15
  %288 = load ptr, ptr %287, align 8, !tbaa !32
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %21, ptr noundef nonnull align 8 dereferenceable(12) %10)
          to label %289 unwind label %310

289:                                              ; preds = %286
  invoke void %288(ptr dead_on_unwind writable sret(%class.vec) align 8 %20, ptr noundef %21)
          to label %290 unwind label %314

290:                                              ; preds = %289
  %291 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %20)
          to label %292 unwind label %318

292:                                              ; preds = %290
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %20) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  %293 = getelementptr inbounds %class.MDSim, ptr %25, i32 0, i32 6
  %294 = load ptr, ptr %293, align 8, !tbaa !33
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %22, ptr noundef nonnull align 8 dereferenceable(12) %10)
          to label %295 unwind label %135

295:                                              ; preds = %292
  %296 = invoke noundef double %294(ptr noundef %22)
          to label %297 unwind label %324

297:                                              ; preds = %295
  %298 = load double, ptr %9, align 8, !tbaa !11
  %299 = fadd double %298, %296
  store double %299, ptr %9, align 8, !tbaa !11
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %22) #8
  %300 = load ptr, ptr %14, align 8, !tbaa !5
  %301 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %300)
  %302 = getelementptr inbounds %class.MDParticle, ptr %301, i32 0, i32 4
  %303 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecpLERKS_(ptr noundef nonnull align 8 dereferenceable(12) %302, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %304 unwind label %135

304:                                              ; preds = %297
  %305 = load ptr, ptr %15, align 8, !tbaa !5
  %306 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %305)
  %307 = getelementptr inbounds %class.MDParticle, ptr %306, i32 0, i32 4
  %308 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmIERKS_(ptr noundef nonnull align 8 dereferenceable(12) %307, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %309 unwind label %135

309:                                              ; preds = %304
  br label %328

310:                                              ; preds = %286
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %12, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %13, align 4
  br label %323

314:                                              ; preds = %289
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %12, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %13, align 4
  br label %322

318:                                              ; preds = %290
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %12, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %13, align 4
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %20) #8
  br label %322

322:                                              ; preds = %318, %314
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %21) #8
  br label %323

323:                                              ; preds = %322, %310
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  br label %337

324:                                              ; preds = %295
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %12, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %13, align 4
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %22) #8
  br label %337

328:                                              ; preds = %309, %282
  br label %329

329:                                              ; preds = %328, %274
  br label %330

330:                                              ; preds = %329, %265
  %331 = load ptr, ptr %15, align 8, !tbaa !5
  %332 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %331)
  store ptr %332, ptr %15, align 8, !tbaa !5
  br label %68, !llvm.loop !34

333:                                              ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %334

334:                                              ; preds = %333
  %335 = load ptr, ptr %14, align 8, !tbaa !5
  %336 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %335)
  store ptr %336, ptr %14, align 8, !tbaa !5
  br label %58, !llvm.loop !35

337:                                              ; preds = %324, %323, %171, %135, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %340

338:                                              ; preds = %58
  %339 = load double, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  ret double %339

340:                                              ; preds = %337, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %11) #8
  br label %341

341:                                              ; preds = %340, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %12, align 8
  %344 = load i32, ptr %13, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346
}

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecpLERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmLEd(ptr noundef nonnull align 8 dereferenceable(12), double noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Zmi3vecRKS_(ptr dead_on_unwind noalias writable sret(%class.vec) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #6

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

declare noundef double @_ZN3vec5v_absEv(ptr noundef nonnull align 8 dereferenceable(12)) #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmIERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #1

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS5MDSim", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !6, i64 112, !17, i64 120, !17, i64 136, !19, i64 152, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !10, i64 184}
!17 = !{!"_ZTS3vec", !6, i64 0, !18, i64 8}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTS3mat", !6, i64 0, !18, i64 8, !18, i64 12}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 56}
!23 = !{!"_ZTS10MDParticle", !18, i64 0, !17, i64 8, !17, i64 24, !17, i64 40, !6, i64 56}
!24 = !{!16, !10, i64 184}
!25 = !{!18, !18, i64 0}
!26 = !{!16, !18, i64 176}
!27 = distinct !{!27, !21}
!28 = !{!16, !18, i64 180}
!29 = !{!16, !12, i64 104}
!30 = !{!16, !12, i64 72}
!31 = !{!16, !12, i64 64}
!32 = !{!16, !6, i64 112}
!33 = !{!16, !6, i64 40}
!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"

%class.vec = type <{ ptr, i32, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #0

declare void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #1

declare void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14MDParticleList5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14MDParticleList11addParticleEP10MDParticle(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #3 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN5MDSim18refreshVerletListsEbb(ptr noundef nonnull align 8 dereferenceable(185) %0, i1 noundef zeroext %1, i1 noundef zeroext %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.vec, align 8
  %5 = alloca %class.vec, align 8
  %6 = alloca %class.vec, align 8
  %7 = alloca %class.vec, align 8
  %8 = alloca %class.vec, align 8
  %9 = alloca %class.vec, align 8
  %10 = alloca %class.vec, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  invoke void @_ZN3vecC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %5)
          to label %11 unwind label %20

11:                                               ; preds = %3
  br i1 %1, label %12, label %.loopexit80

12:                                               ; preds = %11
  %13 = load ptr, ptr %0, align 8, !tbaa !5
  %14 = call noundef ptr @_ZN14MDParticleList8getFirstEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %.not101 = icmp eq ptr %14, null
  br i1 %.not101, label %.loopexit80, label %.lr.ph

.lr.ph:                                           ; preds = %12, %18
  %.048102 = phi ptr [ %19, %18 ], [ %14, %12 ]
  %15 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.048102)
  %16 = getelementptr inbounds i8, ptr %15, i64 40
  %17 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmLEd(ptr noundef nonnull align 8 dereferenceable(12) %16, double noundef 0.000000e+00)
          to label %18 unwind label %22

18:                                               ; preds = %.lr.ph
  %19 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %.048102)
  %.not = icmp eq ptr %19, null
  br i1 %.not, label %.loopexit80, label %.lr.ph, !llvm.loop !15

20:                                               ; preds = %3
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %211

22:                                               ; preds = %.lr.ph
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %210

.loopexit80:                                      ; preds = %18, %12, %11
  %24 = load ptr, ptr %0, align 8, !tbaa !5
  %25 = call noundef ptr @_ZN14MDParticleList8getFirstEv(ptr noundef nonnull align 8 dereferenceable(24) %24)
  %.not65110 = icmp eq ptr %25, null
  br i1 %.not65110, label %._crit_edge115, label %.lr.ph114

.lr.ph114:                                        ; preds = %.loopexit80
  %26 = getelementptr inbounds i8, ptr %0, i64 184
  %27 = getelementptr inbounds i8, ptr %0, i64 176
  %28 = getelementptr inbounds i8, ptr %0, i64 120
  %29 = getelementptr inbounds i8, ptr %0, i64 180
  %30 = getelementptr inbounds i8, ptr %0, i64 104
  %31 = getelementptr inbounds i8, ptr %0, i64 136
  %32 = getelementptr inbounds i8, ptr %0, i64 152
  %33 = getelementptr inbounds i8, ptr %0, i64 72
  %34 = getelementptr inbounds i8, ptr %0, i64 64
  %35 = getelementptr inbounds i8, ptr %0, i64 112
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  br label %37

37:                                               ; preds = %.lr.ph114, %._crit_edge
  %.046112 = phi double [ 0.000000e+00, %.lr.ph114 ], [ %.1.lcssa, %._crit_edge ]
  %.149111 = phi ptr [ %25, %.lr.ph114 ], [ %209, %._crit_edge ]
  %38 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %39 = getelementptr inbounds i8, ptr %38, i64 56
  %40 = load ptr, ptr %39, align 8, !tbaa !17
  call void @_ZN14MDParticleList5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %40)
  %41 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %.not66106 = icmp eq ptr %41, null
  br i1 %.not66106, label %._crit_edge, label %.lr.ph109

.lr.ph109:                                        ; preds = %37, %207
  %.1108 = phi double [ %.2, %207 ], [ %.046112, %37 ]
  %.047107 = phi ptr [ %208, %207 ], [ %41, %37 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %42 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(12) %43)
          to label %44 unwind label %74

44:                                               ; preds = %.lr.ph109
  %45 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.047107)
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  invoke void @_Zmi3vecRKS_(ptr dead_on_unwind nonnull writable sret(%class.vec) align 8 %6, ptr noundef nonnull %7, ptr noundef nonnull align 8 dereferenceable(12) %46)
          to label %47 unwind label %76

47:                                               ; preds = %44
  %48 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %6)
          to label %49 unwind label %78

49:                                               ; preds = %47
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  %50 = load i8, ptr %26, align 8, !tbaa !19, !range !20, !noundef !21
  %51 = trunc nuw i8 %50 to i1
  %52 = load i32, ptr %27, align 8
  %.not69103 = icmp sgt i32 %52, 0
  %or.cond118.not = select i1 %51, i1 %.not69103, i1 false
  br i1 %or.cond118.not, label %.lr.ph105, label %.loopexit

.lr.ph105:                                        ; preds = %49, %82
  %.0104 = phi i32 [ %83, %82 ], [ 1, %49 ]
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef %.0104)
          to label %54 unwind label %.loopexit79

54:                                               ; preds = %.lr.ph105
  %55 = load double, ptr %53, align 8, !tbaa !22
  %56 = call noundef double @_ZSt3absd(double noundef %55)
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %28, i32 noundef %.0104)
          to label %58 unwind label %.loopexit79

58:                                               ; preds = %54
  %59 = load double, ptr %57, align 8, !tbaa !22
  %60 = fmul double %59, 5.000000e-01
  %61 = fcmp ogt double %56, %60
  br i1 %61, label %62, label %82

62:                                               ; preds = %58
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %28, i32 noundef %.0104)
          to label %64 unwind label %.loopexit79

64:                                               ; preds = %62
  %65 = load double, ptr %63, align 8, !tbaa !22
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef %.0104)
          to label %67 unwind label %.loopexit79

67:                                               ; preds = %64
  %68 = load double, ptr %66, align 8, !tbaa !22
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef %.0104)
          to label %70 unwind label %.loopexit79

70:                                               ; preds = %67
  %71 = call double @llvm.copysign.f64(double %65, double %68)
  %72 = load double, ptr %69, align 8, !tbaa !22
  %73 = fsub double %72, %71
  store double %73, ptr %69, align 8, !tbaa !22
  br label %82

74:                                               ; preds = %.lr.ph109
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %81

76:                                               ; preds = %44
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %47
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #8
  br label %80

80:                                               ; preds = %78, %76
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %7) #8
  br label %81

81:                                               ; preds = %80, %74
  %.pn.pn = phi { ptr, i32 } [ %.pn, %80 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %210

.loopexit79:                                      ; preds = %.lr.ph105, %54, %62, %64, %67
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %210

.loopexit.split-lp:                               ; preds = %.loopexit, %169, %184, %188, %192
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %210

82:                                               ; preds = %58, %70
  %83 = add nuw nsw i32 %.0104, 1
  %84 = load i32, ptr %27, align 8, !tbaa !23
  %.not69.not = icmp slt i32 %.0104, %84
  br i1 %.not69.not, label %.lr.ph105, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %82, %49
  %85 = invoke noundef double @_ZN3vec5v_absEv(ptr noundef nonnull align 8 dereferenceable(12) %4)
          to label %86 unwind label %.loopexit.split-lp

86:                                               ; preds = %.loopexit
  br i1 %2, label %87, label %165

87:                                               ; preds = %86
  %88 = load i32, ptr %29, align 4, !tbaa !25
  %89 = sitofp i32 %88 to double
  %90 = load double, ptr %30, align 8, !tbaa !26
  %91 = fcmp olt double %85, %90
  br i1 %91, label %92, label %103

92:                                               ; preds = %87
  %93 = fdiv double %85, %90
  %94 = fmul double %93, %89
  %95 = fptosi double %94 to i32
  %96 = add nsw i32 %95, 1
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %31, i32 noundef %96)
          to label %98 unwind label %101

98:                                               ; preds = %92
  %99 = load double, ptr %97, align 8, !tbaa !22
  %100 = fadd double %99, 1.000000e+00
  store double %100, ptr %97, align 8, !tbaa !22
  br label %103

101:                                              ; preds = %154, %152, %143, %139, %131, %129, %120, %118, %112, %106, %92
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %210

103:                                              ; preds = %98, %87
  %104 = load i32, ptr %27, align 8, !tbaa !23
  %105 = icmp eq i32 %104, 2
  br i1 %105, label %106, label %165

106:                                              ; preds = %103
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 1)
          to label %108 unwind label %101

108:                                              ; preds = %106
  %109 = load double, ptr %107, align 8, !tbaa !22
  %110 = call noundef double @_ZSt3absd(double noundef %109)
  %111 = fcmp olt double %110, %90
  br i1 %111, label %112, label %165

112:                                              ; preds = %108
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 2)
          to label %114 unwind label %101

114:                                              ; preds = %112
  %115 = load double, ptr %113, align 8, !tbaa !22
  %116 = call noundef double @_ZSt3absd(double noundef %115)
  %117 = fcmp olt double %116, %90
  br i1 %117, label %118, label %165

118:                                              ; preds = %114
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 1)
          to label %120 unwind label %101

120:                                              ; preds = %118
  %121 = load double, ptr %119, align 8, !tbaa !22
  %122 = fmul double %90, 2.000000e+00
  %123 = fdiv double %121, %122
  %124 = fadd double %123, 5.000000e-01
  %125 = fmul double %124, %89
  %126 = fptosi double %125 to i32
  %127 = add nsw i32 %126, 1
  %128 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16) %32, i32 noundef %127)
          to label %129 unwind label %101

129:                                              ; preds = %120
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 2)
          to label %131 unwind label %101

131:                                              ; preds = %129
  %132 = load double, ptr %130, align 8, !tbaa !22
  %133 = fdiv double %132, %122
  %134 = fadd double %133, 5.000000e-01
  %135 = fmul double %134, %89
  %136 = fptosi double %135 to i32
  %137 = add nsw i32 %136, 1
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %128, i32 noundef %137)
          to label %139 unwind label %101

139:                                              ; preds = %131
  %140 = load double, ptr %138, align 8, !tbaa !22
  %141 = fadd double %140, 1.000000e+00
  store double %141, ptr %138, align 8, !tbaa !22
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 1)
          to label %143 unwind label %101

143:                                              ; preds = %139
  %144 = load double, ptr %142, align 8, !tbaa !22
  %145 = fmul double %90, -2.000000e+00
  %146 = fdiv double %144, %145
  %147 = fadd double %146, 5.000000e-01
  %148 = fmul double %147, %89
  %149 = fptosi double %148 to i32
  %150 = add nsw i32 %149, 1
  %151 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16) %32, i32 noundef %150)
          to label %152 unwind label %101

152:                                              ; preds = %143
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef 2)
          to label %154 unwind label %101

154:                                              ; preds = %152
  %155 = load double, ptr %153, align 8, !tbaa !22
  %156 = fdiv double %155, %145
  %157 = fadd double %156, 5.000000e-01
  %158 = fmul double %157, %89
  %159 = fptosi double %158 to i32
  %160 = add nsw i32 %159, 1
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3vecixEi(ptr noundef nonnull align 8 dereferenceable(12) %151, i32 noundef %160)
          to label %162 unwind label %101

162:                                              ; preds = %154
  %163 = load double, ptr %161, align 8, !tbaa !22
  %164 = fadd double %163, 1.000000e+00
  store double %164, ptr %161, align 8, !tbaa !22
  br label %165

165:                                              ; preds = %103, %162, %114, %108, %86
  %166 = load double, ptr %33, align 8, !tbaa !27
  %167 = fcmp ogt double %166, 0.000000e+00
  %168 = fcmp ogt double %85, %166
  %or.cond = and i1 %167, %168
  br i1 %or.cond, label %207, label %169

169:                                              ; preds = %165
  %170 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %171 = getelementptr inbounds i8, ptr %170, i64 56
  %172 = load ptr, ptr %171, align 8, !tbaa !17
  %173 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.047107)
  invoke void @_ZN14MDParticleList11addParticleEP10MDParticle(ptr noundef nonnull align 8 dereferenceable(24) %172, ptr noundef %173)
          to label %174 unwind label %.loopexit.split-lp

174:                                              ; preds = %169
  br i1 %1, label %175, label %207

175:                                              ; preds = %174
  %176 = load double, ptr %34, align 8, !tbaa !28
  %177 = fcmp olt double %85, %176
  %178 = fcmp oeq double %176, 0.000000e+00
  %or.cond78 = or i1 %177, %178
  br i1 %or.cond78, label %179, label %207

179:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %180 = load ptr, ptr %35, align 8, !tbaa !29
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %4)
          to label %181 unwind label %197

181:                                              ; preds = %179
  invoke void %180(ptr dead_on_unwind nonnull writable sret(%class.vec) align 8 %8, ptr noundef nonnull %9)
          to label %182 unwind label %199

182:                                              ; preds = %181
  %183 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecaSERKS_(ptr noundef nonnull align 8 dereferenceable(12) %5, ptr noundef nonnull align 8 dereferenceable(12) %8)
          to label %184 unwind label %201

184:                                              ; preds = %182
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %8) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %185 = load ptr, ptr %36, align 8, !tbaa !30
  invoke void @_ZN3vecC1ERKS_(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %4)
          to label %186 unwind label %.loopexit.split-lp

186:                                              ; preds = %184
  %187 = invoke noundef double %185(ptr noundef nonnull %10)
          to label %188 unwind label %205

188:                                              ; preds = %186
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #8
  %189 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %190 = getelementptr inbounds i8, ptr %189, i64 40
  %191 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecpLERKS_(ptr noundef nonnull align 8 dereferenceable(12) %190, ptr noundef nonnull align 8 dereferenceable(12) %5)
          to label %192 unwind label %.loopexit.split-lp

192:                                              ; preds = %188
  %193 = fadd double %.1108, %187
  %194 = call noundef ptr @_ZN19MDParticleListEntry7getThisEv(ptr noundef nonnull align 8 dereferenceable(32) %.047107)
  %195 = getelementptr inbounds i8, ptr %194, i64 40
  %196 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmIERKS_(ptr noundef nonnull align 8 dereferenceable(12) %195, ptr noundef nonnull align 8 dereferenceable(12) %5)
          to label %207 unwind label %.loopexit.split-lp

197:                                              ; preds = %179
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %204

199:                                              ; preds = %181
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %203

201:                                              ; preds = %182
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %8) #8
  br label %203

203:                                              ; preds = %201, %199
  %.pn70 = phi { ptr, i32 } [ %202, %201 ], [ %200, %199 ]
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %9) #8
  br label %204

204:                                              ; preds = %203, %197
  %.pn70.pn = phi { ptr, i32 } [ %.pn70, %203 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %210

205:                                              ; preds = %186
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #8
  br label %210

207:                                              ; preds = %175, %165, %174, %192
  %.2 = phi double [ %193, %192 ], [ %.1108, %174 ], [ %.1108, %165 ], [ %.1108, %175 ]
  %208 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %.047107)
  %.not66 = icmp eq ptr %208, null
  br i1 %.not66, label %._crit_edge, label %.lr.ph109, !llvm.loop !31

._crit_edge:                                      ; preds = %207, %37
  %.1.lcssa = phi double [ %.046112, %37 ], [ %.2, %207 ]
  %209 = call noundef ptr @_ZN19MDParticleListEntry7getNextEv(ptr noundef nonnull align 8 dereferenceable(32) %.149111)
  %.not65 = icmp eq ptr %209, null
  br i1 %.not65, label %._crit_edge115, label %37, !llvm.loop !32

._crit_edge115:                                   ; preds = %._crit_edge, %.loopexit80
  %.046.lcssa = phi double [ 0.000000e+00, %.loopexit80 ], [ %.1.lcssa, %._crit_edge ]
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret double %.046.lcssa

210:                                              ; preds = %.loopexit79, %.loopexit.split-lp, %81, %101, %204, %205, %22
  %.pn75 = phi { ptr, i32 } [ %23, %22 ], [ %206, %205 ], [ %.pn70.pn, %204 ], [ %102, %101 ], [ %.pn.pn, %81 ], [ %lpad.loopexit, %.loopexit79 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %5) #8
  br label %211

211:                                              ; preds = %210, %20
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %210 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN3vecD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn75.pn
}

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecpLERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmLEd(ptr noundef nonnull align 8 dereferenceable(12), double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Zmi3vecRKS_(ptr dead_on_unwind noalias writable sret(%class.vec) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #6

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

declare noundef double @_ZN3vec5v_absEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3matixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(12) ptr @_ZN3vecmIERKS_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS5MDSim", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !7, i64 112, !12, i64 120, !12, i64 136, !14, i64 152, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !10, i64 184}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"_ZTS3vec", !7, i64 0, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTS3mat", !7, i64 0, !13, i64 8, !13, i64 12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !7, i64 56}
!18 = !{!"_ZTS10MDParticle", !13, i64 0, !12, i64 8, !12, i64 24, !12, i64 40, !7, i64 56}
!19 = !{!6, !10, i64 184}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!11, !11, i64 0}
!23 = !{!6, !13, i64 176}
!24 = distinct !{!24, !16}
!25 = !{!6, !13, i64 180}
!26 = !{!6, !11, i64 104}
!27 = !{!6, !11, i64 72}
!28 = !{!6, !11, i64 64}
!29 = !{!6, !7, i64 112}
!30 = !{!6, !7, i64 40}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}


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