; LLVM IR from mtsamis/box2d-optimized :: src/dynamics/b2_world.ll (ZN7b2World10CreateBodyEPK9b2BodyDef)

; 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.b2World = type { %class.b2BlockAllocator, %class.b2StackAllocator, %class.b2ContactManager, ptr, ptr, ptr, ptr, i32, i32, %struct.b2Vec2, i8, ptr, ptr, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.b2Profile }
%class.b2BlockAllocator = type { ptr, i32, i32, [14 x ptr] }
%class.b2StackAllocator = type <{ [102400 x i8], i32, i32, i32, [4 x i8], [32 x %struct.b2StackEntry], i32, [4 x i8] }>
%struct.b2StackEntry = type { ptr, i32, i8 }
%class.b2ContactManager = type { %class.b2BroadPhase, i32, ptr, ptr, ptr, ptr }
%class.b2BroadPhase = type <{ ptr, ptr, ptr, ptr, %struct.b2TreeNode, ptr, ptr, ptr, i32, i32, %class.b2IntHashTable, i32, i32, i8, [7 x i8] }>
%struct.b2TreeNode = type { ptr, ptr, ptr, ptr, %struct.b2AABB }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%class.b2IntHashTable = type <{ ptr, i32, [4 x i8] }>
%struct.b2Vec2 = type { float, float }
%struct.b2Profile = type { float, float, float, float, float }
%class.b2Body = type { i32, i16, i32, %struct.b2Transform, %struct.b2Transform, %struct.b2Sweep, %struct.b2Vec2, float, %struct.b2Vec2, float, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, float, float, float, float, float, float, float, float, %struct.b2BodyUserData }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = type { float, float }
%struct.b2Sweep = type { %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, float }
%struct.b2BodyUserData = type { i64 }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__._ZN7b2World10CreateBodyEPK9b2BodyDef = external hidden unnamed_addr constant [47 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: mustprogress uwtable
define dso_local noundef ptr @_ZN7b2World10CreateBodyEPK9b2BodyDef(ptr noundef nonnull align 8 dereferenceable(103352) %0, ptr noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8
  %9 = call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %8)
  %10 = zext i1 %9 to i32
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %12, label %13

12:                                               ; preds = %2
  br label %15

13:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 142, ptr noundef @__PRETTY_FUNCTION__._ZN7b2World10CreateBodyEPK9b2BodyDef) #5
  unreachable

14:                                               ; No predecessors!
  br label %15

15:                                               ; preds = %14, %12
  %16 = call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %8)
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  store ptr null, ptr %3, align 8
  br label %73

18:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %19 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 0
  %20 = call noundef ptr @_ZN16b2BlockAllocator8AllocateEi(ptr noundef nonnull align 8 dereferenceable(128) %19, i32 noundef 208)
  store ptr %20, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6b2BodyC1EPK9b2BodyDefP7b2World(ptr noundef nonnull align 8 dereferenceable(208) %21, ptr noundef %22, ptr noundef %8)
  store ptr %21, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = call noundef i32 @_ZNK6b2Body7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(208) %23)
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %47

26:                                               ; preds = %18
  %27 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 4
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.b2Body, ptr %29, i32 0, i32 11
  store ptr %28, ptr %30, align 8, !tbaa !23
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.b2Body, ptr %31, i32 0, i32 12
  store ptr null, ptr %32, align 8, !tbaa !32
  %33 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %41

36:                                               ; preds = %26
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 4
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds %class.b2Body, ptr %39, i32 0, i32 12
  store ptr %37, ptr %40, align 8, !tbaa !32
  br label %44

41:                                               ; preds = %26
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 3
  store ptr %42, ptr %43, align 8, !tbaa !33
  br label %44

44:                                               ; preds = %41, %36
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 4
  store ptr %45, ptr %46, align 8, !tbaa !9
  br label %68

47:                                               ; preds = %18
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.b2Body, ptr %48, i32 0, i32 11
  store ptr null, ptr %49, align 8, !tbaa !23
  %50 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !33
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %class.b2Body, ptr %52, i32 0, i32 12
  store ptr %51, ptr %53, align 8, !tbaa !32
  %54 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 3
  %55 = load ptr, ptr %54, align 8, !tbaa !33
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %62

57:                                               ; preds = %47
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 3
  %60 = load ptr, ptr %59, align 8, !tbaa !33
  %61 = getelementptr inbounds %class.b2Body, ptr %60, i32 0, i32 11
  store ptr %58, ptr %61, align 8, !tbaa !23
  br label %65

62:                                               ; preds = %47
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 4
  store ptr %63, ptr %64, align 8, !tbaa !9
  br label %65

65:                                               ; preds = %62, %57
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 3
  store ptr %66, ptr %67, align 8, !tbaa !33
  br label %68

68:                                               ; preds = %65, %44
  %69 = getelementptr inbounds %class.b2World, ptr %8, i32 0, i32 7
  %70 = load i32, ptr %69, align 8, !tbaa !34
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %69, align 8, !tbaa !34
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %72, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %73

73:                                               ; preds = %68, %17
  %74 = load ptr, ptr %3, align 8
  ret ptr %74
}

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

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

declare noundef ptr @_ZN16b2BlockAllocator8AllocateEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #4

declare void @_ZN6b2BodyC1EPK9b2BodyDefP7b2World(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6b2Body7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(208)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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, !6, i64 103256}
!10 = !{!"_ZTS7b2World", !11, i64 0, !13, i64 128, !14, i64 103064, !6, i64 103248, !6, i64 103256, !6, i64 103264, !6, i64 103272, !12, i64 103280, !12, i64 103284, !18, i64 103288, !21, i64 103296, !6, i64 103304, !6, i64 103312, !19, i64 103320, !21, i64 103324, !21, i64 103325, !21, i64 103326, !21, i64 103327, !21, i64 103328, !21, i64 103329, !21, i64 103330, !21, i64 103331, !22, i64 103332}
!11 = !{!"_ZTS16b2BlockAllocator", !6, i64 0, !12, i64 8, !12, i64 12, !7, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS16b2StackAllocator", !7, i64 0, !12, i64 102400, !12, i64 102404, !12, i64 102408, !7, i64 102416, !12, i64 102928}
!14 = !{!"_ZTS16b2ContactManager", !15, i64 0, !12, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!15 = !{!"_ZTS12b2BroadPhase", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !16, i64 32, !6, i64 80, !6, i64 88, !6, i64 96, !12, i64 104, !12, i64 108, !20, i64 112, !12, i64 128, !12, i64 132, !21, i64 136}
!16 = !{!"_ZTS10b2TreeNode", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !17, i64 32}
!17 = !{!"_ZTS6b2AABB", !18, i64 0, !18, i64 8}
!18 = !{!"_ZTS6b2Vec2", !19, i64 0, !19, i64 4}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTS14b2IntHashTable", !6, i64 0, !12, i64 8}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTS9b2Profile", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16}
!23 = !{!24, !6, i64 112}
!24 = !{!"_ZTS6b2Body", !25, i64 0, !26, i64 4, !12, i64 8, !27, i64 12, !27, i64 28, !29, i64 44, !18, i64 80, !19, i64 88, !18, i64 92, !19, i64 100, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !12, i64 136, !6, i64 144, !6, i64 152, !12, i64 160, !12, i64 164, !19, i64 168, !19, i64 172, !19, i64 176, !19, i64 180, !19, i64 184, !19, i64 188, !19, i64 192, !19, i64 196, !30, i64 200}
!25 = !{!"_ZTS10b2BodyType", !7, i64 0}
!26 = !{!"short", !7, i64 0}
!27 = !{!"_ZTS11b2Transform", !18, i64 0, !28, i64 8}
!28 = !{!"_ZTS5b2Rot", !19, i64 0, !19, i64 4}
!29 = !{!"_ZTS7b2Sweep", !18, i64 0, !18, i64 8, !18, i64 16, !19, i64 24, !19, i64 28, !19, i64 32}
!30 = !{!"_ZTS14b2BodyUserData", !31, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = !{!24, !6, i64 120}
!33 = !{!10, !6, i64 103248}
!34 = !{!10, !12, i64 103280}


; 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 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__._ZN7b2World10CreateBodyEPK9b2BodyDef = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7b2World10CreateBodyEPK9b2BodyDef(ptr noundef nonnull align 8 dereferenceable(103352) %0, ptr noundef %1) local_unnamed_addr #0 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %0)
  br i1 %3, label %4, label %5

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

5:                                                ; preds = %2
  %6 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %0)
  br i1 %6, label %28, label %7

7:                                                ; preds = %5
  %8 = tail call noundef ptr @_ZN16b2BlockAllocator8AllocateEi(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef 208)
  tail call void @_ZN6b2BodyC1EPK9b2BodyDefP7b2World(ptr noundef nonnull align 8 dereferenceable(208) %8, ptr noundef %1, ptr noundef nonnull %0)
  %9 = tail call noundef i32 @_ZNK6b2Body7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(208) %8)
  %10 = icmp eq i32 %9, 0
  %11 = getelementptr inbounds i8, ptr %8, i64 120
  br i1 %10, label %12, label %18

12:                                               ; preds = %7
  %13 = getelementptr inbounds i8, ptr %0, i64 103256
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %8, i64 112
  store ptr %14, ptr %15, align 8, !tbaa !22
  store ptr null, ptr %11, align 8, !tbaa !31
  %.not18 = icmp eq ptr %14, null
  %16 = getelementptr inbounds i8, ptr %0, i64 103248
  %17 = getelementptr inbounds i8, ptr %14, i64 120
  %.sink = select i1 %.not18, ptr %16, ptr %17
  br label %24

18:                                               ; preds = %7
  %19 = getelementptr inbounds i8, ptr %8, i64 112
  store ptr null, ptr %19, align 8, !tbaa !22
  %20 = getelementptr inbounds i8, ptr %0, i64 103248
  %21 = load ptr, ptr %20, align 8, !tbaa !32
  store ptr %21, ptr %11, align 8, !tbaa !31
  %.not = icmp eq ptr %21, null
  %22 = getelementptr inbounds i8, ptr %0, i64 103256
  %23 = getelementptr inbounds i8, ptr %21, i64 112
  %.sink19 = select i1 %.not, ptr %22, ptr %23
  br label %24

24:                                               ; preds = %18, %12
  %.sink19.sink = phi ptr [ %.sink19, %18 ], [ %.sink, %12 ]
  %.sink20 = phi ptr [ %20, %18 ], [ %13, %12 ]
  store ptr %8, ptr %.sink19.sink, align 8, !tbaa !33
  store ptr %8, ptr %.sink20, align 8, !tbaa !33
  %25 = getelementptr inbounds i8, ptr %0, i64 103280
  %26 = load i32, ptr %25, align 8, !tbaa !34
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %25, align 8, !tbaa !34
  br label %28

28:                                               ; preds = %5, %24
  %.0 = phi ptr [ %8, %24 ], [ null, %5 ]
  ret ptr %.0
}

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

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

declare noundef ptr @_ZN16b2BlockAllocator8AllocateEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #3

declare void @_ZN6b2BodyC1EPK9b2BodyDefP7b2World(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6b2Body7GetTypeEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #1 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 = { 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 #2 = { 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 #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, !8, i64 103256}
!6 = !{!"_ZTS7b2World", !7, i64 0, !12, i64 128, !13, i64 103064, !8, i64 103248, !8, i64 103256, !8, i64 103264, !8, i64 103272, !11, i64 103280, !11, i64 103284, !17, i64 103288, !20, i64 103296, !8, i64 103304, !8, i64 103312, !18, i64 103320, !20, i64 103324, !20, i64 103325, !20, i64 103326, !20, i64 103327, !20, i64 103328, !20, i64 103329, !20, i64 103330, !20, i64 103331, !21, i64 103332}
!7 = !{!"_ZTS16b2BlockAllocator", !8, i64 0, !11, i64 8, !11, i64 12, !9, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTS16b2StackAllocator", !9, i64 0, !11, i64 102400, !11, i64 102404, !11, i64 102408, !9, i64 102416, !11, i64 102928}
!13 = !{!"_ZTS16b2ContactManager", !14, i64 0, !11, i64 144, !8, i64 152, !8, i64 160, !8, i64 168, !8, i64 176}
!14 = !{!"_ZTS12b2BroadPhase", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !15, i64 32, !8, i64 80, !8, i64 88, !8, i64 96, !11, i64 104, !11, i64 108, !19, i64 112, !11, i64 128, !11, i64 132, !20, i64 136}
!15 = !{!"_ZTS10b2TreeNode", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !16, i64 32}
!16 = !{!"_ZTS6b2AABB", !17, i64 0, !17, i64 8}
!17 = !{!"_ZTS6b2Vec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !9, i64 0}
!19 = !{!"_ZTS14b2IntHashTable", !8, i64 0, !11, i64 8}
!20 = !{!"bool", !9, i64 0}
!21 = !{!"_ZTS9b2Profile", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16}
!22 = !{!23, !8, i64 112}
!23 = !{!"_ZTS6b2Body", !24, i64 0, !25, i64 4, !11, i64 8, !26, i64 12, !26, i64 28, !28, i64 44, !17, i64 80, !18, i64 88, !17, i64 92, !18, i64 100, !8, i64 104, !8, i64 112, !8, i64 120, !8, i64 128, !11, i64 136, !8, i64 144, !8, i64 152, !11, i64 160, !11, i64 164, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !18, i64 192, !18, i64 196, !29, i64 200}
!24 = !{!"_ZTS10b2BodyType", !9, i64 0}
!25 = !{!"short", !9, i64 0}
!26 = !{!"_ZTS11b2Transform", !17, i64 0, !27, i64 8}
!27 = !{!"_ZTS5b2Rot", !18, i64 0, !18, i64 4}
!28 = !{!"_ZTS7b2Sweep", !17, i64 0, !17, i64 8, !17, i64 16, !18, i64 24, !18, i64 28, !18, i64 32}
!29 = !{!"_ZTS14b2BodyUserData", !30, i64 0}
!30 = !{!"long", !9, i64 0}
!31 = !{!23, !8, i64 120}
!32 = !{!6, !8, i64 103248}
!33 = !{!8, !8, i64 0}
!34 = !{!6, !11, i64 103280}


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