; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/qmesh.ll (ZN5QMeshD2Ev)

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

%struct.QMesh = type { %"class.std::vector", %struct.QVector, %struct.QVector, float, float, %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.15", float, ptr, i32, %"class.std::vector.20", i8, i8, %"class.std::vector.25", float, i8, i8, i8, i8 }
%struct.QVector = type { float, float }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl" }
%"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QSpring *, std::allocator<QSpring *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<QAngleConstraint *, std::allocator<QAngleConstraint *>>::_Vector_impl" }
%"struct.std::_Vector_base<QAngleConstraint *, std::allocator<QAngleConstraint *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QAngleConstraint *, std::allocator<QAngleConstraint *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QAngleConstraint *, std::allocator<QAngleConstraint *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl" }
%"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QParticle *, std::allocator<QParticle *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::vector<QParticle *>, std::allocator<std::vector<QParticle *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<QParticle *>, std::allocator<std::vector<QParticle *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<QParticle *>, std::allocator<std::vector<QParticle *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<QParticle *>, std::allocator<std::vector<QParticle *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QParticle = type <{ float, %struct.QVector, %struct.QVector, %struct.QVector, float, ptr, i8, [3 x i8], %struct.QVector, [4 x i8], %"class.std::vector.15", i8, i8, [2 x i8], %class.QAABB, i8, [7 x i8], %"class.std::unordered_set", %"class.std::unordered_set.35", %"class.std::unordered_set.35", i8, i8, [6 x i8] }>
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set.35" = type { %"class.std::_Hashtable.36" }
%"class.std::_Hashtable.36" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.QSpring = type <{ ptr, float, [4 x i8], ptr, ptr, float, i8, i8, i8, i8 }>
%class.QAngleConstraint = type <{ ptr, float, [4 x i8], ptr, ptr, ptr, float, float, float, float, i8, i8, i8, [5 x i8] }>

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5QMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(256) %0) unnamed_addr #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %47, %1
  %8 = load i32, ptr %3, align 4, !tbaa !9
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  %11 = call noundef i64 @_ZNKSt6vectorIP9QParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %12 = icmp ult i64 %9, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %50

14:                                               ; preds = %7
  %15 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %17) #4
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %46

21:                                               ; preds = %14
  %22 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  %23 = load i32, ptr %3, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %24) #4
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds %class.QParticle, ptr %26, i32 0, i32 21
  %28 = load i8, ptr %27, align 1, !tbaa !11, !range !28, !noundef !29
  %29 = trunc i8 %28 to i1
  %30 = zext i1 %29 to i32
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %45

32:                                               ; preds = %21
  %33 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  %34 = load i32, ptr %3, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35) #4
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = icmp eq ptr %37, null
  br i1 %38, label %40, label %39

39:                                               ; preds = %32
  call void @_ZN9QParticleD2Ev(ptr noundef nonnull align 8 dereferenceable(290) %37) #4
  call void @_ZdlPvm(ptr noundef %37, i64 noundef 296) #5
  br label %40

40:                                               ; preds = %39, %32
  %41 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %43) #4
  store ptr null, ptr %44, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %40, %21
  br label %46

46:                                               ; preds = %45, %14
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %3, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %3, align 4, !tbaa !9
  br label %7, !llvm.loop !30

50:                                               ; preds = %13
  %51 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  call void @_ZNSt6vectorIP9QParticleSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %92, %50
  %53 = load i32, ptr %4, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  %56 = call noundef i64 @_ZNKSt6vectorIP7QSpringSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #4
  %57 = icmp ult i64 %54, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %95

59:                                               ; preds = %52
  %60 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  %61 = load i32, ptr %4, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %62) #4
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %91

66:                                               ; preds = %59
  %67 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  %68 = load i32, ptr %4, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #4
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds %class.QSpring, ptr %71, i32 0, i32 8
  %73 = load i8, ptr %72, align 2, !tbaa !32, !range !28, !noundef !29
  %74 = trunc i8 %73 to i1
  %75 = zext i1 %74 to i32
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %90

77:                                               ; preds = %66
  %78 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  %79 = load i32, ptr %4, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #4
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  %83 = icmp eq ptr %82, null
  br i1 %83, label %85, label %84

84:                                               ; preds = %77
  call void @_ZdlPvm(ptr noundef %82, i64 noundef 40) #5
  br label %85

85:                                               ; preds = %84, %77
  %86 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  %87 = load i32, ptr %4, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #4
  store ptr null, ptr %89, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %85, %66
  br label %91

91:                                               ; preds = %90, %59
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %4, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %4, align 4, !tbaa !9
  br label %52, !llvm.loop !34

95:                                               ; preds = %58
  %96 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  call void @_ZNSt6vectorIP7QSpringSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %137, %95
  %98 = load i32, ptr %5, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  %101 = call noundef i64 @_ZNKSt6vectorIP16QAngleConstraintSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  %102 = icmp ult i64 %99, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %140

104:                                              ; preds = %97
  %105 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  %106 = load i32, ptr %5, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107) #4
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %136

111:                                              ; preds = %104
  %112 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  %113 = load i32, ptr %5, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %114) #4
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.QAngleConstraint, ptr %116, i32 0, i32 12
  %118 = load i8, ptr %117, align 2, !tbaa !35, !range !28, !noundef !29
  %119 = trunc i8 %118 to i1
  %120 = zext i1 %119 to i32
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %135

122:                                              ; preds = %111
  %123 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  %124 = load i32, ptr %5, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #4
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = icmp eq ptr %127, null
  br i1 %128, label %130, label %129

129:                                              ; preds = %122
  call void @_ZdlPvm(ptr noundef %127, i64 noundef 64) #5
  br label %130

130:                                              ; preds = %129, %122
  %131 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  %132 = load i32, ptr %5, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %133) #4
  store ptr null, ptr %134, align 8, !tbaa !5
  br label %135

135:                                              ; preds = %130, %111
  br label %136

136:                                              ; preds = %135, %104
  br label %137

137:                                              ; preds = %136
  %138 = load i32, ptr %5, align 4, !tbaa !9
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %5, align 4, !tbaa !9
  br label %97, !llvm.loop !37

140:                                              ; preds = %103
  %141 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  call void @_ZNSt6vectorIP16QAngleConstraintSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %141) #4
  %142 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 16
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %142) #4
  %143 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 13
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %143) #4
  %144 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 9
  call void @_ZNSt6vectorI7QVectorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %144) #4
  %145 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 8
  call void @_ZNSt6vectorIS_IP9QParticleSaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %145) #4
  %146 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 7
  call void @_ZNSt6vectorIP9QParticleSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %146) #4
  %147 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 6
  call void @_ZNSt6vectorIP16QAngleConstraintSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %147) #4
  %148 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 5
  call void @_ZNSt6vectorIP7QSpringSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %148) #4
  %149 = getelementptr inbounds %struct.QMesh, ptr %6, i32 0, i32 0
  call void @_ZNSt6vectorIP9QParticleSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %149) #4
  ret void
}

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nobuiltin 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 #4 = { nounwind }
attributes #5 = { builtin 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, !15, i64 289}
!12 = !{!"_ZTS9QParticle", !13, i64 0, !14, i64 4, !14, i64 12, !14, i64 20, !13, i64 28, !6, i64 32, !15, i64 40, !14, i64 44, !16, i64 56, !15, i64 80, !15, i64 81, !20, i64 84, !15, i64 112, !21, i64 120, !26, i64 176, !26, i64 232, !15, i64 288, !15, i64 289}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTS7QVector", !13, i64 0, !13, i64 4}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSSt6vectorI7QVectorSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseI7QVectorSaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTS5QAABB", !14, i64 0, !14, i64 8, !14, i64 16, !13, i64 24}
!21 = !{!"_ZTSSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt10_HashtableIP9QParticleS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !13, i64 0, !23, i64 8}
!26 = !{!"_ZTSSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt10_HashtableIP5QBodyS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !23, i64 8, !24, i64 16, !23, i64 24, !25, i64 32, !6, i64 48}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !15, i64 38}
!33 = !{!"_ZTS7QSpring", !13, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !15, i64 36, !15, i64 37, !15, i64 38}
!34 = distinct !{!34, !31}
!35 = !{!36, !15, i64 58}
!36 = !{!"_ZTS16QAngleConstraint", !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !15, i64 56, !15, i64 57, !15, i64 58}
!37 = distinct !{!37, !31}


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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5QMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(256) %0) unnamed_addr #0 align 2 {
  %2 = tail call noundef i64 @_ZNKSt6vectorIP9QParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %.not39 = icmp eq i64 %2, 0
  br i1 %.not39, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %20, %1
  tail call void @_ZNSt6vectorIP9QParticleSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 48
  %4 = tail call noundef i64 @_ZNKSt6vectorIP7QSpringSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %.not40 = icmp eq i64 %4, 0
  br i1 %.not40, label %._crit_edge33, label %.lr.ph32

.lr.ph:                                           ; preds = %1, %20
  %indvars.iv = phi i64 [ %indvars.iv.next, %20 ], [ 0, %1 ]
  %5 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %.not27 = icmp eq ptr %6, null
  br i1 %.not27, label %20, label %7

7:                                                ; preds = %.lr.ph
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 289
  %11 = load i8, ptr %10, align 1, !tbaa !9, !range !26, !noundef !27
  %12 = icmp eq i8 %11, 0
  br i1 %12, label %13, label %20

13:                                               ; preds = %7
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  tail call void @_ZN9QParticleD2Ev(ptr noundef nonnull align 8 dereferenceable(290) %15) #3
  tail call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 296) #4
  br label %18

18:                                               ; preds = %17, %13
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP9QParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  store ptr null, ptr %19, align 8, !tbaa !5
  br label %20

20:                                               ; preds = %.lr.ph, %18, %7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %21 = tail call noundef i64 @_ZNKSt6vectorIP9QParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %22 = icmp ugt i64 %21, %indvars.iv.next
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !28

._crit_edge33:                                    ; preds = %40, %._crit_edge
  tail call void @_ZNSt6vectorIP7QSpringSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  %24 = tail call noundef i64 @_ZNKSt6vectorIP16QAngleConstraintSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #3
  %.not41 = icmp eq i64 %24, 0
  br i1 %.not41, label %._crit_edge37, label %.lr.ph36

.lr.ph32:                                         ; preds = %._crit_edge, %40
  %indvars.iv43 = phi i64 [ %indvars.iv.next44, %40 ], [ 0, %._crit_edge ]
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv43) #3
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %.not26 = icmp eq ptr %26, null
  br i1 %.not26, label %40, label %27

27:                                               ; preds = %.lr.ph32
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv43) #3
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 38
  %31 = load i8, ptr %30, align 2, !tbaa !30, !range !26, !noundef !27
  %32 = icmp eq i8 %31, 0
  br i1 %32, label %33, label %40

33:                                               ; preds = %27
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv43) #3
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = icmp eq ptr %35, null
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  tail call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 40) #4
  br label %38

38:                                               ; preds = %37, %33
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7QSpringSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv43) #3
  store ptr null, ptr %39, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %.lr.ph32, %38, %27
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %41 = tail call noundef i64 @_ZNKSt6vectorIP7QSpringSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %42 = icmp ugt i64 %41, %indvars.iv.next44
  br i1 %42, label %.lr.ph32, label %._crit_edge33, !llvm.loop !32

._crit_edge37:                                    ; preds = %63, %._crit_edge33
  tail call void @_ZNSt6vectorIP16QAngleConstraintSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #3
  %43 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #3
  %44 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #3
  %45 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZNSt6vectorI7QVectorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #3
  %46 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt6vectorIS_IP9QParticleSaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #3
  %47 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZNSt6vectorIP9QParticleSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #3
  tail call void @_ZNSt6vectorIP16QAngleConstraintSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #3
  tail call void @_ZNSt6vectorIP7QSpringSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  tail call void @_ZNSt6vectorIP9QParticleSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  ret void

.lr.ph36:                                         ; preds = %._crit_edge33, %63
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %63 ], [ 0, %._crit_edge33 ]
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv46) #3
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %.not = icmp eq ptr %49, null
  br i1 %.not, label %63, label %50

50:                                               ; preds = %.lr.ph36
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv46) #3
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 58
  %54 = load i8, ptr %53, align 2, !tbaa !33, !range !26, !noundef !27
  %55 = icmp eq i8 %54, 0
  br i1 %55, label %56, label %63

56:                                               ; preds = %50
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv46) #3
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = icmp eq ptr %58, null
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  tail call void @_ZdlPvm(ptr noundef nonnull %58, i64 noundef 64) #4
  br label %61

61:                                               ; preds = %60, %56
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16QAngleConstraintSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv46) #3
  store ptr null, ptr %62, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %.lr.ph36, %61, %50
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %64 = tail call noundef i64 @_ZNKSt6vectorIP16QAngleConstraintSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #3
  %65 = icmp ugt i64 %64, %indvars.iv.next47
  br i1 %65, label %.lr.ph36, label %._crit_edge37, !llvm.loop !35
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9QParticleD2Ev(ptr noundef nonnull align 8 dereferenceable(290)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { nobuiltin 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 #3 = { nounwind }
attributes #4 = { builtin 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, !13, i64 289}
!10 = !{!"_ZTS9QParticle", !11, i64 0, !12, i64 4, !12, i64 12, !12, i64 20, !11, i64 28, !6, i64 32, !13, i64 40, !12, i64 44, !14, i64 56, !13, i64 80, !13, i64 81, !18, i64 84, !13, i64 112, !19, i64 120, !24, i64 176, !24, i64 232, !13, i64 288, !13, i64 289}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTS7QVector", !11, i64 0, !11, i64 4}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt6vectorI7QVectorSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseI7QVectorSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTS5QAABB", !12, i64 0, !12, i64 8, !12, i64 16, !11, i64 24}
!19 = !{!"_ZTSSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableIP9QParticleS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !11, i64 0, !21, i64 8}
!24 = !{!"_ZTSSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt10_HashtableIP5QBodyS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !13, i64 38}
!31 = !{!"_ZTS7QSpring", !11, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !13, i64 36, !13, i64 37, !13, i64 38}
!32 = distinct !{!32, !29}
!33 = !{!34, !13, i64 58}
!34 = !{!"_ZTS16QAngleConstraint", !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !13, i64 56, !13, i64 57, !13, i64 58}
!35 = distinct !{!35, !29}


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