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

; 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_COMPONENT_NAME_PROTOCOL = type { ptr, ptr, ptr }
%struct._EFI_COMPONENT_NAME2_PROTOCOL = type { ptr, ptr, ptr }
%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] }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@gSimpleNetworkComponentName = external dso_local global %struct._EFI_COMPONENT_NAME_PROTOCOL, align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@gSimpleNetworkComponentName2 = external dso_local global %struct._EFI_COMPONENT_NAME2_PROTOCOL, align 8
@gSimpleNetworkControllerNameTable = external dso_local global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.5 = external hidden unnamed_addr constant [6 x i32], align 4
@.str.6 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i32], align 4

; Function Attrs: nounwind uwtable
define dso_local i64 @UpdateName(ptr noundef %0) #0 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca [80 x i16], align 16
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 160, 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
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  store i64 -9223372036854775806, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %88

12:                                               ; preds = %1
  store i64 0, ptr %6, align 8, !tbaa !9
  %13 = getelementptr inbounds [80 x i16], ptr %5, i64 0, i64 0
  %14 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef %13, i64 noundef 160, ptr noundef @.str.4)
  %15 = load i64, ptr %6, align 8, !tbaa !9
  %16 = add i64 %15, %14
  store i64 %16, ptr %6, align 8, !tbaa !9
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %17

17:                                               ; preds = %45, %12
  %18 = load i64, ptr %7, align 8, !tbaa !9
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %19, i32 0, i32 15
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %21, i32 0, i32 1
  %23 = load i32, ptr %22, align 4, !tbaa !13
  %24 = zext i32 %23 to i64
  %25 = icmp ult i64 %18, %24
  br i1 %25, label %26, label %48

26:                                               ; preds = %17
  %27 = getelementptr inbounds [80 x i16], ptr %5, i64 0, i64 0
  %28 = load i64, ptr %6, align 8, !tbaa !9
  %29 = getelementptr inbounds i16, ptr %27, i64 %28
  %30 = load i64, ptr %6, align 8, !tbaa !9
  %31 = mul i64 %30, 2
  %32 = sub i64 160, %31
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %33, i32 0, i32 15
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %35, i32 0, i32 11
  %37 = getelementptr inbounds %struct.EFI_MAC_ADDRESS, ptr %36, i32 0, i32 0
  %38 = load i64, ptr %7, align 8, !tbaa !9
  %39 = getelementptr inbounds [32 x i8], ptr %37, i64 0, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !17
  %41 = zext i8 %40 to i32
  %42 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef %29, i64 noundef %32, ptr noundef @.str.5, i32 noundef %41)
  %43 = load i64, ptr %6, align 8, !tbaa !9
  %44 = add i64 %43, %42
  store i64 %44, ptr %6, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %26
  %46 = load i64, ptr %7, align 8, !tbaa !9
  %47 = add i64 %46, 1
  store i64 %47, ptr %7, align 8, !tbaa !9
  br label %17, !llvm.loop !18

48:                                               ; preds = %17
  br label %49

49:                                               ; preds = %48
  %50 = call zeroext i8 @DebugAssertEnabled()
  %51 = icmp ne i8 %50, 0
  br i1 %51, label %52, label %57

52:                                               ; preds = %49
  %53 = load i64, ptr %6, align 8, !tbaa !9
  %54 = icmp ugt i64 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %52
  call void @DebugAssert(ptr noundef @.str.6, i64 noundef 274, ptr noundef @.str.7)
  br label %56

56:                                               ; preds = %55, %52
  br label %57

57:                                               ; preds = %56, %49
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  %60 = load i64, ptr %6, align 8, !tbaa !9
  %61 = add i64 %60, -1
  store i64 %61, ptr %6, align 8, !tbaa !9
  %62 = getelementptr inbounds [80 x i16], ptr %5, i64 0, i64 0
  %63 = load i64, ptr %6, align 8, !tbaa !9
  %64 = getelementptr inbounds i16, ptr %62, i64 %63
  %65 = load i64, ptr %6, align 8, !tbaa !9
  %66 = mul i64 %65, 2
  %67 = sub i64 160, %66
  %68 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef %64, i64 noundef %67, ptr noundef @.str.8)
  %69 = load i64, ptr %6, align 8, !tbaa !9
  %70 = add i64 %69, %68
  store i64 %70, ptr %6, align 8, !tbaa !9
  %71 = load ptr, ptr @gSimpleNetworkControllerNameTable, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %76

73:                                               ; preds = %59
  %74 = load ptr, ptr @gSimpleNetworkControllerNameTable, align 8, !tbaa !5
  %75 = call i64 @FreeUnicodeStringTable(ptr noundef %74)
  store ptr null, ptr @gSimpleNetworkControllerNameTable, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %73, %59
  %77 = load ptr, ptr getelementptr inbounds (%struct._EFI_COMPONENT_NAME_PROTOCOL, ptr @gSimpleNetworkComponentName, i32 0, i32 2), align 8, !tbaa !20
  %78 = getelementptr inbounds [80 x i16], ptr %5, i64 0, i64 0
  %79 = call i64 @AddUnicodeString2(ptr noundef @.str, ptr noundef %77, ptr noundef @gSimpleNetworkControllerNameTable, ptr noundef %78, i8 noundef zeroext 1)
  store i64 %79, ptr %4, align 8, !tbaa !9
  %80 = load i64, ptr %4, align 8, !tbaa !9
  %81 = icmp slt i64 %80, 0
  br i1 %81, label %82, label %84

82:                                               ; preds = %76
  %83 = load i64, ptr %4, align 8, !tbaa !9
  store i64 %83, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %88

84:                                               ; preds = %76
  %85 = load ptr, ptr getelementptr inbounds (%struct._EFI_COMPONENT_NAME2_PROTOCOL, ptr @gSimpleNetworkComponentName2, i32 0, i32 2), align 8, !tbaa !22
  %86 = getelementptr inbounds [80 x i16], ptr %5, i64 0, i64 0
  %87 = call i64 @AddUnicodeString2(ptr noundef @.str.1, ptr noundef %85, ptr noundef @gSimpleNetworkControllerNameTable, ptr noundef %86, i8 noundef zeroext 0)
  store i64 %87, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %88

88:                                               ; preds = %84, %82, %11
  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 160, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %89 = load i64, ptr %2, align 8
  ret i64 %89
}

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

declare i64 @UnicodeSPrint(ptr noundef, i64 noundef, ptr noundef, ...) #2

declare zeroext i8 @DebugAssertEnabled() #2

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

declare i64 @FreeUnicodeStringTable(ptr noundef) #2

declare i64 @AddUnicodeString2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !6, i64 120}
!12 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !10, 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}
!13 = !{!14, !15, i64 4}
!14 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !7, i64 40, !16, i64 552, !16, i64 584, !16, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!15 = !{!"int", !7, i64 0}
!16 = !{!"", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !6, i64 16}
!21 = !{!"_EFI_COMPONENT_NAME_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!23, !6, i64 16}
!23 = !{!"_EFI_COMPONENT_NAME2_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}


; 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._EFI_COMPONENT_NAME_PROTOCOL = type { ptr, ptr, ptr }
%struct._EFI_COMPONENT_NAME2_PROTOCOL = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@gSimpleNetworkComponentName = external dso_local local_unnamed_addr global %struct._EFI_COMPONENT_NAME_PROTOCOL, align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@gSimpleNetworkComponentName2 = external dso_local local_unnamed_addr global %struct._EFI_COMPONENT_NAME2_PROTOCOL, align 8
@gSimpleNetworkControllerNameTable = external dso_local global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.5 = external hidden unnamed_addr constant [6 x i32], align 4
@.str.6 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i32], align 4

; Function Attrs: nounwind uwtable
define dso_local i64 @UpdateName(ptr noundef readonly %0) local_unnamed_addr #0 {
  %2 = alloca [80 x i16], align 16
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %2) #3
  %3 = icmp eq ptr %0, null
  br i1 %3, label %46, label %4

4:                                                ; preds = %1
  %5 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef nonnull %2, i64 noundef 160, ptr noundef nonnull @.str.4) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 120
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !11
  %.not25 = icmp eq i32 %9, 0
  br i1 %.not25, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4, %.lr.ph
  %10 = phi ptr [ %21, %.lr.ph ], [ %7, %4 ]
  %.024 = phi i64 [ %20, %.lr.ph ], [ 0, %4 ]
  %.01823 = phi i64 [ %19, %.lr.ph ], [ %5, %4 ]
  %11 = getelementptr inbounds i16, ptr %2, i64 %.01823
  %12 = shl i64 %.01823, 1
  %13 = sub i64 160, %12
  %14 = getelementptr inbounds i8, ptr %10, i64 552
  %15 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 %.024
  %16 = load i8, ptr %15, align 1, !tbaa !15
  %17 = zext i8 %16 to i32
  %18 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef nonnull %11, i64 noundef %13, ptr noundef nonnull @.str.5, i32 noundef %17) #3
  %19 = add i64 %18, %.01823
  %20 = add nuw nsw i64 %.024, 1
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !11
  %24 = zext i32 %23 to i64
  %25 = icmp ult i64 %20, %24
  br i1 %25, label %.lr.ph, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph, %4
  %.018.lcssa = phi i64 [ %5, %4 ], [ %19, %.lr.ph ]
  %26 = call zeroext i8 @DebugAssertEnabled() #3
  %27 = icmp eq i8 %26, 0
  %28 = icmp ne i64 %.018.lcssa, 0
  %or.cond = select i1 %27, i1 true, i1 %28
  br i1 %or.cond, label %30, label %29

29:                                               ; preds = %._crit_edge
  call void @DebugAssert(ptr noundef nonnull @.str.6, i64 noundef 274, ptr noundef nonnull @.str.7) #3
  br label %30

30:                                               ; preds = %29, %._crit_edge
  %31 = add i64 %.018.lcssa, -1
  %32 = getelementptr inbounds i16, ptr %2, i64 %31
  %33 = shl i64 %31, 1
  %34 = sub i64 160, %33
  %35 = call i64 (ptr, i64, ptr, ...) @UnicodeSPrint(ptr noundef nonnull %32, i64 noundef %34, ptr noundef nonnull @.str.8) #3
  %36 = load ptr, ptr @gSimpleNetworkControllerNameTable, align 8, !tbaa !18
  %.not = icmp eq ptr %36, null
  br i1 %.not, label %39, label %37

37:                                               ; preds = %30
  %38 = call i64 @FreeUnicodeStringTable(ptr noundef nonnull %36) #3
  store ptr null, ptr @gSimpleNetworkControllerNameTable, align 8, !tbaa !18
  br label %39

39:                                               ; preds = %37, %30
  %40 = load ptr, ptr getelementptr inbounds (i8, ptr @gSimpleNetworkComponentName, i64 16), align 8, !tbaa !19
  %41 = call i64 @AddUnicodeString2(ptr noundef nonnull @.str, ptr noundef %40, ptr noundef nonnull @gSimpleNetworkControllerNameTable, ptr noundef nonnull %2, i8 noundef zeroext 1) #3
  %42 = icmp slt i64 %41, 0
  br i1 %42, label %46, label %43

43:                                               ; preds = %39
  %44 = load ptr, ptr getelementptr inbounds (i8, ptr @gSimpleNetworkComponentName2, i64 16), align 8, !tbaa !21
  %45 = call i64 @AddUnicodeString2(ptr noundef nonnull @.str.1, ptr noundef %44, ptr noundef nonnull @gSimpleNetworkControllerNameTable, ptr noundef nonnull %2, i8 noundef zeroext 0) #3
  br label %46

46:                                               ; preds = %39, %1, %43
  %.019 = phi i64 [ %45, %43 ], [ -9223372036854775806, %1 ], [ %41, %39 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %2) #3
  ret i64 %.019
}

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

declare i64 @UnicodeSPrint(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #2

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

declare i64 @FreeUnicodeStringTable(ptr noundef) local_unnamed_addr #2

declare i64 @AddUnicodeString2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress 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, !10, i64 120}
!6 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !7, i64 0, !10, i64 8, !10, i64 16, !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}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"", !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, !8, i64 40, !14, i64 552, !14, i64 584, !14, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!13 = !{!"int", !8, i64 0}
!14 = !{!"", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !10, i64 16}
!20 = !{!"_EFI_COMPONENT_NAME_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16}
!21 = !{!22, !10, i64 16}
!22 = !{!"_EFI_COMPONENT_NAME2_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16}


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