; LLVM IR from siconos/siconos :: externals/lbl/metis4 (estmem)

; 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: nounwind uwtable
define dso_local void @METIS_EstimateMemory(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 1
  br i1 %27, label %28, label %33

28:                                               ; preds = %6
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load i32, ptr %29, align 4, !tbaa !9
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  call void @__Change2CNumbering(i32 noundef %30, ptr noundef %31, ptr noundef %32)
  br label %33

33:                                               ; preds = %28, %6
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %34, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !9
  store i32 %39, ptr %16, align 4, !tbaa !9
  call void @__InitRandom(i32 noundef -1)
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  call void @__EstimateCFraction(i32 noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %18, ptr noundef %19)
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = icmp eq i32 %45, 2
  br i1 %46, label %47, label %49

47:                                               ; preds = %33
  %48 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %48, ptr %22, align 4, !tbaa !9
  br label %50

49:                                               ; preds = %33
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %49, %47
  %51 = load i32, ptr %16, align 4, !tbaa !9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = mul nsw i32 11, %53
  %55 = add nsw i32 %51, %54
  %56 = add nsw i32 %55, 4096
  %57 = sext i32 %56 to i64
  %58 = add i64 %57, 4004
  %59 = load i32, ptr %22, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = add i64 %60, %58
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %22, align 4, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = mul nsw i32 2, %64
  %66 = load i32, ptr %22, align 4, !tbaa !9
  %67 = add nsw i32 %66, %65
  store i32 %67, ptr %22, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %68, ptr %23, align 4, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = sitofp i32 %70 to double
  %72 = fdiv double 1.000000e+02, %71
  %73 = call double @log(double noundef %72) #5
  %74 = load float, ptr %18, align 4, !tbaa !11
  %75 = fpext float %74 to double
  %76 = call double @log(double noundef %75) #5
  %77 = fdiv double %73, %76
  %78 = fadd double %77, 5.000000e-01
  %79 = fptosi double %78 to i32
  store i32 %79, ptr %17, align 4, !tbaa !9
  %80 = load float, ptr %18, align 4, !tbaa !11
  %81 = fpext float %80 to double
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = sitofp i32 %82 to double
  %84 = call double @pow(double noundef %81, double noundef %83) #5
  %85 = fsub double 1.000000e+00, %84
  %86 = load float, ptr %18, align 4, !tbaa !11
  %87 = fpext float %86 to double
  %88 = fsub double 1.000000e+00, %87
  %89 = fdiv double %85, %88
  %90 = fadd double 5.000000e-01, %89
  %91 = fptrunc double %90 to float
  store float %91, ptr %20, align 4, !tbaa !11
  %92 = load float, ptr %19, align 4, !tbaa !11
  %93 = fpext float %92 to double
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  %96 = sitofp i32 %95 to double
  %97 = call double @pow(double noundef %93, double noundef %96) #5
  %98 = fsub double 1.000000e+00, %97
  %99 = load float, ptr %19, align 4, !tbaa !11
  %100 = fpext float %99 to double
  %101 = fsub double 1.000000e+00, %100
  %102 = fdiv double %98, %101
  %103 = fadd double 1.000000e+00, %102
  %104 = fptrunc double %103 to float
  store float %104, ptr %21, align 4, !tbaa !11
  %105 = load float, ptr %20, align 4, !tbaa !11
  %106 = fmul float %105, 4.000000e+00
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = sitofp i32 %108 to float
  %110 = load float, ptr %21, align 4, !tbaa !11
  %111 = fmul float %110, 2.000000e+00
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = sitofp i32 %112 to float
  %114 = fmul float %111, %113
  %115 = call float @llvm.fmuladd.f32(float %106, float %109, float %114)
  %116 = load i32, ptr %23, align 4, !tbaa !9
  %117 = sitofp i32 %116 to float
  %118 = fadd float %117, %115
  %119 = fptosi float %118 to i32
  store i32 %119, ptr %23, align 4, !tbaa !9
  %120 = load float, ptr %20, align 4, !tbaa !11
  %121 = fpext float %120 to double
  %122 = fsub double %121, 1.000000e+00
  %123 = fmul double %122, 4.000000e+00
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = sitofp i32 %125 to double
  %127 = load float, ptr %21, align 4, !tbaa !11
  %128 = fpext float %127 to double
  %129 = fsub double %128, 1.000000e+00
  %130 = fmul double %129, 2.000000e+00
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = sitofp i32 %131 to double
  %133 = fmul double %130, %132
  %134 = call double @llvm.fmuladd.f64(double %123, double %126, double %133)
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = mul nsw i32 5, %136
  %138 = sitofp i32 %137 to double
  %139 = fcmp olt double %134, %138
  br i1 %139, label %140, label %141

140:                                              ; preds = %50
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %145

141:                                              ; preds = %50
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = mul nsw i32 5, %143
  store i32 %144, ptr %24, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %141, %140
  %146 = load i32, ptr %22, align 4, !tbaa !9
  %147 = load i32, ptr %23, align 4, !tbaa !9
  %148 = add nsw i32 %146, %147
  %149 = load i32, ptr %24, align 4, !tbaa !9
  %150 = add nsw i32 %148, %149
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = add nsw i32 %150, %152
  %154 = sext i32 %153 to i64
  %155 = mul i64 4, %154
  %156 = trunc i64 %155 to i32
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 %156, ptr %157, align 4, !tbaa !9
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %166

161:                                              ; preds = %145
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  call void @__Change2FNumbering2(i32 noundef %163, ptr noundef %164, ptr noundef %165)
  br label %166

166:                                              ; preds = %161, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret void
}

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

declare void @__Change2CNumbering(i32 noundef, ptr noundef, ptr noundef) #2

declare void @__InitRandom(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @__EstimateCFraction(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare double @log(double noundef) #3

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

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

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

!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, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; 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 @METIS_EstimateMemory(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %9 = load i32, ptr %3, align 4, !tbaa !5
  %10 = icmp eq i32 %9, 1
  br i1 %10, label %11, label %13

11:                                               ; preds = %6
  %12 = load i32, ptr %0, align 4, !tbaa !5
  tail call void @__Change2CNumbering(i32 noundef %12, ptr noundef %1, ptr noundef %2) #5
  br label %13

13:                                               ; preds = %11, %6
  %14 = load i32, ptr %0, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds i32, ptr %1, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !5
  tail call void @__InitRandom(i32 noundef -1) #5
  %18 = load i32, ptr %0, align 4, !tbaa !5
  call void @__EstimateCFraction(i32 noundef %18, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %7, ptr noundef nonnull %8)
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 2
  %. = select i1 %20, i32 %17, i32 0
  %21 = load i32, ptr %0, align 4, !tbaa !5
  %22 = sitofp i32 %21 to double
  %23 = fdiv double 1.000000e+02, %22
  %24 = call double @log(double noundef %23) #5
  %25 = load float, ptr %7, align 4, !tbaa !9
  %26 = fpext float %25 to double
  %27 = call double @log(double noundef %26) #5
  %28 = fdiv double %24, %27
  %29 = fadd double %28, 5.000000e-01
  %30 = fptosi double %29 to i32
  %31 = load float, ptr %7, align 4, !tbaa !9
  %32 = fpext float %31 to double
  %33 = sitofp i32 %30 to double
  %34 = call double @pow(double noundef %32, double noundef %33) #5
  %35 = fsub double 1.000000e+00, %34
  %36 = load float, ptr %7, align 4, !tbaa !9
  %37 = fpext float %36 to double
  %38 = fsub double 1.000000e+00, %37
  %39 = fdiv double %35, %38
  %40 = fadd double %39, 5.000000e-01
  %41 = fptrunc double %40 to float
  %42 = load float, ptr %8, align 4, !tbaa !9
  %43 = fpext float %42 to double
  %44 = add nsw i32 %30, 1
  %45 = sitofp i32 %44 to double
  %46 = call double @pow(double noundef %43, double noundef %45) #5
  %47 = fsub double 1.000000e+00, %46
  %48 = load float, ptr %8, align 4, !tbaa !9
  %49 = fpext float %48 to double
  %50 = fsub double 1.000000e+00, %49
  %51 = fdiv double %47, %50
  %52 = fadd double %51, 1.000000e+00
  %53 = fptrunc double %52 to float
  %54 = fmul float %41, 4.000000e+00
  %55 = load i32, ptr %0, align 4, !tbaa !5
  %56 = sitofp i32 %55 to float
  %57 = fmul float %53, 2.000000e+00
  %58 = sitofp i32 %17 to float
  %59 = fmul float %57, %58
  %60 = call float @llvm.fmuladd.f32(float %54, float %56, float %59)
  %61 = fadd float %60, %58
  %62 = fptosi float %61 to i32
  %63 = fpext float %41 to double
  %64 = fadd double %63, -1.000000e+00
  %65 = fmul double %64, 4.000000e+00
  %66 = sitofp i32 %55 to double
  %67 = fpext float %53 to double
  %68 = fadd double %67, -1.000000e+00
  %69 = fmul double %68, 2.000000e+00
  %70 = sitofp i32 %17 to double
  %71 = fmul double %69, %70
  %72 = call double @llvm.fmuladd.f64(double %65, double %66, double %71)
  %73 = mul nsw i32 %55, 5
  %74 = sitofp i32 %73 to double
  %75 = fcmp olt double %72, %74
  %.0 = select i1 %75, i32 0, i32 %73
  %reass.mul = mul i32 %21, 13
  %76 = add i32 %17, 8100
  %77 = add i32 %76, %.
  %78 = add i32 %77, %reass.mul
  %79 = add i32 %78, %55
  %80 = add i32 %79, %62
  %81 = add i32 %80, %.0
  %82 = shl i32 %81, 2
  store i32 %82, ptr %5, align 4, !tbaa !5
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %85, label %87

85:                                               ; preds = %13
  %86 = load i32, ptr %0, align 4, !tbaa !5
  call void @__Change2FNumbering2(i32 noundef %86, ptr noundef nonnull %1, ptr noundef %2) #5
  br label %87

87:                                               ; preds = %85, %13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  ret void
}

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

declare void @__Change2CNumbering(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @__InitRandom(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @__EstimateCFraction(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

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

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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"float", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass