; LLVM IR from Aryansh-S/USACO :: USACO/Training/3.1/Agri-Net (AgriNet)

; 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.Prim = type { %"class.std::priority_queue", [105 x i8], [105 x i32], [105 x i32], [105 x %"class.std::vector"] }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@mat = external dso_local global [105 x [105 x i32]], align 16
@p = external dso_local global %struct.Prim, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %5 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %7
  %9 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %8, ptr noundef null)
  %10 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = call noalias ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %18

13:                                               ; preds = %0
  %14 = load ptr, ptr @stdin, align 8, !tbaa !8
  %15 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %14)
  %16 = load ptr, ptr @stdout, align 8, !tbaa !8
  %17 = call ptr @freopen(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %16)
  br label %18

18:                                               ; preds = %13, %0
  call void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  %19 = load i32, ptr @n, align 4, !tbaa !11
  %20 = icmp sgt i32 0, %19
  %21 = zext i1 %20 to i32
  %22 = sub nsw i32 0, %21
  store i32 %22, ptr %2, align 4, !tbaa !11
  br label %23

23:                                               ; preds = %70, %18
  %24 = load i32, ptr %2, align 4, !tbaa !11
  %25 = load i32, ptr @n, align 4, !tbaa !11
  %26 = load i32, ptr @n, align 4, !tbaa !11
  %27 = icmp sgt i32 0, %26
  %28 = zext i1 %27 to i32
  %29 = sub nsw i32 %25, %28
  %30 = icmp ne i32 %24, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %23
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %77

32:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %33 = load i32, ptr @n, align 4, !tbaa !11
  %34 = icmp sgt i32 0, %33
  %35 = zext i1 %34 to i32
  %36 = sub nsw i32 0, %35
  store i32 %36, ptr %4, align 4, !tbaa !11
  br label %37

37:                                               ; preds = %62, %32
  %38 = load i32, ptr %4, align 4, !tbaa !11
  %39 = load i32, ptr @n, align 4, !tbaa !11
  %40 = load i32, ptr @n, align 4, !tbaa !11
  %41 = icmp sgt i32 0, %40
  %42 = zext i1 %41 to i32
  %43 = sub nsw i32 %39, %42
  %44 = icmp ne i32 %38, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %37
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %69

46:                                               ; preds = %37
  %47 = load i32, ptr %2, align 4, !tbaa !11
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [105 x [105 x i32]], ptr @mat, i64 0, i64 %48
  %50 = load i32, ptr %4, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [105 x i32], ptr %49, i64 0, i64 %51
  call void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) %52)
  %53 = load i32, ptr %2, align 4, !tbaa !11
  %54 = load i32, ptr %4, align 4, !tbaa !11
  %55 = load i32, ptr %2, align 4, !tbaa !11
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [105 x [105 x i32]], ptr @mat, i64 0, i64 %56
  %58 = load i32, ptr %4, align 4, !tbaa !11
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [105 x i32], ptr %57, i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !11
  call void @_ZN4PrimIiLi105EE4add_Eiii(ptr noundef nonnull align 8 dereferenceable(3504) @p, i32 noundef %53, i32 noundef %54, i32 noundef %61)
  br label %62

62:                                               ; preds = %46
  %63 = load i32, ptr @n, align 4, !tbaa !11
  %64 = icmp sgt i32 0, %63
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, i32 -1, i32 1
  %67 = load i32, ptr %4, align 4, !tbaa !11
  %68 = add nsw i32 %67, %66
  store i32 %68, ptr %4, align 4, !tbaa !11
  br label %37, !llvm.loop !13

69:                                               ; preds = %45
  br label %70

70:                                               ; preds = %69
  %71 = load i32, ptr @n, align 4, !tbaa !11
  %72 = icmp sgt i32 0, %71
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, i32 -1, i32 1
  %75 = load i32, ptr %2, align 4, !tbaa !11
  %76 = add nsw i32 %75, %74
  store i32 %76, ptr %2, align 4, !tbaa !11
  br label %23, !llvm.loop !15

77:                                               ; preds = %31
  call void @_ZN4PrimIiLi105EE3updEi(ptr noundef nonnull align 8 dereferenceable(3504) @p, i32 noundef 0)
  %78 = call noundef i32 @_ZN4PrimIiLi105EE3sumEv(ptr noundef nonnull align 8 dereferenceable(3504) @p)
  call void @_Z3outIiEvT_(i32 noundef %78)
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #1 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #2

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4PrimIiLi105EE4add_Eiii(ptr noundef nonnull align 8 dereferenceable(3504), i32 noundef, i32 noundef, i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4PrimIiLi105EE3updEi(ptr noundef nonnull align 8 dereferenceable(3504), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3outIiEvT_(i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4PrimIiLi105EE3sumEv(ptr noundef nonnull align 8 dereferenceable(3504)) #1 align 2

attributes #0 = { mustprogress norecurse 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 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 = { mustprogress 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 willreturn memory(argmem: readwrite) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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"

%struct.Prim = type { %"class.std::priority_queue", [105 x i8], [105 x i32], [105 x i32], [105 x %"class.std::vector"] }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@mat = external dso_local global [105 x [105 x i32]], align 16
@p = external dso_local global %struct.Prim, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %2 = getelementptr i8, ptr %1, i64 -24
  %3 = load i64, ptr %2, align 8
  %4 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %3
  %5 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %4, ptr noundef null)
  %6 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %7 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3)
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %13, label %8

8:                                                ; preds = %0
  %9 = load ptr, ptr @stdin, align 8, !tbaa !8
  %10 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %9)
  %11 = load ptr, ptr @stdout, align 8, !tbaa !8
  %12 = tail call ptr @freopen(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %11)
  br label %13

13:                                               ; preds = %8, %0
  tail call void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) @n)
  %14 = load i32, ptr @n, align 4, !tbaa !11
  %.not1121 = icmp eq i32 %14, 0
  br i1 %.not1121, label %._crit_edge24, label %.preheader.preheader

.preheader.preheader:                             ; preds = %13
  %.lobit.neg = ashr i32 %14, 31
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %15 = phi i32 [ %19, %._crit_edge ], [ %14, %.preheader.preheader ]
  %.lobit.neg1323 = phi i32 [ %.lobit.neg13.pre-phi, %._crit_edge ], [ %.lobit.neg, %.preheader.preheader ]
  %.01022 = phi i32 [ %21, %._crit_edge ], [ %.lobit.neg, %.preheader.preheader ]
  %.lobit.neg1417 = ashr i32 %15, 31
  %16 = add i32 %.lobit.neg1417, %15
  %.not1518 = icmp eq i32 %.lobit.neg1323, %16
  br i1 %.not1518, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %17 = sext i32 %.01022 to i64
  br label %22

._crit_edge24:                                    ; preds = %._crit_edge, %13
  tail call void @_ZN4PrimIiLi105EE3updEi(ptr noundef nonnull align 8 dereferenceable(3504) @p, i32 noundef 0)
  %18 = tail call noundef i32 @_ZN4PrimIiLi105EE3sumEv(ptr noundef nonnull align 8 dereferenceable(3504) @p)
  tail call void @_Z3outIiEvT_(i32 noundef %18)
  ret i32 0

._crit_edge:                                      ; preds = %22, %.preheader
  %.pre-phi = phi i32 [ %16, %.preheader ], [ %29, %22 ]
  %.lobit.neg13.pre-phi = phi i32 [ %.lobit.neg1417, %.preheader ], [ %.lobit.neg14, %22 ]
  %19 = phi i32 [ %15, %.preheader ], [ %26, %22 ]
  %.inv = icmp sgt i32 %19, -1
  %20 = select i1 %.inv, i32 1, i32 -1
  %21 = add nsw i32 %20, %.01022
  %.not11 = icmp eq i32 %21, %.pre-phi
  br i1 %.not11, label %._crit_edge24, label %.preheader, !llvm.loop !13

22:                                               ; preds = %.lr.ph, %22
  %.019 = phi i32 [ %.lobit.neg1323, %.lr.ph ], [ %28, %22 ]
  %23 = sext i32 %.019 to i64
  %24 = getelementptr inbounds [105 x [105 x i32]], ptr @mat, i64 0, i64 %17, i64 %23
  tail call void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) %24)
  %25 = load i32, ptr %24, align 4, !tbaa !11
  tail call void @_ZN4PrimIiLi105EE4add_Eiii(ptr noundef nonnull align 8 dereferenceable(3504) @p, i32 noundef %.01022, i32 noundef %.019, i32 noundef %25)
  %26 = load i32, ptr @n, align 4, !tbaa !11
  %.inv16 = icmp sgt i32 %26, -1
  %27 = select i1 %.inv16, i32 1, i32 -1
  %28 = add nsw i32 %27, %.019
  %.lobit.neg14 = ashr i32 %26, 31
  %29 = add i32 %.lobit.neg14, %26
  %.not15 = icmp eq i32 %28, %29
  br i1 %.not15, label %._crit_edge, label %22, !llvm.loop !15
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2inIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4PrimIiLi105EE4add_Eiii(ptr noundef nonnull align 8 dereferenceable(3504), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4PrimIiLi105EE3updEi(ptr noundef nonnull align 8 dereferenceable(3504), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3outIiEvT_(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4PrimIiLi105EE3sumEv(ptr noundef nonnull align 8 dereferenceable(3504)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress norecurse 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 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 = { nofree 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 = { mustprogress 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, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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