; LLVM IR from ggml-org/ggml :: src (ggml-alloc)

; 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.ggml_gallocr = type { ptr, ptr, ptr, i32, %struct.ggml_hash_set, ptr, ptr, i32, ptr, i32 }
%struct.ggml_hash_set = type { i64, ptr, ptr }

; 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: nounwind uwtable
define dso_local void @ggml_gallocr_free(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  br label %136

12:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %111, %12
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ggml_gallocr, ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = icmp slt i32 %14, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %13
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %114

20:                                               ; preds = %13
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ggml_gallocr, ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %65

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 0, ptr %5, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %49, %25
  %27 = load i32, ptr %6, align 4, !tbaa !9
  %28 = load i32, ptr %3, align 4, !tbaa !9
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  store i32 5, ptr %4, align 4
  br label %52

31:                                               ; preds = %26
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ggml_gallocr, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds ptr, ptr %34, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ggml_gallocr, ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds ptr, ptr %41, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = icmp eq ptr %38, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %31
  store i8 1, ptr %5, align 1, !tbaa !16
  store i32 5, ptr %4, align 4
  br label %52

48:                                               ; preds = %31
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %6, align 4, !tbaa !9
  br label %26, !llvm.loop !18

52:                                               ; preds = %47, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %53

53:                                               ; preds = %52
  %54 = load i8, ptr %5, align 1, !tbaa !16, !range !20, !noundef !21
  %55 = trunc i8 %54 to i1
  br i1 %55, label %64, label %56

56:                                               ; preds = %53
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ggml_gallocr, ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !15
  %60 = load i32, ptr %3, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds ptr, ptr %59, i64 %61
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  call void @ggml_backend_buffer_free(ptr noundef %63)
  br label %64

64:                                               ; preds = %56, %53
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  br label %65

65:                                               ; preds = %64, %20
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ggml_gallocr, ptr %66, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !22
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %110

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  store i8 0, ptr %7, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %94, %70
  %72 = load i32, ptr %8, align 4, !tbaa !9
  %73 = load i32, ptr %3, align 4, !tbaa !9
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  store i32 8, ptr %4, align 4
  br label %97

76:                                               ; preds = %71
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ggml_gallocr, ptr %77, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !22
  %80 = load i32, ptr %8, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds ptr, ptr %79, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ggml_gallocr, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !22
  %87 = load i32, ptr %3, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds ptr, ptr %86, i64 %88
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = icmp eq ptr %83, %90
  br i1 %91, label %92, label %93

92:                                               ; preds = %76
  store i8 1, ptr %7, align 1, !tbaa !16
  store i32 8, ptr %4, align 4
  br label %97

93:                                               ; preds = %76
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %8, align 4, !tbaa !9
  br label %71, !llvm.loop !23

97:                                               ; preds = %92, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %98

98:                                               ; preds = %97
  %99 = load i8, ptr %7, align 1, !tbaa !16, !range !20, !noundef !21
  %100 = trunc i8 %99 to i1
  br i1 %100, label %109, label %101

101:                                              ; preds = %98
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ggml_gallocr, ptr %102, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !22
  %105 = load i32, ptr %3, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  call void @ggml_dyn_tallocr_free(ptr noundef %108)
  br label %109

109:                                              ; preds = %101, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  br label %110

110:                                              ; preds = %109, %65
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %3, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %3, align 4, !tbaa !9
  br label %13, !llvm.loop !24

114:                                              ; preds = %19
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ggml_gallocr, ptr %115, i32 0, i32 4
  call void @ggml_hash_set_free(ptr noundef %116)
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ggml_gallocr, ptr %117, i32 0, i32 5
  %119 = load ptr, ptr %118, align 8, !tbaa !25
  call void @free(ptr noundef %119) #4
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ggml_gallocr, ptr %120, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8, !tbaa !26
  call void @free(ptr noundef %122) #4
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ggml_gallocr, ptr %123, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !15
  call void @free(ptr noundef %125) #4
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ggml_gallocr, ptr %126, i32 0, i32 2
  %128 = load ptr, ptr %127, align 8, !tbaa !22
  call void @free(ptr noundef %128) #4
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ggml_gallocr, ptr %129, i32 0, i32 6
  %131 = load ptr, ptr %130, align 8, !tbaa !27
  call void @free(ptr noundef %131) #4
  %132 = load ptr, ptr %2, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ggml_gallocr, ptr %132, i32 0, i32 8
  %134 = load ptr, ptr %133, align 8, !tbaa !28
  call void @free(ptr noundef %134) #4
  %135 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %135) #4
  br label %136

136:                                              ; preds = %114, %11
  ret void
}

declare void @ggml_backend_buffer_free(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @ggml_dyn_tallocr_free(ptr noundef) #1

declare void @ggml_hash_set_free(ptr noundef) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 "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 = !{!"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, !10, i64 24}
!12 = !{!"ggml_gallocr", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !13, i64 32, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !10, i64 88}
!13 = !{!"ggml_hash_set", !14, i64 0, !6, i64 8, !6, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !6, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"_Bool", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!12, !6, i64 16}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = !{!12, !6, i64 56}
!26 = !{!12, !6, i64 0}
!27 = !{!12, !6, i64 64}
!28 = !{!12, !6, i64 80}


; 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
define dso_local void @ggml_gallocr_free(ptr noundef %0) local_unnamed_addr #0 {
  %2 = icmp eq ptr %0, null
  br i1 %2, label %42, label %.preheader43

.preheader43:                                     ; preds = %1
  %3 = getelementptr inbounds i8, ptr %0, i64 24
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph48, label %._crit_edge

.lr.ph48:                                         ; preds = %.preheader43
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  br label %20

._crit_edge:                                      ; preds = %.loopexit, %.preheader43
  %8 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @ggml_hash_set_free(ptr noundef nonnull %8) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 56
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  tail call void @free(ptr noundef %10) #3
  %11 = load ptr, ptr %0, align 8, !tbaa !14
  tail call void @free(ptr noundef %11) #3
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !15
  tail call void @free(ptr noundef %13) #3
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load ptr, ptr %14, align 8, !tbaa !16
  tail call void @free(ptr noundef %15) #3
  %16 = getelementptr inbounds i8, ptr %0, i64 64
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  tail call void @free(ptr noundef %17) #3
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  %19 = load ptr, ptr %18, align 8, !tbaa !18
  tail call void @free(ptr noundef %19) #3
  tail call void @free(ptr noundef nonnull %0) #3
  br label %42

20:                                               ; preds = %.lr.ph48, %.loopexit
  %indvars.iv57 = phi i64 [ 0, %.lr.ph48 ], [ %indvars.iv.next58, %.loopexit ]
  %21 = load ptr, ptr %6, align 8, !tbaa !15
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %.loopexit42, label %.preheader41

.preheader41:                                     ; preds = %20
  %.not49 = icmp eq i64 %indvars.iv57, 0
  br i1 %.not49, label %.preheader41..critedge_crit_edge, label %.lr.ph

.preheader41..critedge_crit_edge:                 ; preds = %.preheader41
  %.pre = load ptr, ptr %21, align 8, !tbaa !19
  br label %.critedge

.lr.ph:                                           ; preds = %.preheader41
  %22 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv57
  %23 = load ptr, ptr %22, align 8, !tbaa !19
  br label %25

24:                                               ; preds = %25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv57
  br i1 %exitcond.not, label %.critedge, label %25, !llvm.loop !20

25:                                               ; preds = %.lr.ph, %24
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %24 ]
  %26 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  %28 = icmp eq ptr %27, %23
  br i1 %28, label %.loopexit42, label %24

.critedge:                                        ; preds = %24, %.preheader41..critedge_crit_edge
  %29 = phi ptr [ %.pre, %.preheader41..critedge_crit_edge ], [ %23, %24 ]
  tail call void @ggml_backend_buffer_free(ptr noundef %29) #3
  br label %.loopexit42

.loopexit42:                                      ; preds = %25, %.critedge, %20
  %30 = load ptr, ptr %7, align 8, !tbaa !16
  %.not38 = icmp eq ptr %30, null
  br i1 %.not38, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.loopexit42
  %.not50 = icmp eq i64 %indvars.iv57, 0
  br i1 %.not50, label %.preheader..critedge40_crit_edge, label %.lr.ph46

.preheader..critedge40_crit_edge:                 ; preds = %.preheader
  %.pre61 = load ptr, ptr %30, align 8, !tbaa !19
  br label %.critedge40

.lr.ph46:                                         ; preds = %.preheader
  %31 = getelementptr inbounds ptr, ptr %30, i64 %indvars.iv57
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  br label %34

33:                                               ; preds = %34
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next53, %indvars.iv57
  br i1 %exitcond56.not, label %.critedge40, label %34, !llvm.loop !22

34:                                               ; preds = %.lr.ph46, %33
  %indvars.iv52 = phi i64 [ 0, %.lr.ph46 ], [ %indvars.iv.next53, %33 ]
  %35 = getelementptr inbounds ptr, ptr %30, i64 %indvars.iv52
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = icmp eq ptr %36, %32
  br i1 %37, label %.loopexit, label %33

.critedge40:                                      ; preds = %33, %.preheader..critedge40_crit_edge
  %38 = phi ptr [ %.pre61, %.preheader..critedge40_crit_edge ], [ %32, %33 ]
  tail call void @ggml_dyn_tallocr_free(ptr noundef %38)
  br label %.loopexit

.loopexit:                                        ; preds = %34, %.critedge40, %.loopexit42
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %39 = load i32, ptr %3, align 8, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = icmp slt i64 %indvars.iv.next58, %40
  br i1 %41, label %20, label %._crit_edge, !llvm.loop !23

42:                                               ; preds = %1, %._crit_edge
  ret void
}

declare void @ggml_backend_buffer_free(ptr noundef) local_unnamed_addr #1

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

declare void @ggml_hash_set_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture 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 = { "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 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 #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, !10, i64 24}
!6 = !{!"ggml_gallocr", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !7, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"ggml_hash_set", !12, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 56}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 64}
!18 = !{!6, !7, i64 80}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


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