; LLVM IR from Amoiensis/Optimization-Algorithm :: [Direct_Method]直接法/[Univariate_Search_Method]坐标轮换法 (main)

; 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._Matrix = type { i32, i32, 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
define dso_local double @M_norm(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct._Matrix, ptr %11, i32 0, i32 2
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  store ptr %13, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._Matrix, ptr %14, i32 0, i32 0
  %16 = load i32, ptr %15, align 8, !tbaa !13
  store i32 %16, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._Matrix, ptr %17, i32 0, i32 1
  %19 = load i32, ptr %18, align 4, !tbaa !14
  store i32 %19, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store double 0.000000e+00, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %20 = load i32, ptr %4, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 2
  br i1 %21, label %22, label %61

22:                                               ; preds = %2
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %57, %22
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %27, label %60

27:                                               ; preds = %23
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %53, %27
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %32, label %56

32:                                               ; preds = %28
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = mul nsw i32 %34, %35
  %37 = load i32, ptr %10, align 4, !tbaa !9
  %38 = add nsw i32 %36, %37
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds double, ptr %33, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !15
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = mul nsw i32 %43, %44
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = add nsw i32 %45, %46
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds double, ptr %42, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !15
  %51 = load double, ptr %8, align 8, !tbaa !15
  %52 = call double @llvm.fmuladd.f64(double %41, double %50, double %51)
  store double %52, ptr %8, align 8, !tbaa !15
  br label %53

53:                                               ; preds = %32
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %10, align 4, !tbaa !9
  br label %28, !llvm.loop !17

56:                                               ; preds = %28
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %9, align 4, !tbaa !9
  br label %23, !llvm.loop !19

60:                                               ; preds = %23
  br label %94

61:                                               ; preds = %2
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %90, %61
  %63 = load i32, ptr %9, align 4, !tbaa !9
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %66, label %93

66:                                               ; preds = %62
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %86, %66
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = load i32, ptr %7, align 4, !tbaa !9
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %71, label %89

71:                                               ; preds = %67
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load i32, ptr %9, align 4, !tbaa !9
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = mul nsw i32 %73, %74
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = add nsw i32 %75, %76
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %72, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !15
  %81 = fptosi double %80 to i32
  %82 = call i32 @llvm.abs.i32(i32 %81, i1 true)
  %83 = sitofp i32 %82 to double
  %84 = load double, ptr %8, align 8, !tbaa !15
  %85 = fadd double %84, %83
  store double %85, ptr %8, align 8, !tbaa !15
  br label %86

86:                                               ; preds = %71
  %87 = load i32, ptr %10, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %10, align 4, !tbaa !9
  br label %67, !llvm.loop !20

89:                                               ; preds = %67
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %9, align 4, !tbaa !9
  br label %62, !llvm.loop !21

93:                                               ; preds = %62
  br label %94

94:                                               ; preds = %93, %60
  %95 = load double, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret double %95
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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 = !{!"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, !6, i64 8}
!12 = !{!"_Matrix", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!12, !10, i64 0}
!14 = !{!12, !10, i64 4}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local double @M_norm(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load i32, ptr %0, align 8, !tbaa !11
  %6 = getelementptr inbounds i8, ptr %0, i64 4
  %7 = load i32, ptr %6, align 4, !tbaa !12
  %8 = icmp eq i32 %1, 2
  %9 = icmp sgt i32 %5, 0
  %10 = icmp sgt i32 %7, 0
  %or.cond77 = select i1 %9, i1 %10, i1 false
  br i1 %8, label %.preheader36, label %.preheader38

.preheader38:                                     ; preds = %2
  br i1 %or.cond77, label %.preheader37.us.preheader, label %.loopexit

.preheader37.us.preheader:                        ; preds = %.preheader38
  %11 = zext nneg i32 %7 to i64
  %wide.trip.count61 = zext nneg i32 %5 to i64
  %xtraiter = and i64 %11, 1
  %12 = icmp eq i32 %7, 1
  %unroll_iter = and i64 %11, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader37.us

.preheader37.us:                                  ; preds = %.preheader37.us.preheader, %._crit_edge.us
  %indvars.iv58 = phi i64 [ 0, %.preheader37.us.preheader ], [ %indvars.iv.next59, %._crit_edge.us ]
  %.242.us = phi double [ 0.000000e+00, %.preheader37.us.preheader ], [ %.lcssa81, %._crit_edge.us ]
  %13 = mul nuw nsw i64 %indvars.iv58, %11
  %invariant.gep = getelementptr inbounds double, ptr %4, i64 %13
  br i1 %12, label %._crit_edge.us.unr-lcssa, label %.preheader37.us.new

.preheader37.us.new:                              ; preds = %.preheader37.us, %.preheader37.us.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.preheader37.us.new ], [ 0, %.preheader37.us ]
  %.340.us = phi double [ %23, %.preheader37.us.new ], [ %.242.us, %.preheader37.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader37.us.new ], [ 0, %.preheader37.us ]
  %gep = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv
  %14 = load double, ptr %gep, align 8, !tbaa !13
  %15 = fptosi double %14 to i32
  %16 = tail call i32 @llvm.abs.i32(i32 %15, i1 true)
  %17 = uitofp nneg i32 %16 to double
  %18 = fadd double %.340.us, %17
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %gep.1 = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv.next
  %19 = load double, ptr %gep.1, align 8, !tbaa !13
  %20 = fptosi double %19 to i32
  %21 = tail call i32 @llvm.abs.i32(i32 %20, i1 true)
  %22 = uitofp nneg i32 %21 to double
  %23 = fadd double %18, %22
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.preheader37.us.new, !llvm.loop !15

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader37.us.new, %.preheader37.us
  %.lcssa81.ph = phi double [ poison, %.preheader37.us ], [ %23, %.preheader37.us.new ]
  %indvars.iv.unr = phi i64 [ 0, %.preheader37.us ], [ %indvars.iv.next.1, %.preheader37.us.new ]
  %.340.us.unr = phi double [ %.242.us, %.preheader37.us ], [ %23, %.preheader37.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %gep.epil = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv.unr
  %24 = load double, ptr %gep.epil, align 8, !tbaa !13
  %25 = fptosi double %24 to i32
  %26 = tail call i32 @llvm.abs.i32(i32 %25, i1 true)
  %27 = uitofp nneg i32 %26 to double
  %28 = fadd double %.340.us.unr, %27
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %.lcssa81 = phi double [ %.lcssa81.ph, %._crit_edge.us.unr-lcssa ], [ %28, %._crit_edge.us.epilog-lcssa ]
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %exitcond62.not = icmp eq i64 %indvars.iv.next59, %wide.trip.count61
  br i1 %exitcond62.not, label %.loopexit, label %.preheader37.us, !llvm.loop !17

.preheader36:                                     ; preds = %2
  br i1 %or.cond77, label %.preheader.us.preheader, label %.loopexit

.preheader.us.preheader:                          ; preds = %.preheader36
  %29 = zext nneg i32 %7 to i64
  %wide.trip.count71 = zext nneg i32 %5 to i64
  %xtraiter84 = and i64 %29, 3
  %30 = icmp ult i32 %7, 4
  %unroll_iter87 = and i64 %29, 2147483644
  %lcmp.mod85.not = icmp eq i64 %xtraiter84, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us50
  %indvars.iv68 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next69, %._crit_edge.us50 ]
  %.03247.us = phi double [ 0.000000e+00, %.preheader.us.preheader ], [ %.lcssa, %._crit_edge.us50 ]
  %31 = mul nuw nsw i64 %indvars.iv68, %29
  %invariant.gep75 = getelementptr inbounds double, ptr %4, i64 %31
  br i1 %30, label %._crit_edge.us50.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv63 = phi i64 [ %indvars.iv.next64.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %.13345.us = phi double [ %39, %.preheader.us.new ], [ %.03247.us, %.preheader.us ]
  %niter88 = phi i64 [ %niter88.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %gep76 = getelementptr inbounds double, ptr %invariant.gep75, i64 %indvars.iv63
  %32 = load double, ptr %gep76, align 8, !tbaa !13
  %33 = tail call double @llvm.fmuladd.f64(double %32, double %32, double %.13345.us)
  %indvars.iv.next64 = or disjoint i64 %indvars.iv63, 1
  %gep76.1 = getelementptr inbounds double, ptr %invariant.gep75, i64 %indvars.iv.next64
  %34 = load double, ptr %gep76.1, align 8, !tbaa !13
  %35 = tail call double @llvm.fmuladd.f64(double %34, double %34, double %33)
  %indvars.iv.next64.1 = or disjoint i64 %indvars.iv63, 2
  %gep76.2 = getelementptr inbounds double, ptr %invariant.gep75, i64 %indvars.iv.next64.1
  %36 = load double, ptr %gep76.2, align 8, !tbaa !13
  %37 = tail call double @llvm.fmuladd.f64(double %36, double %36, double %35)
  %indvars.iv.next64.2 = or disjoint i64 %indvars.iv63, 3
  %gep76.3 = getelementptr inbounds double, ptr %invariant.gep75, i64 %indvars.iv.next64.2
  %38 = load double, ptr %gep76.3, align 8, !tbaa !13
  %39 = tail call double @llvm.fmuladd.f64(double %38, double %38, double %37)
  %indvars.iv.next64.3 = add nuw nsw i64 %indvars.iv63, 4
  %niter88.next.3 = add i64 %niter88, 4
  %niter88.ncmp.3 = icmp eq i64 %niter88.next.3, %unroll_iter87
  br i1 %niter88.ncmp.3, label %._crit_edge.us50.unr-lcssa, label %.preheader.us.new, !llvm.loop !18

._crit_edge.us50.unr-lcssa:                       ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa.ph = phi double [ poison, %.preheader.us ], [ %39, %.preheader.us.new ]
  %indvars.iv63.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next64.3, %.preheader.us.new ]
  %.13345.us.unr = phi double [ %.03247.us, %.preheader.us ], [ %39, %.preheader.us.new ]
  br i1 %lcmp.mod85.not, label %._crit_edge.us50, label %.epil.preheader83

.epil.preheader83:                                ; preds = %._crit_edge.us50.unr-lcssa, %.epil.preheader83
  %indvars.iv63.epil = phi i64 [ %indvars.iv.next64.epil, %.epil.preheader83 ], [ %indvars.iv63.unr, %._crit_edge.us50.unr-lcssa ]
  %.13345.us.epil = phi double [ %41, %.epil.preheader83 ], [ %.13345.us.unr, %._crit_edge.us50.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader83 ], [ 0, %._crit_edge.us50.unr-lcssa ]
  %gep76.epil = getelementptr inbounds double, ptr %invariant.gep75, i64 %indvars.iv63.epil
  %40 = load double, ptr %gep76.epil, align 8, !tbaa !13
  %41 = tail call double @llvm.fmuladd.f64(double %40, double %40, double %.13345.us.epil)
  %indvars.iv.next64.epil = add nuw nsw i64 %indvars.iv63.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter84
  br i1 %epil.iter.cmp.not, label %._crit_edge.us50, label %.epil.preheader83, !llvm.loop !19

._crit_edge.us50:                                 ; preds = %.epil.preheader83, %._crit_edge.us50.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge.us50.unr-lcssa ], [ %41, %.epil.preheader83 ]
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %exitcond72.not = icmp eq i64 %indvars.iv.next69, %wide.trip.count71
  br i1 %exitcond72.not, label %.loopexit, label %.preheader.us, !llvm.loop !21

.loopexit:                                        ; preds = %._crit_edge.us, %._crit_edge.us50, %.preheader38, %.preheader36
  %.4 = phi double [ 0.000000e+00, %.preheader36 ], [ 0.000000e+00, %.preheader38 ], [ %.lcssa, %._crit_edge.us50 ], [ %.lcssa81, %._crit_edge.us ]
  ret double %.4
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #0

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) 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" }

!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 8}
!6 = !{!"_Matrix", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!21 = distinct !{!21, !16}


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