; LLVM IR from KhawajaAbaid/machine-learning-in-c :: linalg (matmul)

; 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"

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

19:                                               ; preds = %72, %5
  %20 = load i64, ptr %12, align 8, !tbaa !9
  %21 = load i64, ptr %8, align 8, !tbaa !9
  %22 = icmp ult i64 %20, %21
  br i1 %22, label %24, label %23

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

24:                                               ; preds = %19
  %25 = load i64, ptr %10, align 8, !tbaa !9
  %26 = call noalias ptr @calloc(i64 noundef %25, i64 noundef 8) #7
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = load i64, ptr %12, align 8, !tbaa !9
  %29 = getelementptr inbounds ptr, ptr %27, i64 %28
  store ptr %26, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %30

30:                                               ; preds = %68, %24
  %31 = load i64, ptr %14, align 8, !tbaa !9
  %32 = load i64, ptr %9, align 8, !tbaa !9
  %33 = icmp ult i64 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %71

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %64, %35
  %37 = load i64, ptr %15, align 8, !tbaa !9
  %38 = load i64, ptr %10, align 8, !tbaa !9
  %39 = icmp ult i64 %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %67

41:                                               ; preds = %36
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load i64, ptr %12, align 8, !tbaa !9
  %44 = getelementptr inbounds ptr, ptr %42, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = load i64, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds double, ptr %45, i64 %46
  %48 = load double, ptr %47, align 8, !tbaa !11
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i64, ptr %14, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %49, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = load i64, ptr %15, align 8, !tbaa !9
  %54 = getelementptr inbounds double, ptr %52, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = load i64, ptr %12, align 8, !tbaa !9
  %58 = getelementptr inbounds ptr, ptr %56, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = load i64, ptr %15, align 8, !tbaa !9
  %61 = getelementptr inbounds double, ptr %59, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !11
  %63 = call double @llvm.fmuladd.f64(double %48, double %55, double %62)
  store double %63, ptr %61, align 8, !tbaa !11
  br label %64

64:                                               ; preds = %41
  %65 = load i64, ptr %15, align 8, !tbaa !9
  %66 = add i64 %65, 1
  store i64 %66, ptr %15, align 8, !tbaa !9
  br label %36, !llvm.loop !13

67:                                               ; preds = %40
  br label %68

68:                                               ; preds = %67
  %69 = load i64, ptr %14, align 8, !tbaa !9
  %70 = add i64 %69, 1
  store i64 %70, ptr %14, align 8, !tbaa !9
  br label %30, !llvm.loop !15

71:                                               ; preds = %34
  br label %72

72:                                               ; preds = %71
  %73 = load i64, ptr %12, align 8, !tbaa !9
  %74 = add i64 %73, 1
  store i64 %74, ptr %12, align 8, !tbaa !9
  br label %19, !llvm.loop !16

75:                                               ; preds = %23
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret ptr %76
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(0,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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind allocsize(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 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 allocsize(0) }
attributes #7 = { nounwind allocsize(0,1) }

!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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; 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: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind memory(readwrite, argmem: read) uwtable
define dso_local noalias noundef ptr @matmul(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #3 {
  %6 = shl i64 %2, 3
  %7 = tail call noalias ptr @malloc(i64 noundef %6) #5
  %.not = icmp eq i64 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %.not32 = icmp eq i64 %3, 0
  br i1 %.not32, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph
  %.not33 = icmp eq i64 %4, 0
  br i1 %.not33, label %.preheader.lr.ph.us, label %.preheader.lr.ph.us.us.preheader

.preheader.lr.ph.us.us.preheader:                 ; preds = %.lr.ph.split.us
  %8 = shl i64 %4, 3
  %9 = shl i64 %3, 3
  %min.iters.check = icmp ult i64 %4, 4
  %n.vec = and i64 %4, -4
  %cmp.n = icmp eq i64 %n.vec, %4
  %xtraiter = and i64 %4, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %10 = add i64 %4, -1
  br label %.preheader.lr.ph.us.us

.preheader.lr.ph.us.us:                           ; preds = %.preheader.lr.ph.us.us.preheader, %._crit_edge26.split.us.us.us
  %.02327.us.us = phi i64 [ %49, %._crit_edge26.split.us.us.us ], [ 0, %.preheader.lr.ph.us.us.preheader ]
  %11 = tail call noalias ptr @calloc(i64 noundef %4, i64 noundef 8) #6
  %12 = getelementptr inbounds ptr, ptr %7, i64 %.02327.us.us
  store ptr %11, ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds ptr, ptr %0, i64 %.02327.us.us
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %scevgep = getelementptr i8, ptr %11, i64 %8
  %scevgep44 = getelementptr i8, ptr %14, i64 %9
  %bound0 = icmp ult ptr %11, %scevgep44
  %bound1 = icmp ult ptr %14, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br label %.preheader.us.us.us

.preheader.us.us.us:                              ; preds = %._crit_edge.us.us.us, %.preheader.lr.ph.us.us
  %.02225.us.us.us = phi i64 [ 0, %.preheader.lr.ph.us.us ], [ %48, %._crit_edge.us.us.us ]
  %15 = getelementptr inbounds double, ptr %14, i64 %.02225.us.us.us
  %16 = getelementptr inbounds ptr, ptr %1, i64 %.02225.us.us.us
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader.us.us.us
  %scevgep45 = getelementptr i8, ptr %17, i64 %8
  %bound046 = icmp ult ptr %11, %scevgep45
  %bound147 = icmp ult ptr %17, %scevgep
  %found.conflict48 = and i1 %bound046, %bound147
  %conflict.rdx = or i1 %found.conflict, %found.conflict48
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %18 = load double, ptr %15, align 8, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert52 = insertelement <2 x double> poison, double %18, i64 0
  %broadcast.splat53 = shufflevector <2 x double> %broadcast.splatinsert52, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %19 = getelementptr inbounds double, ptr %17, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %wide.load = load <2 x double>, ptr %19, align 8, !tbaa !9, !alias.scope !14
  %wide.load49 = load <2 x double>, ptr %20, align 8, !tbaa !9, !alias.scope !14
  %21 = getelementptr inbounds double, ptr %11, i64 %index
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  %wide.load50 = load <2 x double>, ptr %21, align 8, !tbaa !9, !alias.scope !16, !noalias !18
  %wide.load51 = load <2 x double>, ptr %22, align 8, !tbaa !9, !alias.scope !16, !noalias !18
  %23 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat53, <2 x double> %wide.load, <2 x double> %wide.load50)
  %24 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat53, <2 x double> %wide.load49, <2 x double> %wide.load51)
  store <2 x double> %23, ptr %21, align 8, !tbaa !9, !alias.scope !16, !noalias !18
  store <2 x double> %24, ptr %22, align 8, !tbaa !9, !alias.scope !16, !noalias !18
  %index.next = add nuw i64 %index, 4
  %25 = icmp eq i64 %index.next, %n.vec
  br i1 %25, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us.us.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader.us.us.us
  %.024.us.us.us.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader.us.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %26 = load double, ptr %15, align 8, !tbaa !9
  %27 = getelementptr inbounds double, ptr %17, i64 %.024.us.us.us.ph
  %28 = load double, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds double, ptr %11, i64 %.024.us.us.us.ph
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = tail call double @llvm.fmuladd.f64(double %26, double %28, double %30)
  store double %31, ptr %29, align 8, !tbaa !9
  %32 = or disjoint i64 %.024.us.us.us.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.024.us.us.us.unr = phi i64 [ %.024.us.us.us.ph, %scalar.ph.preheader ], [ %32, %scalar.ph.prol ]
  %33 = icmp eq i64 %.024.us.us.us.ph, %10
  br i1 %33, label %._crit_edge.us.us.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.024.us.us.us = phi i64 [ %47, %scalar.ph ], [ %.024.us.us.us.unr, %scalar.ph.prol.loopexit ]
  %34 = load double, ptr %15, align 8, !tbaa !9
  %35 = getelementptr inbounds double, ptr %17, i64 %.024.us.us.us
  %36 = load double, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds double, ptr %11, i64 %.024.us.us.us
  %38 = load double, ptr %37, align 8, !tbaa !9
  %39 = tail call double @llvm.fmuladd.f64(double %34, double %36, double %38)
  store double %39, ptr %37, align 8, !tbaa !9
  %40 = add nuw i64 %.024.us.us.us, 1
  %41 = load double, ptr %15, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %17, i64 %40
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds double, ptr %11, i64 %40
  %45 = load double, ptr %44, align 8, !tbaa !9
  %46 = tail call double @llvm.fmuladd.f64(double %41, double %43, double %45)
  store double %46, ptr %44, align 8, !tbaa !9
  %47 = add nuw i64 %.024.us.us.us, 2
  %exitcond.not.1 = icmp eq i64 %47, %4
  br i1 %exitcond.not.1, label %._crit_edge.us.us.us, label %scalar.ph, !llvm.loop !23

._crit_edge.us.us.us:                             ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %48 = add nuw i64 %.02225.us.us.us, 1
  %exitcond36.not = icmp eq i64 %48, %3
  br i1 %exitcond36.not, label %._crit_edge26.split.us.us.us, label %.preheader.us.us.us, !llvm.loop !24

._crit_edge26.split.us.us.us:                     ; preds = %._crit_edge.us.us.us
  %49 = add nuw i64 %.02327.us.us, 1
  %exitcond37.not = icmp eq i64 %49, %2
  br i1 %exitcond37.not, label %._crit_edge, label %.preheader.lr.ph.us.us, !llvm.loop !25

.preheader.lr.ph.us:                              ; preds = %.lr.ph.split.us, %.preheader.lr.ph.us
  %.02327.us = phi i64 [ %52, %.preheader.lr.ph.us ], [ 0, %.lr.ph.split.us ]
  %50 = tail call noalias ptr @calloc(i64 noundef 0, i64 noundef 8) #6
  %51 = getelementptr inbounds ptr, ptr %7, i64 %.02327.us
  store ptr %50, ptr %51, align 8, !tbaa !5
  %52 = add nuw i64 %.02327.us, 1
  %exitcond38.not = icmp eq i64 %52, %2
  br i1 %exitcond38.not, label %._crit_edge, label %.preheader.lr.ph.us, !llvm.loop !25

._crit_edge:                                      ; preds = %._crit_edge26.split.us.us.us, %.preheader.lr.ph.us, %.lr.ph.split, %5
  ret ptr %7

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.02327 = phi i64 [ %55, %.lr.ph.split ], [ 0, %.lr.ph ]
  %53 = tail call noalias ptr @calloc(i64 noundef %4, i64 noundef 8) #6
  %54 = getelementptr inbounds ptr, ptr %7, i64 %.02327
  store ptr %53, ptr %54, align 8, !tbaa !5
  %55 = add nuw i64 %.02327, 1
  %exitcond39.not = icmp eq i64 %55, %2
  br i1 %exitcond39.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !25
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 = { nofree nounwind memory(readwrite, argmem: read) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind allocsize(0) }
attributes #6 = { nounwind allocsize(0,1) }

!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 = !{!"double", !7, i64 0}
!11 = !{!12}
!12 = distinct !{!12, !13}
!13 = distinct !{!13, !"LVerDomain"}
!14 = !{!15}
!15 = distinct !{!15, !13}
!16 = !{!17}
!17 = distinct !{!17, !13}
!18 = !{!12, !15}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20, !21}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}


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