; 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.JoinParticleGroupsFilter = type <{ %"class.b2ParticleSystem::ConnectionFilter", i32, [4 x i8] }>
%"class.b2ParticleSystem::ConnectionFilter" = type { ptr }
%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 }
%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 }

@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_ = external hidden unnamed_addr constant [80 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 x i8], align 1

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

; 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i32 noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem13SetGroupFlagsEP15b2ParticleGroupj(ptr noundef nonnull align 8 dereferenceable(632), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem14UpdateContactsEb(ptr noundef nonnull align 8 dereferenceable(632), i1 noundef zeroext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem20UpdatePairsAndTriadsEiiRKNS_16ConnectionFilterE(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

18:                                               ; preds = %3
  br label %21

19:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 1084, ptr noundef @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

20:                                               ; No predecessors!
  br label %21

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

25:                                               ; preds = %21
  br label %130

26:                                               ; preds = %21
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = icmp ne ptr %27, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %26
  br label %33

31:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 1090, ptr noundef @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %class.b2ParticleGroup, ptr %34, i32 0, i32 1
  %36 = load i32, ptr %35, align 8, !tbaa !34
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %class.b2ParticleGroup, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !39
  %40 = getelementptr inbounds %class.b2ParticleSystem, ptr %12, i32 0, i32 12
  %41 = load i32, ptr %40, align 4, !tbaa !40
  call void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632) %12, i32 noundef %36, i32 noundef %39, i32 noundef %41)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %class.b2ParticleGroup, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !39
  %45 = getelementptr inbounds %class.b2ParticleSystem, ptr %12, i32 0, i32 12
  %46 = load i32, ptr %45, align 4, !tbaa !40
  %47 = icmp eq i32 %44, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %33
  br label %51

49:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 1092, ptr noundef @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

50:                                               ; No predecessors!
  br label %51

51:                                               ; preds = %50, %48
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %class.b2ParticleGroup, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !34
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.b2ParticleGroup, ptr %55, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !39
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.b2ParticleGroup, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 8, !tbaa !34
  call void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632) %12, i32 noundef %54, i32 noundef %57, i32 noundef %60)
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %class.b2ParticleGroup, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !39
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %class.b2ParticleGroup, ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 8, !tbaa !34
  %67 = icmp eq i32 %63, %66
  br i1 %67, label %68, label %69

68:                                               ; preds = %51
  br label %71

69:                                               ; preds = %51
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 1095, ptr noundef @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

70:                                               ; No predecessors!
  br label %71

71:                                               ; preds = %70, %68
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %class.b2ParticleGroup, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !34
  call void @_ZZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_EN24JoinParticleGroupsFilterC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %7, i32 noundef %74)
  invoke void @_ZN16b2ParticleSystem14UpdateContactsEb(ptr noundef nonnull align 8 dereferenceable(632) %12, i1 noundef zeroext true)
          to label %75 unwind label %93

75:                                               ; preds = %71
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.b2ParticleGroup, ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 8, !tbaa !34
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.b2ParticleGroup, ptr %79, i32 0, i32 2
  %81 = load i32, ptr %80, align 4, !tbaa !39
  invoke void @_ZN16b2ParticleSystem20UpdatePairsAndTriadsEiiRKNS_16ConnectionFilterE(ptr noundef nonnull align 8 dereferenceable(632) %12, i32 noundef %78, i32 noundef %81, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %82 unwind label %93

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %class.b2ParticleGroup, ptr %83, i32 0, i32 1
  %85 = load i32, ptr %84, align 8, !tbaa !34
  store i32 %85, ptr %10, align 4, !tbaa !41
  br label %86

86:                                               ; preds = %104, %82
  %87 = load i32, ptr %10, align 4, !tbaa !41
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %class.b2ParticleGroup, ptr %88, i32 0, i32 2
  %90 = load i32, ptr %89, align 4, !tbaa !39
  %91 = icmp slt i32 %87, %90
  br i1 %91, label %97, label %92

92:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %107

93:                                               ; preds = %75, %71
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %8, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %9, align 4
  br label %135

97:                                               ; preds = %86
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %class.b2ParticleSystem, ptr %12, i32 0, i32 26
  %100 = load ptr, ptr %99, align 8, !tbaa !42
  %101 = load i32, ptr %10, align 4, !tbaa !41
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds ptr, ptr %100, i64 %102
  store ptr %98, ptr %103, align 8, !tbaa !5
  br label %104

104:                                              ; preds = %97
  %105 = load i32, ptr %10, align 4, !tbaa !41
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %10, align 4, !tbaa !41
  br label %86, !llvm.loop !43

107:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %class.b2ParticleGroup, ptr %108, i32 0, i32 3
  %110 = load i32, ptr %109, align 8, !tbaa !45
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.b2ParticleGroup, ptr %111, i32 0, i32 3
  %113 = load i32, ptr %112, align 8, !tbaa !45
  %114 = or i32 %110, %113
  store i32 %114, ptr %11, align 4, !tbaa !41
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = load i32, ptr %11, align 4, !tbaa !41
  invoke void @_ZN16b2ParticleSystem13SetGroupFlagsEP15b2ParticleGroupj(ptr noundef nonnull align 8 dereferenceable(632) %12, ptr noundef %115, i32 noundef %116)
          to label %117 unwind label %131

117:                                              ; preds = %107
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %class.b2ParticleGroup, ptr %118, i32 0, i32 2
  %120 = load i32, ptr %119, align 4, !tbaa !39
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %class.b2ParticleGroup, ptr %121, i32 0, i32 2
  store i32 %120, ptr %122, align 4, !tbaa !39
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %class.b2ParticleGroup, ptr %123, i32 0, i32 2
  %125 = load i32, ptr %124, align 4, !tbaa !39
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %class.b2ParticleGroup, ptr %126, i32 0, i32 1
  store i32 %125, ptr %127, align 8, !tbaa !34
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN16b2ParticleSystem20DestroyParticleGroupEP15b2ParticleGroup(ptr noundef nonnull align 8 dereferenceable(632) %12, ptr noundef %128)
          to label %129 unwind label %131

129:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @_ZN16b2ParticleSystem16ConnectionFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %130

130:                                              ; preds = %129, %25
  ret void

131:                                              ; preds = %117, %107
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %8, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %135

135:                                              ; preds = %131, %93
  call void @_ZN16b2ParticleSystem16ConnectionFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %136

136:                                              ; preds = %135
  %137 = load ptr, ptr %8, align 8
  %138 = load i32, ptr %9, align 4
  %139 = insertvalue { ptr, i32 } poison, ptr %137, 0
  %140 = insertvalue { ptr, i32 } %139, i32 %138, 1
  resume { ptr, i32 } %140
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_EN24JoinParticleGroupsFilterC2Ei(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) unnamed_addr #4 align 2

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

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


; 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.JoinParticleGroupsFilter = type <{ %"class.b2ParticleSystem::ConnectionFilter", i32, [4 x i8] }>
%"class.b2ParticleSystem::ConnectionFilter" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_ = external hidden unnamed_addr constant [80 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 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 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem13SetGroupFlagsEP15b2ParticleGroupj(ptr noundef nonnull align 8 dereferenceable(632), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem14UpdateContactsEb(ptr noundef nonnull align 8 dereferenceable(632), i1 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16b2ParticleSystem20UpdatePairsAndTriadsEiiRKNS_16ConnectionFilterE(ptr noundef nonnull align 8 dereferenceable(632), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.JoinParticleGroupsFilter, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 608
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %6)
  br i1 %7, label %8, label %9

8:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 1084, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

9:                                                ; preds = %3
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = tail call noundef zeroext i1 @_ZNK7b2World8IsLockedEv(ptr noundef nonnull align 8 dereferenceable(103352) %10)
  br i1 %11, label %71, label %12

12:                                               ; preds = %9
  %.not = icmp eq ptr %1, %2
  br i1 %.not, label %13, label %14

13:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 1090, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %2, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !33
  %17 = getelementptr inbounds i8, ptr %2, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !38
  %19 = getelementptr inbounds i8, ptr %0, i64 44
  %20 = load i32, ptr %19, align 4, !tbaa !39
  tail call void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632) %0, i32 noundef %16, i32 noundef %18, i32 noundef %20)
  %21 = load i32, ptr %17, align 4, !tbaa !38
  %22 = load i32, ptr %19, align 4, !tbaa !39
  %23 = icmp eq i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 1092, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

25:                                               ; preds = %14
  %26 = getelementptr inbounds i8, ptr %1, i64 8
  %27 = load i32, ptr %26, align 8, !tbaa !33
  %28 = getelementptr inbounds i8, ptr %1, i64 12
  %29 = load i32, ptr %28, align 4, !tbaa !38
  %30 = load i32, ptr %15, align 8, !tbaa !33
  tail call void @_ZN16b2ParticleSystem12RotateBufferEiii(ptr noundef nonnull align 8 dereferenceable(632) %0, i32 noundef %27, i32 noundef %29, i32 noundef %30)
  %31 = load i32, ptr %28, align 4, !tbaa !38
  %32 = load i32, ptr %15, align 8, !tbaa !33
  %33 = icmp eq i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 1095, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_) #5
  unreachable

35:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @_ZZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_EN24JoinParticleGroupsFilterC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %4, i32 noundef %31)
  invoke void @_ZN16b2ParticleSystem14UpdateContactsEb(ptr noundef nonnull align 8 dereferenceable(632) %0, i1 noundef zeroext true)
          to label %36 unwind label %55

36:                                               ; preds = %35
  %37 = load i32, ptr %26, align 8, !tbaa !33
  %38 = load i32, ptr %17, align 4, !tbaa !38
  invoke void @_ZN16b2ParticleSystem20UpdatePairsAndTriadsEiiRKNS_16ConnectionFilterE(ptr noundef nonnull align 8 dereferenceable(632) %0, i32 noundef %37, i32 noundef %38, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %39 unwind label %55

39:                                               ; preds = %36
  %40 = load i32, ptr %15, align 8, !tbaa !33
  %41 = load i32, ptr %17, align 4, !tbaa !38
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %39
  %43 = getelementptr inbounds i8, ptr %0, i64 240
  %44 = sext i32 %40 to i64
  %wide.trip.count = sext i32 %41 to i64
  %45 = sub nsw i64 %wide.trip.count, %44
  %xtraiter = and i64 %45, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.preheader

.prol.preheader:                                  ; preds = %.lr.ph, %.prol.preheader
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.prol.preheader ], [ %44, %.lr.ph ]
  %prol.iter = phi i64 [ %prol.iter.next, %.prol.preheader ], [ 0, %.lr.ph ]
  %46 = load ptr, ptr %43, align 8, !tbaa !40
  %47 = getelementptr inbounds ptr, ptr %46, i64 %indvars.iv.prol
  store ptr %1, ptr %47, align 8, !tbaa !41
  %indvars.iv.next.prol = add nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.prol.loopexit, label %.prol.preheader, !llvm.loop !42

.prol.loopexit:                                   ; preds = %.prol.preheader, %.lr.ph
  %indvars.iv.unr = phi i64 [ %44, %.lr.ph ], [ %indvars.iv.next.prol, %.prol.preheader ]
  %48 = sub nsw i64 %44, %wide.trip.count
  %49 = icmp ugt i64 %48, -4
  br i1 %49, label %._crit_edge, label %.lr.ph.new

._crit_edge:                                      ; preds = %.prol.loopexit, %.lr.ph.new, %39
  %50 = getelementptr inbounds i8, ptr %1, i64 16
  %51 = load i32, ptr %50, align 8, !tbaa !44
  %52 = getelementptr inbounds i8, ptr %2, i64 16
  %53 = load i32, ptr %52, align 8, !tbaa !44
  %54 = or i32 %53, %51
  invoke void @_ZN16b2ParticleSystem13SetGroupFlagsEP15b2ParticleGroupj(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull %1, i32 noundef %54)
          to label %68 unwind label %72

55:                                               ; preds = %36, %35
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %74

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph.new ], [ %indvars.iv.unr, %.prol.loopexit ]
  %57 = load ptr, ptr %43, align 8, !tbaa !40
  %58 = getelementptr inbounds ptr, ptr %57, i64 %indvars.iv
  store ptr %1, ptr %58, align 8, !tbaa !41
  %59 = load ptr, ptr %43, align 8, !tbaa !40
  %60 = getelementptr ptr, ptr %59, i64 %indvars.iv
  %61 = getelementptr i8, ptr %60, i64 8
  store ptr %1, ptr %61, align 8, !tbaa !41
  %62 = load ptr, ptr %43, align 8, !tbaa !40
  %63 = getelementptr ptr, ptr %62, i64 %indvars.iv
  %64 = getelementptr i8, ptr %63, i64 16
  store ptr %1, ptr %64, align 8, !tbaa !41
  %65 = load ptr, ptr %43, align 8, !tbaa !40
  %66 = getelementptr ptr, ptr %65, i64 %indvars.iv
  %67 = getelementptr i8, ptr %66, i64 24
  store ptr %1, ptr %67, align 8, !tbaa !41
  %indvars.iv.next.3 = add nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge, label %.lr.ph.new, !llvm.loop !45

68:                                               ; preds = %._crit_edge
  %69 = load i32, ptr %17, align 4, !tbaa !38
  store i32 %69, ptr %28, align 4, !tbaa !38
  store i32 %69, ptr %15, align 8, !tbaa !33
  invoke void @_ZN16b2ParticleSystem20DestroyParticleGroupEP15b2ParticleGroup(ptr noundef nonnull align 8 dereferenceable(632) %0, ptr noundef nonnull %2)
          to label %70 unwind label %72

70:                                               ; preds = %68
  call void @_ZN16b2ParticleSystem16ConnectionFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %71

71:                                               ; preds = %9, %70
  ret void

72:                                               ; preds = %68, %._crit_edge
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %74

74:                                               ; preds = %72, %55
  %.pn = phi { ptr, i32 } [ %73, %72 ], [ %56, %55 ]
  call void @_ZN16b2ParticleSystem16ConnectionFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZZN16b2ParticleSystem18JoinParticleGroupsEP15b2ParticleGroupS1_EN24JoinParticleGroupsFilterC2Ei(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) unnamed_addr #4 align 2

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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, !16, i64 608}
!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 = !{!34, !10, i64 8}
!34 = !{!"_ZTS15b2ParticleGroup", !16, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 20, !16, i64 24, !16, i64 32, !10, i64 40, !11, i64 44, !11, i64 48, !35, i64 52, !35, i64 60, !11, i64 68, !36, i64 72, !16, i64 88}
!35 = !{!"_ZTS6b2Vec2", !11, i64 0, !11, i64 4}
!36 = !{!"_ZTS11b2Transform", !35, i64 0, !37, i64 8}
!37 = !{!"_ZTS5b2Rot", !11, i64 0, !11, i64 4}
!38 = !{!34, !10, i64 12}
!39 = !{!6, !10, i64 44}
!40 = !{!6, !16, i64 240}
!41 = !{!16, !16, i64 0}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.unroll.disable"}
!44 = !{!34, !10, i64 16}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass