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

; 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.UDP_END_POINT = type { %union.EFI_IP_ADDRESS, i16, %union.EFI_IP_ADDRESS, i16 }
%union.EFI_IP_ADDRESS = type { [4 x i32] }
%struct._MTFTP4_PROTOCOL = type { i32, %struct._LIST_ENTRY, %struct._EFI_MTFTP4_PROTOCOL, i64, i8, ptr, ptr, %struct.EFI_MTFTP4_CONFIG_DATA, ptr, %struct.MTFTP4_OPTION, i16, i16, i16, %struct._LIST_ENTRY, i32, i16, i16, i32, ptr, ptr, i32, i32, i32, i32, i32, i16, i8, ptr }
%struct._EFI_MTFTP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_MTFTP4_CONFIG_DATA = type { i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, i16, i16 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct.MTFTP4_OPTION = type { i16, i8, i32, i32, i16, i8, i32 }
%struct._LIST_ENTRY = type { ptr, ptr }
%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 }

@.str.1 = external hidden unnamed_addr constant [158 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 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

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

declare zeroext i8 @DebugAssertEnabled() #1

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) #1

; Function Attrs: nounwind uwtable
define dso_local i64 @Mtftp4SendPacket(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.UDP_END_POINT, align 4
  %6 = alloca i64, align 8
  %7 = alloca i16, align 2
  %8 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %9, i32 0, i32 19
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %17

13:                                               ; preds = %2
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %14, i32 0, i32 19
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  call void @NetbufFree(ptr noundef %16)
  br label %17

17:                                               ; preds = %13, %2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %19, i32 0, i32 19
  store ptr %18, ptr %20, align 8, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %21, i32 0, i32 21
  store i32 0, ptr %22, align 4, !tbaa !19
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Mtftp4SetTimeout(ptr noundef %23)
  %24 = call ptr @ZeroMem(ptr noundef %5, i64 noundef 40)
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %25, i32 0, i32 14
  %27 = load i32, ptr %26, align 8, !tbaa !20
  %28 = getelementptr inbounds %struct.UDP_END_POINT, ptr %5, i32 0, i32 2
  %29 = getelementptr inbounds [4 x i32], ptr %28, i64 0, i64 0
  store i32 %27, ptr %29, align 4, !tbaa !21
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = call ptr @NetbufGetByte(ptr noundef %30, i32 noundef 0, ptr noundef null)
  store ptr %31, ptr %8, align 8, !tbaa !5
  br label %32

32:                                               ; preds = %17
  %33 = call zeroext i8 @DebugAssertEnabled()
  %34 = icmp ne i8 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %32
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 468, ptr noundef @.str.4)
  br label %39

39:                                               ; preds = %38, %35
  br label %40

40:                                               ; preds = %39, %32
  br label %41

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load i16, ptr %43, align 2, !tbaa !22
  %45 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %44)
  store i16 %45, ptr %7, align 2, !tbaa !22
  %46 = load i16, ptr %7, align 2, !tbaa !22
  %47 = zext i16 %46 to i32
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %57, label %49

49:                                               ; preds = %42
  %50 = load i16, ptr %7, align 2, !tbaa !22
  %51 = zext i16 %50 to i32
  %52 = icmp eq i32 %51, 7
  br i1 %52, label %57, label %53

53:                                               ; preds = %49
  %54 = load i16, ptr %7, align 2, !tbaa !22
  %55 = zext i16 %54 to i32
  %56 = icmp eq i32 %55, 2
  br i1 %56, label %57, label %62

57:                                               ; preds = %53, %49, %42
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %58, i32 0, i32 15
  %60 = load i16, ptr %59, align 4, !tbaa !23
  %61 = getelementptr inbounds %struct.UDP_END_POINT, ptr %5, i32 0, i32 3
  store i16 %60, ptr %61, align 4, !tbaa !24
  br label %67

62:                                               ; preds = %53
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %63, i32 0, i32 16
  %65 = load i16, ptr %64, align 2, !tbaa !26
  %66 = getelementptr inbounds %struct.UDP_END_POINT, ptr %5, i32 0, i32 3
  store i16 %65, ptr %66, align 4, !tbaa !24
  br label %67

67:                                               ; preds = %62, %57
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.NET_BUF, ptr %68, i32 0, i32 1
  %70 = load i64, ptr %69, align 8, !tbaa !27
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %69, align 8, !tbaa !27
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._MTFTP4_PROTOCOL, ptr %72, i32 0, i32 18
  %74 = load ptr, ptr %73, align 8, !tbaa !29
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = call i64 @UdpIoSendDatagram(ptr noundef %74, ptr noundef %75, ptr noundef %5, ptr noundef null, ptr noundef @Mtftp4OnPacketSent, ptr noundef %76)
  store i64 %77, ptr %6, align 8, !tbaa !30
  %78 = load i64, ptr %6, align 8, !tbaa !30
  %79 = icmp slt i64 %78, 0
  br i1 %79, label %80, label %85

80:                                               ; preds = %67
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.NET_BUF, ptr %81, i32 0, i32 1
  %83 = load i64, ptr %82, align 8, !tbaa !27
  %84 = add nsw i64 %83, -1
  store i64 %84, ptr %82, align 8, !tbaa !27
  br label %85

85:                                               ; preds = %80, %67
  %86 = load i64, ptr %6, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #3
  ret i64 %86
}

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

declare void @NetbufFree(ptr noundef) #1

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) #1

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

declare i64 @UdpIoSendDatagram(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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, !6, i64 232}
!10 = !{!"_MTFTP4_PROTOCOL", !11, i64 0, !12, i64 8, !13, i64 24, !14, i64 88, !7, i64 96, !6, i64 104, !6, i64 112, !15, i64 120, !6, i64 152, !18, i64 160, !17, i64 180, !17, i64 182, !17, i64 184, !12, i64 192, !11, i64 208, !17, i64 212, !17, i64 214, !11, i64 216, !6, i64 224, !6, i64 232, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !17, i64 260, !7, i64 262, !6, i64 264}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"_EFI_MTFTP4_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"", !7, i64 0, !16, i64 1, !16, i64 5, !17, i64 10, !16, i64 12, !16, i64 16, !17, i64 20, !17, i64 22, !17, i64 24}
!16 = !{!"", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"", !17, i64 0, !7, i64 2, !11, i64 4, !11, i64 8, !17, i64 12, !7, i64 14, !11, i64 16}
!19 = !{!10, !11, i64 244}
!20 = !{!10, !11, i64 208}
!21 = !{!7, !7, i64 0}
!22 = !{!17, !17, i64 0}
!23 = !{!10, !17, i64 212}
!24 = !{!25, !17, i64 36}
!25 = !{!"", !7, i64 0, !17, i64 16, !7, i64 20, !17, i64 36}
!26 = !{!10, !17, i64 214}
!27 = !{!28, !14, i64 8}
!28 = !{!"", !11, i64 0, !14, i64 8, !12, i64 16, !7, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !6, i64 120, !11, i64 128, !11, i64 132, !7, i64 136}
!29 = !{!10, !6, i64 224}
!30 = !{!14, !14, i64 0}


; 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.UDP_END_POINT = type { %union.EFI_IP_ADDRESS, i16, %union.EFI_IP_ADDRESS, i16 }
%union.EFI_IP_ADDRESS = type { [4 x i32] }

@.str.1 = external hidden unnamed_addr constant [158 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@switch.table.Mtftp4SendPacket = private unnamed_addr constant [7 x i64] [i64 212, i64 212, i64 214, i64 214, i64 214, i64 214, i64 212], align 8

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

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i64 @Mtftp4SendPacket(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.UDP_END_POINT, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
  %4 = getelementptr inbounds i8, ptr %0, i64 232
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %7, label %6

6:                                                ; preds = %2
  tail call void @NetbufFree(ptr noundef nonnull %5) #3
  br label %7

7:                                                ; preds = %6, %2
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 244
  store i32 0, ptr %8, align 4, !tbaa !18
  tail call void @Mtftp4SetTimeout(ptr noundef nonnull %0)
  %9 = call ptr @ZeroMem(ptr noundef nonnull %3, i64 noundef 40) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 208
  %11 = load i32, ptr %10, align 8, !tbaa !19
  %12 = getelementptr inbounds i8, ptr %3, i64 20
  store i32 %11, ptr %12, align 4, !tbaa !20
  %13 = call ptr @NetbufGetByte(ptr noundef %1, i32 noundef 0, ptr noundef null) #3
  %14 = call zeroext i8 @DebugAssertEnabled() #3
  %15 = icmp eq i8 %14, 0
  %16 = icmp ne ptr %13, null
  %or.cond7 = select i1 %15, i1 true, i1 %16
  br i1 %or.cond7, label %18, label %17

17:                                               ; preds = %7
  call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 468, ptr noundef nonnull @.str.4) #3
  br label %18

18:                                               ; preds = %17, %7
  %19 = load i16, ptr %13, align 2, !tbaa !21
  %20 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %19) #3
  %switch.tableidx = add i16 %20, -1
  %21 = icmp ult i16 %switch.tableidx, 7
  br i1 %21, label %switch.lookup, label %23

switch.lookup:                                    ; preds = %18
  %22 = zext nneg i16 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [7 x i64], ptr @switch.table.Mtftp4SendPacket, i64 0, i64 %22
  %switch.load = load i64, ptr %switch.gep, align 8
  br label %23

23:                                               ; preds = %18, %switch.lookup
  %.sink29 = phi i64 [ %switch.load, %switch.lookup ], [ 214, %18 ]
  %24 = getelementptr inbounds i8, ptr %0, i64 %.sink29
  %.sink = load i16, ptr %24, align 2, !tbaa !21
  %25 = getelementptr inbounds i8, ptr %3, i64 36
  store i16 %.sink, ptr %25, align 4, !tbaa !22
  %26 = getelementptr inbounds i8, ptr %1, i64 8
  %27 = load i64, ptr %26, align 8, !tbaa !24
  %28 = add nsw i64 %27, 1
  store i64 %28, ptr %26, align 8, !tbaa !24
  %29 = getelementptr inbounds i8, ptr %0, i64 224
  %30 = load ptr, ptr %29, align 8, !tbaa !26
  %31 = call i64 @UdpIoSendDatagram(ptr noundef %30, ptr noundef %1, ptr noundef nonnull %3, ptr noundef null, ptr noundef nonnull @Mtftp4OnPacketSent, ptr noundef nonnull %0) #3
  %32 = icmp slt i64 %31, 0
  br i1 %32, label %33, label %36

33:                                               ; preds = %23
  %34 = load i64, ptr %26, align 8, !tbaa !24
  %35 = add nsw i64 %34, -1
  store i64 %35, ptr %26, align 8, !tbaa !24
  br label %36

36:                                               ; preds = %33, %23
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
  ret i64 %31
}

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

declare void @NetbufFree(ptr noundef) local_unnamed_addr #1

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare i64 @UdpIoSendDatagram(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress 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, !11, i64 232}
!6 = !{!"_MTFTP4_PROTOCOL", !7, i64 0, !10, i64 8, !12, i64 24, !13, i64 88, !8, i64 96, !11, i64 104, !11, i64 112, !14, i64 120, !11, i64 152, !17, i64 160, !16, i64 180, !16, i64 182, !16, i64 184, !10, i64 192, !7, i64 208, !16, i64 212, !16, i64 214, !7, i64 216, !11, i64 224, !11, i64 232, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !16, i64 260, !8, i64 262, !11, i64 264}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_EFI_MTFTP4_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!13 = !{!"long long", !8, i64 0}
!14 = !{!"", !8, i64 0, !15, i64 1, !15, i64 5, !16, i64 10, !15, i64 12, !15, i64 16, !16, i64 20, !16, i64 22, !16, i64 24}
!15 = !{!"", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !16, i64 0, !8, i64 2, !7, i64 4, !7, i64 8, !16, i64 12, !8, i64 14, !7, i64 16}
!18 = !{!6, !7, i64 244}
!19 = !{!6, !7, i64 208}
!20 = !{!8, !8, i64 0}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !16, i64 36}
!23 = !{!"", !8, i64 0, !16, i64 16, !8, i64 20, !16, i64 36}
!24 = !{!25, !13, i64 8}
!25 = !{!"", !7, i64 0, !13, i64 8, !10, i64 16, !8, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !11, i64 120, !7, i64 128, !7, i64 132, !8, i64 136}
!26 = !{!6, !11, i64 224}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass