; LLVM IR from mwarning/KadNode :: src (dht)

; 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.bucket = type { i32, [20 x i8], i32, i32, i64, ptr, %struct.sockaddr_storage, i32, ptr }
%struct.sockaddr_storage = type { i16, [118 x i8], i64 }
%struct.node = type { [20 x i8], %struct.sockaddr_storage, i32, i64, i64, i64, i32, ptr }
%struct.storage = type { [20 x i8], i32, i32, ptr, ptr }
%struct.search = type { i16, i32, i64, [20 x i8], i16, i32, [14 x %struct.search_node], i32, ptr }
%struct.search_node = type { [20 x i8], %struct.sockaddr_storage, i32, i64, i64, i32, [40 x i8], i32, i32, i32 }

@searches = external hidden global ptr, align 8
@buckets = external hidden global ptr, align 8
@buckets6 = external hidden global ptr, align 8
@storage = external hidden global ptr, align 8
@dht_socket = external hidden global i32, align 4
@dht_socket6 = external hidden global i32, align 4

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #1

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @dht_uninit() #3 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = load i32, ptr @dht_socket, align 4, !tbaa !5
  %9 = icmp slt i32 %8, 0
  br i1 %9, label %10, label %15

10:                                               ; preds = %0
  %11 = load i32, ptr @dht_socket6, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 0
  br i1 %12, label %13, label %15

13:                                               ; preds = %10
  %14 = call ptr @__errno_location() #4
  store i32 22, ptr %14, align 4, !tbaa !5
  store i32 -1, ptr %1, align 4
  br label %91

15:                                               ; preds = %10, %0
  store i32 -1, ptr @dht_socket, align 4, !tbaa !5
  store i32 -1, ptr @dht_socket6, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %39, %15
  %17 = load ptr, ptr @buckets, align 8, !tbaa !9
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %41

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %20 = load ptr, ptr @buckets, align 8, !tbaa !9
  store ptr %20, ptr %2, align 8, !tbaa !9
  %21 = load ptr, ptr %2, align 8, !tbaa !9
  %22 = getelementptr inbounds %struct.bucket, ptr %21, i32 0, i32 8
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  store ptr %23, ptr @buckets, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %29, %19
  %25 = load ptr, ptr %2, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.bucket, ptr %25, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %39

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %30 = load ptr, ptr %2, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.bucket, ptr %30, i32 0, i32 5
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  store ptr %32, ptr %3, align 8, !tbaa !9
  %33 = load ptr, ptr %3, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.node, ptr %33, i32 0, i32 7
  %35 = load ptr, ptr %34, align 8, !tbaa !17
  %36 = load ptr, ptr %2, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.bucket, ptr %36, i32 0, i32 5
  store ptr %35, ptr %37, align 8, !tbaa !16
  %38 = load ptr, ptr %3, align 8, !tbaa !9
  call void @free(ptr noundef %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %24, !llvm.loop !19

39:                                               ; preds = %24
  %40 = load ptr, ptr %2, align 8, !tbaa !9
  call void @free(ptr noundef %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %16, !llvm.loop !21

41:                                               ; preds = %16
  br label %42

42:                                               ; preds = %65, %41
  %43 = load ptr, ptr @buckets6, align 8, !tbaa !9
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %67

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %46 = load ptr, ptr @buckets6, align 8, !tbaa !9
  store ptr %46, ptr %4, align 8, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.bucket, ptr %47, i32 0, i32 8
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  store ptr %49, ptr @buckets6, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %55, %45
  %51 = load ptr, ptr %4, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.bucket, ptr %51, i32 0, i32 5
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %65

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %56 = load ptr, ptr %4, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.bucket, ptr %56, i32 0, i32 5
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  store ptr %58, ptr %5, align 8, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.node, ptr %59, i32 0, i32 7
  %61 = load ptr, ptr %60, align 8, !tbaa !17
  %62 = load ptr, ptr %4, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.bucket, ptr %62, i32 0, i32 5
  store ptr %61, ptr %63, align 8, !tbaa !16
  %64 = load ptr, ptr %5, align 8, !tbaa !9
  call void @free(ptr noundef %64) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %50, !llvm.loop !22

65:                                               ; preds = %50
  %66 = load ptr, ptr %4, align 8, !tbaa !9
  call void @free(ptr noundef %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %42, !llvm.loop !23

67:                                               ; preds = %42
  br label %68

68:                                               ; preds = %71, %67
  %69 = load ptr, ptr @storage, align 8, !tbaa !9
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %80

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %72 = load ptr, ptr @storage, align 8, !tbaa !9
  store ptr %72, ptr %6, align 8, !tbaa !9
  %73 = load ptr, ptr @storage, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.storage, ptr %73, i32 0, i32 4
  %75 = load ptr, ptr %74, align 8, !tbaa !24
  store ptr %75, ptr @storage, align 8, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.storage, ptr %76, i32 0, i32 3
  %78 = load ptr, ptr %77, align 8, !tbaa !26
  call void @free(ptr noundef %78) #5
  %79 = load ptr, ptr %6, align 8, !tbaa !9
  call void @free(ptr noundef %79) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %68, !llvm.loop !27

80:                                               ; preds = %68
  br label %81

81:                                               ; preds = %84, %80
  %82 = load ptr, ptr @searches, align 8, !tbaa !9
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %90

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %85 = load ptr, ptr @searches, align 8, !tbaa !9
  store ptr %85, ptr %7, align 8, !tbaa !9
  %86 = load ptr, ptr @searches, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.search, ptr %86, i32 0, i32 8
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  store ptr %88, ptr @searches, align 8, !tbaa !9
  %89 = load ptr, ptr %7, align 8, !tbaa !9
  call void @free(ptr noundef %89) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %81, !llvm.loop !30

90:                                               ; preds = %81
  store i32 1, ptr %1, align 4
  br label %91

91:                                               ; preds = %90, %13
  %92 = load i32, ptr %1, align 4
  ret i32 %92
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(none) "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 "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 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 #4 = { nounwind willreturn memory(none) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 184}
!12 = !{!"bucket", !6, i64 0, !7, i64 4, !6, i64 24, !6, i64 28, !13, i64 32, !10, i64 40, !14, i64 48, !6, i64 176, !10, i64 184}
!13 = !{!"long", !7, i64 0}
!14 = !{!"sockaddr_storage", !15, i64 0, !7, i64 2, !13, i64 120}
!15 = !{!"short", !7, i64 0}
!16 = !{!12, !10, i64 40}
!17 = !{!18, !10, i64 192}
!18 = !{!"node", !7, i64 0, !14, i64 24, !6, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !6, i64 184, !10, i64 192}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = !{!25, !10, i64 40}
!25 = !{!"storage", !7, i64 0, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40}
!26 = !{!25, !10, i64 32}
!27 = distinct !{!27, !20}
!28 = !{!29, !10, i64 3304}
!29 = !{!"search", !15, i64 0, !6, i64 4, !13, i64 8, !7, i64 16, !15, i64 36, !6, i64 40, !7, i64 48, !6, i64 3296, !10, i64 3304}
!30 = distinct !{!30, !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"

@searches = external hidden local_unnamed_addr global ptr, align 8
@buckets = external hidden local_unnamed_addr global ptr, align 8
@buckets6 = external hidden local_unnamed_addr global ptr, align 8
@storage = external hidden local_unnamed_addr global ptr, align 8
@dht_socket = external hidden local_unnamed_addr global i32, align 4
@dht_socket6 = external hidden local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @dht_uninit() local_unnamed_addr #2 {
  %1 = load i32, ptr @dht_socket, align 4, !tbaa !5
  %2 = icmp slt i32 %1, 0
  %3 = load i32, ptr @dht_socket6, align 4
  %4 = icmp slt i32 %3, 0
  %or.cond = select i1 %2, i1 %4, i1 false
  br i1 %or.cond, label %5, label %7

5:                                                ; preds = %0
  %6 = tail call ptr @__errno_location() #3
  store i32 22, ptr %6, align 4, !tbaa !5
  br label %.loopexit

7:                                                ; preds = %0
  store i32 -1, ptr @dht_socket, align 4, !tbaa !5
  store i32 -1, ptr @dht_socket6, align 4, !tbaa !5
  %8 = load ptr, ptr @buckets, align 8, !tbaa !9
  %.not32 = icmp eq ptr %8, null
  br i1 %.not32, label %.preheader30, label %.lr.ph34

.preheader30:                                     ; preds = %._crit_edge, %7
  %9 = load ptr, ptr @buckets6, align 8, !tbaa !9
  %.not2439 = icmp eq ptr %9, null
  br i1 %.not2439, label %.preheader29, label %.lr.ph40

.lr.ph34:                                         ; preds = %7, %._crit_edge
  %10 = phi ptr [ %19, %._crit_edge ], [ %8, %7 ]
  %11 = getelementptr inbounds i8, ptr %10, i64 184
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  store ptr %12, ptr @buckets, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %10, i64 40
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  %.not2831 = icmp eq ptr %14, null
  br i1 %.not2831, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph34, %.lr.ph
  %15 = phi ptr [ %18, %.lr.ph ], [ %14, %.lr.ph34 ]
  %16 = getelementptr inbounds i8, ptr %15, i64 192
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  store ptr %17, ptr %13, align 8, !tbaa !16
  tail call void @free(ptr noundef nonnull %15) #4
  %18 = load ptr, ptr %13, align 8, !tbaa !16
  %.not28 = icmp eq ptr %18, null
  br i1 %.not28, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph34
  tail call void @free(ptr noundef nonnull %10) #4
  %19 = load ptr, ptr @buckets, align 8, !tbaa !9
  %.not = icmp eq ptr %19, null
  br i1 %.not, label %.preheader30, label %.lr.ph34, !llvm.loop !21

.preheader29:                                     ; preds = %._crit_edge38, %.preheader30
  %20 = load ptr, ptr @storage, align 8, !tbaa !9
  %.not2541 = icmp eq ptr %20, null
  br i1 %.not2541, label %.preheader, label %.lr.ph42

.lr.ph40:                                         ; preds = %.preheader30, %._crit_edge38
  %21 = phi ptr [ %30, %._crit_edge38 ], [ %9, %.preheader30 ]
  %22 = getelementptr inbounds i8, ptr %21, i64 184
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  store ptr %23, ptr @buckets6, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %21, i64 40
  %25 = load ptr, ptr %24, align 8, !tbaa !16
  %.not2735 = icmp eq ptr %25, null
  br i1 %.not2735, label %._crit_edge38, label %.lr.ph37

.lr.ph37:                                         ; preds = %.lr.ph40, %.lr.ph37
  %26 = phi ptr [ %29, %.lr.ph37 ], [ %25, %.lr.ph40 ]
  %27 = getelementptr inbounds i8, ptr %26, i64 192
  %28 = load ptr, ptr %27, align 8, !tbaa !17
  store ptr %28, ptr %24, align 8, !tbaa !16
  tail call void @free(ptr noundef nonnull %26) #4
  %29 = load ptr, ptr %24, align 8, !tbaa !16
  %.not27 = icmp eq ptr %29, null
  br i1 %.not27, label %._crit_edge38, label %.lr.ph37, !llvm.loop !22

._crit_edge38:                                    ; preds = %.lr.ph37, %.lr.ph40
  tail call void @free(ptr noundef nonnull %21) #4
  %30 = load ptr, ptr @buckets6, align 8, !tbaa !9
  %.not24 = icmp eq ptr %30, null
  br i1 %.not24, label %.preheader29, label %.lr.ph40, !llvm.loop !23

.preheader:                                       ; preds = %.lr.ph42, %.preheader29
  %31 = load ptr, ptr @searches, align 8, !tbaa !9
  %.not2643 = icmp eq ptr %31, null
  br i1 %.not2643, label %.loopexit, label %.lr.ph44

.lr.ph42:                                         ; preds = %.preheader29, %.lr.ph42
  %32 = phi ptr [ %37, %.lr.ph42 ], [ %20, %.preheader29 ]
  %33 = getelementptr inbounds i8, ptr %32, i64 40
  %34 = load ptr, ptr %33, align 8, !tbaa !24
  store ptr %34, ptr @storage, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %32, i64 32
  %36 = load ptr, ptr %35, align 8, !tbaa !26
  tail call void @free(ptr noundef %36) #4
  tail call void @free(ptr noundef nonnull %32) #4
  %37 = load ptr, ptr @storage, align 8, !tbaa !9
  %.not25 = icmp eq ptr %37, null
  br i1 %.not25, label %.preheader, label %.lr.ph42, !llvm.loop !27

.lr.ph44:                                         ; preds = %.preheader, %.lr.ph44
  %38 = phi ptr [ %41, %.lr.ph44 ], [ %31, %.preheader ]
  %39 = getelementptr inbounds i8, ptr %38, i64 3304
  %40 = load ptr, ptr %39, align 8, !tbaa !28
  store ptr %40, ptr @searches, align 8, !tbaa !9
  tail call void @free(ptr noundef nonnull %38) #4
  %41 = load ptr, ptr @searches, align 8, !tbaa !9
  %.not26 = icmp eq ptr %41, null
  br i1 %.not26, label %.loopexit, label %.lr.ph44, !llvm.loop !30

.loopexit:                                        ; preds = %.lr.ph44, %.preheader, %5
  %.0 = phi i32 [ -1, %5 ], [ 1, %.preheader ], [ 1, %.lr.ph44 ]
  ret i32 %.0
}

attributes #0 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 willreturn memory(none) }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 184}
!12 = !{!"bucket", !6, i64 0, !7, i64 4, !6, i64 24, !6, i64 28, !13, i64 32, !10, i64 40, !14, i64 48, !6, i64 176, !10, i64 184}
!13 = !{!"long", !7, i64 0}
!14 = !{!"sockaddr_storage", !15, i64 0, !7, i64 2, !13, i64 120}
!15 = !{!"short", !7, i64 0}
!16 = !{!12, !10, i64 40}
!17 = !{!18, !10, i64 192}
!18 = !{!"node", !7, i64 0, !14, i64 24, !6, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !6, i64 184, !10, i64 192}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = !{!25, !10, i64 40}
!25 = !{!"storage", !7, i64 0, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40}
!26 = !{!25, !10, i64 32}
!27 = distinct !{!27, !20}
!28 = !{!29, !10, i64 3304}
!29 = !{!"search", !15, i64 0, !6, i64 4, !13, i64 8, !7, i64 16, !15, i64 36, !6, i64 40, !7, i64 48, !6, i64 3296, !10, i64 3304}
!30 = distinct !{!30, !20}


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