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

@_ZL16g_sys_write_func = external hidden global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [6 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 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #5 {
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca %struct.pollfd, align 4
  store i32 %0, ptr %5, align 4, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !11
  %15 = load ptr, ptr @_ZL16g_sys_write_func, align 8, !tbaa !9
  %16 = icmp ne ptr %15, null
  br i1 %16, label %19, label %17

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

19:                                               ; preds = %17, %3
  %20 = call noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
  br i1 %20, label %27, label %21

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

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

32:                                               ; preds = %27
  %33 = load ptr, ptr %8, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.rpchook_t, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 8, !tbaa !13
  %36 = and i32 2048, %35
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %45

38:                                               ; preds = %32, %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %39 = load ptr, ptr @_ZL16g_sys_write_func, align 8, !tbaa !9
  %40 = load i32, ptr %5, align 4, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !9
  %42 = load i64, ptr %7, align 8, !tbaa !11
  %43 = call noundef i64 %39(i32 noundef %40, ptr noundef %41, i64 noundef %42)
  store i64 %43, ptr %9, align 8, !tbaa !11
  %44 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %44, ptr %4, align 8
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %119

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

69:                                               ; preds = %45
  %70 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %70, ptr %4, align 8
  store i32 1, ptr %10, align 4
  br label %118

71:                                               ; preds = %45
  %72 = load i64, ptr %13, align 8, !tbaa !11
  %73 = icmp sgt i64 %72, 0
  br i1 %73, label %74, label %78

74:                                               ; preds = %71
  %75 = load i64, ptr %13, align 8, !tbaa !11
  %76 = load i64, ptr %11, align 8, !tbaa !11
  %77 = add i64 %76, %75
  store i64 %77, ptr %11, align 8, !tbaa !11
  br label %78

78:                                               ; preds = %74, %71
  br label %79

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

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

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

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

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

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

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

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

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

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

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

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

120:                                              ; preds = %119, %21
  %121 = load i64, ptr %4, 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 }

@_ZL16g_sys_write_func = external hidden local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [6 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 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #4 {
  %4 = alloca %struct.pollfd, align 8
  %5 = load ptr, ptr @_ZL16g_sys_write_func, align 8, !tbaa !5
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %6, label %8

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

8:                                                ; preds = %6, %3
  %9 = tail call noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
  br i1 %9, label %13, label %10

10:                                               ; preds = %8
  %11 = load ptr, ptr @_ZL16g_sys_write_func, align 8, !tbaa !5
  %12 = tail call noundef i64 %11(i32 noundef %0, ptr noundef %1, i64 noundef %2)
  br label %46

13:                                               ; preds = %8
  %14 = tail call noundef ptr @_ZL9get_by_fdi(i32 noundef %0)
  %.not51 = icmp eq ptr %14, null
  br i1 %.not51, label %18, label %15

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

18:                                               ; preds = %15, %13
  %19 = load ptr, ptr @_ZL16g_sys_write_func, align 8, !tbaa !5
  %20 = tail call noundef i64 %19(i32 noundef %0, ptr noundef %1, i64 noundef %2)
  br label %46

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

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

35:                                               ; preds = %.lr.ph
  %36 = add i64 %42, %.14353
  %37 = icmp ult i64 %36, %2
  br i1 %37, label %.lr.ph, label %._crit_edge

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

._crit_edge:                                      ; preds = %35, %.lr.ph, %33
  %.143.lcssa = phi i64 [ %spec.select, %33 ], [ %.14353, %.lr.ph ], [ %36, %35 ]
  %.1 = phi i64 [ %31, %33 ], [ %42, %.lr.ph ], [ %42, %35 ]
  %44 = icmp slt i64 %.1, 1
  %45 = icmp eq i64 %.143.lcssa, 0
  %or.cond = and i1 %45, %44
  %.1..3 = select i1 %or.cond, i64 %.1, i64 %.143.lcssa
  br label %46

46:                                               ; preds = %18, %._crit_edge, %21, %10
  %.2 = phi i64 [ %12, %10 ], [ %20, %18 ], [ 0, %21 ], [ %.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