; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/267 Division 2/Problem C (C)

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

%"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@dp = external dso_local global [2 x [5001 x i64]], align 16
@p = external dso_local global [5001 x i64], align 16
@sum = external dso_local global [5001 x i64], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@indx = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", 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 i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %9 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %10 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %12
  %14 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef null)
  %15 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %16 = getelementptr i8, ptr %15, i64 -24
  %17 = load i64, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %17
  %19 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %18, ptr noundef null)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) @m)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @k)
  store i64 0, ptr @sum, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !11
  br label %23

23:                                               ; preds = %46, %0
  %24 = load i32, ptr %2, align 4, !tbaa !11
  %25 = load i32, ptr @n, align 4, !tbaa !11
  %26 = icmp sle i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %49

28:                                               ; preds = %23
  %29 = load i32, ptr %2, align 4, !tbaa !11
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [5001 x i64], ptr @p, i64 0, i64 %30
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = load i32, ptr %2, align 4, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [5001 x i64], ptr @p, i64 0, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !8
  %37 = load i32, ptr %2, align 4, !tbaa !11
  %38 = sub nsw i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %39
  %41 = load i64, ptr %40, align 8, !tbaa !8
  %42 = add nsw i64 %36, %41
  %43 = load i32, ptr %2, align 4, !tbaa !11
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %44
  store i64 %42, ptr %45, align 8, !tbaa !8
  br label %46

46:                                               ; preds = %28
  %47 = load i32, ptr %2, align 4, !tbaa !11
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %2, align 4, !tbaa !11
  br label %23, !llvm.loop !13

49:                                               ; preds = %27
  store i64 -1, ptr getelementptr inbounds ([2 x [5001 x i64]], ptr @dp, i64 0, i64 1), align 8, !tbaa !8
  store i64 -1, ptr @dp, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !11
  br label %50

50:                                               ; preds = %90, %49
  %51 = load i32, ptr %3, align 4, !tbaa !11
  %52 = load i32, ptr @n, align 4, !tbaa !11
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %93

55:                                               ; preds = %50
  %56 = load i32, ptr %3, align 4, !tbaa !11
  %57 = load i32, ptr @m, align 4, !tbaa !11
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %59, label %68

59:                                               ; preds = %55
  %60 = load i32, ptr %3, align 4, !tbaa !11
  %61 = sub nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !8
  %65 = load i32, ptr %3, align 4, !tbaa !11
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %66
  store i64 %64, ptr %67, align 8, !tbaa !8
  br label %89

68:                                               ; preds = %55
  %69 = load i32, ptr %3, align 4, !tbaa !11
  %70 = sub nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %73 = load i32, ptr %3, align 4, !tbaa !11
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %74
  %76 = load i64, ptr %75, align 8, !tbaa !8
  %77 = load i32, ptr %3, align 4, !tbaa !11
  %78 = load i32, ptr @m, align 4, !tbaa !11
  %79 = sub nsw i32 %77, %78
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %80
  %82 = load i64, ptr %81, align 8, !tbaa !8
  %83 = sub nsw i64 %76, %82
  store i64 %83, ptr %4, align 8, !tbaa !8
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %85 = load i64, ptr %84, align 8, !tbaa !8
  %86 = load i32, ptr %3, align 4, !tbaa !11
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %87
  store i64 %85, ptr %88, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %89

89:                                               ; preds = %68, %59
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %3, align 4, !tbaa !11
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %3, align 4, !tbaa !11
  br label %50, !llvm.loop !15

93:                                               ; preds = %54
  store i32 0, ptr @indx, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 2, ptr %5, align 4, !tbaa !11
  br label %94

94:                                               ; preds = %170, %93
  %95 = load i32, ptr %5, align 4, !tbaa !11
  %96 = load i32, ptr @k, align 4, !tbaa !11
  %97 = icmp sle i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %173

99:                                               ; preds = %94
  %100 = load i32, ptr @indx, align 4, !tbaa !11
  %101 = sub nsw i32 1, %100
  store i32 %101, ptr @indx, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1, ptr %7, align 4, !tbaa !11
  br label %102

102:                                              ; preds = %166, %99
  %103 = load i32, ptr %7, align 4, !tbaa !11
  %104 = load i32, ptr @n, align 4, !tbaa !11
  %105 = icmp sle i32 %103, %104
  br i1 %105, label %107, label %106

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

107:                                              ; preds = %102
  %108 = load i32, ptr %7, align 4, !tbaa !11
  %109 = load i32, ptr @m, align 4, !tbaa !11
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %111, label %127

111:                                              ; preds = %107
  %112 = load i32, ptr @indx, align 4, !tbaa !11
  %113 = sub nsw i32 1, %112
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %114
  %116 = load i32, ptr %7, align 4, !tbaa !11
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [5001 x i64], ptr %115, i64 0, i64 %118
  %120 = load i64, ptr %119, align 8, !tbaa !8
  %121 = load i32, ptr @indx, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %122
  %124 = load i32, ptr %7, align 4, !tbaa !11
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [5001 x i64], ptr %123, i64 0, i64 %125
  store i64 %120, ptr %126, align 8, !tbaa !8
  br label %165

127:                                              ; preds = %107
  %128 = load i32, ptr @indx, align 4, !tbaa !11
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %129
  %131 = load i32, ptr %7, align 4, !tbaa !11
  %132 = sub nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [5001 x i64], ptr %130, i64 0, i64 %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %135 = load i32, ptr @indx, align 4, !tbaa !11
  %136 = sub nsw i32 1, %135
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %137
  %139 = load i32, ptr %7, align 4, !tbaa !11
  %140 = load i32, ptr @m, align 4, !tbaa !11
  %141 = sub nsw i32 %139, %140
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [5001 x i64], ptr %138, i64 0, i64 %142
  %144 = load i64, ptr %143, align 8, !tbaa !8
  %145 = load i32, ptr %7, align 4, !tbaa !11
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %146
  %148 = load i64, ptr %147, align 8, !tbaa !8
  %149 = add nsw i64 %144, %148
  %150 = load i32, ptr %7, align 4, !tbaa !11
  %151 = load i32, ptr @m, align 4, !tbaa !11
  %152 = sub nsw i32 %150, %151
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %153
  %155 = load i64, ptr %154, align 8, !tbaa !8
  %156 = sub nsw i64 %149, %155
  store i64 %156, ptr %8, align 8, !tbaa !8
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %158 = load i64, ptr %157, align 8, !tbaa !8
  %159 = load i32, ptr @indx, align 4, !tbaa !11
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %160
  %162 = load i32, ptr %7, align 4, !tbaa !11
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [5001 x i64], ptr %161, i64 0, i64 %163
  store i64 %158, ptr %164, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %165

165:                                              ; preds = %127, %111
  br label %166

166:                                              ; preds = %165
  %167 = load i32, ptr %7, align 4, !tbaa !11
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %7, align 4, !tbaa !11
  br label %102, !llvm.loop !16

169:                                              ; preds = %106
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %5, align 4, !tbaa !11
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %5, align 4, !tbaa !11
  br label %94, !llvm.loop !17

173:                                              ; preds = %98
  %174 = load i32, ptr @indx, align 4, !tbaa !11
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %175
  %177 = load i32, ptr @n, align 4, !tbaa !11
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [5001 x i64], ptr %176, i64 0, i64 %178
  %180 = load i64, ptr %179, align 8, !tbaa !8
  %181 = icmp eq i64 %180, -1
  br i1 %181, label %182, label %185

182:                                              ; preds = %173
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 0)
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %195

185:                                              ; preds = %173
  %186 = load i32, ptr @indx, align 4, !tbaa !11
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %187
  %189 = load i32, ptr @n, align 4, !tbaa !11
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [5001 x i64], ptr %188, i64 0, i64 %190
  %192 = load i64, ptr %191, align 8, !tbaa !8
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %192)
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %195

195:                                              ; preds = %185, %182
  ret i32 0
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 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 = { "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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"long long", !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}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !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"

%"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@dp = external dso_local global [2 x [5001 x i64]], align 16
@p = external dso_local global [5001 x i64], align 16
@sum = external dso_local local_unnamed_addr global [5001 x i64], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@indx = external dso_local local_unnamed_addr global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %4 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %5 = getelementptr i8, ptr %4, i64 -24
  %6 = load i64, ptr %5, align 8
  %7 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %6
  %8 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %7, ptr noundef null)
  %9 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %10 = getelementptr i8, ptr %9, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %11
  %13 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %12, ptr noundef null)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %15 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) @m)
  %16 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) @k)
  store i64 0, ptr @sum, align 16, !tbaa !8
  %17 = load i32, ptr @n, align 4, !tbaa !11
  %.not34 = icmp slt i32 %17, 1
  br i1 %.not34, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %0
  store i64 -1, ptr getelementptr inbounds (i8, ptr @dp, i64 40008), align 8, !tbaa !8
  store i64 -1, ptr @dp, align 16, !tbaa !8
  br label %._crit_edge40

._crit_edge:                                      ; preds = %.lr.ph
  store i64 -1, ptr getelementptr inbounds (i8, ptr @dp, i64 40008), align 8, !tbaa !8
  store i64 -1, ptr @dp, align 16, !tbaa !8
  %.not3136 = icmp slt i32 %26, 1
  br i1 %.not3136, label %._crit_edge40, label %.lr.ph39.preheader

.lr.ph39.preheader:                               ; preds = %._crit_edge
  %.pre58 = load i32, ptr @m, align 4, !tbaa !11
  br label %.lr.ph39

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %18 = getelementptr inbounds [5001 x i64], ptr @p, i64 0, i64 %indvars.iv
  %19 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = load i64, ptr %18, align 8, !tbaa !8
  %21 = add nsw i64 %indvars.iv, -1
  %22 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %21
  %23 = load i64, ptr %22, align 8, !tbaa !8
  %24 = add nsw i64 %23, %20
  %25 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %indvars.iv
  store i64 %24, ptr %25, align 8, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %26 = load i32, ptr @n, align 4, !tbaa !11
  %27 = sext i32 %26 to i64
  %.not.not = icmp slt i64 %indvars.iv, %27
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge40:                                    ; preds = %52, %._crit_edge.thread, %._crit_edge
  %28 = phi i32 [ %26, %._crit_edge ], [ %17, %._crit_edge.thread ], [ %53, %52 ]
  store i32 0, ptr @indx, align 4, !tbaa !11
  %29 = load i32, ptr @k, align 4, !tbaa !11
  %.not3246 = icmp slt i32 %29, 2
  br i1 %.not3246, label %._crit_edge50, label %.lr.ph49

.lr.ph49:                                         ; preds = %._crit_edge40
  %30 = icmp slt i32 %28, 1
  br i1 %30, label %.lr.ph49.split.us.preheader, label %.lr.ph49.split

.lr.ph49.split.us.preheader:                      ; preds = %.lr.ph49
  %31 = add nsw i32 %29, -1
  %32 = add nsw i32 %29, -2
  %xtraiter = and i32 %31, 7
  %33 = icmp ult i32 %32, 7
  br i1 %33, label %._crit_edge50.split.us.unr-lcssa, label %.lr.ph49.split.us.preheader.new

.lr.ph49.split.us.preheader.new:                  ; preds = %.lr.ph49.split.us.preheader
  %unroll_iter = and i32 %31, -8
  br label %.lr.ph49.split.us

.lr.ph49.split.us:                                ; preds = %.lr.ph49.split.us, %.lr.ph49.split.us.preheader.new
  %niter = phi i32 [ 0, %.lr.ph49.split.us.preheader.new ], [ %niter.next.7, %.lr.ph49.split.us ]
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge50.split.us.unr-lcssa, label %.lr.ph49.split.us, !llvm.loop !15

._crit_edge50.split.us.unr-lcssa:                 ; preds = %.lr.ph49.split.us, %.lr.ph49.split.us.preheader
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge50.split.us, label %.lr.ph49.split.us.epil

.lr.ph49.split.us.epil:                           ; preds = %._crit_edge50.split.us.unr-lcssa, %.lr.ph49.split.us.epil
  %34 = phi i32 [ %35, %.lr.ph49.split.us.epil ], [ 0, %._crit_edge50.split.us.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph49.split.us.epil ], [ 0, %._crit_edge50.split.us.unr-lcssa ]
  %35 = sub nuw nsw i32 1, %34
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge50.split.us, label %.lr.ph49.split.us.epil, !llvm.loop !16

._crit_edge50.split.us:                           ; preds = %.lr.ph49.split.us.epil, %._crit_edge50.split.us.unr-lcssa
  %.lcssa = phi i32 [ 0, %._crit_edge50.split.us.unr-lcssa ], [ %35, %.lr.ph49.split.us.epil ]
  store i32 %.lcssa, ptr @indx, align 4, !tbaa !11
  br label %._crit_edge50

.lr.ph39:                                         ; preds = %.lr.ph39.preheader, %52
  %36 = phi i32 [ %26, %.lr.ph39.preheader ], [ %53, %52 ]
  %37 = phi i64 [ -1, %.lr.ph39.preheader ], [ %.sink, %52 ]
  %38 = phi i32 [ %.pre58, %.lr.ph39.preheader ], [ %54, %52 ]
  %indvars.iv52 = phi i64 [ 1, %.lr.ph39.preheader ], [ %indvars.iv.next53, %52 ]
  %39 = sext i32 %38 to i64
  %40 = icmp slt i64 %indvars.iv52, %39
  br i1 %40, label %52, label %41

41:                                               ; preds = %.lr.ph39
  %42 = add nsw i64 %indvars.iv52, -1
  %43 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %44 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %indvars.iv52
  %45 = load i64, ptr %44, align 8, !tbaa !8
  %46 = sub nsw i64 %indvars.iv52, %39
  %47 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %46
  %48 = load i64, ptr %47, align 8, !tbaa !8
  %49 = sub nsw i64 %45, %48
  store i64 %49, ptr %1, align 8, !tbaa !8
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %51 = load i64, ptr %50, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %.pre = load i32, ptr @m, align 4, !tbaa !11
  %.pre59 = load i32, ptr @n, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %.lr.ph39, %41
  %53 = phi i32 [ %.pre59, %41 ], [ %36, %.lr.ph39 ]
  %54 = phi i32 [ %.pre, %41 ], [ %38, %.lr.ph39 ]
  %.sink = phi i64 [ %51, %41 ], [ %37, %.lr.ph39 ]
  %55 = getelementptr inbounds [5001 x i64], ptr @dp, i64 0, i64 %indvars.iv52
  store i64 %.sink, ptr %55, align 8
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %56 = sext i32 %53 to i64
  %.not31.not = icmp slt i64 %indvars.iv52, %56
  br i1 %.not31.not, label %.lr.ph39, label %._crit_edge40, !llvm.loop !18

._crit_edge50:                                    ; preds = %._crit_edge45, %._crit_edge50.split.us, %._crit_edge40
  %57 = phi i32 [ %28, %._crit_edge50.split.us ], [ %28, %._crit_edge40 ], [ %70, %._crit_edge45 ]
  %58 = phi i32 [ %.lcssa, %._crit_edge50.split.us ], [ 0, %._crit_edge40 ], [ %72, %._crit_edge45 ]
  %59 = sext i32 %58 to i64
  %60 = sext i32 %57 to i64
  %61 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %59, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !8
  %63 = icmp eq i64 %62, -1
  br i1 %63, label %112, label %114

.lr.ph49.split:                                   ; preds = %.lr.ph49, %._crit_edge45
  %64 = phi i32 [ %69, %._crit_edge45 ], [ %29, %.lr.ph49 ]
  %65 = phi i32 [ %70, %._crit_edge45 ], [ %28, %.lr.ph49 ]
  %66 = phi i32 [ %71, %._crit_edge45 ], [ %28, %.lr.ph49 ]
  %67 = phi i32 [ %72, %._crit_edge45 ], [ 0, %.lr.ph49 ]
  %.02747 = phi i32 [ %73, %._crit_edge45 ], [ 2, %.lr.ph49 ]
  %68 = sub nsw i32 1, %67
  store i32 %68, ptr @indx, align 4, !tbaa !11
  %.not3341 = icmp slt i32 %66, 1
  br i1 %.not3341, label %._crit_edge45, label %.lr.ph44.preheader

.lr.ph44.preheader:                               ; preds = %.lr.ph49.split
  %.pre61 = load i32, ptr @m, align 4, !tbaa !11
  br label %.lr.ph44

._crit_edge45.loopexit:                           ; preds = %107
  %.pre63 = load i32, ptr @k, align 4, !tbaa !11
  br label %._crit_edge45

._crit_edge45:                                    ; preds = %._crit_edge45.loopexit, %.lr.ph49.split
  %69 = phi i32 [ %.pre63, %._crit_edge45.loopexit ], [ %64, %.lr.ph49.split ]
  %70 = phi i32 [ %108, %._crit_edge45.loopexit ], [ %65, %.lr.ph49.split ]
  %71 = phi i32 [ %108, %._crit_edge45.loopexit ], [ %66, %.lr.ph49.split ]
  %72 = phi i32 [ %109, %._crit_edge45.loopexit ], [ %68, %.lr.ph49.split ]
  %73 = add nuw nsw i32 %.02747, 1
  %.not32.not = icmp slt i32 %.02747, %69
  br i1 %.not32.not, label %.lr.ph49.split, label %._crit_edge50, !llvm.loop !19

.lr.ph44:                                         ; preds = %.lr.ph44.preheader, %107
  %74 = phi i32 [ %65, %.lr.ph44.preheader ], [ %108, %107 ]
  %75 = phi i32 [ %68, %.lr.ph44.preheader ], [ %109, %107 ]
  %76 = phi i32 [ %.pre61, %.lr.ph44.preheader ], [ %110, %107 ]
  %indvars.iv55 = phi i64 [ 1, %.lr.ph44.preheader ], [ %indvars.iv.next56, %107 ]
  %77 = sext i32 %76 to i64
  %78 = icmp slt i64 %indvars.iv55, %77
  br i1 %78, label %79, label %87

79:                                               ; preds = %.lr.ph44
  %80 = sub nsw i32 1, %75
  %81 = sext i32 %80 to i64
  %82 = add nsw i64 %indvars.iv55, -1
  %83 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %81, i64 %82
  %84 = load i64, ptr %83, align 8, !tbaa !8
  %85 = sext i32 %75 to i64
  %86 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %85, i64 %indvars.iv55
  store i64 %84, ptr %86, align 8, !tbaa !8
  br label %107

87:                                               ; preds = %.lr.ph44
  %88 = sext i32 %75 to i64
  %89 = add nsw i64 %indvars.iv55, -1
  %90 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %88, i64 %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %91 = sub nsw i32 1, %75
  %92 = sext i32 %91 to i64
  %93 = sub nsw i64 %indvars.iv55, %77
  %94 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %92, i64 %93
  %95 = load i64, ptr %94, align 8, !tbaa !8
  %96 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %indvars.iv55
  %97 = load i64, ptr %96, align 8, !tbaa !8
  %98 = add nsw i64 %97, %95
  %99 = getelementptr inbounds [5001 x i64], ptr @sum, i64 0, i64 %93
  %100 = load i64, ptr %99, align 8, !tbaa !8
  %101 = sub i64 %98, %100
  store i64 %101, ptr %2, align 8, !tbaa !8
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %103 = load i64, ptr %102, align 8, !tbaa !8
  %104 = load i32, ptr @indx, align 4, !tbaa !11
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [2 x [5001 x i64]], ptr @dp, i64 0, i64 %105, i64 %indvars.iv55
  store i64 %103, ptr %106, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  %.pre60 = load i32, ptr @m, align 4, !tbaa !11
  %.pre62 = load i32, ptr @n, align 4, !tbaa !11
  br label %107

107:                                              ; preds = %79, %87
  %108 = phi i32 [ %74, %79 ], [ %.pre62, %87 ]
  %109 = phi i32 [ %75, %79 ], [ %104, %87 ]
  %110 = phi i32 [ %76, %79 ], [ %.pre60, %87 ]
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %111 = sext i32 %108 to i64
  %.not33.not = icmp slt i64 %indvars.iv55, %111
  br i1 %.not33.not, label %.lr.ph44, label %._crit_edge45.loopexit, !llvm.loop !21

112:                                              ; preds = %._crit_edge50
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 0)
  br label %116

114:                                              ; preds = %._crit_edge50
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %62)
  br label %116

116:                                              ; preds = %114, %112
  %.sink71 = phi ptr [ %115, %114 ], [ %113, %112 ]
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %.sink71, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #4 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 = { "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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"long long", !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}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14, !20}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = distinct !{!21, !14}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass