; LLVM IR from kazunetakahashi/atcoder :: 2019/0721_AGC036 (D)

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

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@N = external dso_local global i32, align 4
@A = external dso_local global [510 x [510 x i64]], align 16
@dp = external dso_local global [510 x [510 x i64]], align 16
@sum0 = external dso_local global [510 x [510 x i64]], align 16
@sum1 = external dso_local global [510 x [510 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL5infty = external hidden constant i64, align 8
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1

; 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)) #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr 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) #0 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)) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %19 = 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)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %48, %0
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr @N, align 4, !tbaa !5
  %23 = icmp sle i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %51

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %44, %25
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = load i32, ptr @N, align 4, !tbaa !5
  %29 = icmp sle i32 %27, %28
  br i1 %29, label %31, label %30

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

31:                                               ; preds = %26
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  br label %44

36:                                               ; preds = %31
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %38
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [510 x i64], ptr %39, i64 0, i64 %41
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %42)
  br label %44

44:                                               ; preds = %36, %35
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %4, align 4, !tbaa !5
  br label %26, !llvm.loop !9

47:                                               ; preds = %30
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %2, align 4, !tbaa !5
  br label %20, !llvm.loop !11

51:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %112, %51
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = load i32, ptr @N, align 4, !tbaa !5
  %55 = icmp sle i32 %53, %54
  br i1 %55, label %57, label %56

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

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %108, %57
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = load i32, ptr @N, align 4, !tbaa !5
  %61 = icmp sle i32 %59, %60
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %64 = load i32, ptr %5, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %7, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %88, %63
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = load i32, ptr %6, align 4, !tbaa !5
  %69 = sub nsw i32 %68, 1
  %70 = icmp sle i32 %67, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %66
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %91

72:                                               ; preds = %66
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %74
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [510 x i64], ptr %75, i64 0, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !12
  %80 = load i32, ptr %5, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %81
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [510 x i64], ptr %82, i64 0, i64 %84
  %86 = load i64, ptr %85, align 8, !tbaa !12
  %87 = add nsw i64 %86, %79
  store i64 %87, ptr %85, align 8, !tbaa !12
  br label %88

88:                                               ; preds = %72
  %89 = load i32, ptr %7, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %7, align 4, !tbaa !5
  br label %66, !llvm.loop !14

91:                                               ; preds = %71
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
  %93 = load i32, ptr %5, align 4, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %92, i32 noundef %93)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef @.str.3)
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %95, i32 noundef %96)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @.str.4)
  %99 = load i32, ptr %5, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %100
  %102 = load i32, ptr %6, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [510 x i64], ptr %101, i64 0, i64 %103
  %105 = load i64, ptr %104, align 8, !tbaa !12
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %98, i64 noundef %105)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %108

108:                                              ; preds = %91
  %109 = load i32, ptr %6, align 4, !tbaa !5
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %6, align 4, !tbaa !5
  br label %58, !llvm.loop !15

111:                                              ; preds = %62
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %5, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %5, align 4, !tbaa !5
  br label %52, !llvm.loop !16

115:                                              ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %173, %115
  %117 = load i32, ptr %8, align 4, !tbaa !5
  %118 = load i32, ptr @N, align 4, !tbaa !5
  %119 = icmp sle i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %176

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %169, %121
  %123 = load i32, ptr %9, align 4, !tbaa !5
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %172

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %149, %127
  %129 = load i32, ptr %10, align 4, !tbaa !5
  %130 = load i32, ptr %9, align 4, !tbaa !5
  %131 = icmp sle i32 %129, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %152

133:                                              ; preds = %128
  %134 = load i32, ptr %8, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %135
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [510 x i64], ptr %136, i64 0, i64 %138
  %140 = load i64, ptr %139, align 8, !tbaa !12
  %141 = load i32, ptr %9, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %142
  %144 = load i32, ptr %8, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [510 x i64], ptr %143, i64 0, i64 %145
  %147 = load i64, ptr %146, align 8, !tbaa !12
  %148 = add nsw i64 %147, %140
  store i64 %148, ptr %146, align 8, !tbaa !12
  br label %149

149:                                              ; preds = %133
  %150 = load i32, ptr %10, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %10, align 4, !tbaa !5
  br label %128, !llvm.loop !17

152:                                              ; preds = %132
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.5)
  %154 = load i32, ptr %9, align 4, !tbaa !5
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %153, i32 noundef %154)
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef @.str.3)
  %157 = load i32, ptr %8, align 4, !tbaa !5
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %156, i32 noundef %157)
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.4)
  %160 = load i32, ptr %9, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %161
  %163 = load i32, ptr %8, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [510 x i64], ptr %162, i64 0, i64 %164
  %166 = load i64, ptr %165, align 8, !tbaa !12
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %159, i64 noundef %166)
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %169

169:                                              ; preds = %152
  %170 = load i32, ptr %9, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %9, align 4, !tbaa !5
  br label %122, !llvm.loop !18

172:                                              ; preds = %126
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %8, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %8, align 4, !tbaa !5
  br label %116, !llvm.loop !19

176:                                              ; preds = %120
  call void @_ZSt4fillIPxxEvT_S1_RKT0_(ptr noundef @dp, ptr noundef getelementptr inbounds (i64, ptr @dp, i64 260100), ptr noundef nonnull align 8 dereferenceable(8) @_ZL5infty)
  store i64 0, ptr @dp, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %283, %176
  %178 = load i32, ptr %11, align 4, !tbaa !5
  %179 = load i32, ptr @N, align 4, !tbaa !5
  %180 = icmp slt i32 %178, %179
  br i1 %180, label %182, label %181

181:                                              ; preds = %177
  store i32 26, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %286

182:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %279, %182
  %184 = load i32, ptr %12, align 4, !tbaa !5
  %185 = load i32, ptr %11, align 4, !tbaa !5
  %186 = icmp sle i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 29, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %282

188:                                              ; preds = %183
  %189 = load i32, ptr %12, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %190
  %192 = load i32, ptr %11, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [510 x i64], ptr %191, i64 0, i64 %193
  %195 = load i64, ptr %194, align 8, !tbaa !12
  %196 = icmp eq i64 %195, 1000000000000000
  br i1 %196, label %197, label %198

197:                                              ; preds = %188
  br label %279

198:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %199 = load i32, ptr %11, align 4, !tbaa !5
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %15, align 4, !tbaa !5
  br label %201

201:                                              ; preds = %275, %198
  %202 = load i32, ptr %15, align 4, !tbaa !5
  %203 = load i32, ptr @N, align 4, !tbaa !5
  %204 = icmp sle i32 %202, %203
  br i1 %204, label %206, label %205

205:                                              ; preds = %201
  store i32 32, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %278

206:                                              ; preds = %201
  %207 = load i32, ptr %11, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %208
  %210 = load i32, ptr %15, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [510 x i64], ptr %209, i64 0, i64 %211
  %213 = load i64, ptr %212, align 8, !tbaa !12
  %214 = load i64, ptr %13, align 8, !tbaa !12
  %215 = add nsw i64 %214, %213
  store i64 %215, ptr %13, align 8, !tbaa !12
  %216 = load i32, ptr %12, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %217
  %219 = load i32, ptr %15, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [510 x i64], ptr %218, i64 0, i64 %220
  %222 = load i64, ptr %221, align 8, !tbaa !12
  %223 = load i64, ptr %14, align 8, !tbaa !12
  %224 = add nsw i64 %223, %222
  store i64 %224, ptr %14, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %225 = load i32, ptr %12, align 4, !tbaa !5
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %226
  %228 = load i32, ptr %11, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [510 x i64], ptr %227, i64 0, i64 %229
  %231 = load i64, ptr %230, align 8, !tbaa !12
  %232 = load i64, ptr %13, align 8, !tbaa !12
  %233 = add nsw i64 %231, %232
  %234 = load i64, ptr %14, align 8, !tbaa !12
  %235 = add nsw i64 %233, %234
  store i64 %235, ptr %16, align 8, !tbaa !12
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.6)
  %237 = load i32, ptr %12, align 4, !tbaa !5
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %236, i32 noundef %237)
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %238, ptr noundef @.str.3)
  %240 = load i32, ptr %11, align 4, !tbaa !5
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %239, i32 noundef %240)
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef @.str.4)
  %243 = load i32, ptr %12, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %244
  %246 = load i32, ptr %11, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [510 x i64], ptr %245, i64 0, i64 %247
  %249 = load i64, ptr %248, align 8, !tbaa !12
  %250 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %242, i64 noundef %249)
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef @.str.7)
  %252 = load i32, ptr %11, align 4, !tbaa !5
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %251, i32 noundef %252)
  %254 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef @.str.3)
  %255 = load i32, ptr %15, align 4, !tbaa !5
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %254, i32 noundef %255)
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %256, ptr noundef @.str.4)
  %258 = load i64, ptr %16, align 8, !tbaa !12
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %257, i64 noundef %258)
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %261 = load i32, ptr %11, align 4, !tbaa !5
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %262
  %264 = load i32, ptr %15, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [510 x i64], ptr %263, i64 0, i64 %265
  %267 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %268 = load i64, ptr %267, align 8, !tbaa !12
  %269 = load i32, ptr %11, align 4, !tbaa !5
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %270
  %272 = load i32, ptr %15, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [510 x i64], ptr %271, i64 0, i64 %273
  store i64 %268, ptr %274, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %275

275:                                              ; preds = %206
  %276 = load i32, ptr %15, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %15, align 4, !tbaa !5
  br label %201, !llvm.loop !20

278:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %279

279:                                              ; preds = %278, %197
  %280 = load i32, ptr %12, align 4, !tbaa !5
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %12, align 4, !tbaa !5
  br label %183, !llvm.loop !21

282:                                              ; preds = %187
  br label %283

283:                                              ; preds = %282
  %284 = load i32, ptr %11, align 4, !tbaa !5
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %11, align 4, !tbaa !5
  br label %177, !llvm.loop !22

286:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 1000000000000000, ptr %17, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %287

287:                                              ; preds = %301, %286
  %288 = load i32, ptr %18, align 4, !tbaa !5
  %289 = load i32, ptr @N, align 4, !tbaa !5
  %290 = icmp slt i32 %288, %289
  br i1 %290, label %292, label %291

291:                                              ; preds = %287
  store i32 35, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %304

292:                                              ; preds = %287
  %293 = load i32, ptr %18, align 4, !tbaa !5
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %294
  %296 = load i32, ptr @N, align 4, !tbaa !5
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [510 x i64], ptr %295, i64 0, i64 %297
  %299 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %298)
  %300 = load i64, ptr %299, align 8, !tbaa !12
  store i64 %300, ptr %17, align 8, !tbaa !12
  br label %301

301:                                              ; preds = %292
  %302 = load i32, ptr %18, align 4, !tbaa !5
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %18, align 4, !tbaa !5
  br label %287, !llvm.loop !23

304:                                              ; preds = %291
  %305 = load i64, ptr %17, align 8, !tbaa !12
  %306 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %305)
  %307 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %308 = load i32, ptr %1, align 4
  ret i32 %308
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxxEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #1

; 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

attributes #0 = { 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 #1 = { 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 #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 = { 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


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

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@N = external dso_local global i32, align 4
@A = external dso_local global [510 x [510 x i64]], align 16
@dp = external dso_local global [510 x [510 x i64]], align 16
@sum0 = external dso_local local_unnamed_addr global [510 x [510 x i64]], align 16
@sum1 = external dso_local local_unnamed_addr global [510 x [510 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZL5infty = external hidden constant i64, align 8
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1

; 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 #0 align 2

; 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr 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 #0 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)) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = 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)
  %4 = load i32, ptr @N, align 4, !tbaa !5
  %.not106 = icmp slt i32 %4, 1
  br i1 %.not106, label %.preheader102, label %.preheader103

.preheader103:                                    ; preds = %0, %._crit_edge
  %5 = phi i32 [ %7, %._crit_edge ], [ %4, %0 ]
  %indvars.iv144 = phi i64 [ %indvars.iv.next145, %._crit_edge ], [ 1, %0 ]
  %.not95104 = icmp slt i32 %5, 1
  br i1 %.not95104, label %._crit_edge, label %.lr.ph

.preheader102:                                    ; preds = %._crit_edge, %0
  %6 = phi i32 [ %4, %0 ], [ %7, %._crit_edge ]
  %.not88115 = icmp slt i32 %6, 0
  br i1 %.not88115, label %._crit_edge127, label %.preheader101

._crit_edge:                                      ; preds = %15, %.preheader103
  %7 = phi i32 [ %5, %.preheader103 ], [ %16, %15 ]
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %8 = sext i32 %7 to i64
  %.not.not = icmp slt i64 %indvars.iv144, %8
  br i1 %.not.not, label %.preheader103, label %.preheader102, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader103, %15
  %9 = phi i32 [ %16, %15 ], [ %5, %.preheader103 ]
  %10 = phi i32 [ %17, %15 ], [ %5, %.preheader103 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %15 ], [ 1, %.preheader103 ]
  %11 = icmp eq i64 %indvars.iv144, %indvars.iv
  br i1 %11, label %15, label %12

12:                                               ; preds = %.lr.ph
  %13 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %indvars.iv144, i64 %indvars.iv
  %14 = 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) %13)
  %.pre = load i32, ptr @N, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %.lr.ph, %12
  %16 = phi i32 [ %9, %.lr.ph ], [ %.pre, %12 ]
  %17 = phi i32 [ %10, %.lr.ph ], [ %.pre, %12 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = sext i32 %17 to i64
  %.not95.not = icmp slt i64 %indvars.iv, %18
  br i1 %.not95.not, label %.lr.ph, label %._crit_edge, !llvm.loop !12

.preheader101:                                    ; preds = %.preheader102, %._crit_edge114
  %19 = phi i32 [ %23, %._crit_edge114 ], [ %6, %.preheader102 ]
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %._crit_edge114 ], [ 0, %.preheader102 ]
  %.not93112 = icmp slt i32 %19, 0
  br i1 %.not93112, label %.preheader101.._crit_edge114_crit_edge, label %.preheader100.lr.ph

.preheader101.._crit_edge114_crit_edge:           ; preds = %.preheader101
  %.pre193 = sext i32 %19 to i64
  br label %._crit_edge114

.preheader100.lr.ph:                              ; preds = %.preheader101
  %20 = trunc nuw nsw i64 %indvars.iv147 to i32
  br label %.preheader100

.preheader99:                                     ; preds = %._crit_edge114
  %.not89125 = icmp slt i32 %23, 0
  br i1 %.not89125, label %._crit_edge127, label %.preheader98

.preheader100:                                    ; preds = %.preheader100.lr.ph, %24
  %indvars.iv152 = phi i64 [ 0, %.preheader100.lr.ph ], [ %indvars.iv.next153, %24 ]
  %21 = add nsw i64 %indvars.iv152, -1
  %.not94.not108 = icmp slt i64 %indvars.iv147, %21
  br i1 %.not94.not108, label %.lr.ph110, label %24

.lr.ph110:                                        ; preds = %.preheader100
  %22 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %indvars.iv147, i64 %indvars.iv152
  %.promoted = load i64, ptr %22, align 8, !tbaa !13
  br label %37

._crit_edge114:                                   ; preds = %24, %.preheader101.._crit_edge114_crit_edge
  %.pre-phi = phi i64 [ %.pre193, %.preheader101.._crit_edge114_crit_edge ], [ %36, %24 ]
  %23 = phi i32 [ %19, %.preheader101.._crit_edge114_crit_edge ], [ %35, %24 ]
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %.not88.not = icmp slt i64 %indvars.iv147, %.pre-phi
  br i1 %.not88.not, label %.preheader101, label %.preheader99, !llvm.loop !15

._crit_edge111:                                   ; preds = %37
  store i64 %41, ptr %22, align 8, !tbaa !13
  br label %24

24:                                               ; preds = %._crit_edge111, %.preheader100
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef %20)
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str.3)
  %28 = trunc nuw nsw i64 %indvars.iv152 to i32
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %27, i32 noundef %28)
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.4)
  %31 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %indvars.iv147, i64 %indvars.iv152
  %32 = load i64, ptr %31, align 8, !tbaa !13
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %30, i64 noundef %32)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %35 = load i32, ptr @N, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %.not93.not = icmp slt i64 %indvars.iv152, %36
  br i1 %.not93.not, label %.preheader100, label %._crit_edge114, !llvm.loop !16

37:                                               ; preds = %.lr.ph110, %37
  %indvars.iv149 = phi i64 [ %indvars.iv147, %.lr.ph110 ], [ %indvars.iv.next150, %37 ]
  %38 = phi i64 [ %.promoted, %.lr.ph110 ], [ %41, %37 ]
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %39 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %indvars.iv.next150, i64 %indvars.iv152
  %40 = load i64, ptr %39, align 8, !tbaa !13
  %41 = add nsw i64 %38, %40
  %sext = shl i64 %indvars.iv.next150, 32
  %42 = ashr exact i64 %sext, 32
  %.not94.not = icmp slt i64 %42, %21
  br i1 %.not94.not, label %37, label %._crit_edge111, !llvm.loop !17

.preheader98:                                     ; preds = %.preheader99, %._crit_edge124
  %43 = phi i32 [ %55, %._crit_edge124 ], [ %23, %.preheader99 ]
  %indvars.iv170 = phi i64 [ %indvars.iv.next171, %._crit_edge124 ], [ 0, %.preheader99 ]
  %.not = icmp eq i64 %indvars.iv170, 0
  br i1 %.not, label %._crit_edge124, label %.preheader97.lr.ph

.preheader97.lr.ph:                               ; preds = %.preheader98
  %44 = trunc nuw nsw i64 %indvars.iv170 to i32
  br label %.preheader97

._crit_edge127:                                   ; preds = %._crit_edge124, %.preheader102, %.preheader99
  tail call void @_ZSt4fillIPxxEvT_S1_RKT0_(ptr noundef nonnull @dp, ptr noundef nonnull getelementptr inbounds (i8, ptr @dp, i64 2080800), ptr noundef nonnull align 8 dereferenceable(8) @_ZL5infty)
  store i64 0, ptr @dp, align 16, !tbaa !13
  %45 = load i32, ptr @N, align 4
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.preheader96, label %._crit_edge135.thread

._crit_edge135.thread:                            ; preds = %._crit_edge127
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  store i64 1000000000000000, ptr %2, align 8, !tbaa !13
  br label %._crit_edge139

.preheader97:                                     ; preds = %.preheader97.lr.ph, %57
  %indvars.iv163 = phi i64 [ 0, %.preheader97.lr.ph ], [ %indvars.iv.next164, %57 ]
  %indvars.iv161 = phi i64 [ 1, %.preheader97.lr.ph ], [ %indvars.iv.next162, %57 ]
  %.not92117 = icmp eq i64 %indvars.iv163, 0
  br i1 %.not92117, label %57, label %.lr.ph119

.lr.ph119:                                        ; preds = %.preheader97
  %47 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %indvars.iv163, i64 %indvars.iv170
  %.promoted121 = load i64, ptr %47, align 8, !tbaa !13
  %min.iters.check = icmp ult i64 %indvars.iv163, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph119
  %indvars.iv156.ph = phi i64 [ 1, %.lr.ph119 ], [ %ind.end, %middle.block ]
  %.ph = phi i64 [ %.promoted121, %.lr.ph119 ], [ %54, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph119
  %n.vec = and i64 %indvars.iv163, 9223372036854775804
  %ind.end = or disjoint i64 %n.vec, 1
  %48 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %.promoted121, i64 0
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ %48, %vector.ph ], [ %51, %vector.body ]
  %vec.phi213 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %52, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %49 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %indvars.iv170, i64 %offset.idx
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  %wide.load = load <2 x i64>, ptr %49, align 8, !tbaa !13
  %wide.load214 = load <2 x i64>, ptr %50, align 8, !tbaa !13
  %51 = add <2 x i64> %vec.phi, %wide.load
  %52 = add <2 x i64> %vec.phi213, %wide.load214
  %index.next = add nuw i64 %index, 4
  %53 = icmp eq i64 %index.next, %n.vec
  br i1 %53, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %52, %51
  %54 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %indvars.iv163, %n.vec
  br i1 %cmp.n, label %._crit_edge120, label %scalar.ph.preheader

._crit_edge124.loopexit:                          ; preds = %57
  %.pre192 = load i32, ptr @N, align 4, !tbaa !5
  br label %._crit_edge124

._crit_edge124:                                   ; preds = %._crit_edge124.loopexit, %.preheader98
  %55 = phi i32 [ %.pre192, %._crit_edge124.loopexit ], [ %43, %.preheader98 ]
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %56 = sext i32 %55 to i64
  %.not89.not = icmp slt i64 %indvars.iv170, %56
  br i1 %.not89.not, label %.preheader98, label %._crit_edge127, !llvm.loop !21

._crit_edge120:                                   ; preds = %scalar.ph, %middle.block
  %.lcssa206 = phi i64 [ %54, %middle.block ], [ %71, %scalar.ph ]
  store i64 %.lcssa206, ptr %47, align 8, !tbaa !13
  br label %57

57:                                               ; preds = %._crit_edge120, %.preheader97
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.5)
  %59 = trunc nuw nsw i64 %indvars.iv163 to i32
  %60 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %58, i32 noundef %59)
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @.str.3)
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %61, i32 noundef %44)
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @.str.4)
  %64 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %indvars.iv163, i64 %indvars.iv170
  %65 = load i64, ptr %64, align 8, !tbaa !13
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %63, i64 noundef %65)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %exitcond169.not = icmp eq i64 %indvars.iv.next164, %indvars.iv170
  br i1 %exitcond169.not, label %._crit_edge124.loopexit, label %.preheader97, !llvm.loop !22

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv156 = phi i64 [ %indvars.iv.next157, %scalar.ph ], [ %indvars.iv156.ph, %scalar.ph.preheader ]
  %68 = phi i64 [ %71, %scalar.ph ], [ %.ph, %scalar.ph.preheader ]
  %69 = getelementptr inbounds [510 x [510 x i64]], ptr @A, i64 0, i64 %indvars.iv170, i64 %indvars.iv156
  %70 = load i64, ptr %69, align 8, !tbaa !13
  %71 = add nsw i64 %68, %70
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next157, %indvars.iv161
  br i1 %exitcond.not, label %._crit_edge120, label %scalar.ph, !llvm.loop !23

.preheader96:                                     ; preds = %._crit_edge127, %75
  %72 = phi i32 [ %116, %75 ], [ %45, %._crit_edge127 ]
  %indvars.iv184 = phi i64 [ %indvars.iv.next185, %75 ], [ 1, %._crit_edge127 ]
  %indvars.iv173 = phi i64 [ %indvars.iv.next174, %75 ], [ 0, %._crit_edge127 ]
  %73 = trunc nuw nsw i64 %indvars.iv173 to i32
  br label %78

._crit_edge135:                                   ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  store i64 1000000000000000, ptr %2, align 8, !tbaa !13
  %74 = icmp sgt i32 %116, 0
  br i1 %74, label %.lr.ph138, label %._crit_edge139

75:                                               ; preds = %.loopexit
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %76 = sext i32 %116 to i64
  %77 = icmp slt i64 %indvars.iv.next174, %76
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  br i1 %77, label %.preheader96, label %._crit_edge135, !llvm.loop !24

78:                                               ; preds = %.preheader96, %.loopexit
  %79 = phi i32 [ %72, %.preheader96 ], [ %116, %.loopexit ]
  %80 = phi i32 [ %72, %.preheader96 ], [ %117, %.loopexit ]
  %indvars.iv178 = phi i64 [ 0, %.preheader96 ], [ %indvars.iv.next179, %.loopexit ]
  %81 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv178, i64 %indvars.iv173
  %82 = load i64, ptr %81, align 8, !tbaa !13
  %83 = icmp ne i64 %82, 1000000000000000
  %84 = sext i32 %80 to i64
  %.not91.not128 = icmp slt i64 %indvars.iv173, %84
  %or.cond = select i1 %83, i1 %.not91.not128, i1 false
  br i1 %or.cond, label %.lr.ph132.preheader, label %.loopexit

.lr.ph132.preheader:                              ; preds = %78
  %85 = trunc nuw nsw i64 %indvars.iv178 to i32
  br label %.lr.ph132

.lr.ph132:                                        ; preds = %.lr.ph132.preheader, %.lr.ph132
  %indvars.iv175 = phi i64 [ %indvars.iv173, %.lr.ph132.preheader ], [ %indvars.iv.next176, %.lr.ph132 ]
  %.075130 = phi i64 [ 0, %.lr.ph132.preheader ], [ %91, %.lr.ph132 ]
  %.076129 = phi i64 [ 0, %.lr.ph132.preheader ], [ %88, %.lr.ph132 ]
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %86 = getelementptr inbounds [510 x [510 x i64]], ptr @sum0, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next176
  %87 = load i64, ptr %86, align 8, !tbaa !13
  %88 = add nsw i64 %87, %.076129
  %89 = getelementptr inbounds [510 x [510 x i64]], ptr @sum1, i64 0, i64 %indvars.iv178, i64 %indvars.iv.next176
  %90 = load i64, ptr %89, align 8, !tbaa !13
  %91 = add nsw i64 %90, %.075130
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %92 = load i64, ptr %81, align 8, !tbaa !13
  %93 = add i64 %91, %88
  %94 = add i64 %93, %92
  store i64 %94, ptr %1, align 8, !tbaa !13
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.6)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %95, i32 noundef %85)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @.str.3)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %97, i32 noundef %73)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.4)
  %100 = load i64, ptr %81, align 8, !tbaa !13
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %99, i64 noundef %100)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.7)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef %73)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull @.str.3)
  %105 = trunc nuw nsw i64 %indvars.iv.next176 to i32
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %104, i32 noundef %105)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull @.str.4)
  %108 = load i64, ptr %1, align 8, !tbaa !13
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %107, i64 noundef %108)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %111 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next176
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %113 = load i64, ptr %112, align 8, !tbaa !13
  store i64 %113, ptr %111, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %114 = load i32, ptr @N, align 4
  %115 = sext i32 %114 to i64
  %.not91.not = icmp slt i64 %indvars.iv.next176, %115
  br i1 %.not91.not, label %.lr.ph132, label %.loopexit, !llvm.loop !25

.loopexit:                                        ; preds = %.lr.ph132, %78
  %116 = phi i32 [ %79, %78 ], [ %114, %.lr.ph132 ]
  %117 = phi i32 [ %80, %78 ], [ %114, %.lr.ph132 ]
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %exitcond183.not = icmp eq i64 %indvars.iv.next179, %indvars.iv184
  br i1 %exitcond183.not, label %75, label %78, !llvm.loop !26

._crit_edge139:                                   ; preds = %.lr.ph138, %._crit_edge135.thread, %._crit_edge135
  %118 = phi i64 [ 1000000000000000, %._crit_edge135 ], [ 1000000000000000, %._crit_edge135.thread ], [ %125, %.lr.ph138 ]
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %118)
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  ret i32 0

.lr.ph138:                                        ; preds = %._crit_edge135, %.lr.ph138
  %indvars.iv189 = phi i64 [ %indvars.iv.next190, %.lr.ph138 ], [ 0, %._crit_edge135 ]
  %121 = phi i32 [ %126, %.lr.ph138 ], [ %116, %._crit_edge135 ]
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv189, i64 %122
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %123)
  %125 = load i64, ptr %124, align 8, !tbaa !13
  store i64 %125, ptr %2, align 8, !tbaa !13
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %126 = load i32, ptr @N, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = icmp slt i64 %indvars.iv.next190, %127
  br i1 %128, label %.lr.ph138, label %._crit_edge139, !llvm.loop !27
}

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 #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxxEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #6

attributes #0 = { 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 #1 = { 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 #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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.unswitch.partial.disable"}
!12 = distinct !{!12, !10}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !10, !11}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10, !19, !20}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10, !20, !19}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}


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