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

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

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

; 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 void @_ZNK15b2ParticleGroup16UpdateStatisticsEv(ptr noundef nonnull align 8 dereferenceable(96) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.b2Vec2, align 4
  %6 = alloca %struct.b2Vec2, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.b2Vec2, align 4
  %9 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  %11 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 7
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  %15 = getelementptr inbounds %class.b2ParticleSystem, ptr %14, i32 0, i32 1
  %16 = load i32, ptr %15, align 4, !tbaa !17
  %17 = icmp ne i32 %12, %16
  br i1 %17, label %18, label %138

18:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %19 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  %21 = call noundef float @_ZNK16b2ParticleSystem15GetParticleMassEv(ptr noundef nonnull align 8 dereferenceable(632) %20)
  store float %21, ptr %3, align 4, !tbaa !40
  %22 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 8
  store float 0.000000e+00, ptr %22, align 4, !tbaa !41
  %23 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 10
  call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %23)
  %24 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 11
  call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  %25 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !42
  store i32 %26, ptr %4, align 4, !tbaa !43
  br label %27

27:                                               ; preds = %60, %18
  %28 = load i32, ptr %4, align 4, !tbaa !43
  %29 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !44
  %31 = icmp slt i32 %28, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %63

33:                                               ; preds = %27
  %34 = load float, ptr %3, align 4, !tbaa !40
  %35 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 8
  %36 = load float, ptr %35, align 4, !tbaa !41
  %37 = fadd float %36, %34
  store float %37, ptr %35, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %38 = load float, ptr %3, align 4, !tbaa !40
  %39 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !16
  %41 = getelementptr inbounds %class.b2ParticleSystem, ptr %40, i32 0, i32 17
  %42 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !45
  %44 = load i32, ptr %4, align 4, !tbaa !43
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds %struct.b2Vec2, ptr %43, i64 %45
  %47 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %38, ptr noundef nonnull align 4 dereferenceable(8) %46)
  store <2 x float> %47, ptr %5, align 4
  %48 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 10
  call void @_ZN6b2Vec2pLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %49 = load float, ptr %3, align 4, !tbaa !40
  %50 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = getelementptr inbounds %class.b2ParticleSystem, ptr %51, i32 0, i32 18
  %53 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !46
  %55 = load i32, ptr %4, align 4, !tbaa !43
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %struct.b2Vec2, ptr %54, i64 %56
  %58 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %49, ptr noundef nonnull align 4 dereferenceable(8) %57)
  store <2 x float> %58, ptr %6, align 4
  %59 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 11
  call void @_ZN6b2Vec2pLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %59, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %60

60:                                               ; preds = %33
  %61 = load i32, ptr %4, align 4, !tbaa !43
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %4, align 4, !tbaa !43
  br label %27, !llvm.loop !47

63:                                               ; preds = %32
  %64 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 8
  %65 = load float, ptr %64, align 4, !tbaa !41
  %66 = fcmp ogt float %65, 0.000000e+00
  br i1 %66, label %67, label %76

67:                                               ; preds = %63
  %68 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 8
  %69 = load float, ptr %68, align 4, !tbaa !41
  %70 = fdiv float 1.000000e+00, %69
  %71 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 10
  call void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8) %71, float noundef %70)
  %72 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 8
  %73 = load float, ptr %72, align 4, !tbaa !41
  %74 = fdiv float 1.000000e+00, %73
  %75 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 11
  call void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8) %75, float noundef %74)
  br label %76

76:                                               ; preds = %67, %63
  %77 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 9
  store float 0.000000e+00, ptr %77, align 8, !tbaa !49
  %78 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 12
  store float 0.000000e+00, ptr %78, align 4, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %79 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 1
  %80 = load i32, ptr %79, align 8, !tbaa !42
  store i32 %80, ptr %7, align 4, !tbaa !43
  br label %81

81:                                               ; preds = %118, %76
  %82 = load i32, ptr %7, align 4, !tbaa !43
  %83 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 2
  %84 = load i32, ptr %83, align 4, !tbaa !44
  %85 = icmp slt i32 %82, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %121

87:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %88 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !16
  %90 = getelementptr inbounds %class.b2ParticleSystem, ptr %89, i32 0, i32 17
  %91 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !45
  %93 = load i32, ptr %7, align 4, !tbaa !43
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %struct.b2Vec2, ptr %92, i64 %94
  %96 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 10
  %97 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %95, ptr noundef nonnull align 4 dereferenceable(8) %96)
  store <2 x float> %97, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %98 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  %100 = getelementptr inbounds %class.b2ParticleSystem, ptr %99, i32 0, i32 18
  %101 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !46
  %103 = load i32, ptr %7, align 4, !tbaa !43
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds %struct.b2Vec2, ptr %102, i64 %104
  %106 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 11
  %107 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %105, ptr noundef nonnull align 4 dereferenceable(8) %106)
  store <2 x float> %107, ptr %9, align 4
  %108 = load float, ptr %3, align 4, !tbaa !40
  %109 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %110 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 9
  %111 = load float, ptr %110, align 8, !tbaa !49
  %112 = call float @llvm.fmuladd.f32(float %108, float %109, float %111)
  store float %112, ptr %110, align 8, !tbaa !49
  %113 = load float, ptr %3, align 4, !tbaa !40
  %114 = call noundef float @_Z7b2CrossRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  %115 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 12
  %116 = load float, ptr %115, align 4, !tbaa !50
  %117 = call float @llvm.fmuladd.f32(float %113, float %114, float %116)
  store float %117, ptr %115, align 4, !tbaa !50
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %118

118:                                              ; preds = %87
  %119 = load i32, ptr %7, align 4, !tbaa !43
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %7, align 4, !tbaa !43
  br label %81, !llvm.loop !51

121:                                              ; preds = %86
  %122 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 9
  %123 = load float, ptr %122, align 8, !tbaa !49
  %124 = fcmp ogt float %123, 0.000000e+00
  br i1 %124, label %125, label %132

125:                                              ; preds = %121
  %126 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 9
  %127 = load float, ptr %126, align 8, !tbaa !49
  %128 = fdiv float 1.000000e+00, %127
  %129 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 12
  %130 = load float, ptr %129, align 4, !tbaa !50
  %131 = fmul float %130, %128
  store float %131, ptr %129, align 4, !tbaa !50
  br label %132

132:                                              ; preds = %125, %121
  %133 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !16
  %135 = getelementptr inbounds %class.b2ParticleSystem, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !17
  %137 = getelementptr inbounds %class.b2ParticleGroup, ptr %10, i32 0, i32 7
  store i32 %136, ptr %137, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %138

138:                                              ; preds = %132, %1
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK16b2ParticleSystem15GetParticleMassEv(ptr noundef nonnull align 8 dereferenceable(632)) #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #3 align 2

; 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 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !11, i64 40}
!10 = !{!"_ZTS15b2ParticleGroup", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !11, i64 40, !12, i64 44, !12, i64 48, !13, i64 52, !13, i64 60, !12, i64 68, !14, i64 72, !6, i64 88}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTS6b2Vec2", !12, i64 0, !12, i64 4}
!14 = !{!"_ZTS11b2Transform", !13, i64 0, !15, i64 8}
!15 = !{!"_ZTS5b2Rot", !12, i64 0, !12, i64 4}
!16 = !{!10, !6, i64 0}
!17 = !{!18, !11, i64 4}
!18 = !{!"_ZTS16b2ParticleSystem", !19, i64 0, !11, i64 4, !11, i64 8, !19, i64 12, !11, i64 16, !19, i64 20, !19, i64 21, !11, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !11, i64 44, !11, 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, !11, 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, !19, i64 504, !11, i64 508, !6, i64 512, !39, i64 520, !6, i64 608, !6, i64 616, !6, i64 624}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTS15b2SlabAllocatorI16b2ParticleHandleE", !21, i64 0, !11, 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, !11, i64 8}
!27 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIjEE", !6, i64 0, !11, i64 8}
!28 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI6b2Vec2EE", !6, i64 0, !11, i64 8}
!29 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI15b2ParticleColorEE", !6, i64 0, !11, i64 8}
!30 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIPvEE", !6, i64 0, !11, i64 8}
!31 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIiEE", !6, i64 0, !11, i64 8}
!32 = !{!"_ZTS16b2GrowableBufferIiE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!33 = !{!"_ZTS16b2GrowableBufferIN16b2ParticleSystem5ProxyEE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!34 = !{!"_ZTS16b2GrowableBufferI17b2ParticleContactE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!35 = !{!"_ZTS16b2GrowableBufferI21b2ParticleBodyContactE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!36 = !{!"_ZTS16b2GrowableBufferI14b2ParticlePairE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!37 = !{!"_ZTS16b2GrowableBufferI15b2ParticleTriadE", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!38 = !{!"long long", !7, i64 0}
!39 = !{!"_ZTS19b2ParticleSystemDef", !19, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !11, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !11, i64 68, !12, i64 72, !19, i64 76, !12, i64 80}
!40 = !{!12, !12, i64 0}
!41 = !{!10, !12, i64 44}
!42 = !{!10, !11, i64 8}
!43 = !{!11, !11, i64 0}
!44 = !{!10, !11, i64 12}
!45 = !{!18, !6, i64 144}
!46 = !{!18, !6, i64 160}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!10, !12, i64 48}
!50 = !{!10, !12, i64 68}
!51 = distinct !{!51, !48}


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

%struct.b2Vec2 = type { float, float }

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

; Function Attrs: mustprogress 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 void @_ZNK15b2ParticleGroup16UpdateStatisticsEv(ptr noundef nonnull align 8 dereferenceable(96) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %struct.b2Vec2, align 8
  %3 = alloca %struct.b2Vec2, align 8
  %4 = alloca %struct.b2Vec2, align 8
  %5 = alloca %struct.b2Vec2, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = load ptr, ptr %0, align 8, !tbaa !15
  %9 = getelementptr inbounds i8, ptr %8, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !16
  %.not = icmp eq i32 %7, %10
  br i1 %.not, label %77, label %11

11:                                               ; preds = %1
  %12 = tail call noundef float @_ZNK16b2ParticleSystem15GetParticleMassEv(ptr noundef nonnull align 8 dereferenceable(632) %8)
  %13 = getelementptr inbounds i8, ptr %0, i64 44
  store float 0.000000e+00, ptr %13, align 4, !tbaa !39
  %14 = getelementptr inbounds i8, ptr %0, i64 52
  tail call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 60
  tail call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = load i32, ptr %16, align 8, !tbaa !40
  %18 = getelementptr inbounds i8, ptr %0, i64 12
  %19 = load i32, ptr %18, align 4, !tbaa !41
  %20 = icmp slt i32 %17, %19
  br i1 %20, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %11
  %21 = sext i32 %17 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %11
  %22 = phi i32 [ %19, %11 ], [ %37, %.lr.ph ]
  %23 = load float, ptr %13, align 4, !tbaa !39
  %24 = fcmp ogt float %23, 0.000000e+00
  br i1 %24, label %40, label %44

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %21, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %25 = load float, ptr %13, align 4, !tbaa !39
  %26 = fadd float %12, %25
  store float %26, ptr %13, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %27 = load ptr, ptr %0, align 8, !tbaa !15
  %28 = getelementptr inbounds i8, ptr %27, i64 144
  %29 = load ptr, ptr %28, align 8, !tbaa !42
  %30 = getelementptr inbounds %struct.b2Vec2, ptr %29, i64 %indvars.iv
  %31 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %12, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %31, ptr %2, align 8
  call void @_ZN6b2Vec2pLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %32 = load ptr, ptr %0, align 8, !tbaa !15
  %33 = getelementptr inbounds i8, ptr %32, i64 160
  %34 = load ptr, ptr %33, align 8, !tbaa !43
  %35 = getelementptr inbounds %struct.b2Vec2, ptr %34, i64 %indvars.iv
  %36 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %12, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %36, ptr %3, align 8
  call void @_ZN6b2Vec2pLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %37 = load i32, ptr %18, align 4, !tbaa !41
  %38 = sext i32 %37 to i64
  %39 = icmp slt i64 %indvars.iv.next, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !44

40:                                               ; preds = %._crit_edge
  %41 = fdiv float 1.000000e+00, %23
  call void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %41)
  %42 = load float, ptr %13, align 4, !tbaa !39
  %43 = fdiv float 1.000000e+00, %42
  call void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %43)
  %.pre = load i32, ptr %18, align 4, !tbaa !41
  br label %44

44:                                               ; preds = %40, %._crit_edge
  %45 = phi i32 [ %.pre, %40 ], [ %22, %._crit_edge ]
  %46 = getelementptr inbounds i8, ptr %0, i64 48
  store float 0.000000e+00, ptr %46, align 8, !tbaa !46
  %47 = getelementptr inbounds i8, ptr %0, i64 68
  store float 0.000000e+00, ptr %47, align 4, !tbaa !47
  %48 = load i32, ptr %16, align 8, !tbaa !40
  %49 = icmp slt i32 %48, %45
  br i1 %49, label %.lr.ph19.preheader, label %._crit_edge20.thread

.lr.ph19.preheader:                               ; preds = %44
  %50 = sext i32 %48 to i64
  br label %.lr.ph19

._crit_edge20:                                    ; preds = %.lr.ph19
  %.pre25 = load float, ptr %46, align 8, !tbaa !46
  %51 = fcmp ogt float %.pre25, 0.000000e+00
  br i1 %51, label %71, label %._crit_edge20.thread

.lr.ph19:                                         ; preds = %.lr.ph19.preheader, %.lr.ph19
  %indvars.iv22 = phi i64 [ %50, %.lr.ph19.preheader ], [ %indvars.iv.next23, %.lr.ph19 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %52 = load ptr, ptr %0, align 8, !tbaa !15
  %53 = getelementptr inbounds i8, ptr %52, i64 144
  %54 = load ptr, ptr %53, align 8, !tbaa !42
  %55 = getelementptr inbounds %struct.b2Vec2, ptr %54, i64 %indvars.iv22
  %56 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %56, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %57 = load ptr, ptr %0, align 8, !tbaa !15
  %58 = getelementptr inbounds i8, ptr %57, i64 160
  %59 = load ptr, ptr %58, align 8, !tbaa !43
  %60 = getelementptr inbounds %struct.b2Vec2, ptr %59, i64 %indvars.iv22
  %61 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %61, ptr %5, align 8
  %62 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %63 = load float, ptr %46, align 8, !tbaa !46
  %64 = call float @llvm.fmuladd.f32(float %12, float %62, float %63)
  store float %64, ptr %46, align 8, !tbaa !46
  %65 = call noundef float @_Z7b2CrossRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  %66 = load float, ptr %47, align 4, !tbaa !47
  %67 = call float @llvm.fmuladd.f32(float %12, float %65, float %66)
  store float %67, ptr %47, align 4, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %indvars.iv.next23 = add nsw i64 %indvars.iv22, 1
  %68 = load i32, ptr %18, align 4, !tbaa !41
  %69 = sext i32 %68 to i64
  %70 = icmp slt i64 %indvars.iv.next23, %69
  br i1 %70, label %.lr.ph19, label %._crit_edge20, !llvm.loop !48

71:                                               ; preds = %._crit_edge20
  %72 = fdiv float 1.000000e+00, %.pre25
  %73 = fmul float %72, %67
  store float %73, ptr %47, align 4, !tbaa !47
  br label %._crit_edge20.thread

._crit_edge20.thread:                             ; preds = %44, %71, %._crit_edge20
  %74 = load ptr, ptr %0, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %74, i64 4
  %76 = load i32, ptr %75, align 4, !tbaa !16
  store i32 %76, ptr %6, align 8, !tbaa !5
  br label %77

77:                                               ; preds = %._crit_edge20.thread, %1
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK16b2ParticleSystem15GetParticleMassEv(ptr noundef nonnull align 8 dereferenceable(632)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2pLERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2mLEf(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #3 align 2

; 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 #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)) local_unnamed_addr #5

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

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

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


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