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

; 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._ISCSI_TCB = type { %struct._LIST_ENTRY, i8, i32, i8, i8, i32, i32, ptr, i32, i32, i32, %struct._ISCSI_XFER_CONTEXT, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._ISCSI_XFER_CONTEXT = type { i32, i32, i32, i32 }
%struct._ISCSI_CONNECTION = type { i32, %struct._LIST_ENTRY, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, i16, i32, %struct.NET_BUF_QUEUE, %struct._TCP4_IO, i32, i32, i32 }
%struct.NET_BUF_QUEUE = type { i32, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i32 }
%struct._TCP4_IO = type { ptr, ptr, ptr, ptr, %struct.EFI_TCP4_CONNECTION_TOKEN, %struct.EFI_TCP4_IO_TOKEN, %struct.EFI_TCP4_IO_TOKEN, %struct.EFI_TCP4_CLOSE_TOKEN, i8, i8, i8, i8 }
%struct.EFI_TCP4_CONNECTION_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN }
%struct.EFI_TCP4_COMPLETION_TOKEN = type { ptr, i64 }
%struct.EFI_TCP4_IO_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN, %union.anon }
%union.anon = type { ptr }
%struct.EFI_TCP4_CLOSE_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN, i8 }
%struct.NET_BUF = type { i32, i64, %struct._LIST_ENTRY, %union.NET_IP_HEAD, ptr, ptr, [64 x i8], ptr, i32, i32, [1 x %struct.NET_BLOCK_OP] }
%union.NET_IP_HEAD = type { ptr }
%struct.NET_BLOCK_OP = type { ptr, ptr, ptr, ptr, i32 }
%struct._ISCSI_BASIC_HEADER = type { i8, i8, i16, i8, [3 x i8], [8 x i8], i32, [7 x i32] }

declare ptr @InsertTailList(ptr noundef, ptr noundef) #0

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

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

declare ptr @AllocatePool(i64 noundef) #0

declare ptr @NetbufGetByte(ptr noundef, i32 noundef, ptr noundef) #0

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

declare ptr @InitializeListHead(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @IScsiNewDataOutPdu(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @IScsiGenerateDataOutPduSequence(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %16 = call ptr @AllocatePool(i64 noundef 16)
  store ptr %16, ptr %8, align 8, !tbaa !5
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %98

20:                                               ; preds = %3
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call ptr @InitializeListHead(ptr noundef %21)
  store i32 0, ptr %9, align 4, !tbaa !11
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._ISCSI_TCB, ptr %23, i32 0, i32 12
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  store ptr %25, ptr %12, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._ISCSI_TCB, ptr %26, i32 0, i32 11
  store ptr %27, ptr %13, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %61, %20
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !17
  %32 = icmp ugt i32 %31, 0
  br i1 %32, label %33, label %82

33:                                               ; preds = %28
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 4, !tbaa !17
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %37, i32 0, i32 15
  %39 = load i32, ptr %38, align 8, !tbaa !18
  %40 = icmp ult i32 %36, %39
  br i1 %40, label %41, label %45

41:                                               ; preds = %33
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !17
  br label %49

45:                                               ; preds = %33
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %46, i32 0, i32 15
  %48 = load i32, ptr %47, align 8, !tbaa !18
  br label %49

49:                                               ; preds = %45, %41
  %50 = phi i32 [ %44, %41 ], [ %48, %45 ]
  store i32 %50, ptr %10, align 4, !tbaa !11
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !11
  %53 = load i32, ptr %9, align 4, !tbaa !11
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load i64, ptr %7, align 8, !tbaa !9
  %56 = call ptr @IScsiNewDataOutPdu(ptr noundef %51, i32 noundef %52, i32 noundef %53, ptr noundef %54, i64 noundef %55)
  store ptr %56, ptr %11, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %61

59:                                               ; preds = %49
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  call void @IScsiFreeNbufList(ptr noundef %60)
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %96

61:                                               ; preds = %49
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.NET_BUF, ptr %63, i32 0, i32 2
  %65 = call ptr @InsertTailList(ptr noundef %62, ptr noundef %64)
  %66 = load i32, ptr %10, align 4, !tbaa !11
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 4, !tbaa !26
  %70 = add i32 %69, %66
  store i32 %70, ptr %68, align 4, !tbaa !26
  %71 = load i32, ptr %10, align 4, !tbaa !11
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %72, i32 0, i32 2
  %74 = load i32, ptr %73, align 4, !tbaa !17
  %75 = sub i32 %74, %71
  store i32 %75, ptr %73, align 4, !tbaa !17
  %76 = load i32, ptr %9, align 4, !tbaa !11
  %77 = add i32 %76, 1
  store i32 %77, ptr %9, align 4, !tbaa !11
  %78 = load i32, ptr %10, align 4, !tbaa !11
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = zext i32 %78 to i64
  %81 = getelementptr inbounds i8, ptr %79, i64 %80
  store ptr %81, ptr %5, align 8, !tbaa !5
  br label %28, !llvm.loop !27

82:                                               ; preds = %28
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = call ptr @NetbufGetByte(ptr noundef %83, i32 noundef 0, ptr noundef null)
  store ptr %84, ptr %14, align 8, !tbaa !5
  %85 = load ptr, ptr %14, align 8, !tbaa !5
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %89

87:                                               ; preds = %82
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  call void @IScsiFreeNbufList(ptr noundef %88)
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %96

89:                                               ; preds = %82
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %90, i32 0, i32 1
  %92 = load i8, ptr %91, align 1, !tbaa !29
  %93 = zext i8 %92 to i32
  %94 = or i32 %93, 128
  %95 = trunc i32 %94 to i8
  store i8 %95, ptr %91, align 1, !tbaa !29
  br label %96

96:                                               ; preds = %89, %87, %59
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %97, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %98

98:                                               ; preds = %96, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %99 = load ptr, ptr %4, align 8
  ret ptr %99
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 80}
!14 = !{!"_ISCSI_TCB", !15, i64 0, !7, i64 16, !12, i64 20, !7, i64 24, !7, i64 25, !12, i64 28, !12, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !16, i64 60, !6, i64 80}
!15 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!16 = !{!"_ISCSI_XFER_CONTEXT", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!17 = !{!16, !12, i64 8}
!18 = !{!19, !12, i64 240}
!19 = !{!"_ISCSI_CONNECTION", !12, i64 0, !15, i64 8, !6, i64 24, !6, i64 32, !7, i64 40, !7, i64 41, !7, i64 42, !7, i64 43, !7, i64 44, !7, i64 45, !7, i64 46, !20, i64 48, !12, i64 52, !21, i64 56, !22, i64 112, !12, i64 240, !12, i64 244, !12, i64 248}
!20 = !{!"short", !7, i64 0}
!21 = !{!"", !12, i64 0, !10, i64 8, !15, i64 16, !15, i64 32, !12, i64 48, !12, i64 52}
!22 = !{!"_TCP4_IO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !23, i64 32, !25, i64 48, !25, i64 72, !25, i64 96, !7, i64 120, !7, i64 121, !7, i64 122, !7, i64 123}
!23 = !{!"", !24, i64 0}
!24 = !{!"", !6, i64 0, !10, i64 8}
!25 = !{!"", !24, i64 0, !7, i64 16}
!26 = !{!16, !12, i64 4}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !7, i64 1}
!30 = !{!"_ISCSI_BASIC_HEADER", !7, i64 0, !7, i64 1, !20, i64 2, !7, i64 4, !7, i64 5, !7, i64 8, !12, i64 16, !7, i64 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"

declare ptr @InsertTailList(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #0

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

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

declare ptr @InitializeListHead(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @IScsiNewDataOutPdu(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @IScsiGenerateDataOutPduSequence(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #1 {
  %4 = tail call ptr @AllocatePool(i64 noundef 16) #3
  %5 = icmp eq ptr %4, null
  br i1 %5, label %37, label %6

6:                                                ; preds = %3
  %7 = tail call ptr @InitializeListHead(ptr noundef nonnull %4) #3
  %8 = getelementptr inbounds i8, ptr %1, i64 68
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %.not40 = icmp eq i32 %9, 0
  br i1 %.not40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %10 = getelementptr inbounds i8, ptr %1, i64 80
  %11 = load ptr, ptr %10, align 8, !tbaa !10
  %12 = getelementptr inbounds i8, ptr %11, i64 240
  %13 = getelementptr inbounds i8, ptr %1, i64 64
  br label %14

14:                                               ; preds = %.lr.ph, %20
  %15 = phi i32 [ %9, %.lr.ph ], [ %26, %20 ]
  %.03042 = phi ptr [ %0, %.lr.ph ], [ %29, %20 ]
  %.03341 = phi i32 [ 0, %.lr.ph ], [ %27, %20 ]
  %16 = load i32, ptr %12, align 8, !tbaa !14
  %. = tail call i32 @llvm.umin.i32(i32 %15, i32 %16)
  %17 = tail call ptr @IScsiNewDataOutPdu(ptr noundef %.03042, i32 noundef %., i32 noundef %.03341, ptr noundef nonnull %1, i64 noundef %2)
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  tail call void @IScsiFreeNbufList(ptr noundef nonnull %4)
  br label %37

20:                                               ; preds = %14
  %21 = getelementptr inbounds i8, ptr %17, i64 16
  %22 = tail call ptr @InsertTailList(ptr noundef nonnull %4, ptr noundef nonnull %21) #3
  %23 = load i32, ptr %13, align 4, !tbaa !23
  %24 = add i32 %23, %.
  store i32 %24, ptr %13, align 4, !tbaa !23
  %25 = load i32, ptr %8, align 4, !tbaa !5
  %26 = sub i32 %25, %.
  store i32 %26, ptr %8, align 4, !tbaa !5
  %27 = add i32 %.03341, 1
  %28 = zext i32 %. to i64
  %29 = getelementptr inbounds i8, ptr %.03042, i64 %28
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %._crit_edge, label %14, !llvm.loop !24

._crit_edge:                                      ; preds = %20, %6
  %.032.lcssa = phi ptr [ null, %6 ], [ %17, %20 ]
  %30 = tail call ptr @NetbufGetByte(ptr noundef %.032.lcssa, i32 noundef 0, ptr noundef null) #3
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %._crit_edge
  tail call void @IScsiFreeNbufList(ptr noundef nonnull %4)
  br label %37

33:                                               ; preds = %._crit_edge
  %34 = getelementptr inbounds i8, ptr %30, i64 1
  %35 = load i8, ptr %34, align 1, !tbaa !26
  %36 = or i8 %35, -128
  store i8 %36, ptr %34, align 1, !tbaa !26
  br label %37

37:                                               ; preds = %19, %32, %33, %3
  %.0 = phi ptr [ null, %3 ], [ null, %19 ], [ null, %32 ], [ %4, %33 ]
  ret ptr %.0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 8}
!6 = !{!"_ISCSI_XFER_CONTEXT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 80}
!11 = !{!"_ISCSI_TCB", !12, i64 0, !8, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !7, i64 28, !7, i64 32, !13, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !6, i64 60, !13, i64 80}
!12 = !{!"_LIST_ENTRY", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 240}
!15 = !{!"_ISCSI_CONNECTION", !7, i64 0, !12, i64 8, !13, i64 24, !13, i64 32, !8, i64 40, !8, i64 41, !8, i64 42, !8, i64 43, !8, i64 44, !8, i64 45, !8, i64 46, !16, i64 48, !7, i64 52, !17, i64 56, !19, i64 112, !7, i64 240, !7, i64 244, !7, i64 248}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !7, i64 0, !18, i64 8, !12, i64 16, !12, i64 32, !7, i64 48, !7, i64 52}
!18 = !{!"long long", !8, i64 0}
!19 = !{!"_TCP4_IO", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !20, i64 32, !22, i64 48, !22, i64 72, !22, i64 96, !8, i64 120, !8, i64 121, !8, i64 122, !8, i64 123}
!20 = !{!"", !21, i64 0}
!21 = !{!"", !13, i64 0, !18, i64 8}
!22 = !{!"", !21, i64 0, !8, i64 16}
!23 = !{!6, !7, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !8, i64 1}
!27 = !{!"_ISCSI_BASIC_HEADER", !8, i64 0, !8, i64 1, !16, i64 2, !8, i64 4, !8, i64 5, !8, i64 8, !7, i64 16, !8, i64 20}


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