; LLVM IR from marcinbor85/microshell :: src/src (ush_file)

; 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.ush_object = type { ptr, i32, i32, i32, ptr, i64, i64, i32, i64, i64, i64, i8, ptr, ptr, ptr, %struct.ush_node_object, ptr, ptr, ptr, i64, i64, ptr, i64, i32, i32, ptr, ptr, ptr, i64, i64, i64 }
%struct.ush_node_object = type { ptr, i64, ptr, ptr, ptr, ptr }
%struct.ush_descriptor = type { ptr, ptr, i64, ptr, i64, i64, ptr, ptr }
%struct.ush_file_descriptor = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local ptr @ush_file_find_by_name(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ush_object, ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct.ush_descriptor, ptr %16, i32 0, i32 5
  %18 = load i64, ptr %17, align 8, !tbaa !15
  %19 = call ptr @llvm.stacksave.p0()
  store ptr %19, ptr %6, align 8
  %20 = alloca i8, i64 %18, align 16
  store i64 %18, ptr %7, align 8
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ush_object, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ush_descriptor, ptr %23, i32 0, i32 5
  %25 = load i64, ptr %24, align 8, !tbaa !15
  %26 = alloca i8, i64 %25, align 16
  store i64 %25, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ush_object, ptr %27, i32 0, i32 12
  %29 = load ptr, ptr %28, align 8, !tbaa !17
  store ptr %29, ptr %9, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %61, %2
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %65

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !18
  br label %34

34:                                               ; preds = %56, %33
  %35 = load i64, ptr %11, align 8, !tbaa !18
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ush_node_object, ptr %36, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !19
  %39 = icmp ult i64 %35, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %34
  store i32 4, ptr %12, align 4
  br label %59

41:                                               ; preds = %34
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ush_node_object, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !20
  %45 = load i64, ptr %11, align 8, !tbaa !18
  %46 = getelementptr inbounds %struct.ush_file_descriptor, ptr %44, i64 %45
  store ptr %46, ptr %10, align 8, !tbaa !5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ush_file_descriptor, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !21
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = call i32 @strcmp(ptr noundef %49, ptr noundef %50) #6
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %41
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %54, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %59

55:                                               ; preds = %41
  br label %56

56:                                               ; preds = %55
  %57 = load i64, ptr %11, align 8, !tbaa !18
  %58 = add i64 %57, 1
  store i64 %58, ptr %11, align 8, !tbaa !18
  br label %34, !llvm.loop !23

59:                                               ; preds = %53, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %60 = load i32, ptr %12, align 4
  switch i32 %60, label %108 [
    i32 4, label %61
  ]

61:                                               ; preds = %59
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ush_node_object, ptr %62, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !25
  store ptr %64, ptr %9, align 8, !tbaa !5
  br label %30, !llvm.loop !26

65:                                               ; preds = %30
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  call void @ush_node_get_absolute_path(ptr noundef %66, ptr noundef %67, ptr noundef %26)
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = call ptr @ush_node_get_parent_by_path(ptr noundef %68, ptr noundef %26)
  store ptr %69, ptr %9, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %103, %65
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %107

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !18
  br label %74

74:                                               ; preds = %98, %73
  %75 = load i64, ptr %13, align 8, !tbaa !18
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ush_node_object, ptr %76, i32 0, i32 1
  %78 = load i64, ptr %77, align 8, !tbaa !19
  %79 = icmp ult i64 %75, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %74
  store i32 9, ptr %12, align 4
  br label %101

81:                                               ; preds = %74
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ush_node_object, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !20
  %85 = load i64, ptr %13, align 8, !tbaa !18
  %86 = getelementptr inbounds %struct.ush_file_descriptor, ptr %84, i64 %85
  store ptr %86, ptr %10, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ush_node_object, ptr %87, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !27
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ush_file_descriptor, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !21
  call void @ush_utils_join_path(ptr noundef %89, ptr noundef %92, ptr noundef %20)
  %93 = call i32 @strcmp(ptr noundef %20, ptr noundef %26) #6
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %97

95:                                               ; preds = %81
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %96, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %101

97:                                               ; preds = %81
  br label %98

98:                                               ; preds = %97
  %99 = load i64, ptr %13, align 8, !tbaa !18
  %100 = add i64 %99, 1
  store i64 %100, ptr %13, align 8, !tbaa !18
  br label %74, !llvm.loop !28

101:                                              ; preds = %95, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %102 = load i32, ptr %12, align 4
  switch i32 %102, label %108 [
    i32 9, label %103
  ]

103:                                              ; preds = %101
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ush_node_object, ptr %104, i32 0, i32 5
  %106 = load ptr, ptr %105, align 8, !tbaa !25
  store ptr %106, ptr %9, align 8, !tbaa !5
  br label %70, !llvm.loop !29

107:                                              ; preds = %70
  store ptr null, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %108

108:                                              ; preds = %107, %101, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %109 = load ptr, ptr %6, align 8
  call void @llvm.stackrestore.p0(ptr %109)
  %110 = load ptr, ptr %3, align 8
  ret ptr %110
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

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

declare void @ush_node_get_absolute_path(ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @ush_node_get_parent_by_path(ptr noundef, ptr noundef) #4

declare void @ush_utils_join_path(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { "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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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 0}
!10 = !{!"ush_object", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !11, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !13, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !14, i64 112, !6, i64 160, !6, i64 168, !6, i64 176, !12, i64 184, !12, i64 192, !6, i64 200, !12, i64 208, !11, i64 216, !11, i64 220, !6, i64 224, !6, i64 232, !6, i64 240, !12, i64 248, !12, i64 256, !12, i64 264}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!"ush_node_object", !6, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!15 = !{!16, !12, i64 40}
!16 = !{!"ush_descriptor", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !6, i64 48, !6, i64 56}
!17 = !{!10, !6, i64 88}
!18 = !{!12, !12, i64 0}
!19 = !{!14, !12, i64 8}
!20 = !{!14, !6, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"ush_file_descriptor", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!14, !6, i64 40}
!26 = distinct !{!26, !24}
!27 = !{!14, !6, i64 16}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !24}


; 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.ush_file_descriptor = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ush_file_find_by_name(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 40
  %5 = load i64, ptr %4, align 8, !tbaa !14
  %6 = alloca i8, i64 %5, align 16
  %7 = alloca i8, i64 %5, align 16
  %8 = getelementptr inbounds i8, ptr %0, i64 88
  %.03248 = load ptr, ptr %8, align 8, !tbaa !16
  %.not49 = icmp eq ptr %.03248, null
  br i1 %.not49, label %._crit_edge51, label %.preheader43

.preheader43:                                     ; preds = %2, %._crit_edge
  %.03250 = phi ptr [ %.032, %._crit_edge ], [ %.03248, %2 ]
  %9 = getelementptr inbounds i8, ptr %.03250, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !17
  %.not3846.not = icmp eq i64 %10, 0
  br i1 %.not3846.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader43
  %11 = load ptr, ptr %.03250, align 8, !tbaa !18
  br label %14

12:                                               ; preds = %14
  %13 = add nuw i64 %.03147, 1
  %exitcond.not = icmp eq i64 %13, %10
  br i1 %exitcond.not, label %._crit_edge, label %14, !llvm.loop !19

14:                                               ; preds = %.lr.ph, %12
  %.03147 = phi i64 [ 0, %.lr.ph ], [ %13, %12 ]
  %15 = getelementptr inbounds %struct.ush_file_descriptor, ptr %11, i64 %.03147
  %16 = load ptr, ptr %15, align 8, !tbaa !21
  %17 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %16, ptr noundef nonnull dereferenceable(1) %1) #3
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %.thread, label %12

._crit_edge:                                      ; preds = %12, %.preheader43
  %19 = getelementptr inbounds i8, ptr %.03250, i64 40
  %.032 = load ptr, ptr %19, align 8, !tbaa !16
  %.not = icmp eq ptr %.032, null
  br i1 %.not, label %._crit_edge51, label %.preheader43, !llvm.loop !23

._crit_edge51:                                    ; preds = %._crit_edge, %2
  call void @ush_node_get_absolute_path(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %7) #4
  %20 = call ptr @ush_node_get_parent_by_path(ptr noundef nonnull %0, ptr noundef nonnull %7) #4
  %.not3656 = icmp eq ptr %20, null
  br i1 %.not3656, label %.thread, label %.preheader

.preheader:                                       ; preds = %._crit_edge51, %._crit_edge55
  %.13357 = phi ptr [ %35, %._crit_edge55 ], [ %20, %._crit_edge51 ]
  %21 = getelementptr inbounds i8, ptr %.13357, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !17
  %.not3752.not = icmp eq i64 %22, 0
  br i1 %.not3752.not, label %._crit_edge55, label %.lr.ph54

.lr.ph54:                                         ; preds = %.preheader
  %23 = getelementptr inbounds i8, ptr %.13357, i64 16
  br label %27

24:                                               ; preds = %27
  %25 = add nuw i64 %.053, 1
  %26 = load i64, ptr %21, align 8, !tbaa !17
  %.not37 = icmp ult i64 %25, %26
  br i1 %.not37, label %27, label %._crit_edge55, !llvm.loop !24

27:                                               ; preds = %.lr.ph54, %24
  %.053 = phi i64 [ 0, %.lr.ph54 ], [ %25, %24 ]
  %28 = load ptr, ptr %.13357, align 8, !tbaa !18
  %29 = getelementptr inbounds %struct.ush_file_descriptor, ptr %28, i64 %.053
  %30 = load ptr, ptr %23, align 8, !tbaa !25
  %31 = load ptr, ptr %29, align 8, !tbaa !21
  call void @ush_utils_join_path(ptr noundef %30, ptr noundef %31, ptr noundef nonnull %6) #4
  %32 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %7) #3
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %.thread, label %24

._crit_edge55:                                    ; preds = %24, %.preheader
  %34 = getelementptr inbounds i8, ptr %.13357, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !26
  %.not36 = icmp eq ptr %35, null
  br i1 %.not36, label %.thread, label %.preheader, !llvm.loop !27

.thread:                                          ; preds = %14, %._crit_edge55, %27, %._crit_edge51
  %.4 = phi ptr [ null, %._crit_edge51 ], [ %29, %27 ], [ null, %._crit_edge55 ], [ %15, %14 ]
  ret ptr %.4
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

declare void @ush_node_get_absolute_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @ush_node_get_parent_by_path(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @ush_utils_join_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { "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(read) }
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, !7, i64 0}
!6 = !{!"ush_object", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !11, i64 32, !11, i64 40, !10, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !12, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !13, i64 112, !7, i64 160, !7, i64 168, !7, i64 176, !11, i64 184, !11, i64 192, !7, i64 200, !11, i64 208, !10, i64 216, !10, i64 220, !7, i64 224, !7, i64 232, !7, i64 240, !11, i64 248, !11, i64 256, !11, i64 264}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"_Bool", !8, i64 0}
!13 = !{!"ush_node_object", !7, i64 0, !11, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!14 = !{!15, !11, i64 40}
!15 = !{!"ush_descriptor", !7, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !11, i64 32, !11, i64 40, !7, i64 48, !7, i64 56}
!16 = !{!7, !7, i64 0}
!17 = !{!13, !11, i64 8}
!18 = !{!13, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !7, i64 0}
!22 = !{!"ush_file_descriptor", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = !{!13, !7, i64 16}
!26 = !{!13, !7, i64 40}
!27 = distinct !{!27, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass