; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/Bus/Usb (Reset)

; 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.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 }
%struct._EFI_SIMPLE_NETWORK_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.NIC_DEVICE = type { i64, ptr, ptr, %struct._EFI_SIMPLE_NETWORK_PROTOCOL, %struct._EFI_SIMPLE_NETWORK_PROTOCOL, %struct.EFI_SIMPLE_NETWORK_MODE, i8, ptr, i16, i8, i8, i8, i8, i64, i64, i16, ptr, ptr, [8 x i8], %struct.EFI_MAC_ADDRESS, i8, ptr, ptr, ptr, ptr, ptr, i64, ptr }

@.str = external hidden unnamed_addr constant [161 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i64 @ReceiveFilterUpdate(ptr noundef) #0

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

declare zeroext i8 @DebugAssertEnabled() #2

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @SN_Reset(ptr noundef %0, i8 noundef zeroext %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i8 %1, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %9 = load ptr, ptr @gBS, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %9, i32 0, i32 1
  %11 = load ptr, ptr %10, align 8, !tbaa !10
  %12 = call i64 %11(i64 noundef 8)
  store i64 %12, ptr %8, align 8, !tbaa !15
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = icmp ne ptr null, %13
  br i1 %14, label %15, label %83

15:                                               ; preds = %2
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %16, i32 0, i32 15
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = icmp ne ptr null, %18
  br i1 %19, label %20, label %83

20:                                               ; preds = %15
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %21, i32 0, i32 15
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  store ptr %23, ptr %5, align 8, !tbaa !5
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 4, !tbaa !18
  %27 = icmp eq i32 2, %26
  br i1 %27, label %28, label %74

28:                                               ; preds = %20
  %29 = call zeroext i8 @DebugAssertEnabled()
  %30 = zext i8 %29 to i32
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %42

32:                                               ; preds = %28
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = ptrtoint ptr %33 to i64
  %35 = sub i64 %34, ptrtoint (ptr getelementptr inbounds (%struct.NIC_DEVICE, ptr null, i32 0, i32 3) to i64)
  %36 = inttoptr i64 %35 to ptr
  %37 = getelementptr inbounds %struct.NIC_DEVICE, ptr %36, i32 0, i32 0
  %38 = load i64, ptr %37, align 8, !tbaa !21
  %39 = icmp ne i64 %38, 943216705
  br i1 %39, label %40, label %42

40:                                               ; preds = %32
  call void @DebugAssert(ptr noundef @.str, i64 noundef 848, ptr noundef @.str.1)
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  br label %47

42:                                               ; preds = %32, %28
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = ptrtoint ptr %43 to i64
  %45 = sub i64 %44, ptrtoint (ptr getelementptr inbounds (%struct.NIC_DEVICE, ptr null, i32 0, i32 3) to i64)
  %46 = inttoptr i64 %45 to ptr
  br label %47

47:                                               ; preds = %42, %40
  %48 = phi ptr [ %41, %40 ], [ %46, %42 ]
  store ptr %48, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.NIC_DEVICE, ptr %49, i32 0, i32 10
  store i8 0, ptr %50, align 1, !tbaa !24
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.NIC_DEVICE, ptr %51, i32 0, i32 12
  store i8 0, ptr %52, align 1, !tbaa !25
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.NIC_DEVICE, ptr %53, i32 0, i32 20
  store i8 0, ptr %54, align 8, !tbaa !26
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %55, i32 0, i32 15
  %57 = load ptr, ptr %56, align 8, !tbaa !16
  store ptr %57, ptr %5, align 8, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %58, i32 0, i32 18
  store i8 0, ptr %59, align 4, !tbaa !27
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = call i64 @Ax88772Reset(ptr noundef %60)
  store i64 %61, ptr %7, align 8, !tbaa !15
  %62 = load i64, ptr %7, align 8, !tbaa !15
  %63 = icmp slt i64 %62, 0
  br i1 %63, label %73, label %64

64:                                               ; preds = %47
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = call i64 @ReceiveFilterUpdate(ptr noundef %65)
  store i64 %66, ptr %7, align 8, !tbaa !15
  %67 = load i64, ptr %7, align 8, !tbaa !15
  %68 = icmp slt i64 %67, 0
  br i1 %68, label %72, label %69

69:                                               ; preds = %64
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = call i64 @Ax88772NegotiateLinkStart(ptr noundef %70)
  store i64 %71, ptr %7, align 8, !tbaa !15
  br label %72

72:                                               ; preds = %69, %64
  br label %73

73:                                               ; preds = %72, %47
  br label %82

74:                                               ; preds = %20
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %75, i32 0, i32 0
  %77 = load i32, ptr %76, align 4, !tbaa !18
  %78 = icmp eq i32 1, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %74
  store i64 -9223372036854775801, ptr %7, align 8, !tbaa !15
  br label %81

80:                                               ; preds = %74
  store i64 -9223372036854775789, ptr %7, align 8, !tbaa !15
  br label %81

81:                                               ; preds = %80, %79
  br label %82

82:                                               ; preds = %81, %73
  br label %84

83:                                               ; preds = %15, %2
  store i64 -9223372036854775806, ptr %7, align 8, !tbaa !15
  br label %84

84:                                               ; preds = %83, %82
  %85 = load ptr, ptr @gBS, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !28
  %88 = load i64, ptr %8, align 8, !tbaa !15
  call void %87(i64 noundef %88)
  %89 = load i64, ptr %7, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i64 %89
}

declare i64 @Ax88772Reset(ptr noundef) #2

declare i64 @Ax88772NegotiateLinkStart(ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 24}
!11 = !{!"", !12, 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}
!12 = !{!"", !13, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !6, i64 120}
!17 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !13, i64 0, !6, i64 8, !6, i64 16, !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}
!18 = !{!19, !14, i64 0}
!19 = !{!"", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !7, i64 40, !20, i64 552, !20, i64 584, !20, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!20 = !{!"", !7, i64 0}
!21 = !{!22, !13, i64 0}
!22 = !{!"", !13, i64 0, !6, i64 8, !6, i64 16, !17, i64 24, !17, i64 152, !19, i64 280, !7, i64 936, !6, i64 944, !23, i64 952, !7, i64 954, !7, i64 955, !7, i64 956, !7, i64 957, !13, i64 960, !13, i64 968, !23, i64 976, !6, i64 984, !6, i64 992, !7, i64 1000, !20, i64 1008, !7, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !13, i64 1088, !6, i64 1096}
!23 = !{!"short", !7, i64 0}
!24 = !{!22, !7, i64 955}
!25 = !{!22, !7, i64 957}
!26 = !{!22, !7, i64 1040}
!27 = !{!19, !7, i64 652}
!28 = !{!11, !6, i64 32}


; 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 [161 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i64 @ReceiveFilterUpdate(ptr noundef) local_unnamed_addr #0

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i64 @SN_Reset(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr @gBS, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 24
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %6 = tail call i64 %5(i64 noundef 8) #2
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %31, label %7

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 120
  %9 = load ptr, ptr %8, align 8, !tbaa !14
  %.not24 = icmp eq ptr %9, null
  br i1 %.not24, label %31, label %10

10:                                               ; preds = %7
  %11 = load i32, ptr %9, align 4, !tbaa !16
  switch i32 %11, label %30 [
    i32 2, label %12
    i32 1, label %31
  ]

12:                                               ; preds = %10
  %13 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not25 = icmp eq i8 %13, 0
  %.pre = ptrtoint ptr %0 to i64
  %.pre27 = add i64 %.pre, -24
  %.pre29 = inttoptr i64 %.pre27 to ptr
  br i1 %.not25, label %._crit_edge, label %14

14:                                               ; preds = %12
  %15 = load i64, ptr %.pre29, align 8, !tbaa !19
  %.not26 = icmp eq i64 %15, 943216705
  br i1 %.not26, label %._crit_edge, label %16

16:                                               ; preds = %14
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 848, ptr noundef nonnull @.str.1) #2
  br label %._crit_edge

._crit_edge:                                      ; preds = %12, %14, %16
  %17 = phi ptr [ %0, %16 ], [ %.pre29, %14 ], [ %.pre29, %12 ]
  %18 = getelementptr inbounds i8, ptr %17, i64 955
  store i8 0, ptr %18, align 1, !tbaa !22
  %19 = getelementptr inbounds i8, ptr %17, i64 957
  store i8 0, ptr %19, align 1, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %17, i64 1040
  store i8 0, ptr %20, align 8, !tbaa !24
  %21 = load ptr, ptr %8, align 8, !tbaa !14
  %22 = getelementptr inbounds i8, ptr %21, i64 652
  store i8 0, ptr %22, align 4, !tbaa !25
  %23 = tail call i64 @Ax88772Reset(ptr noundef %17) #2
  %24 = icmp slt i64 %23, 0
  br i1 %24, label %31, label %25

25:                                               ; preds = %._crit_edge
  %26 = tail call i64 @ReceiveFilterUpdate(ptr noundef nonnull %0)
  %27 = icmp slt i64 %26, 0
  br i1 %27, label %31, label %28

28:                                               ; preds = %25
  %29 = tail call i64 @Ax88772NegotiateLinkStart(ptr noundef nonnull %17) #2
  br label %31

30:                                               ; preds = %10
  br label %31

31:                                               ; preds = %2, %7, %10, %25, %28, %._crit_edge, %30
  %.0 = phi i64 [ %23, %._crit_edge ], [ %26, %25 ], [ %29, %28 ], [ -9223372036854775789, %30 ], [ -9223372036854775801, %10 ], [ -9223372036854775806, %7 ], [ -9223372036854775806, %2 ]
  %32 = load ptr, ptr @gBS, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 32
  %34 = load ptr, ptr %33, align 8, !tbaa !26
  tail call void %34(i64 noundef %6) #2
  ret i64 %.0
}

declare i64 @Ax88772Reset(ptr noundef) local_unnamed_addr #1

declare i64 @Ax88772NegotiateLinkStart(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 }

!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 24}
!10 = !{!"", !11, 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}
!11 = !{!"", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 120}
!15 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !12, i64 0, !6, i64 8, !6, i64 16, !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}
!16 = !{!17, !13, i64 0}
!17 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !7, i64 40, !18, i64 552, !18, i64 584, !18, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!18 = !{!"", !7, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"", !12, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 152, !17, i64 280, !7, i64 936, !6, i64 944, !21, i64 952, !7, i64 954, !7, i64 955, !7, i64 956, !7, i64 957, !12, i64 960, !12, i64 968, !21, i64 976, !6, i64 984, !6, i64 992, !7, i64 1000, !18, i64 1008, !7, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !12, i64 1088, !6, i64 1096}
!21 = !{!"short", !7, i64 0}
!22 = !{!20, !7, i64 955}
!23 = !{!20, !7, i64 957}
!24 = !{!20, !7, i64 1040}
!25 = !{!17, !7, i64 652}
!26 = !{!10, !6, i64 32}


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