; LLVM IR from doyubkim/fluid-engine-dev :: src/jet/sph_system_data3.ll (ZN3jet14SphSystemData311computeMassEv)

; 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.jet::Array" = type { %"class.std::vector.20" }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::BccLatticePointGenerator" = type { %"class.jet::PointGenerator3" }
%"class.jet::PointGenerator3" = type { ptr }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double, double }
%"struct.jet::SphStdKernel3" = type { double, double, double, double }
%"class.jet::SphSystemData3" = type { %"class.jet::ParticleSystemData3", double, double, double, double, i64, i64 }
%"class.jet::ParticleSystemData3" = type { %"class.jet::Serializable", double, double, i64, i64, i64, i64, %"class.std::vector", %"class.std::vector.0", %"class.std::shared_ptr", %"class.std::vector.5" }
%"class.jet::Serializable" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 3>, 1>, std::allocator<jet::Array<jet::Vector<double, 3>, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 3>, 1>, std::allocator<jet::Array<jet::Vector<double, 3>, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 3>, 1>, std::allocator<jet::Array<jet::Vector<double, 3>, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 3>, 1>, std::allocator<jet::Array<jet::Vector<double, 3>, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3jet19ParticleSystemData37setMassEd(ptr noundef nonnull align 8 dereferenceable(144), double noundef) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet14SphSystemData311computeMassEv(ptr noundef nonnull align 8 dereferenceable(192) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.jet::Array", align 8
  %4 = alloca %"class.jet::BccLatticePointGenerator", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.jet::BoundingBox", align 8
  %8 = alloca %"class.jet::Vector", align 8
  %9 = alloca %"class.jet::Vector", align 8
  %10 = alloca double, align 8
  %11 = alloca %"struct.jet::SphStdKernel3", align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca double, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  invoke void @_ZN3jet24BccLatticePointGeneratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %20 unwind label %54

20:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %21 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = fmul double -1.500000e+00, %22
  %24 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %25 = load double, ptr %24, align 8, !tbaa !9
  %26 = fmul double -1.500000e+00, %25
  %27 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %28 = load double, ptr %27, align 8, !tbaa !9
  %29 = fmul double -1.500000e+00, %28
  invoke void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %23, double noundef %26, double noundef %29)
          to label %30 unwind label %58

30:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  %31 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %32 = load double, ptr %31, align 8, !tbaa !9
  %33 = fmul double 1.500000e+00, %32
  %34 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %35 = load double, ptr %34, align 8, !tbaa !9
  %36 = fmul double 1.500000e+00, %35
  %37 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %38 = load double, ptr %37, align 8, !tbaa !9
  %39 = fmul double 1.500000e+00, %38
  invoke void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %9, double noundef %33, double noundef %36, double noundef %39)
          to label %40 unwind label %62

40:                                               ; preds = %30
  invoke void @_ZN3jet11BoundingBoxIdLm3EEC2ERKNS_6VectorIdLm3EEES5_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %41 unwind label %62

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  %42 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 2
  %43 = load double, ptr %42, align 8, !tbaa !30
  invoke void @_ZNK3jet15PointGenerator38generateERKNS_11BoundingBoxIdLm3EEEdPNS_5ArrayINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(48) %7, double noundef %43, ptr noundef %3)
          to label %44 unwind label %67

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store double 0.000000e+00, ptr %10, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  %45 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 4
  %46 = load double, ptr %45, align 8, !tbaa !9
  invoke void @_ZN3jet13SphStdKernel3C2Ed(ptr noundef nonnull align 8 dereferenceable(32) %11, double noundef %46)
          to label %47 unwind label %71

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !32
  br label %48

48:                                               ; preds = %121, %47
  %49 = load i64, ptr %12, align 8, !tbaa !32
  %50 = invoke noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %51 unwind label %75

51:                                               ; preds = %48
  %52 = icmp ult i64 %49, %50
  br i1 %52, label %79, label %53

53:                                               ; preds = %51
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %131

54:                                               ; preds = %1
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %5, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %6, align 4
  br label %144

58:                                               ; preds = %20
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %5, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %6, align 4
  br label %66

62:                                               ; preds = %40, %30
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %5, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  br label %66

66:                                               ; preds = %62, %58
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  br label %143

67:                                               ; preds = %41
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %5, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %6, align 4
  br label %143

71:                                               ; preds = %44
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %5, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %6, align 4
  br label %142

75:                                               ; preds = %48
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %5, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %6, align 4
  br label %130

79:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %80 = load i64, ptr %12, align 8, !tbaa !32
  %81 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %80)
          to label %82 unwind label %89

82:                                               ; preds = %79
  store ptr %81, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store double 0.000000e+00, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store i64 0, ptr %16, align 8, !tbaa !32
  br label %83

83:                                               ; preds = %109, %82
  %84 = load i64, ptr %16, align 8, !tbaa !32
  %85 = invoke noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %86 unwind label %93

86:                                               ; preds = %83
  %87 = icmp ult i64 %84, %85
  br i1 %87, label %97, label %88

88:                                               ; preds = %86
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %117

89:                                               ; preds = %79
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %5, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %6, align 4
  br label %129

93:                                               ; preds = %83
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %5, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %6, align 4
  br label %116

97:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %98 = load i64, ptr %16, align 8, !tbaa !32
  %99 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %98)
          to label %100 unwind label %112

100:                                              ; preds = %97
  store ptr %99, ptr %17, align 8, !tbaa !5
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  %102 = load ptr, ptr %14, align 8, !tbaa !5
  %103 = invoke noundef double @_ZNK3jet6VectorIdLm3EE10distanceToERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 8 dereferenceable(24) %102)
          to label %104 unwind label %112

104:                                              ; preds = %100
  %105 = invoke noundef double @_ZNK3jet13SphStdKernel3clEd(ptr noundef nonnull align 8 dereferenceable(32) %11, double noundef %103)
          to label %106 unwind label %112

106:                                              ; preds = %104
  %107 = load double, ptr %15, align 8, !tbaa !31
  %108 = fadd double %107, %105
  store double %108, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %109

109:                                              ; preds = %106
  %110 = load i64, ptr %16, align 8, !tbaa !32
  %111 = add i64 %110, 1
  store i64 %111, ptr %16, align 8, !tbaa !32
  br label %83, !llvm.loop !33

112:                                              ; preds = %104, %100, %97
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %5, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %116

116:                                              ; preds = %112, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %128

117:                                              ; preds = %88
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %119 unwind label %124

119:                                              ; preds = %117
  %120 = load double, ptr %118, align 8, !tbaa !31
  store double %120, ptr %10, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %121

121:                                              ; preds = %119
  %122 = load i64, ptr %12, align 8, !tbaa !32
  %123 = add i64 %122, 1
  store i64 %123, ptr %12, align 8, !tbaa !32
  br label %48, !llvm.loop !35

124:                                              ; preds = %117
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %5, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %6, align 4
  br label %128

128:                                              ; preds = %124, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %129

129:                                              ; preds = %128, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %130

130:                                              ; preds = %129, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %142

131:                                              ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %132 = getelementptr inbounds %"class.jet::SphSystemData3", ptr %19, i32 0, i32 1
  %133 = load double, ptr %132, align 8, !tbaa !36
  %134 = load double, ptr %10, align 8, !tbaa !31
  %135 = fdiv double %133, %134
  store double %135, ptr %18, align 8, !tbaa !31
  %136 = load double, ptr %18, align 8, !tbaa !31
  invoke void @_ZN3jet19ParticleSystemData37setMassEd(ptr noundef nonnull align 8 dereferenceable(144) %19, double noundef %136)
          to label %137 unwind label %138

137:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  ret void

138:                                              ; preds = %131
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %5, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %142

142:                                              ; preds = %138, %130, %71
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %143

143:                                              ; preds = %142, %67, %66
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br label %144

144:                                              ; preds = %143, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  br label %145

145:                                              ; preds = %144
  %146 = load ptr, ptr %5, align 8
  %147 = load i32, ptr %6, align 4
  %148 = insertvalue { ptr, i32 } poison, ptr %146, 0
  %149 = insertvalue { ptr, i32 } %148, i32 %147, 1
  resume { ptr, i32 } %149
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet13SphStdKernel3C2Ed(ptr noundef nonnull align 8 dereferenceable(32), double noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #4 align 2

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

declare void @_ZNK3jet15PointGenerator38generateERKNS_11BoundingBoxIdLm3EEEdPNS_5ArrayINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet13SphStdKernel3clEd(ptr noundef nonnull align 8 dereferenceable(32), double noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: nounwind
declare void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 #4 = { 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 #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 = { 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 #7 = { 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 168}
!10 = !{!"_ZTSN3jet14SphSystemData3E", !11, i64 0, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !14, i64 176, !14, i64 184}
!11 = !{!"_ZTSN3jet19ParticleSystemData3E", !12, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !19, i64 80, !23, i64 104, !26, i64 120}
!12 = !{!"_ZTSN3jet12SerializableE"}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIN3jet5ArrayIdLm1EEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt10shared_ptrIN3jet22PointNeighborSearcher3EE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN3jet22PointNeighborSearcher3ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !25, i64 8}
!25 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!26 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!10, !13, i64 152}
!31 = !{!13, !13, i64 0}
!32 = !{!14, !14, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = !{!10, !13, i64 144}


; 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.jet::Array" = type { %"class.std::vector.20" }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::BccLatticePointGenerator" = type { %"class.jet::PointGenerator3" }
%"class.jet::PointGenerator3" = type { ptr }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double, double }
%"struct.jet::SphStdKernel3" = type { double, double, double, double }

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3jet19ParticleSystemData37setMassEd(ptr noundef nonnull align 8 dereferenceable(144), double noundef) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet14SphSystemData311computeMassEv(ptr noundef nonnull align 8 dereferenceable(192) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.jet::Array", align 8
  %3 = alloca %"class.jet::BccLatticePointGenerator", align 8
  %4 = alloca %"class.jet::BoundingBox", align 8
  %5 = alloca %"class.jet::Vector", align 8
  %6 = alloca %"class.jet::Vector", align 8
  %7 = alloca double, align 8
  %8 = alloca %"struct.jet::SphStdKernel3", align 8
  %9 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  invoke void @_ZN3jet24BccLatticePointGeneratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %10 unwind label %26

10:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 168
  %12 = load double, ptr %11, align 8, !tbaa !5
  %13 = fmul double %12, -1.500000e+00
  call void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef %13, double noundef %13, double noundef %13)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  %14 = load double, ptr %11, align 8, !tbaa !5
  %15 = fmul double %14, 1.500000e+00
  call void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef %15, double noundef %15, double noundef %15)
  invoke void @_ZN3jet11BoundingBoxIdLm3EEC2ERKNS_6VectorIdLm3EEES5_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %16 unwind label %28

16:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 152
  %18 = load double, ptr %17, align 8, !tbaa !29
  invoke void @_ZNK3jet15PointGenerator38generateERKNS_11BoundingBoxIdLm3EEEdPNS_5ArrayINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, double noundef %18, ptr noundef nonnull %2)
          to label %19 unwind label %30

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store double 0.000000e+00, ptr %7, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  %20 = load double, ptr %11, align 8, !tbaa !5
  call void @_ZN3jet13SphStdKernel3C2Ed(ptr noundef nonnull align 8 dereferenceable(32) %8, double noundef %20)
  %21 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %.not = icmp eq i64 %21, 0
  br i1 %.not, label %._crit_edge23, label %.lr.ph22

._crit_edge23.loopexit:                           ; preds = %._crit_edge
  %.pre = load double, ptr %7, align 8, !tbaa !30
  br label %._crit_edge23

._crit_edge23:                                    ; preds = %._crit_edge23.loopexit, %19
  %22 = phi double [ %.pre, %._crit_edge23.loopexit ], [ 0.000000e+00, %19 ]
  %23 = getelementptr inbounds i8, ptr %0, i64 144
  %24 = load double, ptr %23, align 8, !tbaa !31
  %25 = fdiv double %24, %22
  invoke void @_ZN3jet19ParticleSystemData37setMassEd(ptr noundef nonnull align 8 dereferenceable(144) %0, double noundef %25)
          to label %50 unwind label %51

26:                                               ; preds = %1
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %55

28:                                               ; preds = %10
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %54

30:                                               ; preds = %16
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %54

.lr.ph22:                                         ; preds = %19, %._crit_edge
  %.01520 = phi i64 [ %36, %._crit_edge ], [ 0, %19 ]
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.01520)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store double 0.000000e+00, ptr %9, align 8, !tbaa !30
  %33 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %.not24 = icmp eq i64 %33, 0
  br i1 %.not24, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %41, %.lr.ph22
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %35 = load double, ptr %34, align 8, !tbaa !30
  store double %35, ptr %7, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %36 = add nuw i64 %.01520, 1
  %37 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.lr.ph22, label %._crit_edge23.loopexit, !llvm.loop !32

.lr.ph:                                           ; preds = %.lr.ph22, %41
  %.01419 = phi i64 [ %45, %41 ], [ 0, %.lr.ph22 ]
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.01419)
  %40 = invoke noundef double @_ZNK3jet6VectorIdLm3EE10distanceToERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %41 unwind label %48

41:                                               ; preds = %.lr.ph
  %42 = call noundef double @_ZNK3jet13SphStdKernel3clEd(ptr noundef nonnull align 8 dereferenceable(32) %8, double noundef %40)
  %43 = load double, ptr %9, align 8, !tbaa !30
  %44 = fadd double %42, %43
  store double %44, ptr %9, align 8, !tbaa !30
  %45 = add nuw i64 %.01419, 1
  %46 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm3EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %.lr.ph, label %._crit_edge, !llvm.loop !34

48:                                               ; preds = %.lr.ph
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %53

50:                                               ; preds = %._crit_edge23
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  ret void

51:                                               ; preds = %._crit_edge23
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %53

53:                                               ; preds = %51, %48
  %.pn = phi { ptr, i32 } [ %49, %48 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %54

54:                                               ; preds = %53, %30, %28
  %.pn.pn = phi { ptr, i32 } [ %.pn, %53 ], [ %31, %30 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  br label %55

55:                                               ; preds = %54, %26
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %54 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm3EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet13SphStdKernel3C2Ed(ptr noundef nonnull align 8 dereferenceable(32), double noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #4 align 2

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

declare void @_ZNK3jet15PointGenerator38generateERKNS_11BoundingBoxIdLm3EEEdPNS_5ArrayINS_6VectorIdLm3EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet13SphStdKernel3clEd(ptr noundef nonnull align 8 dereferenceable(32), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3jet15PointGenerator3D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 #4 = { 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 #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 = { 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 #7 = { 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, !9, i64 168}
!6 = !{!"_ZTSN3jet14SphSystemData3E", !7, i64 0, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !12, i64 176, !12, i64 184}
!7 = !{!"_ZTSN3jet19ParticleSystemData3E", !8, i64 0, !9, i64 8, !9, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !18, i64 80, !22, i64 104, !25, i64 120}
!8 = !{!"_ZTSN3jet12SerializableE"}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSSt6vectorIN3jet5ArrayIdLm1EEESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayIdLm1EEESaIS2_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !10, i64 0}
!18 = !{!"_ZTSSt6vectorIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm3EEELm1EEESaIS4_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"_ZTSSt10shared_ptrIN3jet22PointNeighborSearcher3EE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIN3jet22PointNeighborSearcher3ELN9__gnu_cxx12_Lock_policyE2EE", !17, i64 0, !24, i64 8}
!24 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !17, i64 0}
!25 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!29 = !{!6, !9, i64 152}
!30 = !{!9, !9, i64 0}
!31 = !{!6, !9, i64 144}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass