; LLVM IR from mtsamis/box2d-optimized :: src/particle/b2_particle_group.ll (ZN15b2ParticleGroup16DestroyParticlesEb)

; 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.b2ParticleGroup = type { ptr, i32, i32, i32, float, ptr, ptr, i32, float, float, %struct.b2Vec2, %struct.b2Vec2, float, %struct.b2Transform, ptr }
%struct.b2Vec2 = type { float, float }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = 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 }

@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN15b2ParticleGroup16DestroyParticlesEb = external hidden unnamed_addr constant [45 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15b2ParticleGroup16DestroyParticlesEb(ptr noundef nonnull align 8 dereferenceable(96) %0, i1 noundef zeroext %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %6 = zext i1 %1 to i8
  store i8 %6, ptr %4, align 1, !tbaa !9
  %7 = load ptr, ptr %3, align 8
  %8 = getelementptr inbounds %class.b2ParticleGroup, ptr %7, i32 0, i32 0
  %9 = load ptr, ptr %8, align 8, !tbaa !11
  %10 = getelementptr inbounds %class.b2ParticleSystem, ptr %9, i32 0, i32 46
  %11 = load ptr, ptr %10, align 8, !tbaa !18
  %12 = call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %11)
  %13 = zext i1 %12 to i32
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  br label %18

16:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 114, ptr noundef @__PRETTY_FUNCTION__._ZN15b2ParticleGroup16DestroyParticlesEb) #5
  unreachable

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  %19 = getelementptr inbounds %class.b2ParticleGroup, ptr %7, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = getelementptr inbounds %class.b2ParticleSystem, ptr %20, i32 0, i32 46
  %22 = load ptr, ptr %21, align 8, !tbaa !18
  %23 = call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %22)
  br i1 %23, label %24, label %25

24:                                               ; preds = %18
  br label %43

25:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %26 = getelementptr inbounds %class.b2ParticleGroup, ptr %7, i32 0, i32 1
  %27 = load i32, ptr %26, align 8, !tbaa !40
  store i32 %27, ptr %5, align 4, !tbaa !41
  br label %28

28:                                               ; preds = %40, %25
  %29 = load i32, ptr %5, align 4, !tbaa !41
  %30 = getelementptr inbounds %class.b2ParticleGroup, ptr %7, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !42
  %32 = icmp slt i32 %29, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %43

34:                                               ; preds = %28
  %35 = getelementptr inbounds %class.b2ParticleGroup, ptr %7, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = load i32, ptr %5, align 4, !tbaa !41
  %38 = load i8, ptr %4, align 1, !tbaa !9, !range !43, !noundef !44
  %39 = trunc i8 %38 to i1
  call void @_ZN16b2ParticleSystem15DestroyParticleEib(ptr noundef nonnull align 8 dereferenceable(632) %36, i32 noundef %37, i1 noundef zeroext %39)
  br label %40

40:                                               ; preds = %34
  %41 = load i32, ptr %5, align 4, !tbaa !41
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %5, align 4, !tbaa !41
  br label %28, !llvm.loop !45

43:                                               ; preds = %33, %24
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352)) #3 align 2

declare void @_ZN16b2ParticleSystem15DestroyParticleEib(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i1 noundef zeroext) #4

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


; 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"

@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN15b2ParticleGroup16DestroyParticlesEb = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15b2ParticleGroup16DestroyParticlesEb(ptr nocapture noundef nonnull readonly align 8 dereferenceable(96) %0, i1 noundef zeroext %1) local_unnamed_addr #1 align 2 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 608
  %5 = load ptr, ptr %4, align 8, !tbaa !15
  %6 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %5)
  br i1 %6, label %7, label %8

7:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 114, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15b2ParticleGroup16DestroyParticlesEb) #4
  unreachable

8:                                                ; preds = %2
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 608
  %11 = load ptr, ptr %10, align 8, !tbaa !15
  %12 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %11)
  br i1 %12, label %.loopexit, label %13

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load i32, ptr %14, align 8, !tbaa !38
  %16 = getelementptr inbounds i8, ptr %0, i64 12
  %17 = load i32, ptr %16, align 4, !tbaa !39
  %18 = icmp slt i32 %15, %17
  br i1 %18, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %13, %.lr.ph
  %.04 = phi i32 [ %20, %.lr.ph ], [ %15, %13 ]
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @_ZN16b2ParticleSystem15DestroyParticleEib(ptr noundef nonnull align 8 dereferenceable(632) %19, i32 noundef %.04, i1 noundef zeroext %1)
  %20 = add nsw i32 %.04, 1
  %21 = load i32, ptr %16, align 4, !tbaa !39
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %.lr.ph, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %.lr.ph, %13, %8
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352)) local_unnamed_addr #2 align 2

declare void @_ZN16b2ParticleSystem15DestroyParticleEib(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

attributes #0 = { noreturn 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 #1 = { 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 #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 = { "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 = { noreturn 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, !7, i64 0}
!6 = !{!"_ZTS15b2ParticleGroup", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 20, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 44, !11, i64 48, !12, i64 52, !12, i64 60, !11, i64 68, !13, i64 72, !7, i64 88}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"_ZTS6b2Vec2", !11, i64 0, !11, i64 4}
!13 = !{!"_ZTS11b2Transform", !12, i64 0, !14, i64 8}
!14 = !{!"_ZTS5b2Rot", !11, i64 0, !11, i64 4}
!15 = !{!16, !7, i64 608}
!16 = !{!"_ZTS16b2ParticleSystem", !17, i64 0, !10, i64 4, !10, i64 8, !17, i64 12, !10, i64 16, !17, i64 20, !17, i64 21, !10, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !10, i64 44, !10, i64 48, !18, i64 56, !24, i64 112, !25, i64 128, !26, i64 144, !26, i64 160, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !27, i64 224, !7, i64 240, !28, i64 248, !10, i64 264, !29, i64 272, !29, i64 288, !29, i64 304, !30, i64 320, !31, i64 344, !32, i64 368, !33, i64 392, !34, i64 416, !35, i64 440, !29, i64 464, !29, i64 480, !36, i64 496, !17, i64 504, !10, i64 508, !7, i64 512, !37, i64 520, !7, i64 608, !7, i64 616, !7, i64 624}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTS15b2SlabAllocatorI16b2ParticleHandleE", !19, i64 0, !10, i64 16, !22, i64 24}
!19 = !{!"_ZTS23b2TrackedBlockAllocator", !20, i64 0}
!20 = !{!"_ZTS24b2TypedIntrusiveListNodeI14b2TrackedBlockE", !21, i64 0}
!21 = !{!"_ZTS19b2IntrusiveListNode", !7, i64 0, !7, i64 8}
!22 = !{!"_ZTS15b2TypedFreeListI16b2ParticleHandleE", !23, i64 0}
!23 = !{!"_ZTS10b2FreeList", !21, i64 0, !21, i64 16}
!24 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIP16b2ParticleHandleEE", !7, i64 0, !10, i64 8}
!25 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIjEE", !7, i64 0, !10, i64 8}
!26 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI6b2Vec2EE", !7, i64 0, !10, i64 8}
!27 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI15b2ParticleColorEE", !7, i64 0, !10, i64 8}
!28 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIPvEE", !7, i64 0, !10, i64 8}
!29 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIiEE", !7, i64 0, !10, i64 8}
!30 = !{!"_ZTS16b2GrowableBufferIiE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!31 = !{!"_ZTS16b2GrowableBufferIN16b2ParticleSystem5ProxyEE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!32 = !{!"_ZTS16b2GrowableBufferI17b2ParticleContactE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!33 = !{!"_ZTS16b2GrowableBufferI21b2ParticleBodyContactE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!34 = !{!"_ZTS16b2GrowableBufferI14b2ParticlePairE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!35 = !{!"_ZTS16b2GrowableBufferI15b2ParticleTriadE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!36 = !{!"long long", !8, i64 0}
!37 = !{!"_ZTS19b2ParticleSystemDef", !17, 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, !17, i64 76, !11, i64 80}
!38 = !{!6, !10, i64 8}
!39 = !{!6, !10, i64 12}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass