; LLVM IR from wrnlb666/yet-another-string-library-in-c :: yasli (str_stripped)

; 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.string_t = type { i64, i64, [1 x i8] }

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_resize(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @str_stripped(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call i64 @strlen(ptr noundef %15) #6
  store i64 %16, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %17

17:                                               ; preds = %54, %2
  %18 = load i64, ptr %9, align 8, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.string_t, ptr %19, i32 0, i32 0
  %21 = load i64, ptr %20, align 8, !tbaa !11
  %22 = icmp ult i64 %18, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %17
  store i32 2, ptr %10, align 4
  br label %57

24:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %47, %24
  %26 = load i64, ptr %11, align 8, !tbaa !9
  %27 = load i64, ptr %6, align 8, !tbaa !9
  %28 = icmp ult i64 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 5, ptr %10, align 4
  br label %50

30:                                               ; preds = %25
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.string_t, ptr %31, i32 0, i32 2
  %33 = load i64, ptr %9, align 8, !tbaa !9
  %34 = getelementptr inbounds [1 x i8], ptr %32, i64 0, i64 %33
  %35 = load i8, ptr %34, align 1, !tbaa !13
  %36 = sext i8 %35 to i32
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i64, ptr %11, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %37, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !13
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %36, %41
  br i1 %42, label %43, label %46

43:                                               ; preds = %30
  %44 = load i64, ptr %7, align 8, !tbaa !9
  %45 = add i64 %44, 1
  store i64 %45, ptr %7, align 8, !tbaa !9
  store i32 8, ptr %10, align 4
  br label %50

46:                                               ; preds = %30
  br label %47

47:                                               ; preds = %46
  %48 = load i64, ptr %11, align 8, !tbaa !9
  %49 = add i64 %48, 1
  store i64 %49, ptr %11, align 8, !tbaa !9
  br label %25, !llvm.loop !14

50:                                               ; preds = %43, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %51 = load i32, ptr %10, align 4
  switch i32 %51, label %57 [
    i32 5, label %52
    i32 8, label %53
  ]

52:                                               ; preds = %50
  store i32 2, ptr %10, align 4
  br label %57

53:                                               ; preds = %50
  br label %54

54:                                               ; preds = %53
  %55 = load i64, ptr %9, align 8, !tbaa !9
  %56 = add i64 %55, 1
  store i64 %56, ptr %9, align 8, !tbaa !9
  br label %17, !llvm.loop !16

57:                                               ; preds = %52, %50, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %58

58:                                               ; preds = %57
  store ptr null, ptr %12, align 8, !tbaa !5
  %59 = load i64, ptr %7, align 8, !tbaa !9
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.string_t, ptr %60, i32 0, i32 0
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = icmp eq i64 %59, %62
  br i1 %63, label %64, label %69

64:                                               ; preds = %58
  %65 = call zeroext i1 @str_resize(ptr noundef %12, i64 noundef 0)
  br i1 %65, label %66, label %68

66:                                               ; preds = %64
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %67, ptr %3, align 8
  store i32 1, ptr %10, align 4
  br label %145

68:                                               ; preds = %64
  store ptr null, ptr %3, align 8
  store i32 1, ptr %10, align 4
  br label %145

69:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.string_t, ptr %70, i32 0, i32 0
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = sub i64 %72, 1
  store i64 %73, ptr %13, align 8, !tbaa !9
  br label %74

74:                                               ; preds = %108, %69
  %75 = load i64, ptr %13, align 8, !tbaa !9
  %76 = icmp ugt i64 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 9, ptr %10, align 4
  br label %111

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %79

79:                                               ; preds = %101, %78
  %80 = load i64, ptr %14, align 8, !tbaa !9
  %81 = load i64, ptr %6, align 8, !tbaa !9
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  store i32 12, ptr %10, align 4
  br label %104

84:                                               ; preds = %79
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.string_t, ptr %85, i32 0, i32 2
  %87 = load i64, ptr %13, align 8, !tbaa !9
  %88 = getelementptr inbounds [1 x i8], ptr %86, i64 0, i64 %87
  %89 = load i8, ptr %88, align 1, !tbaa !13
  %90 = sext i8 %89 to i32
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i64, ptr %14, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %91, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !13
  %95 = sext i8 %94 to i32
  %96 = icmp eq i32 %90, %95
  br i1 %96, label %97, label %100

97:                                               ; preds = %84
  %98 = load i64, ptr %8, align 8, !tbaa !9
  %99 = add i64 %98, 1
  store i64 %99, ptr %8, align 8, !tbaa !9
  store i32 15, ptr %10, align 4
  br label %104

100:                                              ; preds = %84
  br label %101

101:                                              ; preds = %100
  %102 = load i64, ptr %14, align 8, !tbaa !9
  %103 = add i64 %102, 1
  store i64 %103, ptr %14, align 8, !tbaa !9
  br label %79, !llvm.loop !17

104:                                              ; preds = %97, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %105 = load i32, ptr %10, align 4
  switch i32 %105, label %111 [
    i32 12, label %106
    i32 15, label %107
  ]

106:                                              ; preds = %104
  store i32 9, ptr %10, align 4
  br label %111

107:                                              ; preds = %104
  br label %108

108:                                              ; preds = %107
  %109 = load i64, ptr %13, align 8, !tbaa !9
  %110 = add i64 %109, -1
  store i64 %110, ptr %13, align 8, !tbaa !9
  br label %74, !llvm.loop !18

111:                                              ; preds = %106, %104, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %112

112:                                              ; preds = %111
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.string_t, ptr %113, i32 0, i32 0
  %115 = load i64, ptr %114, align 8, !tbaa !11
  %116 = load i64, ptr %7, align 8, !tbaa !9
  %117 = sub i64 %115, %116
  %118 = load i64, ptr %8, align 8, !tbaa !9
  %119 = sub i64 %117, %118
  %120 = call zeroext i1 @str_resize(ptr noundef %12, i64 noundef %119)
  br i1 %120, label %121, label %144

121:                                              ; preds = %112
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.string_t, ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds [1 x i8], ptr %123, i64 0, i64 0
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.string_t, ptr %125, i32 0, i32 2
  %127 = getelementptr inbounds [1 x i8], ptr %126, i64 0, i64 0
  %128 = load i64, ptr %7, align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %127, i64 %128
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.string_t, ptr %130, i32 0, i32 0
  %132 = load i64, ptr %131, align 8, !tbaa !11
  %133 = load i64, ptr %7, align 8, !tbaa !9
  %134 = sub i64 %132, %133
  %135 = load i64, ptr %8, align 8, !tbaa !9
  %136 = sub i64 %134, %135
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %124, ptr align 1 %129, i64 %136, i1 false)
  %137 = load ptr, ptr %12, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.string_t, ptr %137, i32 0, i32 2
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.string_t, ptr %139, i32 0, i32 0
  %141 = load i64, ptr %140, align 8, !tbaa !11
  %142 = getelementptr inbounds [1 x i8], ptr %138, i64 0, i64 %141
  store i8 0, ptr %142, align 1, !tbaa !13
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %143, ptr %3, align 8
  store i32 1, ptr %10, align 4
  br label %145

144:                                              ; preds = %112
  store ptr null, ptr %3, align 8
  store i32 1, ptr %10, align 4
  br label %145

145:                                              ; preds = %144, %121, %68, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %146 = load ptr, ptr %3, align 8
  ret ptr %146
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"string_t", !10, i64 0, !10, i64 8, !7, i64 16}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}


; 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: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_resize(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @str_stripped(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #3 {
  %3 = alloca ptr, align 8
  %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #4
  %5 = load i64, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %.loopexit, label %.preheader57.lr.ph

.preheader57.lr.ph:                               ; preds = %2
  %.not84 = icmp eq i64 %4, 0
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %.not84, label %.loopexit, label %.preheader57.us

.preheader57.us:                                  ; preds = %.preheader57.lr.ph, %15
  %.03869.us = phi i64 [ %16, %15 ], [ 0, %.preheader57.lr.ph ]
  %7 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %.03869.us
  %8 = load i8, ptr %7, align 1, !tbaa !10
  br label %11

9:                                                ; preds = %11
  %10 = add nuw i64 %.03664.us, 1
  %exitcond.not = icmp eq i64 %10, %4
  br i1 %exitcond.not, label %.loopexit, label %11, !llvm.loop !11

11:                                               ; preds = %.preheader57.us, %9
  %.03664.us = phi i64 [ 0, %.preheader57.us ], [ %10, %9 ]
  %12 = getelementptr inbounds i8, ptr %1, i64 %.03664.us
  %13 = load i8, ptr %12, align 1, !tbaa !10
  %14 = icmp eq i8 %8, %13
  br i1 %14, label %15, label %9

15:                                               ; preds = %11
  %16 = add nuw i64 %.03869.us, 1
  %exitcond91.not = icmp eq i64 %16, %5
  br i1 %exitcond91.not, label %.loopexit.thread, label %.preheader57.us, !llvm.loop !13

.loopexit.thread:                                 ; preds = %15
  store ptr null, ptr %3, align 8, !tbaa !14
  br label %29

.loopexit:                                        ; preds = %9, %2, %.preheader57.lr.ph
  %.04163 = phi i64 [ 0, %.preheader57.lr.ph ], [ 0, %2 ], [ %.03869.us, %9 ]
  store ptr null, ptr %3, align 8, !tbaa !14
  %17 = icmp eq i64 %.04163, %5
  br i1 %17, label %29, label %.preheader55

.preheader55:                                     ; preds = %.loopexit
  %.03578 = add i64 %5, -1
  %.not79 = icmp eq i64 %.03578, 0
  br i1 %.not79, label %.thread51, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader55
  %.not85 = icmp eq i64 %4, 0
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %.not85, label %.thread51, label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.lr.ph, %27
  %.03581.us = phi i64 [ %.035.us, %27 ], [ %.03578, %.preheader.lr.ph ]
  %.03980.us = phi i64 [ %28, %27 ], [ 0, %.preheader.lr.ph ]
  %19 = getelementptr inbounds [1 x i8], ptr %18, i64 0, i64 %.03581.us
  %20 = load i8, ptr %19, align 1, !tbaa !10
  br label %23

21:                                               ; preds = %23
  %22 = add nuw i64 %.075.us, 1
  %exitcond92.not = icmp eq i64 %22, %4
  br i1 %exitcond92.not, label %.thread51, label %23, !llvm.loop !16

23:                                               ; preds = %.preheader.us, %21
  %.075.us = phi i64 [ 0, %.preheader.us ], [ %22, %21 ]
  %24 = getelementptr inbounds i8, ptr %1, i64 %.075.us
  %25 = load i8, ptr %24, align 1, !tbaa !10
  %26 = icmp eq i8 %20, %25
  br i1 %26, label %27, label %21

27:                                               ; preds = %23
  %28 = add nuw i64 %.03980.us, 1
  %.035.us = add i64 %.03581.us, -1
  %.not.us = icmp eq i64 %.035.us, 0
  br i1 %.not.us, label %.thread51, label %.preheader.us

29:                                               ; preds = %.loopexit.thread, %.loopexit
  %30 = call zeroext i1 @str_resize(ptr noundef nonnull %3, i64 noundef 0)
  %31 = load ptr, ptr %3, align 8
  %spec.select = select i1 %30, ptr %31, ptr null
  br label %45

.thread51:                                        ; preds = %27, %21, %.preheader55, %.preheader.lr.ph
  %.03960 = phi i64 [ 0, %.preheader.lr.ph ], [ 0, %.preheader55 ], [ %.03980.us, %21 ], [ %.03578, %27 ]
  %32 = add i64 %.03960, %.04163
  %33 = sub i64 %5, %32
  %34 = call zeroext i1 @str_resize(ptr noundef nonnull %3, i64 noundef %33)
  br i1 %34, label %35, label %45

35:                                               ; preds = %.thread51
  %36 = load ptr, ptr %3, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = getelementptr inbounds i8, ptr %38, i64 %.04163
  %40 = load i64, ptr %0, align 8, !tbaa !5
  %41 = sub i64 %40, %32
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %37, ptr nonnull align 1 %39, i64 %41, i1 false)
  %42 = load i64, ptr %36, align 8, !tbaa !5
  %43 = getelementptr inbounds [1 x i8], ptr %37, i64 0, i64 %42
  store i8 0, ptr %43, align 1, !tbaa !10
  %44 = load ptr, ptr %3, align 8, !tbaa !14
  br label %45

45:                                               ; preds = %29, %.thread51, %35
  %.044 = phi ptr [ %44, %35 ], [ null, %.thread51 ], [ %spec.select, %29 ]
  ret ptr %.044
}

attributes #0 = { inlinehint 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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(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, !7, i64 0}
!6 = !{!"string_t", !7, i64 0, !7, i64 8, !8, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = distinct !{!16, !12}


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