; LLVM IR from holzschu/ios_system :: curl/curl/docs/examples (multi-app)

; 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.CURLMsg = type { i32, ptr, %union.anon }
%union.anon = type { ptr }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [2 x ptr], align 16
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %20, %0
  %13 = load i32, ptr %5, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 2
  br i1 %14, label %15, label %23

15:                                               ; preds = %12
  %16 = call ptr @curl_easy_init()
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 %18
  store ptr %16, ptr %19, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %15
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %5, align 4, !tbaa !5
  br label %12, !llvm.loop !11

23:                                               ; preds = %12
  %24 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
  %25 = load ptr, ptr %24, align 16, !tbaa !9
  %26 = call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %25, i32 noundef 10002, ptr noundef @.str)
  %27 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %28, i32 noundef 10002, ptr noundef @.str.1)
  %30 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %31, i32 noundef 46, i64 noundef 1)
  %33 = call ptr @curl_multi_init()
  store ptr %33, ptr %3, align 8, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %44, %23
  %35 = load i32, ptr %5, align 4, !tbaa !5
  %36 = icmp slt i32 %35, 2
  br i1 %36, label %37, label %47

37:                                               ; preds = %34
  %38 = load ptr, ptr %3, align 8, !tbaa !9
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = call i32 @curl_multi_add_handle(ptr noundef %38, ptr noundef %42)
  br label %44

44:                                               ; preds = %37
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %5, align 4, !tbaa !5
  br label %34, !llvm.loop !13

47:                                               ; preds = %34
  br label %48

48:                                               ; preds = %66, %47
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %67

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %52 = load ptr, ptr %3, align 8, !tbaa !9
  %53 = call i32 @curl_multi_perform(ptr noundef %52, ptr noundef %4)
  store i32 %53, ptr %8, align 4, !tbaa !5
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %59

56:                                               ; preds = %51
  %57 = load ptr, ptr %3, align 8, !tbaa !9
  %58 = call i32 @curl_multi_poll(ptr noundef %57, ptr noundef null, i32 noundef 0, i32 noundef 1000, ptr noundef null)
  store i32 %58, ptr %8, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %56, %51
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %59
  store i32 9, ptr %9, align 4
  br label %64

63:                                               ; preds = %59
  store i32 0, ptr %9, align 4
  br label %64

64:                                               ; preds = %63, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %65 = load i32, ptr %9, align 4
  switch i32 %65, label %137 [
    i32 0, label %66
    i32 9, label %67
  ]

66:                                               ; preds = %64
  br label %48, !llvm.loop !14

67:                                               ; preds = %64, %48
  br label %68

68:                                               ; preds = %114, %67
  %69 = load ptr, ptr %3, align 8, !tbaa !9
  %70 = call ptr @curl_multi_info_read(ptr noundef %69, ptr noundef %7)
  store ptr %70, ptr %6, align 8, !tbaa !9
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %115

72:                                               ; preds = %68
  %73 = load ptr, ptr %6, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.CURLMsg, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !15
  %76 = icmp eq i32 %75, 1
  br i1 %76, label %77, label %114

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %98, %77
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = icmp slt i32 %79, 2
  br i1 %80, label %81, label %101

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %82 = load ptr, ptr %6, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.CURLMsg, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !17
  %85 = load i32, ptr %10, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = icmp eq ptr %84, %88
  %90 = zext i1 %89 to i32
  store i32 %90, ptr %11, align 4, !tbaa !5
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %81
  store i32 12, ptr %9, align 4
  br label %95

94:                                               ; preds = %81
  store i32 0, ptr %9, align 4
  br label %95

95:                                               ; preds = %94, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  %96 = load i32, ptr %9, align 4
  switch i32 %96, label %137 [
    i32 0, label %97
    i32 12, label %101
  ]

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %10, align 4, !tbaa !5
  br label %78, !llvm.loop !18

101:                                              ; preds = %95, %78
  %102 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %102, label %113 [
    i32 0, label %103
    i32 1, label %108
  ]

103:                                              ; preds = %101
  %104 = load ptr, ptr %6, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.CURLMsg, ptr %104, i32 0, i32 2
  %106 = load i32, ptr %105, align 8, !tbaa !19
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %106)
  br label %113

108:                                              ; preds = %101
  %109 = load ptr, ptr %6, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.CURLMsg, ptr %109, i32 0, i32 2
  %111 = load i32, ptr %110, align 8, !tbaa !19
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %111)
  br label %113

113:                                              ; preds = %108, %103, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %114

114:                                              ; preds = %113, %72
  br label %68, !llvm.loop !20

115:                                              ; preds = %68
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %130, %115
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = icmp slt i32 %117, 2
  br i1 %118, label %119, label %133

119:                                              ; preds = %116
  %120 = load ptr, ptr %3, align 8, !tbaa !9
  %121 = load i32, ptr %5, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = call i32 @curl_multi_remove_handle(ptr noundef %120, ptr noundef %124)
  %126 = load i32, ptr %5, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  call void @curl_easy_cleanup(ptr noundef %129)
  br label %130

130:                                              ; preds = %119
  %131 = load i32, ptr %5, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %5, align 4, !tbaa !5
  br label %116, !llvm.loop !21

133:                                              ; preds = %116
  %134 = load ptr, ptr %3, align 8, !tbaa !9
  %135 = call i32 @curl_multi_cleanup(ptr noundef %134)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #3
  %136 = load i32, ptr %1, align 4
  ret i32 %136

137:                                              ; preds = %95, %64
  unreachable
}

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

declare ptr @curl_easy_init() #2

declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ...) #2

declare ptr @curl_multi_init() #2

declare i32 @curl_multi_add_handle(ptr noundef, ptr noundef) #2

declare i32 @curl_multi_perform(ptr noundef, ptr noundef) #2

declare i32 @curl_multi_poll(ptr noundef, ptr noundef, i32 noundef, i32 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

declare ptr @curl_multi_info_read(ptr noundef, ptr noundef) #2

declare i32 @printf(ptr noundef, ...) #2

declare i32 @curl_multi_remove_handle(ptr noundef, ptr noundef) #2

declare void @curl_easy_cleanup(ptr noundef) #2

declare i32 @curl_multi_cleanup(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 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !6, i64 0}
!16 = !{!"CURLMsg", !6, i64 0, !10, i64 8, !7, i64 16}
!17 = !{!16, !10, i64 8}
!18 = distinct !{!18, !12}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}


; 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 [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader38.preheader:
  %0 = alloca i32, align 4
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #4
  store i32 1, ptr %0, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  %2 = tail call ptr @curl_easy_init() #4
  %3 = tail call ptr @curl_easy_init() #4
  %4 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %2, i32 noundef 10002, ptr noundef nonnull @.str) #4
  %5 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %3, i32 noundef 10002, ptr noundef nonnull @.str.1) #4
  %6 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef %3, i32 noundef 46, i64 noundef 1) #4
  %7 = tail call ptr @curl_multi_init() #4
  %8 = tail call i32 @curl_multi_add_handle(ptr noundef %7, ptr noundef %2) #4
  %9 = tail call i32 @curl_multi_add_handle(ptr noundef %7, ptr noundef %3) #4
  br label %.preheader38

.preheader38:                                     ; preds = %.preheader38.preheader, %12
  %10 = call i32 @curl_multi_perform(ptr noundef %7, ptr noundef nonnull %0) #4
  %11 = load i32, ptr %0, align 4
  %.not33 = icmp eq i32 %11, 0
  br i1 %.not33, label %.loopexit, label %12

12:                                               ; preds = %.preheader38
  %13 = call i32 @curl_multi_poll(ptr noundef %7, ptr noundef null, i32 noundef 0, i32 noundef 1000, ptr noundef null) #4
  %.pre = load i32, ptr %0, align 4
  %.not34 = icmp ne i32 %13, 0
  %.not = icmp eq i32 %.pre, 0
  %or.cond = select i1 %.not34, i1 true, i1 %.not
  br i1 %or.cond, label %.loopexit, label %.preheader38

.loopexit:                                        ; preds = %.preheader38, %12
  %14 = call ptr @curl_multi_info_read(ptr noundef %7, ptr noundef nonnull %1) #4
  %.not3542 = icmp eq ptr %14, null
  br i1 %.not3542, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.thread58, %.loopexit
  %15 = call i32 @curl_multi_remove_handle(ptr noundef %7, ptr noundef %2) #4
  call void @curl_easy_cleanup(ptr noundef %2) #4
  %16 = call i32 @curl_multi_remove_handle(ptr noundef %7, ptr noundef %3) #4
  call void @curl_easy_cleanup(ptr noundef %3) #4
  %17 = call i32 @curl_multi_cleanup(ptr noundef %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #4
  ret i32 0

.lr.ph:                                           ; preds = %.loopexit, %.thread58
  %18 = phi ptr [ %29, %.thread58 ], [ %14, %.loopexit ]
  %19 = load i32, ptr %18, align 8, !tbaa !9
  %20 = icmp eq i32 %19, 1
  br i1 %20, label %.preheader37, label %.thread58

.preheader37:                                     ; preds = %.lr.ph
  %21 = getelementptr inbounds i8, ptr %18, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !12
  %23 = icmp eq ptr %22, %2
  br i1 %23, label %.thread58.sink.split, label %24

24:                                               ; preds = %.preheader37
  %25 = icmp eq ptr %22, %3
  br i1 %25, label %.thread58.sink.split, label %.thread58

.thread58.sink.split:                             ; preds = %24, %.preheader37
  %.str.2.sink = phi ptr [ @.str.2, %.preheader37 ], [ @.str.3, %24 ]
  %26 = getelementptr inbounds i8, ptr %18, i64 16
  %27 = load i32, ptr %26, align 8, !tbaa !13
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink, i32 noundef %27)
  br label %.thread58

.thread58:                                        ; preds = %.thread58.sink.split, %24, %.lr.ph
  %29 = call ptr @curl_multi_info_read(ptr noundef %7, ptr noundef nonnull %1) #4
  %.not35 = icmp eq ptr %29, null
  br i1 %.not35, label %.preheader, label %.lr.ph, !llvm.loop !14
}

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

declare ptr @curl_easy_init() local_unnamed_addr #2

declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #2

declare ptr @curl_multi_init() local_unnamed_addr #2

declare i32 @curl_multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @curl_multi_perform(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @curl_multi_poll(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) 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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare i32 @curl_multi_remove_handle(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @curl_easy_cleanup(ptr noundef) local_unnamed_addr #2

declare i32 @curl_multi_cleanup(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 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 = { nofree 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 #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, !6, i64 0}
!10 = !{!"CURLMsg", !6, i64 0, !11, i64 8, !7, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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