; LLVM IR from cjmcv/hpc :: coroutine/libco/libco/src (co_hook_sys_call)

; 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.pollfd = type { i32, i16, i16 }
%struct.rpchook_t = type { i32, %struct.sockaddr_in, i32, %struct.timeval, %struct.timeval }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%struct.timeval = type { i64, i64 }

@_ZL15g_sys_send_func = external hidden global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) #0

declare noundef zeroext i1 @_Z21co_is_enable_sys_hookv() #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL9get_by_fdi(i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @poll(ptr noundef, i64 noundef, i32 noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local i64 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #5 {
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca %struct.pollfd, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !11
  store i32 %3, ptr %9, align 4, !tbaa !5
  %16 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  %17 = icmp ne ptr %16, null
  br i1 %17, label %20, label %18

18:                                               ; preds = %4
  %19 = call ptr @dlsym(ptr noundef inttoptr (i64 -1 to ptr), ptr noundef @.str.14) #6
  store ptr %19, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %18, %4
  %21 = call noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
  br i1 %21, label %29, label %22

22:                                               ; preds = %20
  %23 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  %24 = load i32, ptr %6, align 4, !tbaa !5
  %25 = load ptr, ptr %7, align 8, !tbaa !9
  %26 = load i64, ptr %8, align 8, !tbaa !11
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = call noundef i64 %23(i32 noundef %24, ptr noundef %25, i64 noundef %26, i32 noundef %27)
  store i64 %28, ptr %5, align 8
  br label %120

29:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %30 = load i32, ptr %6, align 4, !tbaa !5
  %31 = call noundef ptr @_ZL9get_by_fdi(i32 noundef %30)
  store ptr %31, ptr %10, align 8, !tbaa !9
  %32 = load ptr, ptr %10, align 8, !tbaa !9
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %40

34:                                               ; preds = %29
  %35 = load ptr, ptr %10, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.rpchook_t, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !13
  %38 = and i32 2048, %37
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %47

40:                                               ; preds = %34, %29
  %41 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !9
  %44 = load i64, ptr %8, align 8, !tbaa !11
  %45 = load i32, ptr %9, align 4, !tbaa !5
  %46 = call noundef i64 %41(i32 noundef %42, ptr noundef %43, i64 noundef %44, i32 noundef %45)
  store i64 %46, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %119

47:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %48 = load ptr, ptr %10, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.rpchook_t, ptr %48, i32 0, i32 4
  %50 = getelementptr inbounds %struct.timeval, ptr %49, i32 0, i32 0
  %51 = load i64, ptr %50, align 8, !tbaa !19
  %52 = mul nsw i64 %51, 1000
  %53 = load ptr, ptr %10, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.rpchook_t, ptr %53, i32 0, i32 4
  %55 = getelementptr inbounds %struct.timeval, ptr %54, i32 0, i32 1
  %56 = load i64, ptr %55, align 8, !tbaa !20
  %57 = sdiv i64 %56, 1000
  %58 = add nsw i64 %52, %57
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %60 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !9
  %63 = load i64, ptr %8, align 8, !tbaa !11
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = call noundef i64 %60(i32 noundef %61, ptr noundef %62, i64 noundef %63, i32 noundef %64)
  store i64 %65, ptr %14, align 8, !tbaa !11
  %66 = load i64, ptr %14, align 8, !tbaa !11
  %67 = icmp eq i64 %66, 0
  br i1 %67, label %68, label %70

68:                                               ; preds = %47
  %69 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %69, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %118

70:                                               ; preds = %47
  %71 = load i64, ptr %14, align 8, !tbaa !11
  %72 = icmp sgt i64 %71, 0
  br i1 %72, label %73, label %77

73:                                               ; preds = %70
  %74 = load i64, ptr %14, align 8, !tbaa !11
  %75 = load i64, ptr %12, align 8, !tbaa !11
  %76 = add i64 %75, %74
  store i64 %76, ptr %12, align 8, !tbaa !11
  br label %77

77:                                               ; preds = %73, %70
  br label %78

78:                                               ; preds = %107, %77
  %79 = load i64, ptr %12, align 8, !tbaa !11
  %80 = load i64, ptr %8, align 8, !tbaa !11
  %81 = icmp ult i64 %79, %80
  br i1 %81, label %82, label %108

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.memset.p0.i64(ptr align 4 %15, i8 0, i64 8, i1 false)
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = getelementptr inbounds %struct.pollfd, ptr %15, i32 0, i32 0
  store i32 %83, ptr %84, align 4, !tbaa !21
  %85 = getelementptr inbounds %struct.pollfd, ptr %15, i32 0, i32 1
  store i16 28, ptr %85, align 4, !tbaa !23
  %86 = load i32, ptr %13, align 4, !tbaa !5
  %87 = call i32 @poll(ptr noundef %15, i64 noundef 1, i32 noundef %86)
  %88 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !9
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !9
  %91 = load i64, ptr %12, align 8, !tbaa !11
  %92 = getelementptr inbounds i8, ptr %90, i64 %91
  %93 = load i64, ptr %8, align 8, !tbaa !11
  %94 = load i64, ptr %12, align 8, !tbaa !11
  %95 = sub i64 %93, %94
  %96 = load i32, ptr %9, align 4, !tbaa !5
  %97 = call noundef i64 %88(i32 noundef %89, ptr noundef %92, i64 noundef %95, i32 noundef %96)
  store i64 %97, ptr %14, align 8, !tbaa !11
  %98 = load i64, ptr %14, align 8, !tbaa !11
  %99 = icmp sle i64 %98, 0
  br i1 %99, label %100, label %101

100:                                              ; preds = %82
  store i32 3, ptr %11, align 4
  br label %105

101:                                              ; preds = %82
  %102 = load i64, ptr %14, align 8, !tbaa !11
  %103 = load i64, ptr %12, align 8, !tbaa !11
  %104 = add i64 %103, %102
  store i64 %104, ptr %12, align 8, !tbaa !11
  store i32 0, ptr %11, align 4
  br label %105

105:                                              ; preds = %101, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %106 = load i32, ptr %11, align 4
  switch i32 %106, label %122 [
    i32 0, label %107
    i32 3, label %108
  ]

107:                                              ; preds = %105
  br label %78, !llvm.loop !24

108:                                              ; preds = %105, %78
  %109 = load i64, ptr %14, align 8, !tbaa !11
  %110 = icmp sle i64 %109, 0
  br i1 %110, label %111, label %116

111:                                              ; preds = %108
  %112 = load i64, ptr %12, align 8, !tbaa !11
  %113 = icmp eq i64 %112, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %111
  %115 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %115, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %118

116:                                              ; preds = %111, %108
  %117 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %117, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %118

118:                                              ; preds = %116, %114, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %119

119:                                              ; preds = %118, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %120

120:                                              ; preds = %119, %22
  %121 = load i64, ptr %5, align 8
  ret i64 %121

122:                                              ; preds = %105
  unreachable
}

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 = { 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS9rpchook_t", !6, i64 0, !15, i64 4, !6, i64 20, !18, i64 24, !18, i64 40}
!15 = !{!"_ZTS11sockaddr_in", !16, i64 0, !16, i64 2, !17, i64 4, !7, i64 8}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS7in_addr", !6, i64 0}
!18 = !{!"_ZTS7timeval", !12, i64 0, !12, i64 8}
!19 = !{!14, !12, i64 40}
!20 = !{!14, !12, i64 48}
!21 = !{!22, !6, i64 0}
!22 = !{!"_ZTS6pollfd", !6, i64 0, !16, i64 4, !16, i64 6}
!23 = !{!22, !16, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"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.pollfd = type { i32, i16, i16 }

@_ZL15g_sys_send_func = external hidden local_unnamed_addr global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_Z21co_is_enable_sys_hookv() 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL9get_by_fdi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local i32 @poll(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local i64 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #4 {
  %5 = alloca %struct.pollfd, align 8
  %6 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %7, label %9

7:                                                ; preds = %4
  %8 = tail call ptr @dlsym(ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef nonnull @.str.14) #6
  store ptr %8, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  br label %9

9:                                                ; preds = %7, %4
  %10 = tail call noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
  br i1 %10, label %14, label %11

11:                                               ; preds = %9
  %12 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  %13 = tail call noundef i64 %12(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3)
  br label %47

14:                                               ; preds = %9
  %15 = tail call noundef ptr @_ZL9get_by_fdi(i32 noundef %0)
  %.not52 = icmp eq ptr %15, null
  br i1 %.not52, label %19, label %16

16:                                               ; preds = %14
  %17 = load i32, ptr %15, align 8, !tbaa !9
  %18 = and i32 %17, 2048
  %.not53 = icmp eq i32 %18, 0
  br i1 %.not53, label %22, label %19

19:                                               ; preds = %16, %14
  %20 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  %21 = tail call noundef i64 %20(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3)
  br label %47

22:                                               ; preds = %16
  %23 = getelementptr inbounds i8, ptr %15, i64 40
  %24 = load i64, ptr %23, align 8, !tbaa !17
  %25 = mul nsw i64 %24, 1000
  %26 = getelementptr inbounds i8, ptr %15, i64 48
  %27 = load i64, ptr %26, align 8, !tbaa !18
  %28 = sdiv i64 %27, 1000
  %29 = add nsw i64 %28, %25
  %30 = trunc i64 %29 to i32
  %31 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  %32 = tail call noundef i64 %31(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3)
  %33 = icmp eq i64 %32, 0
  br i1 %33, label %47, label %34

34:                                               ; preds = %22
  %spec.select = tail call i64 @llvm.smax.i64(i64 %32, i64 0)
  %35 = icmp ult i64 %spec.select, %2
  br i1 %35, label %.lr.ph, label %._crit_edge

36:                                               ; preds = %.lr.ph
  %37 = add i64 %43, %.14454
  %38 = icmp ult i64 %37, %2
  br i1 %38, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %34, %36
  %.14454 = phi i64 [ %37, %36 ], [ %spec.select, %34 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store i64 120259084288, ptr %5, align 8
  store i32 %0, ptr %5, align 8, !tbaa !19
  %39 = call i32 @poll(ptr noundef nonnull %5, i64 noundef 1, i32 noundef %30)
  %40 = load ptr, ptr @_ZL15g_sys_send_func, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %1, i64 %.14454
  %42 = sub i64 %2, %.14454
  %43 = call noundef i64 %40(i32 noundef %0, ptr noundef %41, i64 noundef %42, i32 noundef %3)
  %44 = icmp slt i64 %43, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %44, label %._crit_edge, label %36

._crit_edge:                                      ; preds = %36, %.lr.ph, %34
  %.144.lcssa = phi i64 [ %spec.select, %34 ], [ %.14454, %.lr.ph ], [ %37, %36 ]
  %.1 = phi i64 [ %32, %34 ], [ %43, %.lr.ph ], [ %43, %36 ]
  %45 = icmp slt i64 %.1, 1
  %46 = icmp eq i64 %.144.lcssa, 0
  %or.cond = and i1 %46, %45
  %.1..3 = select i1 %or.cond, i64 %.1, i64 %.144.lcssa
  br label %47

47:                                               ; preds = %19, %._crit_edge, %22, %11
  %.2 = phi i64 [ %13, %11 ], [ %21, %19 ], [ 0, %22 ], [ %.1..3, %._crit_edge ]
  ret i64 %.2
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #5

attributes #0 = { 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 #1 = { "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 = { 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"_ZTS9rpchook_t", !11, i64 0, !12, i64 4, !11, i64 20, !15, i64 24, !15, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS11sockaddr_in", !13, i64 0, !13, i64 2, !14, i64 4, !7, i64 8}
!13 = !{!"short", !7, i64 0}
!14 = !{!"_ZTS7in_addr", !11, i64 0}
!15 = !{!"_ZTS7timeval", !16, i64 0, !16, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!10, !16, i64 40}
!18 = !{!10, !16, i64 48}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTS6pollfd", !11, i64 0, !13, i64 4, !13, i64 6}


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