; LLVM IR from Aryansh-S/USACO :: USACO/2018/Dec/Gold (cowpatib)

; 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.ar = type { [5 x i64] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<ar, std::pair<const ar, long long>, std::_Select1st<std::pair<const ar, long long>>, std::less<ar>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ar, std::pair<const ar, long long>, std::_Select1st<std::pair<const ar, long long>>, std::less<ar>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, 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 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair" = type { %struct.ar, i64 }

@v = external dso_local global %struct.ar, align 8
@n = external dso_local global i64, align 8
@setcnt = external dso_local global %"class.std::map", align 8
@first = external dso_local global [200005 x [5 x i64]], align 16
@ans = external dso_local global i64, align 8
@lset = external dso_local global i64, align 8
@sz = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = 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 i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %18 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.2)
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %25

20:                                               ; preds = %0
  %21 = load ptr, ptr @stdin, align 8, !tbaa !8
  %22 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.2, ptr noundef %21)
  %23 = load ptr, ptr @stdout, align 8, !tbaa !8
  %24 = call ptr @freopen(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %23)
  br label %25

25:                                               ; preds = %20, %0
  call void @_Z2reIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) @n)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  store i64 0, ptr %2, align 8, !tbaa !11
  br label %26

26:                                               ; preds = %98, %25
  %27 = load i64, ptr %2, align 8, !tbaa !11
  %28 = load i64, ptr @n, align 8, !tbaa !11
  %29 = icmp slt i64 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %101

31:                                               ; preds = %26
  %32 = load i64, ptr %2, align 8, !tbaa !11
  %33 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %32
  %34 = call noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %33) #7
  %35 = load i64, ptr %2, align 8, !tbaa !11
  %36 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %35
  %37 = call noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %36) #7
  call void @_Z2inIPxEvT_S1_(ptr noundef %34, ptr noundef %37)
  %38 = load i64, ptr %2, align 8, !tbaa !11
  %39 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %38
  %40 = call noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %39) #7
  %41 = load i64, ptr %2, align 8, !tbaa !11
  %42 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %41
  %43 = call noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %42) #7
  call void @_ZSt4sortIPxEvT_S1_(ptr noundef %40, ptr noundef %43)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !13
  br label %44

44:                                               ; preds = %94, %31
  %45 = load i32, ptr %4, align 4, !tbaa !13
  %46 = icmp slt i32 %45, 32
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %97

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !13
  br label %49

49:                                               ; preds = %71, %48
  %50 = load i32, ptr %5, align 4, !tbaa !13
  %51 = icmp slt i32 %50, 5
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %74

53:                                               ; preds = %49
  %54 = load i32, ptr %4, align 4, !tbaa !13
  %55 = load i32, ptr %5, align 4, !tbaa !13
  %56 = ashr i32 %54, %55
  %57 = and i32 %56, 1
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %70

59:                                               ; preds = %53
  %60 = load i64, ptr %2, align 8, !tbaa !11
  %61 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %60
  %62 = load i32, ptr %5, align 4, !tbaa !13
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [5 x i64], ptr %61, i64 0, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !11
  %66 = load i64, ptr @lset, align 8, !tbaa !11
  %67 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %66
  store i64 %65, ptr %67, align 8, !tbaa !11
  %68 = load i64, ptr @lset, align 8, !tbaa !11
  %69 = add nsw i64 %68, 1
  store i64 %69, ptr @lset, align 8, !tbaa !11
  br label %70

70:                                               ; preds = %59, %53
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %5, align 4, !tbaa !13
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %5, align 4, !tbaa !13
  br label %49, !llvm.loop !15

74:                                               ; preds = %52
  %75 = load i64, ptr @lset, align 8, !tbaa !11
  %76 = icmp ne i64 %75, 0
  br i1 %76, label %77, label %81

77:                                               ; preds = %74
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @setcnt, ptr noundef nonnull align 8 dereferenceable(40) @v)
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %78, align 8, !tbaa !11
  br label %81

81:                                               ; preds = %77, %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %82

82:                                               ; preds = %90, %81
  %83 = load i32, ptr %6, align 4, !tbaa !13
  %84 = icmp slt i32 %83, 5
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %93

86:                                               ; preds = %82
  %87 = load i32, ptr %6, align 4, !tbaa !13
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %88
  store i64 0, ptr %89, align 8, !tbaa !11
  br label %90

90:                                               ; preds = %86
  %91 = load i32, ptr %6, align 4, !tbaa !13
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %6, align 4, !tbaa !13
  br label %82, !llvm.loop !17

93:                                               ; preds = %85
  store i64 0, ptr @lset, align 8, !tbaa !11
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %4, align 4, !tbaa !13
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %4, align 4, !tbaa !13
  br label %44, !llvm.loop !18

97:                                               ; preds = %47
  br label %98

98:                                               ; preds = %97
  %99 = load i64, ptr %2, align 8, !tbaa !11
  %100 = add nsw i64 %99, 1
  store i64 %100, ptr %2, align 8, !tbaa !11
  br label %26, !llvm.loop !19

101:                                              ; preds = %30
  %102 = load i64, ptr @n, align 8, !tbaa !11
  %103 = load i64, ptr @n, align 8, !tbaa !11
  %104 = sub nsw i64 %103, 1
  %105 = mul nsw i64 %102, %104
  %106 = sdiv i64 %105, 2
  store i64 %106, ptr @ans, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store ptr @setcnt, ptr %7, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %107 = call ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @setcnt) #7
  %108 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %8, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %109 = call ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @setcnt) #7
  %110 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %9, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  br label %111

111:                                              ; preds = %155, %101
  %112 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK2arxEES6_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %112, label %114, label %113

113:                                              ; preds = %111
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %157

114:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %115 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK2arxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  store ptr %115, ptr %10, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %116

116:                                              ; preds = %133, %114
  %117 = load i32, ptr %11, align 4, !tbaa !13
  %118 = icmp slt i32 %117, 5
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  store i32 16, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %136

120:                                              ; preds = %116
  %121 = load ptr, ptr %10, align 8, !tbaa !8
  %122 = getelementptr inbounds %"struct.std::pair", ptr %121, i32 0, i32 0
  %123 = getelementptr inbounds %struct.ar, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %11, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [5 x i64], ptr %123, i64 0, i64 %125
  %127 = load i64, ptr %126, align 8, !tbaa !11
  %128 = icmp ne i64 %127, 0
  br i1 %128, label %129, label %132

129:                                              ; preds = %120
  %130 = load i64, ptr @sz, align 8, !tbaa !11
  %131 = add nsw i64 %130, 1
  store i64 %131, ptr @sz, align 8, !tbaa !11
  br label %132

132:                                              ; preds = %129, %120
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %11, align 4, !tbaa !13
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %11, align 4, !tbaa !13
  br label %116, !llvm.loop !20

136:                                              ; preds = %119
  %137 = load i64, ptr @sz, align 8, !tbaa !11
  %138 = srem i64 %137, 2
  %139 = icmp ne i64 %138, 0
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, i32 1, i32 -1
  %142 = sext i32 %141 to i64
  %143 = load ptr, ptr %10, align 8, !tbaa !8
  %144 = getelementptr inbounds %"struct.std::pair", ptr %143, i32 0, i32 1
  %145 = load i64, ptr %144, align 8, !tbaa !21
  %146 = mul nsw i64 %142, %145
  %147 = load ptr, ptr %10, align 8, !tbaa !8
  %148 = getelementptr inbounds %"struct.std::pair", ptr %147, i32 0, i32 1
  %149 = load i64, ptr %148, align 8, !tbaa !21
  %150 = sub nsw i64 %149, 1
  %151 = mul nsw i64 %146, %150
  %152 = sdiv i64 %151, 2
  %153 = load i64, ptr @ans, align 8, !tbaa !11
  %154 = sub nsw i64 %153, %152
  store i64 %154, ptr @ans, align 8, !tbaa !11
  store i64 0, ptr @sz, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %155

155:                                              ; preds = %136
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK2arxEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %111

157:                                              ; preds = %113
  call void @_Z2prIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) @ans)
  %158 = load i32, ptr %1, align 4
  ret i32 %158
}

; 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 @_Z2reIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8)) #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 @_Z2inIPxEvT_S1_(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPxEvT_S1_(ptr noundef, ptr noundef) #6

; 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 noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK2arxEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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 = { inlinehint 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 #6 = { inlinehint 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 #7 = { 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 = !{!"long long", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = !{!22, !12, i64 40}
!22 = !{!"_ZTSSt4pairIK2arxE", !23, i64 0, !12, i64 40}
!23 = !{!"_ZTS2ar", !10, 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"

%struct.ar = type { [5 x i64] }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<ar, std::pair<const ar, long long>, std::_Select1st<std::pair<const ar, long long>>, std::less<ar>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ar, std::pair<const ar, long long>, std::_Select1st<std::pair<const ar, long long>>, std::less<ar>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, 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 }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@v = external dso_local global %struct.ar, align 8
@n = external dso_local global i64, align 8
@setcnt = external dso_local global %"class.std::map", align 8
@first = external dso_local global [200005 x [5 x i64]], align 16
@ans = external dso_local global i64, align 8
@lset = external dso_local local_unnamed_addr global i64, align 8
@sz = external dso_local local_unnamed_addr global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = 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 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %2 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %3 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %9 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2)
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %15, label %10

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

15:                                               ; preds = %10, %0
  tail call void @_Z2reIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) @n)
  %16 = load i64, ptr @n, align 8, !tbaa !11
  %17 = icmp sgt i64 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit, %15
  %.lcssa = phi i64 [ %16, %15 ], [ %39, %.loopexit ]
  %18 = add nsw i64 %.lcssa, -1
  %19 = mul nsw i64 %18, %.lcssa
  %20 = sdiv i64 %19, 2
  store i64 %20, ptr @ans, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #9
  %21 = tail call ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @setcnt) #9
  store ptr %21, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %22 = tail call ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @setcnt) #9
  store ptr %22, ptr %2, align 8
  %23 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK2arxEES6_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br i1 %23, label %.lr.ph38, label %._crit_edge39

.lr.ph:                                           ; preds = %15, %.loopexit
  %.02335 = phi i64 [ %38, %.loopexit ], [ 0, %15 ]
  %24 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %.02335
  %25 = tail call noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  %26 = tail call noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  tail call void @_Z2inIPxEvT_S1_(ptr noundef %25, ptr noundef %26)
  %27 = tail call noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  %28 = tail call noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40) %24) #9
  tail call void @_ZSt4sortIPxEvT_S1_(ptr noundef %27, ptr noundef %28)
  %lset.promoted.pre = load i64, ptr @lset, align 8, !tbaa !11
  %29 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %.02335, i64 1
  %30 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %.02335, i64 2
  %31 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %.02335, i64 3
  %32 = getelementptr inbounds [200005 x [5 x i64]], ptr @first, i64 0, i64 %.02335, i64 4
  %.not30.peel = icmp eq i64 %lset.promoted.pre, 0
  br i1 %.not30.peel, label %.preheader.peel.next, label %33

33:                                               ; preds = %.lr.ph
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @setcnt, ptr noundef nonnull align 8 dereferenceable(40) @v)
  %35 = load i64, ptr %34, align 8, !tbaa !11
  %36 = add nsw i64 %35, 1
  store i64 %36, ptr %34, align 8, !tbaa !11
  br label %.preheader.peel.next

.preheader.peel.next:                             ; preds = %33, %.lr.ph
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) @v, i8 0, i64 40, i1 false), !tbaa !11
  store i64 0, ptr @lset, align 8, !tbaa !11
  br label %.preheader

.preheader:                                       ; preds = %.preheader.peel.next, %77
  %.02634 = phi i32 [ 1, %.preheader.peel.next ], [ %78, %77 ]
  %37 = and i32 %.02634, 1
  %.not31 = icmp eq i32 %37, 0
  br i1 %.not31, label %43, label %41

.loopexit:                                        ; preds = %77
  %38 = add nuw nsw i64 %.02335, 1
  %39 = load i64, ptr @n, align 8, !tbaa !11
  %40 = icmp slt i64 %38, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !13

41:                                               ; preds = %.preheader
  %42 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %42, ptr @v, align 8, !tbaa !11
  store i64 1, ptr @lset, align 8, !tbaa !11
  br label %43

43:                                               ; preds = %.preheader, %41
  %44 = phi i64 [ 0, %.preheader ], [ 1, %41 ]
  %45 = and i32 %.02634, 2
  %.not31.1 = icmp eq i32 %45, 0
  br i1 %.not31.1, label %50, label %46

46:                                               ; preds = %43
  %47 = load i64, ptr %29, align 8, !tbaa !11
  %48 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %44
  store i64 %47, ptr %48, align 8, !tbaa !11
  %49 = add nuw nsw i64 %44, 1
  store i64 %49, ptr @lset, align 8, !tbaa !11
  br label %50

50:                                               ; preds = %46, %43
  %51 = phi i64 [ %44, %43 ], [ %49, %46 ]
  %52 = and i32 %.02634, 4
  %.not31.2 = icmp eq i32 %52, 0
  br i1 %.not31.2, label %57, label %53

53:                                               ; preds = %50
  %54 = load i64, ptr %30, align 8, !tbaa !11
  %55 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %51
  store i64 %54, ptr %55, align 8, !tbaa !11
  %56 = add nsw i64 %51, 1
  store i64 %56, ptr @lset, align 8, !tbaa !11
  br label %57

57:                                               ; preds = %53, %50
  %58 = phi i64 [ %51, %50 ], [ %56, %53 ]
  %59 = and i32 %.02634, 8
  %.not31.3 = icmp eq i32 %59, 0
  br i1 %.not31.3, label %64, label %60

60:                                               ; preds = %57
  %61 = load i64, ptr %31, align 8, !tbaa !11
  %62 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %58
  store i64 %61, ptr %62, align 8, !tbaa !11
  %63 = add nsw i64 %58, 1
  store i64 %63, ptr @lset, align 8, !tbaa !11
  br label %64

64:                                               ; preds = %60, %57
  %65 = phi i64 [ %58, %57 ], [ %63, %60 ]
  %66 = and i32 %.02634, 16
  %.not31.4 = icmp eq i32 %66, 0
  br i1 %.not31.4, label %71, label %67

67:                                               ; preds = %64
  %68 = load i64, ptr %32, align 8, !tbaa !11
  %69 = getelementptr inbounds [5 x i64], ptr @v, i64 0, i64 %65
  store i64 %68, ptr %69, align 8, !tbaa !11
  %70 = add nsw i64 %65, 1
  store i64 %70, ptr @lset, align 8, !tbaa !11
  br label %71

71:                                               ; preds = %67, %64
  %72 = phi i64 [ %70, %67 ], [ %65, %64 ]
  %.not30 = icmp eq i64 %72, 0
  br i1 %.not30, label %77, label %73

73:                                               ; preds = %71
  %74 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) @setcnt, ptr noundef nonnull align 8 dereferenceable(40) @v)
  %75 = load i64, ptr %74, align 8, !tbaa !11
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %74, align 8, !tbaa !11
  br label %77

77:                                               ; preds = %73, %71
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) @v, i8 0, i64 40, i1 false), !tbaa !11
  store i64 0, ptr @lset, align 8, !tbaa !11
  %78 = add nuw nsw i32 %.02634, 1
  %exitcond.not = icmp eq i32 %78, 32
  br i1 %exitcond.not, label %.loopexit, label %.preheader, !llvm.loop !15

._crit_edge39:                                    ; preds = %.lr.ph38, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #9
  call void @_Z2prIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) @ans)
  ret i32 0

.lr.ph38:                                         ; preds = %._crit_edge, %.lr.ph38
  %79 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK2arxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1) #9
  %sz.promoted = load i64, ptr @sz, align 8, !tbaa !11
  %80 = load i64, ptr %79, align 8, !tbaa !11
  %.not29 = icmp ne i64 %80, 0
  %81 = getelementptr inbounds i8, ptr %79, i64 8
  %82 = load i64, ptr %81, align 8, !tbaa !11
  %.not29.1 = icmp ne i64 %82, 0
  %83 = getelementptr inbounds i8, ptr %79, i64 16
  %84 = load i64, ptr %83, align 8, !tbaa !11
  %.not29.2 = icmp ne i64 %84, 0
  %85 = getelementptr inbounds i8, ptr %79, i64 24
  %86 = load i64, ptr %85, align 8, !tbaa !11
  %.not29.3 = icmp ne i64 %86, 0
  %87 = getelementptr inbounds i8, ptr %79, i64 32
  %88 = load i64, ptr %87, align 8, !tbaa !11
  %89 = trunc i64 %sz.promoted to i1
  %90 = xor i1 %.not29, %89
  %91 = xor i1 %90, %.not29.1
  %92 = xor i1 %91, %.not29.2
  %.tr = xor i1 %92, %.not29.3
  %93 = icmp eq i64 %88, 0
  %.not28 = xor i1 %.tr, %93
  %94 = getelementptr inbounds i8, ptr %79, i64 40
  %95 = load i64, ptr %94, align 8, !tbaa !17
  %96 = sub nsw i64 0, %95
  %97 = select i1 %.not28, i64 %96, i64 %95
  %98 = add nsw i64 %95, -1
  %99 = mul nsw i64 %97, %98
  %.neg = sdiv i64 %99, -2
  %100 = load i64, ptr @ans, align 8, !tbaa !11
  %101 = add i64 %.neg, %100
  store i64 %101, ptr @ans, align 8, !tbaa !11
  store i64 0, ptr @sz, align 8, !tbaa !11
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK2arxEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %1) #9
  %103 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK2arxEES6_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br i1 %103, label %.lr.ph38, label %._crit_edge39
}

; 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 @_Z2reIRxJEEvOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2inIPxEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt5beginIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt3endIxLm5EEPT_RAT0__S0_(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPxEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapI2arxSt4lessIS0_ESaISt4pairIKS0_xEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK2arxEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

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" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint 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 #7 = { inlinehint 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14, !16}
!16 = !{!"llvm.loop.peeled.count", i32 1}
!17 = !{!18, !12, i64 40}
!18 = !{!"_ZTSSt4pairIK2arxE", !19, i64 0, !12, i64 40}
!19 = !{!"_ZTS2ar", !10, i64 0}


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