; LLVM IR from mitdbg/deneva :: system/msg_queue.ll (ZN12MessageQueue4initEv)

; 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.mem_alloc = type { i8 }
%class.MessageQueue = type { ptr, %"class.std::vector", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<msg_entry *, std::allocator<msg_entry *>>::_Vector_impl" }
%"struct.std::_Vector_base<msg_entry *, std::allocator<msg_entry *>>::_Vector_impl" = type { %"struct.std::_Vector_base<msg_entry *, std::allocator<msg_entry *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<msg_entry *, std::allocator<msg_entry *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@g_this_send_thread_cnt = external global i32, align 4
@mem_allocator = external global %class.mem_alloc, align 1
@g_thread_cnt = external global i32, align 4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12MessageQueue4initEv(ptr noundef nonnull align 8 dereferenceable(40) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  %10 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !9
  %11 = zext i32 %10 to i64
  %12 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %11, i64 8)
  %13 = extractvalue { i64, i1 } %12, 1
  %14 = extractvalue { i64, i1 } %12, 0
  %15 = select i1 %13, i64 -1, i64 %14
  %16 = call noalias noundef nonnull ptr @_Znam(i64 noundef %15) #6
  %17 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 0
  store ptr %16, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !17
  br label %18

18:                                               ; preds = %31, %1
  %19 = load i64, ptr %3, align 8, !tbaa !17
  %20 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = icmp ult i64 %19, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %38

24:                                               ; preds = %18
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 136) #6
  invoke void @_ZN5boost8lockfree5queueIP9msg_entryJEEC2Em(ptr noundef nonnull align 8 dereferenceable(136) %25, i64 noundef 0)
          to label %26 unwind label %34

26:                                               ; preds = %24
  %27 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = load i64, ptr %3, align 8, !tbaa !17
  %30 = getelementptr inbounds ptr, ptr %28, i64 %29
  store ptr %25, ptr %30, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %26
  %32 = load i64, ptr %3, align 8, !tbaa !17
  %33 = add i64 %32, 1
  store i64 %33, ptr %3, align 8, !tbaa !17
  br label %18, !llvm.loop !19

34:                                               ; preds = %24
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %4, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %25, i64 noundef 136) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %84

38:                                               ; preds = %23
  %39 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %40, i64 8)
  %42 = extractvalue { i64, i1 } %41, 1
  %43 = extractvalue { i64, i1 } %41, 0
  %44 = select i1 %42, i64 -1, i64 %43
  %45 = call noalias noundef nonnull ptr @_Znam(i64 noundef %44) #6
  %46 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 2
  store ptr %45, ptr %46, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store i64 0, ptr %6, align 8, !tbaa !17
  br label %47

47:                                               ; preds = %68, %38
  %48 = load i64, ptr %6, align 8, !tbaa !17
  %49 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = icmp ult i64 %48, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %71

53:                                               ; preds = %47
  %54 = call noundef ptr @_ZN9mem_alloc11align_allocEm(ptr noundef nonnull align 1 dereferenceable(1) @mem_allocator, i64 noundef 8)
  %55 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !21
  %57 = load i64, ptr %6, align 8, !tbaa !17
  %58 = getelementptr inbounds ptr, ptr %56, i64 %57
  store ptr %54, ptr %58, align 8, !tbaa !5
  %59 = load i64, ptr %6, align 8, !tbaa !17
  %60 = load i32, ptr @g_thread_cnt, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = urem i64 %59, %61
  %63 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 2
  %64 = load ptr, ptr %63, align 8, !tbaa !21
  %65 = load i64, ptr %6, align 8, !tbaa !17
  %66 = getelementptr inbounds ptr, ptr %64, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  store i64 %62, ptr %67, align 8, !tbaa !17
  br label %68

68:                                               ; preds = %53
  %69 = load i64, ptr %6, align 8, !tbaa !17
  %70 = add i64 %69, 1
  store i64 %70, ptr %6, align 8, !tbaa !17
  br label %47, !llvm.loop !22

71:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store i64 0, ptr %7, align 8, !tbaa !17
  br label %72

72:                                               ; preds = %80, %71
  %73 = load i64, ptr %7, align 8, !tbaa !17
  %74 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = icmp ult i64 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %83

78:                                               ; preds = %72
  %79 = getelementptr inbounds %class.MessageQueue, ptr %9, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorIP9msg_entrySaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %80

80:                                               ; preds = %78
  %81 = load i64, ptr %7, align 8, !tbaa !17
  %82 = add i64 %81, 1
  store i64 %82, ptr %7, align 8, !tbaa !17
  br label %72, !llvm.loop !23

83:                                               ; preds = %77
  ret void

84:                                               ; preds = %34
  %85 = load ptr, ptr %4, align 8
  %86 = load i32, ptr %5, align 4
  %87 = insertvalue { ptr, i32 } poison, ptr %85, 0
  %88 = insertvalue { ptr, i32 } %87, i32 %86, 1
  resume { ptr, i32 } %88
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8lockfree5queueIP9msg_entryJEEC2Em(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

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

declare noundef ptr @_ZN9mem_alloc11align_allocEm(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP9msg_entrySaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nobuiltin allocsize(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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nobuiltin nounwind "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 = { "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 = { builtin allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { builtin 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, !6, i64 0}
!12 = !{!"_ZTS12MessageQueue", !6, i64 0, !13, i64 8, !6, i64 32}
!13 = !{!"_ZTSSt6vectorIP9msg_entrySaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIP9msg_entrySaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIP9msg_entrySaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIP9msg_entrySaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !6, i64 32}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}


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

%class.mem_alloc = type { i8 }

@g_this_send_thread_cnt = external local_unnamed_addr global i32, align 4
@mem_allocator = external global %class.mem_alloc, align 1
@g_thread_cnt = external local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12MessageQueue4initEv(ptr noundef nonnull align 8 dereferenceable(40) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !5
  %4 = zext i32 %3 to i64
  %5 = shl nuw nsw i64 %4, 3
  %6 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %5) #5
  store ptr %6, ptr %0, align 8, !tbaa !9
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %1
  %7 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %5) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %7, ptr %8, align 8, !tbaa !16
  br label %._crit_edge23

._crit_edge:                                      ; preds = %13
  %.pre = shl nuw nsw i64 %18, 3
  %9 = icmp eq i32 %17, 0
  %10 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %.pre) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %10, ptr %11, align 8, !tbaa !16
  br i1 %9, label %._crit_edge23, label %.lr.ph20

.lr.ph:                                           ; preds = %1, %13
  %.01317 = phi i64 [ %16, %13 ], [ 0, %1 ]
  %12 = tail call noalias noundef nonnull dereferenceable(136) ptr @_Znwm(i64 noundef 136) #5
  invoke void @_ZN5boost8lockfree5queueIP9msg_entryJEEC2Em(ptr noundef nonnull align 8 dereferenceable(136) %12, i64 noundef 0)
          to label %13 unwind label %20

13:                                               ; preds = %.lr.ph
  %14 = load ptr, ptr %0, align 8, !tbaa !9
  %15 = getelementptr inbounds ptr, ptr %14, i64 %.01317
  store ptr %12, ptr %15, align 8, !tbaa !17
  %16 = add nuw nsw i64 %.01317, 1
  %17 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !5
  %18 = zext i32 %17 to i64
  %19 = icmp ult i64 %16, %18
  br i1 %19, label %.lr.ph, label %._crit_edge, !llvm.loop !18

20:                                               ; preds = %.lr.ph
  %21 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %12, i64 noundef 136) #6
  resume { ptr, i32 } %21

.preheader:                                       ; preds = %.lr.ph20
  %22 = icmp eq i32 %33, 0
  br i1 %22, label %._crit_edge23, label %.lr.ph22

.lr.ph22:                                         ; preds = %.preheader
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  br label %36

.lr.ph20:                                         ; preds = %._crit_edge, %.lr.ph20
  %.01218 = phi i64 [ %32, %.lr.ph20 ], [ 0, %._crit_edge ]
  %24 = tail call noundef ptr @_ZN9mem_alloc11align_allocEm(ptr noundef nonnull align 1 dereferenceable(1) @mem_allocator, i64 noundef 8)
  %25 = load ptr, ptr %11, align 8, !tbaa !16
  %26 = getelementptr inbounds ptr, ptr %25, i64 %.01218
  store ptr %24, ptr %26, align 8, !tbaa !17
  %27 = load i32, ptr @g_thread_cnt, align 4, !tbaa !5
  %.lhs.trunc = trunc i64 %.01218 to i32
  %28 = urem i32 %.lhs.trunc, %27
  %.zext = zext i32 %28 to i64
  %29 = load ptr, ptr %11, align 8, !tbaa !16
  %30 = getelementptr inbounds ptr, ptr %29, i64 %.01218
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  store i64 %.zext, ptr %31, align 8, !tbaa !20
  %32 = add nuw nsw i64 %.01218, 1
  %33 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !5
  %34 = zext i32 %33 to i64
  %35 = icmp ult i64 %32, %34
  br i1 %35, label %.lr.ph20, label %.preheader, !llvm.loop !22

._crit_edge23:                                    ; preds = %36, %._crit_edge.thread, %._crit_edge, %.preheader
  ret void

36:                                               ; preds = %.lr.ph22, %36
  %.021 = phi i64 [ 0, %.lr.ph22 ], [ %37, %36 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  store ptr null, ptr %2, align 8, !tbaa !17
  call void @_ZNSt6vectorIP9msg_entrySaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  %37 = add nuw nsw i64 %.021, 1
  %38 = load i32, ptr @g_this_send_thread_cnt, align 4, !tbaa !5
  %39 = zext i32 %38 to i64
  %40 = icmp ult i64 %37, %39
  br i1 %40, label %36, label %._crit_edge23, !llvm.loop !23
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost8lockfree5queueIP9msg_entryJEEC2Em(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

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

declare noundef ptr @_ZN9mem_alloc11align_allocEm(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP9msg_entrySaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) 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" }
attributes #1 = { nobuiltin allocsize(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin nounwind "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 = { "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 = { builtin allocsize(0) }
attributes #6 = { builtin nounwind }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS12MessageQueue", !11, i64 0, !12, i64 8, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIP9msg_entrySaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIP9msg_entrySaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIP9msg_entrySaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIP9msg_entrySaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!10, !11, i64 32}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}


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