; LLVM IR from eyangch/competitive-programming :: Codeforces/1606 (e)

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

@MOD = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@X = external dso_local global i64, align 8
@dp = external dso_local global [501 x [501 x i64]], align 16
@p = external dso_local global [501 x [501 x i64]], align 16
@fact = external dso_local global [501 x i64], align 16
@cmb = external dso_local global [501 x [501 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3invx(i64 noundef) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3nCrxx(i64 noundef, i64 noundef) #0

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

19:                                               ; preds = %50, %0
  %20 = load i64, ptr %2, align 8, !tbaa !8
  %21 = icmp slt i64 %20, 501
  br i1 %21, label %23, label %22

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

23:                                               ; preds = %19
  %24 = load i64, ptr %2, align 8, !tbaa !8
  %25 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %24
  %26 = getelementptr inbounds [501 x i64], ptr %25, i64 0, i64 0
  store i64 1, ptr %26, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 1, ptr %4, align 8, !tbaa !8
  br label %27

27:                                               ; preds = %46, %23
  %28 = load i64, ptr %4, align 8, !tbaa !8
  %29 = icmp slt i64 %28, 501
  br i1 %29, label %31, label %30

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

31:                                               ; preds = %27
  %32 = load i64, ptr %2, align 8, !tbaa !8
  %33 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %32
  %34 = load i64, ptr %4, align 8, !tbaa !8
  %35 = sub nsw i64 %34, 1
  %36 = getelementptr inbounds [501 x i64], ptr %33, i64 0, i64 %35
  %37 = load i64, ptr %36, align 8, !tbaa !8
  %38 = load i64, ptr %2, align 8, !tbaa !8
  %39 = mul nsw i64 %37, %38
  %40 = load i64, ptr @MOD, align 8, !tbaa !8
  %41 = srem i64 %39, %40
  %42 = load i64, ptr %2, align 8, !tbaa !8
  %43 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %42
  %44 = load i64, ptr %4, align 8, !tbaa !8
  %45 = getelementptr inbounds [501 x i64], ptr %43, i64 0, i64 %44
  store i64 %41, ptr %45, align 8, !tbaa !8
  br label %46

46:                                               ; preds = %31
  %47 = load i64, ptr %4, align 8, !tbaa !8
  %48 = add nsw i64 %47, 1
  store i64 %48, ptr %4, align 8, !tbaa !8
  br label %27, !llvm.loop !11

49:                                               ; preds = %30
  br label %50

50:                                               ; preds = %49
  %51 = load i64, ptr %2, align 8, !tbaa !8
  %52 = add nsw i64 %51, 1
  store i64 %52, ptr %2, align 8, !tbaa !8
  br label %19, !llvm.loop !13

53:                                               ; preds = %22
  store i64 1, ptr @fact, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 1, ptr %5, align 8, !tbaa !8
  br label %54

54:                                               ; preds = %69, %53
  %55 = load i64, ptr %5, align 8, !tbaa !8
  %56 = icmp slt i64 %55, 501
  br i1 %56, label %58, label %57

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

58:                                               ; preds = %54
  %59 = load i64, ptr %5, align 8, !tbaa !8
  %60 = sub nsw i64 %59, 1
  %61 = getelementptr inbounds [501 x i64], ptr @fact, i64 0, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !8
  %63 = load i64, ptr %5, align 8, !tbaa !8
  %64 = mul nsw i64 %62, %63
  %65 = load i64, ptr @MOD, align 8, !tbaa !8
  %66 = srem i64 %64, %65
  %67 = load i64, ptr %5, align 8, !tbaa !8
  %68 = getelementptr inbounds [501 x i64], ptr @fact, i64 0, i64 %67
  store i64 %66, ptr %68, align 8, !tbaa !8
  br label %69

69:                                               ; preds = %58
  %70 = load i64, ptr %5, align 8, !tbaa !8
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %5, align 8, !tbaa !8
  br label %54, !llvm.loop !14

72:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store i64 0, ptr %6, align 8, !tbaa !8
  br label %73

73:                                               ; preds = %94, %72
  %74 = load i64, ptr %6, align 8, !tbaa !8
  %75 = icmp slt i64 %74, 501
  br i1 %75, label %77, label %76

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

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store i64 0, ptr %7, align 8, !tbaa !8
  br label %78

78:                                               ; preds = %90, %77
  %79 = load i64, ptr %7, align 8, !tbaa !8
  %80 = icmp slt i64 %79, 501
  br i1 %80, label %82, label %81

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

82:                                               ; preds = %78
  %83 = load i64, ptr %6, align 8, !tbaa !8
  %84 = load i64, ptr %7, align 8, !tbaa !8
  %85 = call noundef i64 @_Z3nCrxx(i64 noundef %83, i64 noundef %84)
  %86 = load i64, ptr %6, align 8, !tbaa !8
  %87 = getelementptr inbounds [501 x [501 x i64]], ptr @cmb, i64 0, i64 %86
  %88 = load i64, ptr %7, align 8, !tbaa !8
  %89 = getelementptr inbounds [501 x i64], ptr %87, i64 0, i64 %88
  store i64 %85, ptr %89, align 8, !tbaa !8
  br label %90

90:                                               ; preds = %82
  %91 = load i64, ptr %7, align 8, !tbaa !8
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %7, align 8, !tbaa !8
  br label %78, !llvm.loop !15

93:                                               ; preds = %81
  br label %94

94:                                               ; preds = %93
  %95 = load i64, ptr %6, align 8, !tbaa !8
  %96 = add nsw i64 %95, 1
  store i64 %96, ptr %6, align 8, !tbaa !8
  br label %73, !llvm.loop !16

97:                                               ; preds = %76
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 8 dereferenceable(8) @X)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store i64 0, ptr %8, align 8, !tbaa !8
  br label %100

100:                                              ; preds = %109, %97
  %101 = load i64, ptr %8, align 8, !tbaa !8
  %102 = load i64, ptr @X, align 8, !tbaa !8
  %103 = icmp slt i64 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %112

105:                                              ; preds = %100
  %106 = load i64, ptr @N, align 8, !tbaa !8
  %107 = load i64, ptr %8, align 8, !tbaa !8
  %108 = getelementptr inbounds [501 x i64], ptr @dp, i64 0, i64 %107
  store i64 %106, ptr %108, align 8, !tbaa !8
  br label %109

109:                                              ; preds = %105
  %110 = load i64, ptr %8, align 8, !tbaa !8
  %111 = add nsw i64 %110, 1
  store i64 %111, ptr %8, align 8, !tbaa !8
  br label %100, !llvm.loop !17

112:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 1, ptr %10, align 8, !tbaa !8
  br label %113

113:                                              ; preds = %190, %112
  %114 = load i64, ptr %10, align 8, !tbaa !8
  %115 = load i64, ptr @N, align 8, !tbaa !8
  %116 = icmp slt i64 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %193

118:                                              ; preds = %113
  store i64 0, ptr %9, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %119 = load i64, ptr %10, align 8, !tbaa !8
  store i64 %119, ptr %11, align 8, !tbaa !8
  br label %120

120:                                              ; preds = %186, %118
  %121 = load i64, ptr %11, align 8, !tbaa !8
  %122 = load i64, ptr @X, align 8, !tbaa !8
  %123 = icmp slt i64 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %189

125:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !8
  br label %126

126:                                              ; preds = %173, %125
  %127 = load i64, ptr %10, align 8, !tbaa !8
  %128 = load i64, ptr %12, align 8, !tbaa !8
  %129 = sub nsw i64 %127, %128
  %130 = icmp sge i64 %129, 0
  br i1 %130, label %132, label %131

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

132:                                              ; preds = %126
  %133 = load i64, ptr %10, align 8, !tbaa !8
  %134 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %133
  %135 = load i64, ptr %11, align 8, !tbaa !8
  %136 = getelementptr inbounds [501 x i64], ptr %134, i64 0, i64 %135
  %137 = load i64, ptr %136, align 8, !tbaa !8
  %138 = load i64, ptr %10, align 8, !tbaa !8
  %139 = load i64, ptr %12, align 8, !tbaa !8
  %140 = sub nsw i64 %138, %139
  %141 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %140
  %142 = load i64, ptr %11, align 8, !tbaa !8
  %143 = load i64, ptr %10, align 8, !tbaa !8
  %144 = sub nsw i64 %142, %143
  %145 = getelementptr inbounds [501 x i64], ptr %141, i64 0, i64 %144
  %146 = load i64, ptr %145, align 8, !tbaa !8
  %147 = load i64, ptr @N, align 8, !tbaa !8
  %148 = load i64, ptr %10, align 8, !tbaa !8
  %149 = sub nsw i64 %147, %148
  %150 = load i64, ptr %12, align 8, !tbaa !8
  %151 = add nsw i64 %149, %150
  %152 = getelementptr inbounds [501 x [501 x i64]], ptr @cmb, i64 0, i64 %151
  %153 = load i64, ptr %12, align 8, !tbaa !8
  %154 = getelementptr inbounds [501 x i64], ptr %152, i64 0, i64 %153
  %155 = load i64, ptr %154, align 8, !tbaa !8
  %156 = mul nsw i64 %146, %155
  %157 = load i64, ptr @MOD, align 8, !tbaa !8
  %158 = srem i64 %156, %157
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @X, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %160 = load i64, ptr %159, align 8, !tbaa !8
  %161 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %160
  %162 = load i64, ptr %12, align 8, !tbaa !8
  %163 = getelementptr inbounds [501 x i64], ptr %161, i64 0, i64 %162
  %164 = load i64, ptr %163, align 8, !tbaa !8
  %165 = mul nsw i64 %158, %164
  %166 = add nsw i64 %137, %165
  %167 = load i64, ptr @MOD, align 8, !tbaa !8
  %168 = srem i64 %166, %167
  %169 = load i64, ptr %10, align 8, !tbaa !8
  %170 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %169
  %171 = load i64, ptr %11, align 8, !tbaa !8
  %172 = getelementptr inbounds [501 x i64], ptr %170, i64 0, i64 %171
  store i64 %168, ptr %172, align 8, !tbaa !8
  br label %173

173:                                              ; preds = %132
  %174 = load i64, ptr %12, align 8, !tbaa !8
  %175 = add nsw i64 %174, 1
  store i64 %175, ptr %12, align 8, !tbaa !8
  br label %126, !llvm.loop !18

176:                                              ; preds = %131
  %177 = load i64, ptr %9, align 8, !tbaa !8
  %178 = load i64, ptr %10, align 8, !tbaa !8
  %179 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %178
  %180 = load i64, ptr %11, align 8, !tbaa !8
  %181 = getelementptr inbounds [501 x i64], ptr %179, i64 0, i64 %180
  %182 = load i64, ptr %181, align 8, !tbaa !8
  %183 = add nsw i64 %177, %182
  %184 = load i64, ptr @MOD, align 8, !tbaa !8
  %185 = srem i64 %183, %184
  store i64 %185, ptr %9, align 8, !tbaa !8
  br label %186

186:                                              ; preds = %176
  %187 = load i64, ptr %11, align 8, !tbaa !8
  %188 = add nsw i64 %187, 1
  store i64 %188, ptr %11, align 8, !tbaa !8
  br label %120, !llvm.loop !19

189:                                              ; preds = %124
  br label %190

190:                                              ; preds = %189
  %191 = load i64, ptr %10, align 8, !tbaa !8
  %192 = add nsw i64 %191, 1
  store i64 %192, ptr %10, align 8, !tbaa !8
  br label %113, !llvm.loop !20

193:                                              ; preds = %117
  %194 = load i64, ptr @X, align 8, !tbaa !8
  %195 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %194
  %196 = load i64, ptr @N, align 8, !tbaa !8
  %197 = getelementptr inbounds [501 x i64], ptr %195, i64 0, i64 %196
  %198 = load i64, ptr %197, align 8, !tbaa !8
  %199 = load i64, ptr %9, align 8, !tbaa !8
  %200 = load i64, ptr @N, align 8, !tbaa !8
  %201 = call noundef i64 @_Z3invx(i64 noundef %200)
  %202 = mul nsw i64 %199, %201
  %203 = sub nsw i64 %198, %202
  %204 = load i64, ptr @MOD, align 8, !tbaa !8
  %205 = srem i64 %203, %204
  %206 = load i64, ptr @MOD, align 8, !tbaa !8
  %207 = add nsw i64 %205, %206
  %208 = load i64, ptr @MOD, align 8, !tbaa !8
  %209 = srem i64 %207, %208
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %209)
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %210, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  %212 = load i32, ptr %1, align 4
  ret i32 %212
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


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

@MOD = external dso_local local_unnamed_addr global i64, align 8
@N = external dso_local global i64, align 8
@X = external dso_local global i64, align 8
@dp = external dso_local local_unnamed_addr global [501 x [501 x i64]], align 16
@p = external dso_local local_unnamed_addr global [501 x [501 x i64]], align 16
@fact = external dso_local local_unnamed_addr global [501 x i64], align 16
@cmb = external dso_local local_unnamed_addr global [501 x [501 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3invx(i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3nCrxx(i64 noundef, i64 noundef) local_unnamed_addr #0

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

9:                                                ; preds = %12
  store i64 1, ptr @fact, align 16, !tbaa !8
  br label %24

10:                                               ; preds = %0, %12
  %.04856 = phi i64 [ 0, %0 ], [ %13, %12 ]
  %11 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %.04856
  store i64 1, ptr %11, align 8, !tbaa !8
  br label %14

12:                                               ; preds = %14
  %13 = add nuw nsw i64 %.04856, 1
  %exitcond77.not = icmp eq i64 %13, 501
  br i1 %exitcond77.not, label %9, label %10, !llvm.loop !11

14:                                               ; preds = %14, %10
  %15 = phi i64 [ 1, %10 ], [ %21, %14 ]
  %.04755 = phi i64 [ 1, %10 ], [ %23, %14 ]
  %16 = mul nsw i64 %15, %.04856
  %17 = srem i64 %16, %8
  %18 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %.04856, i64 %.04755
  store i64 %17, ptr %18, align 8, !tbaa !8
  %19 = add nuw nsw i64 %.04755, 1
  %20 = mul nsw i64 %17, %.04856
  %21 = srem i64 %20, %8
  %22 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %.04856, i64 %19
  store i64 %21, ptr %22, align 8, !tbaa !8
  %23 = add nuw nsw i64 %.04755, 2
  %exitcond.not.1 = icmp eq i64 %23, 501
  br i1 %exitcond.not.1, label %12, label %14, !llvm.loop !13

24:                                               ; preds = %24, %9
  %25 = phi i64 [ 1, %9 ], [ %31, %24 ]
  %.04657 = phi i64 [ 1, %9 ], [ %33, %24 ]
  %26 = mul nsw i64 %25, %.04657
  %27 = srem i64 %26, %8
  %28 = getelementptr inbounds [501 x i64], ptr @fact, i64 0, i64 %.04657
  store i64 %27, ptr %28, align 8, !tbaa !8
  %29 = add nuw nsw i64 %.04657, 1
  %30 = mul nsw i64 %27, %29
  %31 = srem i64 %30, %8
  %32 = getelementptr inbounds [501 x i64], ptr @fact, i64 0, i64 %29
  store i64 %31, ptr %32, align 8, !tbaa !8
  %33 = add nuw nsw i64 %.04657, 2
  %exitcond78.not.1 = icmp eq i64 %33, 501
  br i1 %exitcond78.not.1, label %.preheader52, label %24, !llvm.loop !14

.preheader52:                                     ; preds = %24, %42
  %.04559 = phi i64 [ %43, %42 ], [ 0, %24 ]
  br label %44

34:                                               ; preds = %42
  %35 = 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) @N)
  %36 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(8) @X)
  %37 = load i64, ptr @X, align 8, !tbaa !8
  %38 = icmp sgt i64 %37, 0
  %.pre82 = load i64, ptr @N, align 8, !tbaa !8
  br i1 %38, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %34
  %min.iters.check = icmp ult i64 %37, 4
  br i1 %min.iters.check, label %.lr.ph.preheader118, label %vector.ph

.lr.ph.preheader118:                              ; preds = %middle.block, %.lr.ph.preheader
  %.04360.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %37, 9223372036854775804
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %.pre82, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %39 = getelementptr inbounds [501 x i64], ptr @dp, i64 0, i64 %index
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  store <2 x i64> %broadcast.splat, ptr %39, align 16, !tbaa !8
  store <2 x i64> %broadcast.splat, ptr %40, align 16, !tbaa !8
  %index.next = add nuw i64 %index, 4
  %41 = icmp eq i64 %index.next, %n.vec
  br i1 %41, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %37, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader118

42:                                               ; preds = %44
  %43 = add nuw nsw i64 %.04559, 1
  %exitcond80.not = icmp eq i64 %43, 501
  br i1 %exitcond80.not, label %34, label %.preheader52, !llvm.loop !18

44:                                               ; preds = %.preheader52, %44
  %.04458 = phi i64 [ 0, %.preheader52 ], [ %47, %44 ]
  %45 = tail call noundef i64 @_Z3nCrxx(i64 noundef %.04559, i64 noundef %.04458)
  %46 = getelementptr inbounds [501 x [501 x i64]], ptr @cmb, i64 0, i64 %.04559, i64 %.04458
  store i64 %45, ptr %46, align 8, !tbaa !8
  %47 = add nuw nsw i64 %.04458, 1
  %exitcond79.not = icmp eq i64 %47, 501
  br i1 %exitcond79.not, label %42, label %44, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  store i64 1, ptr %1, align 8, !tbaa !8
  %48 = icmp sgt i64 %.pre82, 1
  br i1 %48, label %.preheader51, label %._crit_edge69

.lr.ph:                                           ; preds = %.lr.ph.preheader118, %.lr.ph
  %.04360 = phi i64 [ %50, %.lr.ph ], [ %.04360.ph, %.lr.ph.preheader118 ]
  %49 = getelementptr inbounds [501 x i64], ptr @dp, i64 0, i64 %.04360
  store i64 %.pre82, ptr %49, align 8, !tbaa !8
  %50 = add nuw nsw i64 %.04360, 1
  %exitcond81.not = icmp eq i64 %50, %37
  br i1 %exitcond81.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

.preheader51:                                     ; preds = %._crit_edge, %._crit_edge66
  %51 = phi i64 [ %80, %._crit_edge66 ], [ %.pre82, %._crit_edge ]
  %52 = phi i64 [ %82, %._crit_edge66 ], [ %37, %._crit_edge ]
  %53 = phi i64 [ %83, %._crit_edge66 ], [ %37, %._crit_edge ]
  %54 = phi i64 [ %84, %._crit_edge66 ], [ %37, %._crit_edge ]
  %55 = phi i64 [ %85, %._crit_edge66 ], [ 1, %._crit_edge ]
  %56 = icmp slt i64 %55, %54
  br i1 %56, label %.preheader.lr.ph, label %._crit_edge66

.preheader.lr.ph:                                 ; preds = %.preheader51
  %57 = icmp sgt i64 %55, -1
  br i1 %57, label %.preheader, label %.preheader.lr.ph.split.us

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  %58 = load i64, ptr @MOD, align 8, !tbaa !8
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us, %.preheader.lr.ph.split.us
  %.04165.us = phi i64 [ %55, %.preheader.lr.ph.split.us ], [ %63, %.preheader.us ]
  %.164.us = phi i64 [ 0, %.preheader.lr.ph.split.us ], [ %62, %.preheader.us ]
  %59 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %55, i64 %.04165.us
  %60 = load i64, ptr %59, align 8, !tbaa !8
  %61 = add nsw i64 %60, %.164.us
  %62 = srem i64 %61, %58
  %63 = add nsw i64 %.04165.us, 1
  %64 = icmp slt i64 %63, %53
  br i1 %64, label %.preheader.us, label %._crit_edge66, !llvm.loop !21

._crit_edge69:                                    ; preds = %._crit_edge66, %._crit_edge
  %65 = phi i64 [ %37, %._crit_edge ], [ %82, %._crit_edge66 ]
  %.042.lcssa = phi i64 [ 0, %._crit_edge ], [ %.1.lcssa, %._crit_edge66 ]
  %.lcssa54 = phi i64 [ %.pre82, %._crit_edge ], [ %80, %._crit_edge66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %66 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %65, i64 %.lcssa54
  %67 = load i64, ptr %66, align 8, !tbaa !8
  %68 = call noundef i64 @_Z3invx(i64 noundef %.lcssa54)
  %69 = mul nsw i64 %68, %.042.lcssa
  %70 = sub nsw i64 %67, %69
  %71 = load i64, ptr @MOD, align 8, !tbaa !8
  %72 = srem i64 %70, %71
  %73 = add nsw i64 %72, %71
  %74 = srem i64 %73, %71
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %74)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %75, i8 noundef signext 10)
  ret i32 0

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge63
  %77 = phi i64 [ %87, %._crit_edge63 ], [ %52, %.preheader.lr.ph ]
  %78 = phi i64 [ %90, %._crit_edge63 ], [ %55, %.preheader.lr.ph ]
  %.04165 = phi i64 [ %93, %._crit_edge63 ], [ %55, %.preheader.lr.ph ]
  %.164 = phi i64 [ %92, %._crit_edge63 ], [ 0, %.preheader.lr.ph ]
  %79 = icmp sgt i64 %78, -1
  %.phi.trans.insert83 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %78, i64 %.04165
  %.pre84 = load i64, ptr %.phi.trans.insert83, align 8, !tbaa !8
  %.pre85 = load i64, ptr @MOD, align 8, !tbaa !8
  br i1 %79, label %.lr.ph62, label %._crit_edge63

._crit_edge66.loopexit:                           ; preds = %._crit_edge63
  %.pre90 = load i64, ptr @N, align 8, !tbaa !8
  br label %._crit_edge66

._crit_edge66:                                    ; preds = %.preheader.us, %._crit_edge66.loopexit, %.preheader51
  %80 = phi i64 [ %51, %.preheader51 ], [ %.pre90, %._crit_edge66.loopexit ], [ %51, %.preheader.us ]
  %81 = phi i64 [ %55, %.preheader51 ], [ %90, %._crit_edge66.loopexit ], [ %55, %.preheader.us ]
  %82 = phi i64 [ %52, %.preheader51 ], [ %87, %._crit_edge66.loopexit ], [ %52, %.preheader.us ]
  %83 = phi i64 [ %53, %.preheader51 ], [ %87, %._crit_edge66.loopexit ], [ %53, %.preheader.us ]
  %84 = phi i64 [ %54, %.preheader51 ], [ %87, %._crit_edge66.loopexit ], [ %53, %.preheader.us ]
  %.1.lcssa = phi i64 [ 0, %.preheader51 ], [ %92, %._crit_edge66.loopexit ], [ %62, %.preheader.us ]
  %85 = add nsw i64 %81, 1
  store i64 %85, ptr %1, align 8, !tbaa !8
  %86 = icmp slt i64 %85, %80
  br i1 %86, label %.preheader51, label %._crit_edge69, !llvm.loop !22

._crit_edge63.loopexit:                           ; preds = %.lr.ph62
  %.pre89 = load i64, ptr @X, align 8, !tbaa !8
  br label %._crit_edge63

._crit_edge63:                                    ; preds = %.preheader, %._crit_edge63.loopexit
  %87 = phi i64 [ %.pre89, %._crit_edge63.loopexit ], [ %77, %.preheader ]
  %88 = phi i64 [ %115, %._crit_edge63.loopexit ], [ %.pre85, %.preheader ]
  %89 = phi i64 [ %116, %._crit_edge63.loopexit ], [ %.pre84, %.preheader ]
  %90 = phi i64 [ %117, %._crit_edge63.loopexit ], [ %78, %.preheader ]
  %91 = add nsw i64 %89, %.164
  %92 = srem i64 %91, %88
  %93 = add nuw nsw i64 %.04165, 1
  %94 = icmp slt i64 %93, %87
  br i1 %94, label %.preheader, label %._crit_edge66.loopexit, !llvm.loop !23

.lr.ph62:                                         ; preds = %.preheader, %.lr.ph62
  %95 = phi i64 [ %115, %.lr.ph62 ], [ %.pre85, %.preheader ]
  %96 = phi i64 [ %116, %.lr.ph62 ], [ %.pre84, %.preheader ]
  %97 = phi i64 [ %120, %.lr.ph62 ], [ %78, %.preheader ]
  %98 = phi i64 [ %117, %.lr.ph62 ], [ %78, %.preheader ]
  %.061 = phi i64 [ %119, %.lr.ph62 ], [ 0, %.preheader ]
  %99 = sub nsw i64 %.04165, %98
  %100 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %97, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !8
  %102 = load i64, ptr @N, align 8, !tbaa !8
  %103 = sub i64 %.061, %98
  %104 = add i64 %103, %102
  %105 = getelementptr inbounds [501 x [501 x i64]], ptr @cmb, i64 0, i64 %104, i64 %.061
  %106 = load i64, ptr %105, align 8, !tbaa !8
  %107 = mul nsw i64 %106, %101
  %108 = srem i64 %107, %95
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @X, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %110 = load i64, ptr %109, align 8, !tbaa !8
  %111 = getelementptr inbounds [501 x [501 x i64]], ptr @p, i64 0, i64 %110, i64 %.061
  %112 = load i64, ptr %111, align 8, !tbaa !8
  %113 = mul nsw i64 %112, %108
  %114 = add nsw i64 %113, %96
  %115 = load i64, ptr @MOD, align 8, !tbaa !8
  %116 = srem i64 %114, %115
  %117 = load i64, ptr %1, align 8, !tbaa !8
  %118 = getelementptr inbounds [501 x [501 x i64]], ptr @dp, i64 0, i64 %117, i64 %.04165
  store i64 %116, ptr %118, align 8, !tbaa !8
  %119 = add nuw nsw i64 %.061, 1
  %120 = sub nsw i64 %117, %119
  %121 = icmp sgt i64 %120, -1
  br i1 %121, label %.lr.ph62, label %._crit_edge63.loopexit, !llvm.loop !25
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12, !16, !17}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12, !17, !16}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12, !24}
!24 = !{!"llvm.loop.unswitch.partial.disable"}
!25 = distinct !{!25, !12}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass