; LLVM IR from zig-gamedev/zphysics :: libs/Jolt/Physics/Collision/Shape (MeshShape)

; 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.JPH::Vec3" = type { %union.anon.18 }
%union.anon.18 = type { <4 x float> }
%struct.Visitor.52 = type { %"class.JPH::CollideSoftBodyVerticesVsTriangles.base", [128 x float], [4 x i8] }
%"class.JPH::CollideSoftBodyVerticesVsTriangles.base" = type <{ %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, i32 }>
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.47 }
%union.anon.47 = type { <4 x float> }
%"class.JPH::SubShapeIDCreator" = type { %"class.JPH::SubShapeID", i32 }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::SoftBodyVertex" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Plane", i32, i8, float, float }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_i(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, double %2, double %3, ptr noundef %4, i32 noundef %5, float noundef %6, double %7, double %8, i32 noundef %9) unnamed_addr #3 align 2 {
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.Visitor.52, align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.JPH::SubShapeIDCreator", align 4
  %24 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  store double %2, ptr %24, align 16
  %25 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  store double %3, ptr %25, align 8
  %26 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  store double %7, ptr %26, align 16
  %27 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  store double %8, ptr %27, align 8
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store i32 %5, ptr %16, align 4, !tbaa !9
  store float %6, ptr %17, align 4, !tbaa !11
  store i32 %9, ptr %18, align 4, !tbaa !9
  %28 = load ptr, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 736, ptr %19) #7
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %11, i64 16, i1 false), !tbaa.struct !13
  %30 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %31 = load double, ptr %30, align 16
  %32 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %33 = load double, ptr %32, align 8
  call void @_ZZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_iEN7VisitorCI2NS_34CollideSoftBodyVerticesVsTrianglesEES3_S4_(ptr noundef nonnull align 16 dereferenceable(732) %19, ptr noundef nonnull align 16 dereferenceable(64) %29, double %31, double %33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %34 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %34, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = load i32, ptr %16, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds %"class.JPH::SoftBodyVertex", ptr %35, i64 %37
  store ptr %38, ptr %22, align 8, !tbaa !5
  br label %39

39:                                               ; preds = %54, %10
  %40 = load ptr, ptr %21, align 8, !tbaa !5
  %41 = load ptr, ptr %22, align 8, !tbaa !5
  %42 = icmp ult ptr %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %57

44:                                               ; preds = %39
  %45 = load ptr, ptr %21, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.JPH::SoftBodyVertex", ptr %45, i32 0, i32 7
  %47 = load float, ptr %46, align 4, !tbaa !15
  %48 = fcmp ogt float %47, 0.000000e+00
  br i1 %48, label %49, label %53

49:                                               ; preds = %44
  %50 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN3JPH34CollideSoftBodyVerticesVsTriangles11StartVertexERKNS_14SoftBodyVertexE(ptr noundef nonnull align 16 dereferenceable(220) %19, ptr noundef nonnull align 16 dereferenceable(80) %50)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.memset.p0.i64(ptr align 4 %23, i8 0, i64 8, i1 false)
  call void @_ZN3JPH17SubShapeIDCreatorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %23) #7
  call void @_ZNK3JPH9MeshShape19WalkTreePerTriangleIZNKS0_23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS5_iE7VisitorEEvRKNS_17SubShapeIDCreatorERT_(ptr noundef nonnull align 8 dereferenceable(80) %28, ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 16 dereferenceable(732) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %51 = load ptr, ptr %21, align 8, !tbaa !5
  %52 = load i32, ptr %18, align 4, !tbaa !9
  call void @_ZNK3JPH34CollideSoftBodyVerticesVsTriangles12FinishVertexERNS_14SoftBodyVertexEi(ptr noundef nonnull align 16 dereferenceable(220) %19, ptr noundef nonnull align 16 dereferenceable(80) %51, i32 noundef %52)
  br label %53

53:                                               ; preds = %49, %44
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %21, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.JPH::SoftBodyVertex", ptr %55, i32 1
  store ptr %56, ptr %21, align 8, !tbaa !5
  br label %39, !llvm.loop !21

57:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 736, ptr %19) #7
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_iEN7VisitorCI2NS_34CollideSoftBodyVerticesVsTrianglesEES3_S4_(ptr noundef nonnull align 16 dereferenceable(732), ptr noundef nonnull align 16 dereferenceable(64), double, double) unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH34CollideSoftBodyVerticesVsTriangles11StartVertexERKNS_14SoftBodyVertexE(ptr noundef nonnull align 16 dereferenceable(220), ptr noundef nonnull align 16 dereferenceable(80)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZNK3JPH9MeshShape19WalkTreePerTriangleIZNKS0_23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS5_iE7VisitorEEvRKNS_17SubShapeIDCreatorERT_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 16 dereferenceable(732)) #5 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH34CollideSoftBodyVerticesVsTriangles12FinishVertexERNS_14SoftBodyVertexEi(ptr noundef nonnull align 16 dereferenceable(220), ptr noundef nonnull align 16 dereferenceable(80), i32 noundef) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { alwaysinline 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 #6 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{i64 0, i64 16, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !12, i64 76}
!16 = !{!"_ZTSN3JPH14SoftBodyVertexE", !17, i64 0, !17, i64 16, !17, i64 32, !18, i64 48, !10, i64 64, !20, i64 68, !12, i64 72, !12, i64 76}
!17 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!18 = !{!"_ZTSN3JPH5PlaneE", !19, i64 0}
!19 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"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"

%struct.Visitor.52 = type { %"class.JPH::CollideSoftBodyVerticesVsTriangles.base", [128 x float], [4 x i8] }
%"class.JPH::CollideSoftBodyVerticesVsTriangles.base" = type <{ %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, i32 }>
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.47 }
%union.anon.47 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.18 }
%union.anon.18 = type { <4 x float> }
%"class.JPH::SubShapeIDCreator" = type { %"class.JPH::SubShapeID", i32 }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::SoftBodyVertex" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Plane", i32, i8, float, float }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }

; 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 @_ZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_i(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, double %2, double %3, ptr noundef %4, i32 noundef %5, float noundef %6, double %7, double %8, i32 noundef %9) unnamed_addr #1 align 2 {
  %11 = alloca %struct.Visitor.52, align 16
  %12 = alloca %"class.JPH::SubShapeIDCreator", align 8
  call void @llvm.lifetime.start.p0(i64 736, ptr nonnull %11) #5
  call void @_ZZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_iEN7VisitorCI2NS_34CollideSoftBodyVerticesVsTrianglesEES3_S4_(ptr noundef nonnull align 16 dereferenceable(732) %11, ptr noundef nonnull align 16 dereferenceable(64) %1, double %2, double %3)
  %13 = zext i32 %5 to i64
  %14 = getelementptr inbounds %"class.JPH::SoftBodyVertex", ptr %4, i64 %13
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %19, %10
  call void @llvm.lifetime.end.p0(i64 736, ptr nonnull %11) #5
  ret void

.lr.ph:                                           ; preds = %10, %19
  %.014 = phi ptr [ %20, %19 ], [ %4, %10 ]
  %15 = getelementptr inbounds i8, ptr %.014, i64 76
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = fcmp ogt float %16, 0.000000e+00
  br i1 %17, label %18, label %19

18:                                               ; preds = %.lr.ph
  call void @_ZN3JPH34CollideSoftBodyVerticesVsTriangles11StartVertexERKNS_14SoftBodyVertexE(ptr noundef nonnull align 16 dereferenceable(220) %11, ptr noundef nonnull align 16 dereferenceable(80) %.014)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i64 0, ptr %12, align 8
  call void @_ZN3JPH17SubShapeIDCreatorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %12) #5
  call void @_ZNK3JPH9MeshShape19WalkTreePerTriangleIZNKS0_23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS5_iE7VisitorEEvRKNS_17SubShapeIDCreatorERT_(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 16 dereferenceable(732) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @_ZNK3JPH34CollideSoftBodyVerticesVsTriangles12FinishVertexERNS_14SoftBodyVertexEi(ptr noundef nonnull align 16 dereferenceable(220) %11, ptr noundef nonnull align 16 dereferenceable(80) %.014, i32 noundef %9)
  br label %19

19:                                               ; preds = %.lr.ph, %18
  %20 = getelementptr inbounds i8, ptr %.014, i64 80
  %21 = icmp ult ptr %20, %14
  br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !15
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZNK3JPH9MeshShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS4_iEN7VisitorCI2NS_34CollideSoftBodyVerticesVsTrianglesEES3_S4_(ptr noundef nonnull align 16 dereferenceable(732), ptr noundef nonnull align 16 dereferenceable(64), double, double) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH34CollideSoftBodyVerticesVsTriangles11StartVertexERKNS_14SoftBodyVertexE(ptr noundef nonnull align 16 dereferenceable(220), ptr noundef nonnull align 16 dereferenceable(80)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZNK3JPH9MeshShape19WalkTreePerTriangleIZNKS0_23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3EPNS_14SoftBodyVertexEjfS5_iE7VisitorEEvRKNS_17SubShapeIDCreatorERT_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 16 dereferenceable(732)) local_unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH34CollideSoftBodyVerticesVsTriangles12FinishVertexERNS_14SoftBodyVertexEi(ptr noundef nonnull align 16 dereferenceable(220), ptr noundef nonnull align 16 dereferenceable(80), i32 noundef) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress 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 = { alwaysinline 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 #4 = { 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 #5 = { 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, !14, i64 76}
!6 = !{!"_ZTSN3JPH14SoftBodyVertexE", !7, i64 0, !7, i64 16, !7, i64 32, !10, i64 48, !12, i64 64, !13, i64 68, !14, i64 72, !14, i64 76}
!7 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3JPH5PlaneE", !11, i64 0}
!11 = !{!"_ZTSN3JPH4Vec4E", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"float", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass