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

; 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" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"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::ConstArrayAccessor" = type { i64, ptr }
%"class.jet::PointParticleEmitter2" = type { %"class.jet::ParticleEmitter2", %"class.std::mersenne_twister_engine", double, i64, i64, i64, %"class.jet::Vector", %"class.jet::Vector", double, double }
%"class.jet::ParticleEmitter2" = type { ptr, i8, %"class.std::shared_ptr", %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.jet::Vector" = type { double, double }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet21PointParticleEmitter28onUpdateEdd(ptr noundef nonnull align 8 dereferenceable(5144) %0, double noundef %1, double noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca %"class.jet::Array", align 8
  %15 = alloca %"class.jet::Array", align 8
  %16 = alloca %"class.jet::Array", align 8
  %17 = alloca %"class.jet::Array", align 8
  %18 = alloca %"class.jet::ConstArrayAccessor", align 8
  %19 = alloca %"class.jet::ConstArrayAccessor", align 8
  %20 = alloca %"class.jet::ConstArrayAccessor", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  %21 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16ParticleEmitter26targetEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
  call void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %22) #6
  %23 = call noundef zeroext i1 @_ZSteqIN3jet19ParticleSystemData2EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr null) #6
  br i1 %23, label %24, label %25

24:                                               ; preds = %3
  store i32 1, ptr %8, align 4
  br label %119

25:                                               ; preds = %3
  %26 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 3
  %27 = load i64, ptr %26, align 8, !tbaa !11
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %25
  %30 = load double, ptr %5, align 8, !tbaa !9
  %31 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 2
  store double %30, ptr %31, align 8, !tbaa !23
  br label %32

32:                                               ; preds = %29, %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %33 = load double, ptr %5, align 8, !tbaa !9
  %34 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 2
  %35 = load double, ptr %34, align 8, !tbaa !23
  %36 = fsub double %33, %35
  store double %36, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %37 = load double, ptr %9, align 8, !tbaa !9
  %38 = load double, ptr %6, align 8, !tbaa !9
  %39 = fadd double %37, %38
  %40 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 4
  %41 = load i64, ptr %40, align 8, !tbaa !24
  %42 = uitofp i64 %41 to double
  %43 = fmul double %39, %42
  %44 = call double @llvm.ceil.f64(double %43)
  %45 = fptoui double %44 to i64
  store i64 %45, ptr %10, align 8, !tbaa !25
  %46 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 5
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %48 unwind label %75

48:                                               ; preds = %32
  %49 = load i64, ptr %47, align 8, !tbaa !25
  store i64 %49, ptr %10, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %50 = load i64, ptr %10, align 8, !tbaa !25
  %51 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 3
  %52 = load i64, ptr %51, align 8, !tbaa !11
  %53 = sub i64 %50, %52
  store i64 %53, ptr %13, align 8, !tbaa !25
  %54 = load i64, ptr %13, align 8, !tbaa !25
  %55 = icmp ugt i64 %54, 0
  br i1 %55, label %56, label %118

56:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %57 unwind label %79

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %58 unwind label %83

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %59 unwind label %87

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %60 unwind label %91

60:                                               ; preds = %59
  %61 = load i64, ptr %13, align 8, !tbaa !25
  invoke void @_ZN3jet21PointParticleEmitter24emitEPNS_5ArrayINS_6VectorIdLm2EEELm1EEES5_m(ptr noundef nonnull align 8 dereferenceable(5144) %21, ptr noundef %14, ptr noundef %15, i64 noundef %61)
          to label %62 unwind label %95

62:                                               ; preds = %60
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6appendERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %63 unwind label %95

63:                                               ; preds = %62
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6appendERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %64 unwind label %95

64:                                               ; preds = %63
  %65 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  invoke void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %66 unwind label %99

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  invoke void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %67 unwind label %103

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  invoke void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %68 unwind label %107

68:                                               ; preds = %67
  invoke void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144) %65, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %69 unwind label %107

69:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  %70 = invoke noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %71 unwind label %95

71:                                               ; preds = %69
  %72 = getelementptr inbounds %"class.jet::PointParticleEmitter2", ptr %21, i32 0, i32 3
  %73 = load i64, ptr %72, align 8, !tbaa !11
  %74 = add i64 %73, %70
  store i64 %74, ptr %72, align 8, !tbaa !11
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  br label %118

75:                                               ; preds = %32
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %11, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %12, align 4
  br label %122

79:                                               ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %11, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %12, align 4
  br label %117

83:                                               ; preds = %57
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %11, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %12, align 4
  br label %116

87:                                               ; preds = %58
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %11, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %12, align 4
  br label %115

91:                                               ; preds = %59
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %11, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %12, align 4
  br label %114

95:                                               ; preds = %69, %63, %62, %60
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %11, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %12, align 4
  br label %113

99:                                               ; preds = %64
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %11, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %12, align 4
  br label %112

103:                                              ; preds = %66
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %11, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %12, align 4
  br label %111

107:                                              ; preds = %68, %67
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %11, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %111

111:                                              ; preds = %107, %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %112

112:                                              ; preds = %111, %99
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %113

113:                                              ; preds = %112, %95
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %114

114:                                              ; preds = %113, %91
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %115

115:                                              ; preds = %114, %87
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %116

116:                                              ; preds = %115, %83
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %117

117:                                              ; preds = %116, %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %122

118:                                              ; preds = %71, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  store i32 0, ptr %8, align 4
  br label %119

119:                                              ; preds = %118, %24
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  %120 = load i32, ptr %8, align 4
  switch i32 %120, label %128 [
    i32 0, label %121
    i32 1, label %121
  ]

121:                                              ; preds = %119, %119
  ret void

122:                                              ; preds = %117, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %123

123:                                              ; preds = %122
  %124 = load ptr, ptr %11, align 8
  %125 = load i32, ptr %12, align 4
  %126 = insertvalue { ptr, i32 } poison, ptr %124, 0
  %127 = insertvalue { ptr, i32 } %126, i32 %125, 1
  resume { ptr, i32 } %127

128:                                              ; preds = %119
  unreachable
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16ParticleEmitter26targetEv(ptr noundef nonnull align 8 dereferenceable(64)) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIN3jet19ParticleSystemData2EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21PointParticleEmitter24emitEPNS_5ArrayINS_6VectorIdLm2EEELm1EEES5_m(ptr noundef nonnull align 8 dereferenceable(5144), ptr noundef, ptr noundef, i64 noundef) #0 align 2

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

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

declare void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !21, i64 5072}
!12 = !{!"_ZTSN3jet21PointParticleEmitter2E", !13, i64 0, !20, i64 64, !10, i64 5064, !21, i64 5072, !21, i64 5080, !21, i64 5088, !22, i64 5096, !22, i64 5112, !10, i64 5128, !10, i64 5136}
!13 = !{!"_ZTSN3jet16ParticleEmitter2E", !14, i64 8, !15, i64 16, !18, i64 32}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSSt10shared_ptrIN3jet19ParticleSystemData2EE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!18 = !{!"_ZTSSt8functionIFvPN3jet16ParticleEmitter2EddEE", !19, i64 0, !6, i64 24}
!19 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!20 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !7, i64 0, !21, i64 4992}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN3jet6VectorIdLm2EEE", !10, i64 0, !10, i64 8}
!23 = !{!12, !10, i64 5064}
!24 = !{!12, !21, i64 5080}
!25 = !{!21, !21, i64 0}


; 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" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"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::ConstArrayAccessor" = type { i64, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet21PointParticleEmitter28onUpdateEdd(ptr noundef nonnull align 8 dereferenceable(5144) %0, double noundef %1, double noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::shared_ptr", align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.jet::Array", align 8
  %7 = alloca %"class.jet::Array", align 8
  %8 = alloca %"class.jet::Array", align 8
  %9 = alloca %"class.jet::Array", align 8
  %10 = alloca %"class.jet::ConstArrayAccessor", align 8
  %11 = alloca %"class.jet::ConstArrayAccessor", align 8
  %12 = alloca %"class.jet::ConstArrayAccessor", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16ParticleEmitter26targetEv(ptr noundef nonnull align 8 dereferenceable(64) %0)
  call void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  %14 = call noundef zeroext i1 @_ZSteqIN3jet19ParticleSystemData2EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr null) #6
  br i1 %14, label %59, label %15

15:                                               ; preds = %3
  %16 = getelementptr inbounds i8, ptr %0, i64 5072
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = icmp eq i64 %17, 0
  %19 = getelementptr inbounds i8, ptr %0, i64 5064
  br i1 %18, label %20, label %._crit_edge

._crit_edge:                                      ; preds = %15
  %.pre = load double, ptr %19, align 8, !tbaa !21
  br label %21

20:                                               ; preds = %15
  store double %1, ptr %19, align 8, !tbaa !21
  br label %21

21:                                               ; preds = %._crit_edge, %20
  %22 = phi double [ %.pre, %._crit_edge ], [ %1, %20 ]
  %23 = fsub double %1, %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %24 = fadd double %23, %2
  %25 = getelementptr inbounds i8, ptr %0, i64 5080
  %26 = load i64, ptr %25, align 8, !tbaa !22
  %27 = uitofp i64 %26 to double
  %28 = fmul double %24, %27
  %29 = call double @llvm.ceil.f64(double %28)
  %30 = fptoui double %29 to i64
  store i64 %30, ptr %5, align 8, !tbaa !23
  %31 = getelementptr inbounds i8, ptr %0, i64 5088
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = load i64, ptr %32, align 8, !tbaa !23
  store i64 %33, ptr %5, align 8, !tbaa !23
  %34 = load i64, ptr %16, align 8, !tbaa !5
  %.not = icmp eq i64 %33, %34
  br i1 %.not, label %58, label %35

35:                                               ; preds = %21
  %36 = sub i64 %33, %34
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
  invoke void @_ZN3jet21PointParticleEmitter24emitEPNS_5ArrayINS_6VectorIdLm2EEELm1EEES5_m(ptr noundef nonnull align 8 dereferenceable(5144) %0, ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %36)
          to label %37 unwind label %47

37:                                               ; preds = %35
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6appendERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %38 unwind label %47

38:                                               ; preds = %37
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6appendERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %39 unwind label %47

39:                                               ; preds = %38
  %40 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  invoke void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %41 unwind label %49

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  invoke void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %42 unwind label %51

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
  invoke void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144) %40, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %43 unwind label %53

43:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  %44 = call noundef i64 @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %45 = load i64, ptr %16, align 8, !tbaa !5
  %46 = add i64 %45, %44
  store i64 %46, ptr %16, align 8, !tbaa !5
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %58

47:                                               ; preds = %38, %37, %35
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %57

49:                                               ; preds = %39
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %56

51:                                               ; preds = %41
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %42
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %55

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %56

56:                                               ; preds = %55, %49
  %.pn.pn = phi { ptr, i32 } [ %.pn, %55 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %57

57:                                               ; preds = %56, %47
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %56 ], [ %48, %47 ]
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn.pn.pn

58:                                               ; preds = %43, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %59

59:                                               ; preds = %3, %58
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  ret void
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16ParticleEmitter26targetEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIN3jet19ParticleSystemData2EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet21PointParticleEmitter24emitEPNS_5ArrayINS_6VectorIdLm2EEELm1EEES5_m(ptr noundef nonnull align 8 dereferenceable(5144), ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

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

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

declare void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayINS_6VectorIdLm2EEELm1EEcvNS_18ConstArrayAccessorIS2_Lm1EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !18, i64 5072}
!6 = !{!"_ZTSN3jet21PointParticleEmitter2E", !7, i64 0, !17, i64 64, !19, i64 5064, !18, i64 5072, !18, i64 5080, !18, i64 5088, !20, i64 5096, !20, i64 5112, !19, i64 5128, !19, i64 5136}
!7 = !{!"_ZTSN3jet16ParticleEmitter2E", !8, i64 8, !11, i64 16, !15, i64 32}
!8 = !{!"bool", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt10shared_ptrIN3jet19ParticleSystemData2EE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0}
!15 = !{!"_ZTSSt8functionIFvPN3jet16ParticleEmitter2EddEE", !16, i64 0, !13, i64 24}
!16 = !{!"_ZTSSt14_Function_base", !9, i64 0, !13, i64 16}
!17 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !9, i64 0, !18, i64 4992}
!18 = !{!"long", !9, i64 0}
!19 = !{!"double", !9, i64 0}
!20 = !{!"_ZTSN3jet6VectorIdLm2EEE", !19, i64 0, !19, i64 8}
!21 = !{!6, !19, i64 5064}
!22 = !{!6, !18, i64 5080}
!23 = !{!18, !18, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass