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

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

%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::ArrayAccessor.33" = type { i64, ptr }
%"struct.jet::SphSpikyKernel2" = type { double, double, double, double, double }
%"class.jet::Array" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::Vector" = type { double, double }
%class.anon.37 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.38 = type { ptr, ptr, ptr }
%"class.jet::SphSolver2" = type { %"class.jet::ParticleSystemSolver2", double, double, double, double, double, double }
%"class.jet::ParticleSystemSolver2" = type { %"class.jet::PhysicsAnimation", double, double, %"class.jet::Vector", %"class.std::shared_ptr", %"class.jet::Array", %"class.jet::Array", %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6" }
%"class.jet::PhysicsAnimation" = type { %"class.jet::Animation", %"struct.jet::Frame", i8, i32, double }
%"class.jet::Animation" = type { ptr }
%"struct.jet::Frame" = type { i32, double }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet10SphSolver213sphSystemDataEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.9") align 8, ptr noundef nonnull align 8 dereferenceable(232)) #3 align 2

declare noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144)) #4

declare noundef double @_ZNK3jet14SphSystemData212kernelRadiusEv(ptr noundef nonnull align 8 dereferenceable(192)) #4

declare noundef double @_ZNK3jet19ParticleSystemData24massEv(ptr noundef nonnull align 8 dereferenceable(144)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet10SphSolver222computePseudoViscosityEd(ptr noundef nonnull align 8 dereferenceable(232) %0, double noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca %"class.std::shared_ptr.9", align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.jet::ArrayAccessor", align 8
  %10 = alloca %"class.jet::ArrayAccessor", align 8
  %11 = alloca %"class.jet::ArrayAccessor.33", align 8
  %12 = alloca double, align 8
  %13 = alloca %"struct.jet::SphSpikyKernel2", align 8
  %14 = alloca %"class.jet::Array", align 8
  %15 = alloca %"class.jet::Vector", align 8
  %16 = alloca %class.anon.37, align 8
  %17 = alloca double, align 8
  %18 = alloca %class.anon.38, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %19 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  call void @_ZNK3jet10SphSolver213sphSystemDataEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.9") align 8 %5, ptr noundef nonnull align 8 dereferenceable(232) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %20 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  %21 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %22 unwind label %60

22:                                               ; preds = %2
  store i64 %21, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %23 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %9, ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %24 unwind label %64

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %25 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %10, ptr noundef nonnull align 8 dereferenceable(144) %25)
          to label %26 unwind label %68

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %27 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZN3jet14SphSystemData29densitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.33") align 8 %11, ptr noundef nonnull align 8 dereferenceable(192) %27)
          to label %28 unwind label %72

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %29 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  %30 = invoke noundef double @_ZNK3jet19ParticleSystemData24massEv(ptr noundef nonnull align 8 dereferenceable(144) %29)
          to label %31 unwind label %76

31:                                               ; preds = %28
  store double %30, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #5
  %32 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  %33 = invoke noundef double @_ZNK3jet14SphSystemData212kernelRadiusEv(ptr noundef nonnull align 8 dereferenceable(192) %32)
          to label %34 unwind label %80

34:                                               ; preds = %31
  invoke void @_ZN3jet15SphSpikyKernel2C2Ed(ptr noundef nonnull align 8 dereferenceable(40) %13, double noundef %33)
          to label %35 unwind label %80

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %36 = load i64, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  invoke void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %37 unwind label %84

37:                                               ; preds = %35
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %36, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %38 unwind label %84

38:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  %39 = load i64, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #5
  %40 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 0
  store ptr %5, ptr %40, align 8, !tbaa !5
  %41 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 1
  store ptr %9, ptr %41, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 2
  store ptr %12, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 3
  store ptr %11, ptr %43, align 8, !tbaa !5
  %44 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 4
  store ptr %13, ptr %44, align 8, !tbaa !5
  %45 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 5
  store ptr %10, ptr %45, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.anon.37, ptr %16, i32 0, i32 6
  store ptr %14, ptr %46, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_0EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(56) %16, i32 noundef 1)
          to label %47 unwind label %88

47:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %48 = load double, ptr %4, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.jet::SphSolver2", ptr %19, i32 0, i32 4
  %50 = load double, ptr %49, align 8, !tbaa !13
  %51 = fmul double %48, %50
  store double %51, ptr %17, align 8, !tbaa !9
  %52 = load double, ptr %17, align 8, !tbaa !9
  %53 = invoke noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %52, double noundef 0.000000e+00, double noundef 1.000000e+00)
          to label %54 unwind label %92

54:                                               ; preds = %47
  store double %53, ptr %17, align 8, !tbaa !9
  %55 = load i64, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  %56 = getelementptr inbounds %class.anon.38, ptr %18, i32 0, i32 0
  store ptr %10, ptr %56, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.anon.38, ptr %18, i32 0, i32 1
  store ptr %14, ptr %57, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.anon.38, ptr %18, i32 0, i32 2
  store ptr %17, ptr %58, align 8, !tbaa !5
  invoke void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_1EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %55, ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef 1)
          to label %59 unwind label %96

59:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZNSt12__shared_ptrIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  ret void

60:                                               ; preds = %2
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  br label %108

64:                                               ; preds = %22
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  br label %107

68:                                               ; preds = %24
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  br label %106

72:                                               ; preds = %26
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %105

76:                                               ; preds = %28
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  br label %104

80:                                               ; preds = %34, %31
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  br label %103

84:                                               ; preds = %37, %35
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %102

88:                                               ; preds = %38
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  br label %101

92:                                               ; preds = %47
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  br label %100

96:                                               ; preds = %54
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %101

101:                                              ; preds = %100, %88
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %102

102:                                              ; preds = %101, %84
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  br label %103

103:                                              ; preds = %102, %80
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  br label %104

104:                                              ; preds = %103, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %105

105:                                              ; preds = %104, %72
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %106

106:                                              ; preds = %105, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  br label %107

107:                                              ; preds = %106, %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  br label %108

108:                                              ; preds = %107, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZNSt12__shared_ptrIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  br label %109

109:                                              ; preds = %108
  %110 = load ptr, ptr %7, align 8
  %111 = load i32, ptr %8, align 4
  %112 = insertvalue { ptr, i32 } poison, ptr %110, 0
  %113 = insertvalue { ptr, i32 } %112, i32 %111, 1
  resume { ptr, i32 } %113
}

declare void @_ZN3jet14SphSystemData29densitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.33") align 8, ptr noundef nonnull align 8 dereferenceable(192)) #4

declare void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) #4

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

declare void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) #4

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_0EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_1EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 208}
!14 = !{!"_ZTSN3jet10SphSolver2E", !15, i64 0, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224}
!15 = !{!"_ZTSN3jet21ParticleSystemSolver2E", !16, i64 0, !10, i64 40, !10, i64 48, !21, i64 56, !22, i64 72, !25, i64 88, !25, i64 112, !30, i64 136, !32, i64 152, !34, i64 168}
!16 = !{!"_ZTSN3jet16PhysicsAnimationE", !17, i64 0, !18, i64 8, !20, i64 24, !19, i64 28, !10, i64 32}
!17 = !{!"_ZTSN3jet9AnimationE"}
!18 = !{!"_ZTSN3jet5FrameE", !19, i64 0, !10, i64 8}
!19 = !{!"int", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSN3jet6VectorIdLm2EEE", !10, i64 0, !10, i64 8}
!22 = !{!"_ZTSSt10shared_ptrIN3jet19ParticleSystemData2EE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !24, i64 8}
!24 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!25 = !{!"_ZTSN3jet5ArrayINS_6VectorIdLm2EEELm1EEE", !26, i64 0}
!26 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt10shared_ptrIN3jet9Collider2EE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrIN3jet9Collider2ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !24, i64 8}
!32 = !{!"_ZTSSt10shared_ptrIN3jet16ParticleEmitter2EE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3jet16ParticleEmitter2ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !24, i64 8}
!34 = !{!"_ZTSSt10shared_ptrIN3jet12VectorField2EE", !35, i64 0}
!35 = !{!"_ZTSSt12__shared_ptrIN3jet12VectorField2ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !24, i64 8}


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

%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::ArrayAccessor.33" = type { i64, ptr }
%"struct.jet::SphSpikyKernel2" = type { double, double, double, double, double }
%"class.jet::Array" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::Vector" = type { double, double }
%class.anon.37 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.38 = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet10SphSolver213sphSystemDataEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.9") align 8, ptr noundef nonnull align 8 dereferenceable(232)) local_unnamed_addr #3 align 2

declare noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4

declare noundef double @_ZNK3jet14SphSystemData212kernelRadiusEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #4

declare noundef double @_ZNK3jet19ParticleSystemData24massEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet10SphSolver222computePseudoViscosityEd(ptr noundef nonnull align 8 dereferenceable(232) %0, double noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::shared_ptr.9", align 8
  %4 = alloca %"class.jet::ArrayAccessor", align 8
  %5 = alloca %"class.jet::ArrayAccessor", align 8
  %6 = alloca %"class.jet::ArrayAccessor.33", align 8
  %7 = alloca double, align 8
  %8 = alloca %"struct.jet::SphSpikyKernel2", align 8
  %9 = alloca %"class.jet::Array", align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca %class.anon.37, align 8
  %12 = alloca double, align 8
  %13 = alloca %class.anon.38, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @_ZNK3jet10SphSolver213sphSystemDataEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.9") align 8 %3, ptr noundef nonnull align 8 dereferenceable(232) %0)
  %14 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  %15 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %14)
          to label %16 unwind label %44

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %17 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %4, ptr noundef nonnull align 8 dereferenceable(144) %17)
          to label %18 unwind label %46

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  %19 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %5, ptr noundef nonnull align 8 dereferenceable(144) %19)
          to label %20 unwind label %48

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %21 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZN3jet14SphSystemData29densitiesEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor.33") align 8 %6, ptr noundef nonnull align 8 dereferenceable(192) %21)
          to label %22 unwind label %50

22:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %23 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  %24 = invoke noundef double @_ZNK3jet19ParticleSystemData24massEv(ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %25 unwind label %52

25:                                               ; preds = %22
  store double %24, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #5
  %26 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  %27 = invoke noundef double @_ZNK3jet14SphSystemData212kernelRadiusEv(ptr noundef nonnull align 8 dereferenceable(192) %26)
          to label %28 unwind label %54

28:                                               ; preds = %25
  call void @_ZN3jet15SphSpikyKernel2C2Ed(ptr noundef nonnull align 8 dereferenceable(40) %8, double noundef %27)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %15, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %29 unwind label %56

29:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #5
  store ptr %3, ptr %11, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %4, ptr %30, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %11, i64 16
  store ptr %7, ptr %31, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %11, i64 24
  store ptr %6, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %11, i64 32
  store ptr %8, ptr %33, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %11, i64 40
  store ptr %5, ptr %34, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %11, i64 48
  store ptr %9, ptr %35, align 8, !tbaa !9
  invoke void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_0EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %15, ptr noundef nonnull align 8 dereferenceable(56) %11, i32 noundef 1)
          to label %36 unwind label %58

36:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %37 = getelementptr inbounds i8, ptr %0, i64 208
  %38 = load double, ptr %37, align 8, !tbaa !11
  %39 = fmul double %38, %1
  %40 = call noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %39, double noundef 0.000000e+00, double noundef 1.000000e+00)
  store double %40, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #5
  store ptr %5, ptr %13, align 8, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %9, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr %12, ptr %42, align 8, !tbaa !9
  invoke void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_1EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef 0, i64 noundef %15, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1)
          to label %43 unwind label %60

43:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @_ZNSt12__shared_ptrIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  ret void

44:                                               ; preds = %2
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %69

46:                                               ; preds = %16
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %68

48:                                               ; preds = %18
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %67

50:                                               ; preds = %20
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %66

52:                                               ; preds = %22
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %65

54:                                               ; preds = %25
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %64

56:                                               ; preds = %28
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  br label %63

58:                                               ; preds = %29
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #5
  br label %62

60:                                               ; preds = %36
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %62

62:                                               ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %63

63:                                               ; preds = %62, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %62 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %64

64:                                               ; preds = %63, %54
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %63 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #5
  br label %65

65:                                               ; preds = %64, %52
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %64 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %66

66:                                               ; preds = %65, %50
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %65 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %67

67:                                               ; preds = %66, %48
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %66 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  br label %68

68:                                               ; preds = %67, %46
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %67 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %69

69:                                               ; preds = %68, %44
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %68 ], [ %45, %44 ]
  call void @_ZNSt12__shared_ptrIN3jet14SphSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN3jet14SphSystemData29densitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.33") align 8, ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #4

declare void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4

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

declare void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_0EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3jet11parallelForImZNS_10SphSolver222computePseudoViscosityEdE3$_1EEvT_S3_RKT0_NS_15ExecutionPolicyE"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 208}
!12 = !{!"_ZTSN3jet10SphSolver2E", !13, i64 0, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224}
!13 = !{!"_ZTSN3jet21ParticleSystemSolver2E", !14, i64 0, !6, i64 40, !6, i64 48, !19, i64 56, !20, i64 72, !23, i64 88, !23, i64 112, !28, i64 136, !30, i64 152, !32, i64 168}
!14 = !{!"_ZTSN3jet16PhysicsAnimationE", !15, i64 0, !16, i64 8, !18, i64 24, !17, i64 28, !6, i64 32}
!15 = !{!"_ZTSN3jet9AnimationE"}
!16 = !{!"_ZTSN3jet5FrameE", !17, i64 0, !6, i64 8}
!17 = !{!"int", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN3jet6VectorIdLm2EEE", !6, i64 0, !6, i64 8}
!20 = !{!"_ZTSSt10shared_ptrIN3jet19ParticleSystemData2EE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !22, i64 8}
!22 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!23 = !{!"_ZTSN3jet5ArrayINS_6VectorIdLm2EEELm1EEE", !24, i64 0}
!24 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!28 = !{!"_ZTSSt10shared_ptrIN3jet9Collider2EE", !29, i64 0}
!29 = !{!"_ZTSSt12__shared_ptrIN3jet9Collider2ELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !22, i64 8}
!30 = !{!"_ZTSSt10shared_ptrIN3jet16ParticleEmitter2EE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrIN3jet16ParticleEmitter2ELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !22, i64 8}
!32 = !{!"_ZTSSt10shared_ptrIN3jet12VectorField2EE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3jet12VectorField2ELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !22, i64 8}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass