; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal (SockDataSent)

; 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._SOCKET = type { i32, ptr, ptr, ptr, ptr, %struct._LIST_ENTRY, i8, i32, i8, i16, %struct.EFI_LOCK, %struct._SOCK_BUFFER, %struct._SOCK_BUFFER, i64, i8, i32, i32, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, ptr, [20 x i8], %union._NET_PROTOCOL, ptr, ptr, ptr }
%struct.EFI_LOCK = type { i64, i64, i32 }
%struct._SOCK_BUFFER = type { i32, i32, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%union._NET_PROTOCOL = type { %struct._EFI_TCP4_PROTOCOL }
%struct._EFI_TCP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NET_BUF_QUEUE = type { i32, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i32 }
%struct._SOCK_TOKEN = type { %struct._LIST_ENTRY, ptr, i32, ptr }
%struct._SOCK_COMPLETION_TOKEN = type { ptr, i64 }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [151 x i8], align 1
@gBS = external global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) #1

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

declare i32 @NetbufQueTrim(ptr noundef, i32 noundef) #1

declare zeroext i8 @IsListEmpty(ptr noundef) #1

declare ptr @RemoveEntryList(ptr noundef) #1

declare void @FreePool(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @SockProcessSndToken(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @SockDataSent(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  br label %7

7:                                                ; preds = %2
  %8 = call zeroext i8 @DebugAssertEnabled()
  %9 = icmp ne i8 %8, 0
  br i1 %9, label %10, label %17

10:                                               ; preds = %7
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct._SOCKET, ptr %11, i32 0, i32 22
  %13 = call zeroext i8 @IsListEmpty(ptr noundef %12)
  %14 = icmp ne i8 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %10
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1014, ptr noundef @.str.29)
  br label %16

16:                                               ; preds = %15, %10
  br label %17

17:                                               ; preds = %16, %7
  br label %18

18:                                               ; preds = %17
  br label %19

19:                                               ; preds = %18
  br label %20

20:                                               ; preds = %19
  %21 = call zeroext i8 @DebugAssertEnabled()
  %22 = icmp ne i8 %21, 0
  br i1 %22, label %23, label %34

23:                                               ; preds = %20
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._SOCKET, ptr %25, i32 0, i32 11
  %27 = getelementptr inbounds %struct._SOCK_BUFFER, ptr %26, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = getelementptr inbounds %struct.NET_BUF_QUEUE, ptr %28, i32 0, i32 4
  %30 = load i32, ptr %29, align 8, !tbaa !18
  %31 = icmp ule i32 %24, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %23
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1015, ptr noundef @.str.30)
  br label %33

33:                                               ; preds = %32, %23
  br label %34

34:                                               ; preds = %33, %20
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._SOCKET, ptr %37, i32 0, i32 11
  %39 = getelementptr inbounds %struct._SOCK_BUFFER, ptr %38, i32 0, i32 2
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = call i32 @NetbufQueTrim(ptr noundef %40, i32 noundef %41)
  br label %43

43:                                               ; preds = %90, %36
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = icmp ugt i32 %44, 0
  br i1 %45, label %46, label %91

46:                                               ; preds = %43
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._SOCKET, ptr %47, i32 0, i32 22
  %49 = getelementptr inbounds %struct._LIST_ENTRY, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !20
  %51 = ptrtoint ptr %50 to i64
  %52 = sub i64 %51, 0
  %53 = inttoptr i64 %52 to ptr
  store ptr %53, ptr %5, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !21
  store ptr %56, ptr %6, align 8, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %57, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !23
  %60 = load i32, ptr %4, align 4, !tbaa !9
  %61 = icmp ule i32 %59, %60
  br i1 %61, label %62, label %84

62:                                               ; preds = %46
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %63, i32 0, i32 0
  %65 = call ptr @RemoveEntryList(ptr noundef %64)
  br label %66

66:                                               ; preds = %62
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %67, i32 0, i32 1
  store i64 0, ptr %68, align 8, !tbaa !24
  %69 = load ptr, ptr @gBS, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %69, i32 0, i32 11
  %71 = load ptr, ptr %70, align 8, !tbaa !26
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !29
  %75 = call i64 %71(ptr noundef %74)
  br label %76

76:                                               ; preds = %66
  br label %77

77:                                               ; preds = %76
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %78, i32 0, i32 2
  %80 = load i32, ptr %79, align 8, !tbaa !23
  %81 = load i32, ptr %4, align 4, !tbaa !9
  %82 = sub i32 %81, %80
  store i32 %82, ptr %4, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  call void @FreePool(ptr noundef %83)
  br label %90

84:                                               ; preds = %46
  %85 = load i32, ptr %4, align 4, !tbaa !9
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %86, i32 0, i32 2
  %88 = load i32, ptr %87, align 8, !tbaa !23
  %89 = sub i32 %88, %85
  store i32 %89, ptr %87, align 8, !tbaa !23
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %84, %77
  br label %43, !llvm.loop !30

91:                                               ; preds = %43
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  call void @SockProcessSndToken(ptr noundef %92)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 104}
!12 = !{!"_SOCKET", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !7, i64 56, !10, i64 60, !7, i64 64, !14, i64 66, !15, i64 72, !17, i64 96, !17, i64 112, !16, i64 128, !7, i64 136, !10, i64 140, !10, i64 144, !6, i64 152, !13, i64 160, !13, i64 176, !13, i64 192, !13, i64 208, !13, i64 224, !6, i64 240, !6, i64 248, !6, i64 256, !7, i64 264, !7, i64 288, !6, i64 368, !6, i64 376, !6, i64 384}
!13 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!14 = !{!"short", !7, i64 0}
!15 = !{!"", !16, i64 0, !16, i64 8, !10, i64 16}
!16 = !{!"long long", !7, i64 0}
!17 = !{!"_SOCK_BUFFER", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!19, !10, i64 48}
!19 = !{!"", !10, i64 0, !16, i64 8, !13, i64 16, !13, i64 32, !10, i64 48, !10, i64 52}
!20 = !{!12, !6, i64 224}
!21 = !{!22, !6, i64 16}
!22 = !{!"_SOCK_TOKEN", !13, i64 0, !6, i64 16, !10, i64 24, !6, i64 32}
!23 = !{!22, !10, i64 24}
!24 = !{!25, !16, i64 8}
!25 = !{!"_SOCK_COMPLETION_TOKEN", !6, i64 0, !16, i64 8}
!26 = !{!27, !6, i64 104}
!27 = !{!"", !28, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!28 = !{!"", !16, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!29 = !{!25, !6, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"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"

@.str = external hidden unnamed_addr constant [151 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare i32 @NetbufQueTrim(ptr noundef, i32 noundef) local_unnamed_addr #0

declare zeroext i8 @IsListEmpty(ptr noundef) local_unnamed_addr #0

declare ptr @RemoveEntryList(ptr noundef) local_unnamed_addr #0

declare void @FreePool(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @SockProcessSndToken(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @SockDataSent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not = icmp eq i8 %3, 0
  br i1 %.not, label %8, label %4

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 224
  %6 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %5) #2
  %.not19 = icmp eq i8 %6, 0
  br i1 %.not19, label %8, label %7

7:                                                ; preds = %4
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1014, ptr noundef nonnull @.str.29) #2
  br label %8

8:                                                ; preds = %2, %7, %4
  %9 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not20 = icmp eq i8 %9, 0
  br i1 %.not20, label %18, label %10

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 48
  %14 = load i32, ptr %13, align 8, !tbaa !16
  %.not21 = icmp ult i32 %14, %1
  br i1 %.not21, label %.thread, label %18

.thread:                                          ; preds = %10
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1015, ptr noundef nonnull @.str.30) #2
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = tail call i32 @NetbufQueTrim(ptr noundef %16, i32 noundef %1) #2
  br label %.lr.ph

18:                                               ; preds = %10, %8
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = tail call i32 @NetbufQueTrim(ptr noundef %20, i32 noundef %1) #2
  %.not2224 = icmp eq i32 %1, 0
  br i1 %.not2224, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.thread, %18
  %22 = getelementptr inbounds i8, ptr %0, i64 224
  br label %23

23:                                               ; preds = %.lr.ph, %28
  %.025 = phi i32 [ %1, %.lr.ph ], [ %39, %28 ]
  %24 = load ptr, ptr %22, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %24, i64 24
  %26 = load i32, ptr %25, align 8, !tbaa !19
  %.not23 = icmp ugt i32 %26, %.025
  br i1 %.not23, label %.thread27, label %28

.thread27:                                        ; preds = %23
  %27 = sub i32 %26, %.025
  store i32 %27, ptr %25, align 8, !tbaa !19
  br label %._crit_edge

28:                                               ; preds = %23
  %29 = getelementptr inbounds i8, ptr %24, i64 16
  %30 = load ptr, ptr %29, align 8, !tbaa !21
  %31 = tail call ptr @RemoveEntryList(ptr noundef nonnull %24) #2
  %32 = getelementptr inbounds i8, ptr %30, i64 8
  store i64 0, ptr %32, align 8, !tbaa !22
  %33 = load ptr, ptr @gBS, align 8, !tbaa !24
  %34 = getelementptr inbounds i8, ptr %33, i64 104
  %35 = load ptr, ptr %34, align 8, !tbaa !25
  %36 = load ptr, ptr %30, align 8, !tbaa !28
  %37 = tail call i64 %35(ptr noundef %36) #2
  %38 = load i32, ptr %25, align 8, !tbaa !19
  %39 = sub i32 %.025, %38
  tail call void @FreePool(ptr noundef nonnull %24) #2
  %.not22 = icmp eq i32 %39, 0
  br i1 %.not22, label %._crit_edge, label %23, !llvm.loop !29

._crit_edge:                                      ; preds = %28, %.thread27, %18
  tail call void @SockProcessSndToken(ptr noundef nonnull %0)
  ret void
}

attributes #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 = { 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 #2 = { 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, !10, i64 104}
!6 = !{!"_SOCKET", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !8, i64 56, !7, i64 60, !8, i64 64, !12, i64 66, !13, i64 72, !15, i64 96, !15, i64 112, !14, i64 128, !8, i64 136, !7, i64 140, !7, i64 144, !10, i64 152, !11, i64 160, !11, i64 176, !11, i64 192, !11, i64 208, !11, i64 224, !10, i64 240, !10, i64 248, !10, i64 256, !8, i64 264, !8, i64 288, !10, i64 368, !10, i64 376, !10, i64 384}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!12 = !{!"short", !8, i64 0}
!13 = !{!"", !14, i64 0, !14, i64 8, !7, i64 16}
!14 = !{!"long long", !8, i64 0}
!15 = !{!"_SOCK_BUFFER", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!17, !7, i64 48}
!17 = !{!"", !7, i64 0, !14, i64 8, !11, i64 16, !11, i64 32, !7, i64 48, !7, i64 52}
!18 = !{!6, !10, i64 224}
!19 = !{!20, !7, i64 24}
!20 = !{!"_SOCK_TOKEN", !11, i64 0, !10, i64 16, !7, i64 24, !10, i64 32}
!21 = !{!20, !10, i64 16}
!22 = !{!23, !14, i64 8}
!23 = !{!"_SOCK_COMPLETION_TOKEN", !10, i64 0, !14, i64 8}
!24 = !{!10, !10, i64 0}
!25 = !{!26, !10, i64 104}
!26 = !{!"", !27, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!27 = !{!"", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!28 = !{!23, !10, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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