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

; 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, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::TrianglePointGenerator" = type { %"class.jet::PointGenerator2" }
%"class.jet::PointGenerator2" = type { ptr }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double }
%"struct.jet::SphStdKernel2" = type { double, double, double, double }
%"class.jet::SphSystemData2" = type { %"class.jet::ParticleSystemData2", double, double, double, double, i64, i64 }
%"class.jet::ParticleSystemData2" = 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, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 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 @_ZN3jet19ParticleSystemData27setMassEd(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 @_ZN3jet14SphSystemData211computeMassEv(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::TrianglePointGenerator", 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::SphStdKernel2", 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_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  invoke void @_ZN3jet22TrianglePointGeneratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %20 unwind label %48

20:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %21 = getelementptr inbounds %"class.jet::SphSystemData2", 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::SphSystemData2", ptr %19, i32 0, i32 4
  %25 = load double, ptr %24, align 8, !tbaa !9
  %26 = fmul double -1.500000e+00, %25
  invoke void @_ZN3jet6VectorIdLm2EEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %23, double noundef %26)
          to label %27 unwind label %52

27:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %28 = getelementptr inbounds %"class.jet::SphSystemData2", ptr %19, i32 0, i32 4
  %29 = load double, ptr %28, align 8, !tbaa !9
  %30 = fmul double 1.500000e+00, %29
  %31 = getelementptr inbounds %"class.jet::SphSystemData2", ptr %19, i32 0, i32 4
  %32 = load double, ptr %31, align 8, !tbaa !9
  %33 = fmul double 1.500000e+00, %32
  invoke void @_ZN3jet6VectorIdLm2EEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %30, double noundef %33)
          to label %34 unwind label %56

34:                                               ; preds = %27
  invoke void @_ZN3jet11BoundingBoxIdLm2EEC2ERKNS_6VectorIdLm2EEES5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %35 unwind label %56

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  %36 = getelementptr inbounds %"class.jet::SphSystemData2", ptr %19, i32 0, i32 2
  %37 = load double, ptr %36, align 8, !tbaa !30
  invoke void @_ZNK3jet15PointGenerator28generateERKNS_11BoundingBoxIdLm2EEEdPNS_5ArrayINS_6VectorIdLm2EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(32) %7, double noundef %37, ptr noundef %3)
          to label %38 unwind label %61

38:                                               ; preds = %35
  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
  %39 = getelementptr inbounds %"class.jet::SphSystemData2", ptr %19, i32 0, i32 4
  %40 = load double, ptr %39, align 8, !tbaa !9
  invoke void @_ZN3jet13SphStdKernel2C2Ed(ptr noundef nonnull align 8 dereferenceable(32) %11, double noundef %40)
          to label %41 unwind label %65

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

42:                                               ; preds = %115, %41
  %43 = load i64, ptr %12, align 8, !tbaa !32
  %44 = invoke noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %45 unwind label %69

45:                                               ; preds = %42
  %46 = icmp ult i64 %43, %44
  br i1 %46, label %73, label %47

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

48:                                               ; preds = %1
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  br label %138

52:                                               ; preds = %20
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  br label %60

56:                                               ; preds = %34, %27
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %5, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %60

60:                                               ; preds = %56, %52
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  br label %137

61:                                               ; preds = %35
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  br label %137

65:                                               ; preds = %38
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  br label %136

69:                                               ; preds = %42
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %5, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %6, align 4
  br label %124

73:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %74 = load i64, ptr %12, align 8, !tbaa !32
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %74)
          to label %76 unwind label %83

76:                                               ; preds = %73
  store ptr %75, 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 %77

77:                                               ; preds = %103, %76
  %78 = load i64, ptr %16, align 8, !tbaa !32
  %79 = invoke noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %80 unwind label %87

80:                                               ; preds = %77
  %81 = icmp ult i64 %78, %79
  br i1 %81, label %91, label %82

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

83:                                               ; preds = %73
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %5, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %6, align 4
  br label %123

87:                                               ; preds = %77
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %5, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %6, align 4
  br label %110

91:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %92 = load i64, ptr %16, align 8, !tbaa !32
  %93 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %92)
          to label %94 unwind label %106

94:                                               ; preds = %91
  store ptr %93, ptr %17, align 8, !tbaa !5
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = invoke noundef double @_ZNK3jet6VectorIdLm2EE10distanceToERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %95, ptr noundef nonnull align 8 dereferenceable(16) %96)
          to label %98 unwind label %106

98:                                               ; preds = %94
  %99 = invoke noundef double @_ZNK3jet13SphStdKernel2clEd(ptr noundef nonnull align 8 dereferenceable(32) %11, double noundef %97)
          to label %100 unwind label %106

100:                                              ; preds = %98
  %101 = load double, ptr %15, align 8, !tbaa !31
  %102 = fadd double %101, %99
  store double %102, ptr %15, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %103

103:                                              ; preds = %100
  %104 = load i64, ptr %16, align 8, !tbaa !32
  %105 = add i64 %104, 1
  store i64 %105, ptr %16, align 8, !tbaa !32
  br label %77, !llvm.loop !33

106:                                              ; preds = %98, %94, %91
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %5, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %110

110:                                              ; preds = %106, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %122

111:                                              ; preds = %82
  %112 = 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 %113 unwind label %118

113:                                              ; preds = %111
  %114 = load double, ptr %112, align 8, !tbaa !31
  store double %114, 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 %115

115:                                              ; preds = %113
  %116 = load i64, ptr %12, align 8, !tbaa !32
  %117 = add i64 %116, 1
  store i64 %117, ptr %12, align 8, !tbaa !32
  br label %42, !llvm.loop !35

118:                                              ; preds = %111
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  br label %122

122:                                              ; preds = %118, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %123

123:                                              ; preds = %122, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %124

124:                                              ; preds = %123, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %136

125:                                              ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %126 = getelementptr inbounds %"class.jet::SphSystemData2", ptr %19, i32 0, i32 1
  %127 = load double, ptr %126, align 8, !tbaa !36
  %128 = load double, ptr %10, align 8, !tbaa !31
  %129 = fdiv double %127, %128
  store double %129, ptr %18, align 8, !tbaa !31
  %130 = load double, ptr %18, align 8, !tbaa !31
  invoke void @_ZN3jet19ParticleSystemData27setMassEd(ptr noundef nonnull align 8 dereferenceable(144) %19, double noundef %130)
          to label %131 unwind label %132

131:                                              ; preds = %125
  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 32, ptr %7) #7
  call void @_ZN3jet15PointGenerator2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  ret void

132:                                              ; preds = %125
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %5, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %136

136:                                              ; preds = %132, %124, %65
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %137

137:                                              ; preds = %136, %61, %60
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @_ZN3jet15PointGenerator2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br label %138

138:                                              ; preds = %137, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  br label %139

139:                                              ; preds = %138
  %140 = load ptr, ptr %5, align 8
  %141 = load i32, ptr %6, align 4
  %142 = insertvalue { ptr, i32 } poison, ptr %140, 0
  %143 = insertvalue { ptr, i32 } %142, i32 %141, 1
  resume { ptr, i32 } %143
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet11BoundingBoxIdLm2EEC2ERKNS_6VectorIdLm2EEES5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

declare void @_ZNK3jet15PointGenerator28generateERKNS_11BoundingBoxIdLm2EEEdPNS_5ArrayINS_6VectorIdLm2EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32), double noundef, ptr noundef) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet13SphStdKernel2clEd(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 @_ZN3jet15PointGenerator2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(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 = !{!"_ZTSN3jet14SphSystemData2E", !11, i64 0, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !14, i64 176, !14, i64 184}
!11 = !{!"_ZTSN3jet19ParticleSystemData2E", !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_6VectorIdLm2EEELm1EEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt10shared_ptrIN3jet22PointNeighborSearcher2EE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__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, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::TrianglePointGenerator" = type { %"class.jet::PointGenerator2" }
%"class.jet::PointGenerator2" = type { ptr }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double }
%"struct.jet::SphStdKernel2" = 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 @_ZN3jet19ParticleSystemData27setMassEd(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 @_ZN3jet14SphSystemData211computeMassEv(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::TrianglePointGenerator", 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::SphStdKernel2", align 8
  %9 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  invoke void @_ZN3jet22TrianglePointGeneratorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %10 unwind label %26

10:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 16, 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 @_ZN3jet6VectorIdLm2EEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %5, double noundef %13, double noundef %13)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %14 = load double, ptr %11, align 8, !tbaa !5
  %15 = fmul double %14, 1.500000e+00
  call void @_ZN3jet6VectorIdLm2EEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %6, double noundef %15, double noundef %15)
  invoke void @_ZN3jet11BoundingBoxIdLm2EEC2ERKNS_6VectorIdLm2EEES5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %16 unwind label %28

16:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 152
  %18 = load double, ptr %17, align 8, !tbaa !29
  invoke void @_ZNK3jet15PointGenerator28generateERKNS_11BoundingBoxIdLm2EEEdPNS_5ArrayINS_6VectorIdLm2EEELm1EEE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %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 @_ZN3jet13SphStdKernel2C2Ed(ptr noundef nonnull align 8 dereferenceable(32) %8, double noundef %20)
  %21 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(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 @_ZN3jet19ParticleSystemData27setMassEd(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 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, 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(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(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_6VectorIdLm2EEELm1EE4sizeEv(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_6VectorIdLm2EEELm1EE4sizeEv(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(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.01419)
  %40 = invoke noundef double @_ZNK3jet6VectorIdLm2EE10distanceToERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %41 unwind label %48

41:                                               ; preds = %.lr.ph
  %42 = call noundef double @_ZNK3jet13SphStdKernel2clEd(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_6VectorIdLm2EEELm1EE4sizeEv(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 32, ptr nonnull %4) #7
  call void @_ZN3jet15PointGenerator2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(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 32, ptr nonnull %4) #7
  call void @_ZN3jet15PointGenerator2D2Ev(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_6VectorIdLm2EEELm1EED2Ev(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 @_ZN3jet13SphStdKernel2C2Ed(ptr noundef nonnull align 8 dereferenceable(32), double noundef) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet11BoundingBoxIdLm2EEC2ERKNS_6VectorIdLm2EEES5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(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(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(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 @_ZNK3jet13SphStdKernel2clEd(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 @_ZN3jet15PointGenerator2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(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 = !{!"_ZTSN3jet14SphSystemData2E", !7, i64 0, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !12, i64 176, !12, i64 184}
!7 = !{!"_ZTSN3jet19ParticleSystemData2E", !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_6VectorIdLm2EEELm1EEESaIS4_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3jet5ArrayINS0_6VectorIdLm2EEELm1EEESaIS4_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"_ZTSSt10shared_ptrIN3jet22PointNeighborSearcher2EE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__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