; LLVM IR from mtsamis/box2d-optimized :: src/particle (b2_particle_system)

; 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.b2ParticleSystem::InsideBoundsEnumerator" = type { i32, i32, i32, i32, ptr, ptr }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Vec2 = type { float, float }
%class.b2ParticleSystem = type { i8, i32, i32, i8, i32, i8, i8, i32, float, float, float, float, i32, i32, %class.b2SlabAllocator, %"struct.b2ParticleSystem::UserOverridableBuffer", %"struct.b2ParticleSystem::UserOverridableBuffer.0", %"struct.b2ParticleSystem::UserOverridableBuffer.2", %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr, ptr, ptr, ptr, ptr, ptr, %"struct.b2ParticleSystem::UserOverridableBuffer.4", ptr, %"struct.b2ParticleSystem::UserOverridableBuffer.6", i32, [4 x i8], %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", %class.b2GrowableBuffer, %class.b2GrowableBuffer.10, %class.b2GrowableBuffer.11, %class.b2GrowableBuffer.12, %class.b2GrowableBuffer.13, %class.b2GrowableBuffer.14, %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", i64, i8, i32, ptr, %struct.b2ParticleSystemDef, ptr, ptr, ptr }
%class.b2SlabAllocator = type { %class.b2TrackedBlockAllocator, i32, %class.b2TypedFreeList }
%class.b2TrackedBlockAllocator = type { %class.b2TypedIntrusiveListNode }
%class.b2TypedIntrusiveListNode = type { %class.b2IntrusiveListNode }
%class.b2IntrusiveListNode = type { ptr, ptr }
%class.b2TypedFreeList = type { %class.b2FreeList }
%class.b2FreeList = type { %class.b2IntrusiveListNode, %class.b2IntrusiveListNode }
%"struct.b2ParticleSystem::UserOverridableBuffer" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.0" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.2" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.4" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.6" = type <{ ptr, i32, [4 x i8] }>
%class.b2GrowableBuffer = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.10 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.11 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.12 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.13 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.14 = type { ptr, i32, i32, ptr }
%"struct.b2ParticleSystem::UserOverridableBuffer.8" = type <{ ptr, i32, [4 x i8] }>
%struct.b2ParticleSystemDef = type { i8, float, float, float, i32, float, float, float, float, float, float, float, float, float, float, float, float, i32, float, i8, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN16b2ParticleSystem22InsideBoundsEnumerator7GetNextEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6b2AABBC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2MinIfET_S0_S0_(float noundef, float noundef) #5

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK16b2ParticleSystem25GetInsideBoundsEnumeratorERK6b2AABB(ptr dead_on_unwind noalias writable sret(%"class.b2ParticleSystem::InsideBoundsEnumerator") align 8, ptr noundef nonnull align 8 dereferenceable(632), ptr noundef nonnull align 4 dereferenceable(16)) #7 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #8

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z5b2MinRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z5b2MaxRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK16b2ParticleSystem7RayCastEP17b2RayCastCallbackRK6b2Vec2S4_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3) #9 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.b2AABB, align 4
  %10 = alloca %struct.b2Vec2, align 4
  %11 = alloca %struct.b2Vec2, align 4
  %12 = alloca float, align 4
  %13 = alloca %struct.b2Vec2, align 4
  %14 = alloca float, align 4
  %15 = alloca %"class.b2ParticleSystem::InsideBoundsEnumerator", align 8
  %16 = alloca i32, align 4
  %17 = alloca %struct.b2Vec2, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.b2Vec2, align 4
  %25 = alloca %struct.b2Vec2, align 4
  %26 = alloca float, align 4
  %27 = alloca %struct.b2Vec2, align 4
  %28 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8
  %30 = getelementptr inbounds %class.b2ParticleSystem, ptr %29, i32 0, i32 34
  %31 = call noundef i32 @_ZNK16b2GrowableBufferIN16b2ParticleSystem5ProxyEE8GetCountEv(ptr noundef nonnull align 8 dereferenceable(24) %30)
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %4
  br label %136

34:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #10
  call void @_ZN6b2AABBC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call <2 x float> @_Z5b2MinRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %37, ptr %10, align 4
  %38 = getelementptr inbounds %struct.b2AABB, ptr %9, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = call <2 x float> @_Z5b2MaxRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %40)
  store <2 x float> %41, ptr %11, align 4
  %42 = getelementptr inbounds %struct.b2AABB, ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store float 1.000000e+00, ptr %12, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %44)
  store <2 x float> %45, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %46 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store float %46, ptr %14, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #10
  call void @_ZNK16b2ParticleSystem25GetInsideBoundsEnumeratorERK6b2AABB(ptr dead_on_unwind writable sret(%"class.b2ParticleSystem::InsideBoundsEnumerator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(632) %29, ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  br label %47

47:                                               ; preds = %134, %132, %34
  %48 = call noundef i32 @_ZN16b2ParticleSystem22InsideBoundsEnumerator7GetNextEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  store i32 %48, ptr %16, align 4, !tbaa !12
  %49 = icmp sge i32 %48, 0
  br i1 %49, label %50, label %135

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.b2ParticleSystem, ptr %29, i32 0, i32 17
  %53 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !14
  %55 = load i32, ptr %16, align 4, !tbaa !12
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %struct.b2Vec2, ptr %54, i64 %56
  %58 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %57)
  store <2 x float> %58, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %59 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store float %59, ptr %18, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %60 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store float %60, ptr %19, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %61 = load float, ptr %18, align 4, !tbaa !10
  %62 = load float, ptr %18, align 4, !tbaa !10
  %63 = load float, ptr %14, align 4, !tbaa !10
  %64 = load float, ptr %19, align 4, !tbaa !10
  %65 = getelementptr inbounds %class.b2ParticleSystem, ptr %29, i32 0, i32 11
  %66 = load float, ptr %65, align 8, !tbaa !37
  %67 = fsub float %64, %66
  %68 = fmul float %63, %67
  %69 = fneg float %68
  %70 = call float @llvm.fmuladd.f32(float %61, float %62, float %69)
  store float %70, ptr %20, align 4, !tbaa !10
  %71 = load float, ptr %20, align 4, !tbaa !10
  %72 = fcmp oge float %71, 0.000000e+00
  br i1 %72, label %73, label %131

73:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %74 = load float, ptr %20, align 4, !tbaa !10
  %75 = call float @sqrtf(float noundef %74) #10
  store float %75, ptr %21, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %76 = load float, ptr %18, align 4, !tbaa !10
  %77 = fneg float %76
  %78 = load float, ptr %21, align 4, !tbaa !10
  %79 = fsub float %77, %78
  %80 = load float, ptr %14, align 4, !tbaa !10
  %81 = fdiv float %79, %80
  store float %81, ptr %22, align 4, !tbaa !10
  %82 = load float, ptr %22, align 4, !tbaa !10
  %83 = load float, ptr %12, align 4, !tbaa !10
  %84 = fcmp ogt float %82, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %73
  store i32 2, ptr %23, align 4
  br label %128, !llvm.loop !38

86:                                               ; preds = %73
  %87 = load float, ptr %22, align 4, !tbaa !10
  %88 = fcmp olt float %87, 0.000000e+00
  br i1 %88, label %89, label %104

89:                                               ; preds = %86
  %90 = load float, ptr %18, align 4, !tbaa !10
  %91 = fneg float %90
  %92 = load float, ptr %21, align 4, !tbaa !10
  %93 = fadd float %91, %92
  %94 = load float, ptr %14, align 4, !tbaa !10
  %95 = fdiv float %93, %94
  store float %95, ptr %22, align 4, !tbaa !10
  %96 = load float, ptr %22, align 4, !tbaa !10
  %97 = fcmp olt float %96, 0.000000e+00
  br i1 %97, label %102, label %98

98:                                               ; preds = %89
  %99 = load float, ptr %22, align 4, !tbaa !10
  %100 = load float, ptr %12, align 4, !tbaa !10
  %101 = fcmp ogt float %99, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %98, %89
  store i32 2, ptr %23, align 4
  br label %128, !llvm.loop !38

103:                                              ; preds = %98
  br label %104

104:                                              ; preds = %103, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %105 = load float, ptr %22, align 4, !tbaa !10
  %106 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %105, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %106, ptr %25, align 4
  %107 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %107, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  %108 = call noundef float @_ZN6b2Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %112 = load float, ptr %22, align 4, !tbaa !10
  %113 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %112, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %113, ptr %28, align 4
  %114 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %111, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %114, ptr %27, align 4
  %115 = load float, ptr %22, align 4, !tbaa !10
  %116 = load ptr, ptr %109, align 8, !tbaa !40
  %117 = getelementptr inbounds ptr, ptr %116, i64 3
  %118 = load ptr, ptr %117, align 8
  %119 = call noundef float %118(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef %29, i32 noundef %110, ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %115)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  store float %119, ptr %26, align 4, !tbaa !10
  %120 = load float, ptr %12, align 4, !tbaa !10
  %121 = load float, ptr %26, align 4, !tbaa !10
  %122 = call noundef float @_Z5b2MinIfET_S0_S0_(float noundef %120, float noundef %121)
  store float %122, ptr %12, align 4, !tbaa !10
  %123 = load float, ptr %12, align 4, !tbaa !10
  %124 = fcmp ole float %123, 0.000000e+00
  br i1 %124, label %125, label %126

125:                                              ; preds = %104
  store i32 3, ptr %23, align 4
  br label %127

126:                                              ; preds = %104
  store i32 0, ptr %23, align 4
  br label %127

127:                                              ; preds = %126, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %128

128:                                              ; preds = %127, %102, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  %129 = load i32, ptr %23, align 4
  switch i32 %129, label %132 [
    i32 0, label %130
  ]

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130, %50
  store i32 0, ptr %23, align 4
  br label %132

132:                                              ; preds = %131, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  %133 = load i32, ptr %23, align 4
  switch i32 %133, label %137 [
    i32 0, label %134
    i32 2, label %47
    i32 3, label %135
  ]

134:                                              ; preds = %132
  br label %47, !llvm.loop !38

135:                                              ; preds = %132, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  br label %136

136:                                              ; preds = %135, %33
  ret void

137:                                              ; preds = %132
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6b2Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 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 #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 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #10 = { 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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 144}
!15 = !{!"_ZTS16b2ParticleSystem", !16, i64 0, !13, i64 4, !13, i64 8, !16, i64 12, !13, i64 16, !16, i64 20, !16, i64 21, !13, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !13, i64 44, !13, i64 48, !17, i64 56, !23, i64 112, !24, i64 128, !25, i64 144, !25, i64 160, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !26, i64 224, !6, i64 240, !27, i64 248, !13, i64 264, !28, i64 272, !28, i64 288, !28, i64 304, !29, i64 320, !30, i64 344, !31, i64 368, !32, i64 392, !33, i64 416, !34, i64 440, !28, i64 464, !28, i64 480, !35, i64 496, !16, i64 504, !13, i64 508, !6, i64 512, !36, i64 520, !6, i64 608, !6, i64 616, !6, i64 624}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTS15b2SlabAllocatorI16b2ParticleHandleE", !18, i64 0, !13, i64 16, !21, i64 24}
!18 = !{!"_ZTS23b2TrackedBlockAllocator", !19, i64 0}
!19 = !{!"_ZTS24b2TypedIntrusiveListNodeI14b2TrackedBlockE", !20, i64 0}
!20 = !{!"_ZTS19b2IntrusiveListNode", !6, i64 0, !6, i64 8}
!21 = !{!"_ZTS15b2TypedFreeListI16b2ParticleHandleE", !22, i64 0}
!22 = !{!"_ZTS10b2FreeList", !20, i64 0, !20, i64 16}
!23 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIP16b2ParticleHandleEE", !6, i64 0, !13, i64 8}
!24 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIjEE", !6, i64 0, !13, i64 8}
!25 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI6b2Vec2EE", !6, i64 0, !13, i64 8}
!26 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI15b2ParticleColorEE", !6, i64 0, !13, i64 8}
!27 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIPvEE", !6, i64 0, !13, i64 8}
!28 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIiEE", !6, i64 0, !13, i64 8}
!29 = !{!"_ZTS16b2GrowableBufferIiE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!30 = !{!"_ZTS16b2GrowableBufferIN16b2ParticleSystem5ProxyEE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!31 = !{!"_ZTS16b2GrowableBufferI17b2ParticleContactE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!32 = !{!"_ZTS16b2GrowableBufferI21b2ParticleBodyContactE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!33 = !{!"_ZTS16b2GrowableBufferI14b2ParticlePairE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!34 = !{!"_ZTS16b2GrowableBufferI15b2ParticleTriadE", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS19b2ParticleSystemDef", !16, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !13, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !13, i64 68, !11, i64 72, !16, i64 76, !11, i64 80}
!37 = !{!15, !11, i64 40}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!41, !41, i64 0}
!41 = !{!"vtable pointer", !8, 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.b2ParticleSystem::InsideBoundsEnumerator" = type { i32, i32, i32, i32, ptr, ptr }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Vec2 = type { float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN16b2ParticleSystem22InsideBoundsEnumerator7GetNextEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6b2AABBC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2MinIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK16b2ParticleSystem25GetInsideBoundsEnumeratorERK6b2AABB(ptr dead_on_unwind noalias writable sret(%"class.b2ParticleSystem::InsideBoundsEnumerator") align 8, ptr noundef nonnull align 8 dereferenceable(632), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z5b2MinRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z5b2MaxRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK16b2ParticleSystem7RayCastEP17b2RayCastCallbackRK6b2Vec2S4_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3) local_unnamed_addr #8 align 2 {
  %5 = alloca %struct.b2AABB, align 8
  %6 = alloca %struct.b2Vec2, align 8
  %7 = alloca %"class.b2ParticleSystem::InsideBoundsEnumerator", align 8
  %8 = alloca %struct.b2Vec2, align 8
  %9 = alloca %struct.b2Vec2, align 8
  %10 = alloca %struct.b2Vec2, align 8
  %11 = alloca %struct.b2Vec2, align 8
  %12 = alloca %struct.b2Vec2, align 8
  %13 = getelementptr inbounds i8, ptr %0, i64 344
  %14 = tail call noundef i32 @_ZNK16b2GrowableBufferIN16b2ParticleSystem5ProxyEE8GetCountEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %66, label %16

16:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6b2AABBC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %17 = call <2 x float> @_Z5b2MinRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %17, ptr %5, align 8
  %18 = call <2 x float> @_Z5b2MaxRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
  %19 = getelementptr inbounds i8, ptr %5, i64 8
  store <2 x float> %18, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %20 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %2)
  store <2 x float> %20, ptr %6, align 8
  %21 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNK16b2ParticleSystem25GetInsideBoundsEnumeratorERK6b2AABB(ptr dead_on_unwind nonnull writable sret(%"class.b2ParticleSystem::InsideBoundsEnumerator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull align 4 dereferenceable(16) %5)
  %22 = getelementptr inbounds i8, ptr %0, i64 144
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = fneg float %21
  %25 = call noundef i32 @_ZN16b2ParticleSystem22InsideBoundsEnumerator7GetNextEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %26 = icmp sgt i32 %25, -1
  br i1 %26, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %16, %select.unfold
  %27 = phi i32 [ %64, %select.unfold ], [ %25, %16 ]
  %.049 = phi float [ %.3, %select.unfold ], [ 1.000000e+00, %16 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %28 = load ptr, ptr %22, align 8, !tbaa !5
  %29 = zext nneg i32 %27 to i64
  %30 = getelementptr inbounds %struct.b2Vec2, ptr %28, i64 %29
  %31 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %31, ptr %8, align 8
  %32 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %33 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %34 = load float, ptr %23, align 8, !tbaa !33
  %35 = fsub float %33, %34
  %36 = fmul float %35, %24
  %37 = call float @llvm.fmuladd.f32(float %32, float %32, float %36)
  %38 = fcmp ult float %37, 0.000000e+00
  br i1 %38, label %select.unfold, label %39

39:                                               ; preds = %.lr.ph
  %40 = call float @sqrtf(float noundef %37) #9
  %41 = fneg float %32
  %42 = fsub float %41, %40
  %43 = fdiv float %42, %21
  %44 = fcmp ogt float %43, %.049
  br i1 %44, label %select.unfold, label %45, !llvm.loop !34

45:                                               ; preds = %39
  %46 = fcmp olt float %43, 0.000000e+00
  br i1 %46, label %47, label %52

47:                                               ; preds = %45
  %48 = fsub float %40, %32
  %49 = fdiv float %48, %21
  %50 = fcmp olt float %49, 0.000000e+00
  %51 = fcmp ogt float %49, %.049
  %or.cond = select i1 %50, i1 true, i1 %51
  br i1 %or.cond, label %select.unfold, label %52, !llvm.loop !34

52:                                               ; preds = %47, %45
  %.041 = phi float [ %43, %45 ], [ %49, %47 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %53 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %.041, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %53, ptr %10, align 8
  %54 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %54, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  %55 = call noundef float @_ZN6b2Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %56 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %.041, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %56, ptr %12, align 8
  %57 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %57, ptr %11, align 8
  %58 = load ptr, ptr %1, align 8, !tbaa !36
  %59 = getelementptr inbounds i8, ptr %58, i64 24
  %60 = load ptr, ptr %59, align 8
  %61 = call noundef float %60(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %.041)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %62 = call noundef float @_Z5b2MinIfET_S0_S0_(float noundef %.049, float noundef %61)
  %63 = fcmp ugt float %62, 0.000000e+00
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br i1 %63, label %select.unfold, label %.thread

.thread:                                          ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %.loopexit

select.unfold:                                    ; preds = %52, %39, %47, %.lr.ph
  %.3 = phi float [ %.049, %.lr.ph ], [ %.049, %39 ], [ %.049, %47 ], [ %62, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %64 = call noundef i32 @_ZN16b2ParticleSystem22InsideBoundsEnumerator7GetNextEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %65 = icmp sgt i32 %64, -1
  br i1 %65, label %.lr.ph, label %.loopexit

.loopexit:                                        ; preds = %select.unfold, %16, %.thread
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  br label %66

66:                                               ; preds = %4, %.loopexit
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6b2Vec29NormalizeEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 nofree nounwind willreturn memory(write) "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 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #9 = { 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, !16, i64 144}
!6 = !{!"_ZTS16b2ParticleSystem", !7, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !10, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !10, i64 44, !10, i64 48, !12, i64 56, !19, i64 112, !20, i64 128, !21, i64 144, !21, i64 160, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !16, i64 208, !16, i64 216, !22, i64 224, !16, i64 240, !23, i64 248, !10, i64 264, !24, i64 272, !24, i64 288, !24, i64 304, !25, i64 320, !26, i64 344, !27, i64 368, !28, i64 392, !29, i64 416, !30, i64 440, !24, i64 464, !24, i64 480, !31, i64 496, !7, i64 504, !10, i64 508, !16, i64 512, !32, i64 520, !16, i64 608, !16, i64 616, !16, i64 624}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"_ZTS15b2SlabAllocatorI16b2ParticleHandleE", !13, i64 0, !10, i64 16, !17, i64 24}
!13 = !{!"_ZTS23b2TrackedBlockAllocator", !14, i64 0}
!14 = !{!"_ZTS24b2TypedIntrusiveListNodeI14b2TrackedBlockE", !15, i64 0}
!15 = !{!"_ZTS19b2IntrusiveListNode", !16, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTS15b2TypedFreeListI16b2ParticleHandleE", !18, i64 0}
!18 = !{!"_ZTS10b2FreeList", !15, i64 0, !15, i64 16}
!19 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIP16b2ParticleHandleEE", !16, i64 0, !10, i64 8}
!20 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIjEE", !16, i64 0, !10, i64 8}
!21 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI6b2Vec2EE", !16, i64 0, !10, i64 8}
!22 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI15b2ParticleColorEE", !16, i64 0, !10, i64 8}
!23 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIPvEE", !16, i64 0, !10, i64 8}
!24 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIiEE", !16, i64 0, !10, i64 8}
!25 = !{!"_ZTS16b2GrowableBufferIiE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!26 = !{!"_ZTS16b2GrowableBufferIN16b2ParticleSystem5ProxyEE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!27 = !{!"_ZTS16b2GrowableBufferI17b2ParticleContactE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!28 = !{!"_ZTS16b2GrowableBufferI21b2ParticleBodyContactE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!29 = !{!"_ZTS16b2GrowableBufferI14b2ParticlePairE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!30 = !{!"_ZTS16b2GrowableBufferI15b2ParticleTriadE", !16, i64 0, !10, i64 8, !10, i64 12, !16, i64 16}
!31 = !{!"long long", !8, i64 0}
!32 = !{!"_ZTS19b2ParticleSystemDef", !7, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !10, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !10, i64 68, !11, i64 72, !7, i64 76, !11, i64 80}
!33 = !{!6, !11, i64 40}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !9, i64 0}


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