; LLVM IR from cvra/robot-software :: lib/fatfs (ff)

; 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.FIL = type { ptr, i16, i8, i8, i64, i64, i64, i64, i64, i64, ptr, [512 x i8] }
%struct.FATFS = type { i8, i8, i8, i8, i8, i8, i16, i16, i64, i64, i64, i64, i64, i64, i64, i64, i64, [512 x i8] }

; Function Attrs: nounwind uwtable
declare dso_local i64 @get_fat(ptr noundef, i64 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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @remove_chain(ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @validate(ptr noundef) #0

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

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

9:                                                ; preds = %1
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.FIL, ptr %10, i32 0, i32 3
  %12 = load i8, ptr %11, align 1, !tbaa !11
  %13 = icmp ne i8 %12, 0
  br i1 %13, label %14, label %19

14:                                               ; preds = %9
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.FIL, ptr %15, i32 0, i32 3
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = zext i8 %17 to i32
  store i32 %18, ptr %3, align 4, !tbaa !9
  br label %28

19:                                               ; preds = %9
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.FIL, ptr %20, i32 0, i32 2
  %22 = load i8, ptr %21, align 2, !tbaa !15
  %23 = zext i8 %22 to i32
  %24 = and i32 %23, 2
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %19
  store i32 7, ptr %3, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %26, %19
  br label %28

28:                                               ; preds = %27, %14
  br label %29

29:                                               ; preds = %28, %1
  %30 = load i32, ptr %3, align 4, !tbaa !9
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %153

32:                                               ; preds = %29
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.FIL, ptr %33, i32 0, i32 5
  %35 = load i64, ptr %34, align 8, !tbaa !16
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.FIL, ptr %36, i32 0, i32 4
  %38 = load i64, ptr %37, align 8, !tbaa !17
  %39 = icmp ugt i64 %35, %38
  br i1 %39, label %40, label %144

40:                                               ; preds = %32
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.FIL, ptr %41, i32 0, i32 4
  %43 = load i64, ptr %42, align 8, !tbaa !17
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.FIL, ptr %44, i32 0, i32 5
  store i64 %43, ptr %45, align 8, !tbaa !16
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.FIL, ptr %46, i32 0, i32 2
  %48 = load i8, ptr %47, align 2, !tbaa !15
  %49 = zext i8 %48 to i32
  %50 = or i32 %49, 32
  %51 = trunc i32 %50 to i8
  store i8 %51, ptr %47, align 2, !tbaa !15
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.FIL, ptr %52, i32 0, i32 4
  %54 = load i64, ptr %53, align 8, !tbaa !17
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %56, label %66

56:                                               ; preds = %40
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.FIL, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.FIL, ptr %60, i32 0, i32 6
  %62 = load i64, ptr %61, align 8, !tbaa !19
  %63 = call i32 @remove_chain(ptr noundef %59, i64 noundef %62)
  store i32 %63, ptr %3, align 4, !tbaa !9
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.FIL, ptr %64, i32 0, i32 6
  store i64 0, ptr %65, align 8, !tbaa !19
  br label %110

66:                                               ; preds = %40
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.FIL, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !18
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.FIL, ptr %70, i32 0, i32 7
  %72 = load i64, ptr %71, align 8, !tbaa !20
  %73 = call i64 @get_fat(ptr noundef %69, i64 noundef %72)
  store i64 %73, ptr %4, align 8, !tbaa !21
  store i32 0, ptr %3, align 4, !tbaa !9
  %74 = load i64, ptr %4, align 8, !tbaa !21
  %75 = icmp eq i64 %74, 4294967295
  br i1 %75, label %76, label %77

76:                                               ; preds = %66
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %76, %66
  %78 = load i64, ptr %4, align 8, !tbaa !21
  %79 = icmp eq i64 %78, 1
  br i1 %79, label %80, label %81

80:                                               ; preds = %77
  store i32 2, ptr %3, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %80, %77
  %82 = load i32, ptr %3, align 4, !tbaa !9
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %109

84:                                               ; preds = %81
  %85 = load i64, ptr %4, align 8, !tbaa !21
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.FIL, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !18
  %89 = getelementptr inbounds %struct.FATFS, ptr %88, i32 0, i32 10
  %90 = load i64, ptr %89, align 8, !tbaa !22
  %91 = icmp ult i64 %85, %90
  br i1 %91, label %92, label %109

92:                                               ; preds = %84
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.FIL, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !18
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.FIL, ptr %96, i32 0, i32 7
  %98 = load i64, ptr %97, align 8, !tbaa !20
  %99 = call i32 @put_fat(ptr noundef %95, i64 noundef %98, i64 noundef 268435455)
  store i32 %99, ptr %3, align 4, !tbaa !9
  %100 = load i32, ptr %3, align 4, !tbaa !9
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %108

102:                                              ; preds = %92
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.FIL, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  %106 = load i64, ptr %4, align 8, !tbaa !21
  %107 = call i32 @remove_chain(ptr noundef %105, i64 noundef %106)
  store i32 %107, ptr %3, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %102, %92
  br label %109

109:                                              ; preds = %108, %84, %81
  br label %110

110:                                              ; preds = %109, %56
  %111 = load i32, ptr %3, align 4, !tbaa !9
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %143

113:                                              ; preds = %110
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.FIL, ptr %114, i32 0, i32 2
  %116 = load i8, ptr %115, align 2, !tbaa !15
  %117 = zext i8 %116 to i32
  %118 = and i32 %117, 64
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %143

120:                                              ; preds = %113
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.FIL, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = getelementptr inbounds %struct.FATFS, ptr %123, i32 0, i32 1
  %125 = load i8, ptr %124, align 1, !tbaa !24
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.FIL, ptr %126, i32 0, i32 11
  %128 = getelementptr inbounds [512 x i8], ptr %127, i64 0, i64 0
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.FIL, ptr %129, i32 0, i32 8
  %131 = load i64, ptr %130, align 8, !tbaa !25
  %132 = call i32 @disk_write(i8 noundef zeroext %125, ptr noundef %128, i64 noundef %131, i32 noundef 1)
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %135

134:                                              ; preds = %120
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %142

135:                                              ; preds = %120
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.FIL, ptr %136, i32 0, i32 2
  %138 = load i8, ptr %137, align 2, !tbaa !15
  %139 = zext i8 %138 to i32
  %140 = and i32 %139, -65
  %141 = trunc i32 %140 to i8
  store i8 %141, ptr %137, align 2, !tbaa !15
  br label %142

142:                                              ; preds = %135, %134
  br label %143

143:                                              ; preds = %142, %113, %110
  br label %144

144:                                              ; preds = %143, %32
  %145 = load i32, ptr %3, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %152

147:                                              ; preds = %144
  %148 = load i32, ptr %3, align 4, !tbaa !9
  %149 = trunc i32 %148 to i8
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.FIL, ptr %150, i32 0, i32 3
  store i8 %149, ptr %151, align 1, !tbaa !11
  br label %152

152:                                              ; preds = %147, %144
  br label %153

153:                                              ; preds = %152, %29
  %154 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret i32 %154
}

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 = !{!"int", !7, i64 0}
!11 = !{!12, !7, i64 11}
!12 = !{!"", !6, i64 0, !13, i64 8, !7, i64 10, !7, i64 11, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !6, i64 64, !7, i64 72}
!13 = !{!"short", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !7, i64 10}
!16 = !{!12, !14, i64 24}
!17 = !{!12, !14, i64 16}
!18 = !{!12, !6, i64 0}
!19 = !{!12, !14, i64 32}
!20 = !{!12, !14, i64 40}
!21 = !{!14, !14, i64 0}
!22 = !{!23, !14, i64 32}
!23 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !13, i64 6, !13, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !7, i64 88}
!24 = !{!23, !7, i64 1}
!25 = !{!12, !14, i64 48}


; 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"

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @remove_chain(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @validate(ptr noundef) local_unnamed_addr #0

declare i32 @disk_write(i8 noundef zeroext, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @f_truncate(ptr noundef %0) local_unnamed_addr #0 {
  %2 = tail call i32 @validate(ptr noundef %0)
  %3 = icmp eq i32 %2, 0
  br i1 %3, label %4, label %.thread

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 11
  %6 = load i8, ptr %5, align 1, !tbaa !5
  %.not = icmp eq i8 %6, 0
  br i1 %.not, label %9, label %7

7:                                                ; preds = %4
  %8 = zext i8 %6 to i32
  br label %.thread

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 10
  %11 = load i8, ptr %10, align 2, !tbaa !12
  %12 = and i8 %11, 2
  %.not43 = icmp eq i8 %12, 0
  br i1 %.not43, label %.thread, label %13

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load i64, ptr %14, align 8, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = load i64, ptr %16, align 8, !tbaa !14
  %18 = icmp ugt i64 %15, %17
  br i1 %18, label %19, label %.thread

19:                                               ; preds = %13
  store i64 %17, ptr %14, align 8, !tbaa !13
  %20 = or i8 %11, 32
  store i8 %20, ptr %10, align 2, !tbaa !12
  %21 = icmp eq i64 %17, 0
  %22 = load ptr, ptr %0, align 8, !tbaa !15
  br i1 %21, label %23, label %27

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %0, i64 32
  %25 = load i64, ptr %24, align 8, !tbaa !16
  %26 = tail call i32 @remove_chain(ptr noundef %22, i64 noundef %25)
  store i64 0, ptr %24, align 8, !tbaa !16
  br label %46

27:                                               ; preds = %19
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  %29 = load i64, ptr %28, align 8, !tbaa !17
  %30 = tail call i64 @get_fat(ptr noundef %22, i64 noundef %29)
  %31 = icmp eq i64 %30, 4294967295
  %spec.store.select = zext i1 %31 to i32
  %32 = icmp eq i64 %30, 1
  %spec.store.select1 = select i1 %32, i32 2, i32 %spec.store.select
  %33 = icmp eq i32 %spec.store.select1, 0
  br i1 %33, label %34, label %.thread49

34:                                               ; preds = %27
  %35 = load ptr, ptr %0, align 8, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  %37 = load i64, ptr %36, align 8, !tbaa !18
  %38 = icmp ult i64 %30, %37
  br i1 %38, label %39, label %.thread51

39:                                               ; preds = %34
  %40 = load i64, ptr %28, align 8, !tbaa !17
  %41 = tail call i32 @put_fat(ptr noundef nonnull %35, i64 noundef %40, i64 noundef 268435455)
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %.thread49

43:                                               ; preds = %39
  %44 = load ptr, ptr %0, align 8, !tbaa !15
  %45 = tail call i32 @remove_chain(ptr noundef %44, i64 noundef %30)
  br label %46

46:                                               ; preds = %43, %23
  %.1 = phi i32 [ %26, %23 ], [ %45, %43 ]
  %47 = icmp eq i32 %.1, 0
  br i1 %47, label %.thread51, label %.thread49

.thread51:                                        ; preds = %34, %46
  %48 = load i8, ptr %10, align 2, !tbaa !12
  %49 = and i8 %48, 64
  %.not44 = icmp eq i8 %49, 0
  br i1 %.not44, label %.thread, label %50

50:                                               ; preds = %.thread51
  %51 = load ptr, ptr %0, align 8, !tbaa !15
  %52 = getelementptr inbounds i8, ptr %51, i64 1
  %53 = load i8, ptr %52, align 1, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %0, i64 72
  %55 = getelementptr inbounds i8, ptr %0, i64 48
  %56 = load i64, ptr %55, align 8, !tbaa !21
  %57 = tail call i32 @disk_write(i8 noundef zeroext %53, ptr noundef nonnull %54, i64 noundef %56, i32 noundef 1) #2
  %.not45 = icmp eq i32 %57, 0
  br i1 %.not45, label %58, label %.thread49

58:                                               ; preds = %50
  %59 = load i8, ptr %10, align 2, !tbaa !12
  %60 = and i8 %59, -65
  store i8 %60, ptr %10, align 2, !tbaa !12
  br label %.thread

.thread49:                                        ; preds = %27, %39, %46, %50
  %.2 = phi i32 [ %.1, %46 ], [ 1, %50 ], [ %spec.store.select1, %27 ], [ %41, %39 ]
  %61 = trunc i32 %.2 to i8
  store i8 %61, ptr %5, align 1, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %13, %.thread51, %58, %9, %1, %7, %.thread49
  %.3 = phi i32 [ %.2, %.thread49 ], [ %2, %1 ], [ %8, %7 ], [ 7, %9 ], [ 0, %58 ], [ 0, %.thread51 ], [ 0, %13 ]
  ret i32 %.3
}

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, !8, i64 11}
!6 = !{!"", !7, i64 0, !10, i64 8, !8, i64 10, !8, i64 11, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !8, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !8, i64 10}
!13 = !{!6, !11, i64 24}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !11, i64 32}
!17 = !{!6, !11, i64 40}
!18 = !{!19, !11, i64 32}
!19 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !10, i64 6, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !8, i64 88}
!20 = !{!19, !8, i64 1}
!21 = !{!6, !11, i64 48}


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