; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (custom_implicit_surface2)

; 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.jet::BoundingBoxRayIntersection2" = type { i8, double, double }
%"class.jet::Vector" = type { double, double }
%"class.jet::CustomImplicitSurface2" = type <{ %"class.jet::ImplicitSurface2.base", [7 x i8], %"class.std::function", %"class.jet::BoundingBox", double, double, i32, [4 x i8] }>
%"class.jet::ImplicitSurface2.base" = type { %"class.jet::Surface2.base" }
%"class.jet::Surface2.base" = type <{ ptr, %"class.jet::Transform2", i8 }>
%"class.jet::Transform2" = type { %"class.jet::Vector", double, double, double }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }

; 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 speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3jet22CustomImplicitSurface215intersectsLocalERKNS_3RayIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #2 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.jet::BoundingBoxRayIntersection2", align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  %17 = getelementptr inbounds %"class.jet::CustomImplicitSurface2", ptr %16, i32 0, i32 3
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK3jet11BoundingBoxIdLm2EE19closestIntersectionERKNS_3RayIdLm2EEE(ptr dead_on_unwind writable sret(%"struct.jet::BoundingBoxRayIntersection2") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %18)
  %19 = getelementptr inbounds %"struct.jet::BoundingBoxRayIntersection2", ptr %6, i32 0, i32 0
  %20 = load i8, ptr %19, align 8, !tbaa !9, !range !13, !noundef !14
  %21 = trunc i8 %20 to i1
  br i1 %21, label %22, label %71

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %23 = getelementptr inbounds %"struct.jet::BoundingBoxRayIntersection2", ptr %6, i32 0, i32 2
  %24 = load double, ptr %23, align 8, !tbaa !15
  %25 = fcmp oeq double %24, 0x7FEFFFFFFFFFFFFF
  br i1 %25, label %26, label %29

26:                                               ; preds = %22
  store double 0.000000e+00, ptr %7, align 8, !tbaa !16
  %27 = getelementptr inbounds %"struct.jet::BoundingBoxRayIntersection2", ptr %6, i32 0, i32 1
  %28 = load double, ptr %27, align 8, !tbaa !17
  store double %28, ptr %8, align 8, !tbaa !16
  br label %34

29:                                               ; preds = %22
  %30 = getelementptr inbounds %"struct.jet::BoundingBoxRayIntersection2", ptr %6, i32 0, i32 1
  %31 = load double, ptr %30, align 8, !tbaa !17
  store double %31, ptr %7, align 8, !tbaa !16
  %32 = getelementptr inbounds %"struct.jet::BoundingBoxRayIntersection2", ptr %6, i32 0, i32 2
  %33 = load double, ptr %32, align 8, !tbaa !15
  store double %33, ptr %8, align 8, !tbaa !16
  br label %34

34:                                               ; preds = %29, %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %35 = load double, ptr %7, align 8, !tbaa !16
  store double %35, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load double, ptr %9, align 8, !tbaa !16
  call void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %36, double noundef %37)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %38 = getelementptr inbounds %"class.jet::CustomImplicitSurface2", ptr %16, i32 0, i32 2
  %39 = call noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(16) %10)
  store double %39, ptr %11, align 8, !tbaa !16
  br label %40

40:                                               ; preds = %66, %34
  %41 = load double, ptr %9, align 8, !tbaa !16
  %42 = load double, ptr %8, align 8, !tbaa !16
  %43 = fcmp ole double %41, %42
  br i1 %43, label %44, label %67

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load double, ptr %9, align 8, !tbaa !16
  call void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %45, double noundef %46)
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet6VectorIdLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %48 = getelementptr inbounds %"class.jet::CustomImplicitSurface2", ptr %16, i32 0, i32 2
  %49 = call noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(16) %10)
  store double %49, ptr %13, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %50 = load double, ptr %13, align 8, !tbaa !16
  %51 = call double @llvm.fabs.f64(double %50)
  store double %51, ptr %14, align 8, !tbaa !16
  %52 = load double, ptr %13, align 8, !tbaa !16
  %53 = load double, ptr %11, align 8, !tbaa !16
  %54 = fmul double %52, %53
  %55 = fcmp olt double %54, 0.000000e+00
  br i1 %55, label %56, label %57

56:                                               ; preds = %44
  store i1 true, ptr %3, align 1
  store i32 1, ptr %15, align 4
  br label %64

57:                                               ; preds = %44
  %58 = getelementptr inbounds %"class.jet::CustomImplicitSurface2", ptr %16, i32 0, i32 5
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %58)
  %60 = load double, ptr %59, align 8, !tbaa !16
  %61 = load double, ptr %9, align 8, !tbaa !16
  %62 = fadd double %61, %60
  store double %62, ptr %9, align 8, !tbaa !16
  %63 = load double, ptr %13, align 8, !tbaa !16
  store double %63, ptr %11, align 8, !tbaa !16
  store i32 0, ptr %15, align 4
  br label %64

64:                                               ; preds = %57, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  %65 = load i32, ptr %15, align 4
  switch i32 %65, label %68 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %40, !llvm.loop !18

67:                                               ; preds = %40
  store i32 0, ptr %15, align 4
  br label %68

68:                                               ; preds = %67, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  %69 = load i32, ptr %15, align 4
  switch i32 %69, label %72 [
    i32 0, label %70
  ]

70:                                               ; preds = %68
  br label %71

71:                                               ; preds = %70, %2
  store i1 false, ptr %3, align 1
  store i32 1, ptr %15, align 4
  br label %72

72:                                               ; preds = %71, %68
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  %73 = load i1, ptr %3, align 1
  ret i1 %73
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet11BoundingBoxIdLm2EE19closestIntersectionERKNS_3RayIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.jet::BoundingBoxRayIntersection2") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), double noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 0}
!10 = !{!"_ZTSN3jet27BoundingBoxRayIntersection2IdEE", !11, i64 0, !12, i64 8, !12, i64 16}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!10, !12, i64 16}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !12, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"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.jet::BoundingBoxRayIntersection2" = type { i8, double, double }
%"class.jet::Vector" = type { double, double }

; 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 speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1

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

; 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 noundef zeroext i1 @_ZNK3jet22CustomImplicitSurface215intersectsLocalERKNS_3RayIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #2 align 2 {
  %3 = alloca %"struct.jet::BoundingBoxRayIntersection2", align 8
  %4 = alloca %"class.jet::Vector", align 8
  %5 = alloca %"class.jet::Vector", align 8
  %6 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZNK3jet11BoundingBoxIdLm2EE19closestIntersectionERKNS_3RayIdLm2EEE(ptr dead_on_unwind nonnull writable sret(%"struct.jet::BoundingBoxRayIntersection2") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %8 = load i8, ptr %3, align 8, !tbaa !5, !range !11, !noundef !12
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %10, label %32

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %3, i64 16
  %12 = load double, ptr %11, align 8, !tbaa !13
  %13 = fcmp oeq double %12, 0x7FEFFFFFFFFFFFFF
  %14 = getelementptr inbounds i8, ptr %3, i64 8
  %15 = load double, ptr %14, align 8
  %.024 = select i1 %13, double 0.000000e+00, double %15
  %.023 = select i1 %13, double %15, double %12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %1, double noundef %.024)
  %16 = getelementptr inbounds i8, ptr %0, i64 56
  %17 = call noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %18 = fcmp ugt double %.024, %.023
  br i1 %18, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %19 = getelementptr inbounds i8, ptr %0, i64 128
  br label %20

20:                                               ; preds = %.lr.ph, %26
  %.01929 = phi double [ %17, %.lr.ph ], [ %22, %26 ]
  %.02128 = phi double [ %.024, %.lr.ph ], [ %29, %26 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  call void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %1, double noundef %.02128)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet6VectorIdLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  %22 = call noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %23 = call double @llvm.fabs.f64(double %22)
  store double %23, ptr %6, align 8, !tbaa !14
  %24 = fmul double %.01929, %22
  %25 = fcmp uge double %24, 0.000000e+00
  br i1 %25, label %26, label %31

26:                                               ; preds = %20
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %28 = load double, ptr %27, align 8, !tbaa !14
  %29 = fadd double %.02128, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  %30 = fcmp ugt double %29, %.023
  br i1 %30, label %.critedge, label %20

31:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %32

.critedge:                                        ; preds = %26, %10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %32

32:                                               ; preds = %2, %.critedge, %31
  %.3 = phi i1 [ true, %31 ], [ false, %.critedge ], [ false, %2 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  ret i1 %.3
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet11BoundingBoxIdLm2EE19closestIntersectionERKNS_3RayIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.jet::BoundingBoxRayIntersection2") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet3RayIdLm2EE7pointAtEd(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), double noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNKSt8functionIFdRKN3jet6VectorIdLm2EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3jet27BoundingBoxRayIntersection2IdEE", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!6, !10, i64 16}
!14 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass