; LLVM IR from mitdbg/deneva :: storage/index_btree.ll (ZN11index_btree18insert_into_parentE10glob_paramP7bt_nodemS2_)

; 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.glob_param = type { i64 }
%struct.bt_node = type { ptr, i8, ptr, ptr, i32, ptr, i8, %union.pthread_mutex_t, i32, i32 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.index_btree = type { %class.index_base, i64, i32, ptr, ptr, ptr }
%class.index_base = type { ptr, ptr }

; 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: mustprogress uwtable
define dso_local noundef i32 @_ZN11index_btree18insert_into_parentE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #2 align 2 {
  %6 = alloca i32, align 4
  %7 = alloca %struct.glob_param, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.glob_param, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.glob_param, align 8
  %18 = getelementptr inbounds %struct.glob_param, ptr %7, i32 0, i32 0
  store i64 %1, ptr %18, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i64 %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  %19 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.bt_node, ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %22, ptr %12, align 8, !tbaa !5
  %23 = load ptr, ptr %12, align 8, !tbaa !5
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %32

25:                                               ; preds = %5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !16
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = load i64, ptr %10, align 8, !tbaa !9
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.glob_param, ptr %13, i32 0, i32 0
  %30 = load i64, ptr %29, align 8
  %31 = call noundef i32 @_ZN11index_btree20insert_into_new_rootE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56) %19, i64 %30, ptr noundef %26, i64 noundef %27, ptr noundef %28)
  store i32 %31, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %134

32:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !17
  br label %33

33:                                               ; preds = %51, %32
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.bt_node, ptr %34, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  %37 = load i32, ptr %15, align 4, !tbaa !17
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds i64, ptr %36, i64 %38
  %40 = load i64, ptr %39, align 8, !tbaa !9
  %41 = load i64, ptr %10, align 8, !tbaa !9
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %43, label %49

43:                                               ; preds = %33
  %44 = load i32, ptr %15, align 4, !tbaa !17
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.bt_node, ptr %45, i32 0, i32 4
  %47 = load i32, ptr %46, align 8, !tbaa !19
  %48 = icmp ult i32 %44, %47
  br label %49

49:                                               ; preds = %43, %33
  %50 = phi i1 [ false, %33 ], [ %48, %43 ]
  br i1 %50, label %51, label %54

51:                                               ; preds = %49
  %52 = load i32, ptr %15, align 4, !tbaa !17
  %53 = add i32 %52, 1
  store i32 %53, ptr %15, align 4, !tbaa !17
  br label %33, !llvm.loop !20

54:                                               ; preds = %49
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.bt_node, ptr %55, i32 0, i32 4
  %57 = load i32, ptr %56, align 8, !tbaa !19
  %58 = getelementptr inbounds %class.index_btree, ptr %19, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !22
  %60 = sub i32 %59, 1
  %61 = icmp ult i32 %57, %60
  br i1 %61, label %62, label %125

62:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.bt_node, ptr %63, i32 0, i32 4
  %65 = load i32, ptr %64, align 8, !tbaa !19
  %66 = sub i32 %65, 1
  store i32 %66, ptr %16, align 4, !tbaa !17
  br label %67

67:                                               ; preds = %102, %62
  %68 = load i32, ptr %16, align 4, !tbaa !17
  %69 = load i32, ptr %15, align 4, !tbaa !17
  %70 = icmp uge i32 %68, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  store i32 4, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %105

72:                                               ; preds = %67
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.bt_node, ptr %73, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = load i32, ptr %16, align 4, !tbaa !17
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds i64, ptr %75, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !9
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.bt_node, ptr %80, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !18
  %83 = load i32, ptr %16, align 4, !tbaa !17
  %84 = add i32 %83, 1
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds i64, ptr %82, i64 %85
  store i64 %79, ptr %86, align 8, !tbaa !9
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.bt_node, ptr %87, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  %90 = load i32, ptr %16, align 4, !tbaa !17
  %91 = add i32 %90, 1
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds ptr, ptr %89, i64 %92
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.bt_node, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !25
  %98 = load i32, ptr %16, align 4, !tbaa !17
  %99 = add i32 %98, 2
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds ptr, ptr %97, i64 %100
  store ptr %94, ptr %101, align 8, !tbaa !5
  br label %102

102:                                              ; preds = %72
  %103 = load i32, ptr %16, align 4, !tbaa !17
  %104 = add i32 %103, -1
  store i32 %104, ptr %16, align 4, !tbaa !17
  br label %67, !llvm.loop !26

105:                                              ; preds = %71
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.bt_node, ptr %106, i32 0, i32 4
  %108 = load i32, ptr %107, align 8, !tbaa !19
  %109 = add i32 %108, 1
  store i32 %109, ptr %107, align 8, !tbaa !19
  %110 = load i64, ptr %10, align 8, !tbaa !9
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.bt_node, ptr %111, i32 0, i32 2
  %113 = load ptr, ptr %112, align 8, !tbaa !18
  %114 = load i32, ptr %15, align 4, !tbaa !17
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds i64, ptr %113, i64 %115
  store i64 %110, ptr %116, align 8, !tbaa !9
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.bt_node, ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !25
  %121 = load i32, ptr %15, align 4, !tbaa !17
  %122 = add i32 %121, 1
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %120, i64 %123
  store ptr %117, ptr %124, align 8, !tbaa !5
  store i32 0, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %133

125:                                              ; preds = %54
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !16
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = load i32, ptr %15, align 4, !tbaa !17
  %128 = load i64, ptr %10, align 8, !tbaa !9
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.glob_param, ptr %17, i32 0, i32 0
  %131 = load i64, ptr %130, align 8
  %132 = call noundef i32 @_ZN11index_btree15split_nl_insertE10glob_paramP7bt_nodejmS2_(ptr noundef nonnull align 8 dereferenceable(56) %19, i64 %131, ptr noundef %126, i32 noundef %127, i64 noundef %128, ptr noundef %129)
  store i32 %132, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %133

133:                                              ; preds = %125, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %134

134:                                              ; preds = %133, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %135 = load i32, ptr %6, align 4
  ret i32 %135
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11index_btree20insert_into_new_rootE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56), i64, ptr noundef, i64 noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11index_btree15split_nl_insertE10glob_paramP7bt_nodejmS2_(ptr noundef nonnull align 8 dereferenceable(56), i64, ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_ZTS7bt_node", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !6, i64 40, !13, i64 48, !7, i64 56, !15, i64 96, !14, i64 100}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS7latch_t", !7, i64 0}
!16 = !{i64 0, i64 8, !9}
!17 = !{!14, !14, i64 0}
!18 = !{!12, !6, i64 16}
!19 = !{!12, !14, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !14, i64 24}
!23 = !{!"_ZTS11index_btree", !24, i64 0, !10, i64 16, !14, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!24 = !{!"_ZTS10index_base", !6, i64 8}
!25 = !{!12, !6, i64 0}
!26 = distinct !{!26, !21}


; 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 uwtable
define dso_local noundef i32 @_ZN11index_btree18insert_into_parentE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 align 2 {
  %6 = getelementptr inbounds i8, ptr %2, i64 24
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = icmp eq ptr %7, null
  br i1 %8, label %16, label %.preheader43

.preheader43:                                     ; preds = %5
  %9 = getelementptr inbounds i8, ptr %7, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  %11 = load i64, ptr %10, align 8, !tbaa !14
  %12 = icmp ult i64 %11, %3
  %13 = getelementptr inbounds i8, ptr %7, i64 32
  %14 = load i32, ptr %13, align 8, !tbaa !16
  br i1 %12, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %.preheader43
  %15 = zext i32 %14 to i64
  br label %18

16:                                               ; preds = %5
  %17 = tail call noundef i32 @_ZN11index_btree20insert_into_new_rootE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 %1, ptr noundef nonnull %2, i64 noundef %3, ptr noundef %4)
  br label %49

18:                                               ; preds = %.lr.ph, %19
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %19 ]
  %exitcond.not = icmp eq i64 %indvars.iv, %15
  br i1 %exitcond.not, label %.critedge, label %19

19:                                               ; preds = %18
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %20 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv.next
  %21 = load i64, ptr %20, align 8, !tbaa !14
  %22 = icmp ult i64 %21, %3
  br i1 %22, label %18, label %.critedge.loopexit.split.loop.exit, !llvm.loop !17

.critedge.loopexit.split.loop.exit:               ; preds = %19
  %indvars.le = trunc i64 %indvars.iv.next to i32
  br label %.critedge

.critedge:                                        ; preds = %18, %.critedge.loopexit.split.loop.exit, %.preheader43
  %.040.lcssa = phi i32 [ 0, %.preheader43 ], [ %indvars.le, %.critedge.loopexit.split.loop.exit ], [ %14, %18 ]
  %.lcssa = phi i64 [ 0, %.preheader43 ], [ %indvars.iv.next, %.critedge.loopexit.split.loop.exit ], [ %15, %18 ]
  %23 = getelementptr inbounds i8, ptr %7, i64 32
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  %25 = load i32, ptr %24, align 8, !tbaa !19
  %26 = add i32 %25, -1
  %27 = icmp ult i32 %14, %26
  br i1 %27, label %.preheader, label %47

.preheader:                                       ; preds = %.critedge
  %.03950 = add i32 %14, -1
  %.not51 = icmp ult i32 %.03950, %.040.lcssa
  br i1 %.not51, label %._crit_edge, label %.lr.ph54

._crit_edge.loopexit:                             ; preds = %.lr.ph54
  %.pre56 = load ptr, ptr %9, align 8, !tbaa !13
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %28 = phi ptr [ %.pre56, %._crit_edge.loopexit ], [ %10, %.preheader ]
  %29 = add i32 %14, 1
  store i32 %29, ptr %23, align 8, !tbaa !16
  %30 = getelementptr inbounds i64, ptr %28, i64 %.lcssa
  store i64 %3, ptr %30, align 8, !tbaa !14
  %31 = load ptr, ptr %7, align 8, !tbaa !22
  %32 = add i32 %.040.lcssa, 1
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  store ptr %4, ptr %34, align 8, !tbaa !23
  br label %49

.lr.ph54:                                         ; preds = %.preheader, %.lr.ph54
  %.03953 = phi i32 [ %.039, %.lr.ph54 ], [ %.03950, %.preheader ]
  %.039.in52 = phi i32 [ %.03953, %.lr.ph54 ], [ %14, %.preheader ]
  %35 = load ptr, ptr %9, align 8, !tbaa !13
  %36 = zext i32 %.03953 to i64
  %37 = getelementptr inbounds i64, ptr %35, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !14
  %39 = zext i32 %.039.in52 to i64
  %40 = getelementptr inbounds i64, ptr %35, i64 %39
  store i64 %38, ptr %40, align 8, !tbaa !14
  %41 = load ptr, ptr %7, align 8, !tbaa !22
  %42 = getelementptr inbounds ptr, ptr %41, i64 %39
  %43 = load ptr, ptr %42, align 8, !tbaa !23
  %44 = add i32 %.039.in52, 1
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds ptr, ptr %41, i64 %45
  store ptr %43, ptr %46, align 8, !tbaa !23
  %.039 = add i32 %.03953, -1
  %.not = icmp ult i32 %.039, %.040.lcssa
  br i1 %.not, label %._crit_edge.loopexit, label %.lr.ph54, !llvm.loop !24

47:                                               ; preds = %.critedge
  %48 = tail call noundef i32 @_ZN11index_btree15split_nl_insertE10glob_paramP7bt_nodejmS2_(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 %1, ptr noundef nonnull %7, i32 noundef %.040.lcssa, i64 noundef %3, ptr noundef %4)
  br label %49

49:                                               ; preds = %._crit_edge, %47, %16
  %.1 = phi i32 [ %17, %16 ], [ 0, %._crit_edge ], [ %48, %47 ]
  ret i32 %.1
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11index_btree20insert_into_new_rootE10glob_paramP7bt_nodemS2_(ptr noundef nonnull align 8 dereferenceable(56), i64, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11index_btree15split_nl_insertE10glob_paramP7bt_nodejmS2_(ptr noundef nonnull align 8 dereferenceable(56), i64, ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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" }

!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 24}
!6 = !{!"_ZTS7bt_node", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !10, i64 48, !8, i64 56, !12, i64 96, !11, i64 100}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTS7latch_t", !8, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !11, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !11, i64 24}
!20 = !{!"_ZTS11index_btree", !21, i64 0, !15, i64 16, !11, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!21 = !{!"_ZTS10index_base", !7, i64 8}
!22 = !{!6, !7, i64 0}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !18}


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