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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.b2ParticleGroup = type { ptr, i32, i32, i32, float, ptr, ptr, i32, float, float, %struct.b2Vec2, %struct.b2Vec2, float, %struct.b2Transform, ptr }
%struct.b2Vec2 = type { float, float }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = type { float, float }
%class.b2ParticleSystem = type { i8, i32, i32, i8, i32, i8, i8, i32, float, float, float, float, i32, i32, %class.b2SlabAllocator, %"struct.b2ParticleSystem::UserOverridableBuffer", %"struct.b2ParticleSystem::UserOverridableBuffer.0", %"struct.b2ParticleSystem::UserOverridableBuffer.2", %"struct.b2ParticleSystem::UserOverridableBuffer.2", ptr, ptr, ptr, ptr, ptr, ptr, %"struct.b2ParticleSystem::UserOverridableBuffer.4", ptr, %"struct.b2ParticleSystem::UserOverridableBuffer.6", i32, [4 x i8], %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", %class.b2GrowableBuffer, %class.b2GrowableBuffer.10, %class.b2GrowableBuffer.11, %class.b2GrowableBuffer.12, %class.b2GrowableBuffer.13, %class.b2GrowableBuffer.14, %"struct.b2ParticleSystem::UserOverridableBuffer.8", %"struct.b2ParticleSystem::UserOverridableBuffer.8", i64, i8, i32, ptr, %struct.b2ParticleSystemDef, ptr, ptr, ptr }
%class.b2SlabAllocator = type { %class.b2TrackedBlockAllocator, i32, %class.b2TypedFreeList }
%class.b2TrackedBlockAllocator = type { %class.b2TypedIntrusiveListNode }
%class.b2TypedIntrusiveListNode = type { %class.b2IntrusiveListNode }
%class.b2IntrusiveListNode = type { ptr, ptr }
%class.b2TypedFreeList = type { %class.b2FreeList }
%class.b2FreeList = type { %class.b2IntrusiveListNode, %class.b2IntrusiveListNode }
%"struct.b2ParticleSystem::UserOverridableBuffer" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.0" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.2" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.4" = type <{ ptr, i32, [4 x i8] }>
%"struct.b2ParticleSystem::UserOverridableBuffer.6" = type <{ ptr, i32, [4 x i8] }>
%class.b2GrowableBuffer = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.10 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.11 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.12 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.13 = type { ptr, i32, i32, ptr }
%class.b2GrowableBuffer.14 = type { ptr, i32, i32, ptr }
%"struct.b2ParticleSystem::UserOverridableBuffer.8" = type <{ ptr, i32, [4 x i8] }>
%struct.b2ParticleSystemDef = type { i8, float, float, float, i32, float, float, float, float, float, float, float, float, float, float, float, float, i32, float, i8, float }

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZNK15b2ParticleGroup19GetAllParticleFlagsEv(ptr noundef nonnull align 8 dereferenceable(96) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  %6 = getelementptr inbounds %class.b2ParticleGroup, ptr %5, i32 0, i32 1
  %7 = load i32, ptr %6, align 8, !tbaa !11
  store i32 %7, ptr %4, align 4, !tbaa !9
  br label %8

8:                                                ; preds = %26, %1
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = getelementptr inbounds %class.b2ParticleGroup, ptr %5, i32 0, i32 2
  %11 = load i32, ptr %10, align 4, !tbaa !17
  %12 = icmp slt i32 %9, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  br label %29

14:                                               ; preds = %8
  %15 = getelementptr inbounds %class.b2ParticleGroup, ptr %5, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !18
  %17 = getelementptr inbounds %class.b2ParticleSystem, ptr %16, i32 0, i32 16
  %18 = getelementptr inbounds %"struct.b2ParticleSystem::UserOverridableBuffer.0", ptr %17, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !19
  %20 = load i32, ptr %4, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds i32, ptr %19, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = or i32 %24, %23
  store i32 %25, ptr %3, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %14
  %27 = load i32, ptr %4, align 4, !tbaa !9
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %4, align 4, !tbaa !9
  br label %8, !llvm.loop !42

29:                                               ; preds = %13
  %30 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret i32 %30
}

; 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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local noundef i32 @_ZNK15b2ParticleGroup19GetAllParticleFlagsEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(96) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 12
  %5 = load i32, ptr %4, align 4, !tbaa !15
  %6 = icmp slt i32 %3, %5
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %7 = load ptr, ptr %0, align 8, !tbaa !16
  %8 = getelementptr inbounds i8, ptr %7, i64 128
  %9 = load ptr, ptr %8, align 8, !tbaa !17
  %10 = sext i32 %3 to i64
  %wide.trip.count = sext i32 %5 to i64
  %11 = sub nsw i64 %wide.trip.count, %10
  %min.iters.check = icmp ult i64 %11, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ %10, %.lr.ph ], [ %ind.end, %middle.block ]
  %.056.ph = phi i32 [ 0, %.lr.ph ], [ %16, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %11, -8
  %ind.end = add nsw i64 %n.vec, %10
  %invariant.gep = getelementptr i32, ptr %9, i64 %10
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %13, %vector.body ]
  %vec.phi9 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %14, %vector.body ]
  %gep = getelementptr i32, ptr %invariant.gep, i64 %index
  %12 = getelementptr inbounds i8, ptr %gep, i64 16
  %wide.load = load <4 x i32>, ptr %gep, align 4, !tbaa !40
  %wide.load10 = load <4 x i32>, ptr %12, align 4, !tbaa !40
  %13 = or <4 x i32> %wide.load, %vec.phi
  %14 = or <4 x i32> %wide.load10, %vec.phi9
  %index.next = add nuw i64 %index, 8
  %15 = icmp eq i64 %index.next, %n.vec
  br i1 %15, label %middle.block, label %vector.body, !llvm.loop !41

middle.block:                                     ; preds = %vector.body
  %bin.rdx = or <4 x i32> %14, %13
  %16 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %11, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %1
  %.05.lcssa = phi i32 [ 0, %1 ], [ %16, %middle.block ], [ %19, %scalar.ph ]
  ret i32 %.05.lcssa

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %.056 = phi i32 [ %19, %scalar.ph ], [ %.056.ph, %scalar.ph.preheader ]
  %17 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv
  %18 = load i32, ptr %17, align 4, !tbaa !40
  %19 = or i32 %18, %.056
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !45
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #1

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 8}
!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, !10, i64 12}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 128}
!18 = !{!"_ZTS16b2ParticleSystem", !19, i64 0, !10, i64 4, !10, i64 8, !19, i64 12, !10, i64 16, !19, i64 20, !19, i64 21, !10, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !10, i64 44, !10, i64 48, !20, i64 56, !26, i64 112, !27, i64 128, !28, i64 144, !28, i64 160, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !29, i64 224, !7, i64 240, !30, i64 248, !10, 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, !10, i64 508, !7, i64 512, !39, i64 520, !7, i64 608, !7, i64 616, !7, i64 624}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTS15b2SlabAllocatorI16b2ParticleHandleE", !21, i64 0, !10, i64 16, !24, i64 24}
!21 = !{!"_ZTS23b2TrackedBlockAllocator", !22, i64 0}
!22 = !{!"_ZTS24b2TypedIntrusiveListNodeI14b2TrackedBlockE", !23, i64 0}
!23 = !{!"_ZTS19b2IntrusiveListNode", !7, i64 0, !7, i64 8}
!24 = !{!"_ZTS15b2TypedFreeListI16b2ParticleHandleE", !25, i64 0}
!25 = !{!"_ZTS10b2FreeList", !23, i64 0, !23, i64 16}
!26 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIP16b2ParticleHandleEE", !7, i64 0, !10, i64 8}
!27 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIjEE", !7, i64 0, !10, i64 8}
!28 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI6b2Vec2EE", !7, i64 0, !10, i64 8}
!29 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferI15b2ParticleColorEE", !7, i64 0, !10, i64 8}
!30 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIPvEE", !7, i64 0, !10, i64 8}
!31 = !{!"_ZTSN16b2ParticleSystem21UserOverridableBufferIiEE", !7, i64 0, !10, i64 8}
!32 = !{!"_ZTS16b2GrowableBufferIiE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!33 = !{!"_ZTS16b2GrowableBufferIN16b2ParticleSystem5ProxyEE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!34 = !{!"_ZTS16b2GrowableBufferI17b2ParticleContactE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!35 = !{!"_ZTS16b2GrowableBufferI21b2ParticleBodyContactE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!36 = !{!"_ZTS16b2GrowableBufferI14b2ParticlePairE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!37 = !{!"_ZTS16b2GrowableBufferI15b2ParticleTriadE", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!38 = !{!"long long", !8, i64 0}
!39 = !{!"_ZTS19b2ParticleSystemDef", !19, 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, !19, i64 76, !11, i64 80}
!40 = !{!10, !10, i64 0}
!41 = distinct !{!41, !42, !43, !44}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!"llvm.loop.isvectorized", i32 1}
!44 = !{!"llvm.loop.unroll.runtime.disable"}
!45 = distinct !{!45, !42, !44, !43}


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