; LLVM IR from eyangch/competitive-programming :: USACOcontests/gold/2020.01 (threesum)

; 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" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@N = external dso_local global i32, align 4
@Q = external dso_local global i32, align 4
@A = external dso_local global [5000 x i32], align 16
@M = external dso_local global i32, align 4
@mpDown = external dso_local global [2000001 x i32], align 16
@occ = external dso_local global [5000 x i32], align 16
@dp = external dso_local global [5000 x [5000 x i64]], align 16
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #0

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %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 i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %16 unwind label %25

16:                                               ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %2)
          to label %17 unwind label %29

17:                                               ; preds = %16
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  %18 = 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)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) @Q)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store double 1.000000e+09, ptr %6, align 8, !tbaa !5
  call void @_ZSt4fillIPidEvT_S1_RKT0_(ptr noundef @mpDown, ptr noundef getelementptr inbounds (i32, ptr @mpDown, i64 2000001), ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %60, %17
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = load i32, ptr @N, align 4, !tbaa !9
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %34, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %63

25:                                               ; preds = %0
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %4, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %5, align 4
  br label %33

29:                                               ; preds = %16
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %4, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %33

33:                                               ; preds = %29, %25
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  br label %202

34:                                               ; preds = %20
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %36
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1000000
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !9
  %47 = sitofp i32 %46 to double
  %48 = fcmp oeq double %47, 1.000000e+09
  br i1 %48, label %49, label %59

49:                                               ; preds = %34
  %50 = load i32, ptr @M, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr @M, align 4, !tbaa !9
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1000000
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %57
  store i32 %50, ptr %58, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %49, %34
  br label %60

60:                                               ; preds = %59
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %7, align 4, !tbaa !9
  br label %20, !llvm.loop !11

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

64:                                               ; preds = %179, %63
  %65 = load i32, ptr %8, align 4, !tbaa !9
  %66 = load i32, ptr @N, align 4, !tbaa !9
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %64
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %182

69:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %79, %69
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = load i32, ptr @M, align 4, !tbaa !9
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %82

75:                                               ; preds = %70
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %77
  store i32 0, ptr %78, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %75
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %10, align 4, !tbaa !9
  br label %70, !llvm.loop !13

82:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = add nsw i32 %83, 2
  store i32 %84, ptr %11, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %175, %82
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr @N, align 4, !tbaa !9
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %90, label %89

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

90:                                               ; preds = %85
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = sub nsw i32 %91, 1
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1000000
  %97 = icmp sge i32 %96, 0
  br i1 %97, label %98, label %132

98:                                               ; preds = %90
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = sub nsw i32 %99, 1
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1000000
  %105 = icmp sle i32 %104, 2000000
  br i1 %105, label %106, label %132

106:                                              ; preds = %98
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = sub nsw i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1000000
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = sitofp i32 %115 to double
  %117 = fcmp olt double %116, 1.000000e+09
  br i1 %117, label %118, label %132

118:                                              ; preds = %106
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = sub nsw i32 %119, 1
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1000000
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %129, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %118, %106, %98, %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !9
  %141 = add nsw i32 %136, %140
  %142 = sub nsw i32 0, %141
  %143 = add nsw i32 %142, 1000000
  store i32 %143, ptr %12, align 4, !tbaa !9
  %144 = load i32, ptr %12, align 4, !tbaa !9
  %145 = icmp slt i32 %144, 0
  br i1 %145, label %156, label %146

146:                                              ; preds = %132
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = icmp sgt i32 %147, 2000000
  br i1 %148, label %156, label %149

149:                                              ; preds = %146
  %150 = load i32, ptr %12, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = sitofp i32 %153 to double
  %155 = fcmp oeq double %154, 1.000000e+09
  br i1 %155, label %156, label %157

156:                                              ; preds = %149, %146, %132
  store i32 13, ptr %9, align 4
  br label %172

157:                                              ; preds = %149
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = load i32, ptr %8, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [5000 x [5000 x i64]], ptr @dp, i64 0, i64 %167
  %169 = load i32, ptr %11, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [5000 x i64], ptr %168, i64 0, i64 %170
  store i64 %165, ptr %171, align 8, !tbaa !14
  store i32 0, ptr %9, align 4
  br label %172

172:                                              ; preds = %157, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %173 = load i32, ptr %9, align 4
  switch i32 %173, label %207 [
    i32 0, label %174
    i32 13, label %175
  ]

174:                                              ; preds = %172
  br label %175

175:                                              ; preds = %174, %172
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %11, align 4, !tbaa !9
  br label %85, !llvm.loop !16

178:                                              ; preds = %89
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %8, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %8, align 4, !tbaa !9
  br label %64, !llvm.loop !17

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

183:                                              ; preds = %198, %182
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = load i32, ptr @Q, align 4, !tbaa !9
  %186 = icmp slt i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %201

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %190 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %189, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %191 = load i32, ptr %14, align 4, !tbaa !9
  %192 = sub nsw i32 %191, 1
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = sub nsw i32 %193, 1
  %195 = call noundef i64 @_Z3dfsii(i32 noundef %192, i32 noundef %194)
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %195)
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @.str.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %198

198:                                              ; preds = %188
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %13, align 4, !tbaa !9
  br label %183, !llvm.loop !18

201:                                              ; preds = %187
  ret i32 0

202:                                              ; preds = %33
  %203 = load ptr, ptr %4, align 8
  %204 = load i32, ptr %5, align 4
  %205 = insertvalue { ptr, i32 } poison, ptr %203, 0
  %206 = insertvalue { ptr, i32 } %205, i32 %204, 1
  resume { ptr, i32 } %206

207:                                              ; preds = %172
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPidEvT_S1_RKT0_(ptr noundef, ptr noundef, 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_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { "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 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !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" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@N = external dso_local global i32, align 4
@Q = external dso_local global i32, align 4
@A = external dso_local global [5000 x i32], align 16
@M = external dso_local local_unnamed_addr global i32, align 4
@mpDown = external dso_local global [2000001 x i32], align 16
@occ = external dso_local local_unnamed_addr global [5000 x i32], align 16
@dp = external dso_local local_unnamed_addr global [5000 x [5000 x i64]], align 16
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; 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 uwtable
declare dso_local noundef i64 @_Z3dfsii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::allocator", align 1
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %6 unwind label %56

6:                                                ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %1)
          to label %7 unwind label %58

7:                                                ; preds = %6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #7
  %8 = 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)
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) @Q)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  store double 1.000000e+09, ptr %3, align 8, !tbaa !5
  call void @_ZSt4fillIPidEvT_S1_RKT0_(ptr noundef nonnull @mpDown, ptr noundef nonnull getelementptr inbounds (i8, ptr @mpDown, i64 8000004), ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %10 = load i32, ptr @N, align 4, !tbaa !9
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %.preheader

.preheader42:                                     ; preds = %72
  %12 = icmp sgt i32 %73, 0
  br i1 %12, label %.preheader41.lr.ph, label %.preheader

.preheader41.lr.ph:                               ; preds = %.preheader42
  %13 = load i32, ptr @M, align 4, !tbaa !9
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader41.us.preheader, label %.preheader41.preheader

.preheader41.preheader:                           ; preds = %.preheader41.lr.ph
  %15 = zext nneg i32 %73 to i64
  %wide.trip.count64 = zext nneg i32 %73 to i64
  br label %.preheader41

.preheader41.us.preheader:                        ; preds = %.preheader41.lr.ph
  %16 = zext nneg i32 %13 to i64
  %17 = shl nuw nsw i64 %16, 2
  %wide.trip.count78 = zext nneg i32 %73 to i64
  br label %.preheader41.us

.preheader41.us:                                  ; preds = %.preheader41.us.preheader, %._crit_edge49.us
  %indvars.iv75 = phi i64 [ 0, %.preheader41.us.preheader ], [ %indvars.iv.next76, %._crit_edge49.us ]
  %indvars.iv69 = phi i32 [ 2, %.preheader41.us.preheader ], [ %indvars.iv.next70, %._crit_edge49.us ]
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @occ, i8 0, i64 %17, i1 false), !tbaa !9
  %18 = trunc i64 %indvars.iv75 to i32
  %19 = add i32 %18, 2
  %20 = icmp slt i32 %19, %73
  br i1 %20, label %.lr.ph48.us, label %._crit_edge49.us

._crit_edge49.us:                                 ; preds = %52, %.preheader41.us
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %indvars.iv.next70 = add nuw i32 %indvars.iv69, 1
  %exitcond79.not = icmp eq i64 %indvars.iv.next76, %wide.trip.count78
  br i1 %exitcond79.not, label %.preheader, label %.preheader41.us, !llvm.loop !11

21:                                               ; preds = %.lr.ph48.us, %52
  %indvars.iv71 = phi i64 [ %53, %.lr.ph48.us ], [ %indvars.iv.next72, %52 ]
  %22 = add nsw i64 %indvars.iv71, -1
  %23 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = add i32 %24, 1000000
  %or.cond38.us = icmp ult i32 %25, 2000001
  br i1 %or.cond38.us, label %26, label %36

26:                                               ; preds = %21
  %27 = zext nneg i32 %25 to i64
  %28 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = icmp slt i32 %29, 1000000000
  br i1 %30, label %31, label %36

31:                                               ; preds = %26
  %32 = sext i32 %29 to i64
  %33 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %33, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %31, %26, %21
  %37 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %indvars.iv71
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = add i32 %55, %38
  %40 = sub i32 1000000, %39
  %or.cond.us = icmp ugt i32 %40, 2000000
  br i1 %or.cond.us, label %52, label %41

41:                                               ; preds = %36
  %42 = zext nneg i32 %40 to i64
  %43 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 1000000000
  br i1 %45, label %52, label %46

46:                                               ; preds = %41
  %47 = sext i32 %44 to i64
  %48 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [5000 x [5000 x i64]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv71
  store i64 %50, ptr %51, align 8, !tbaa !13
  br label %52

52:                                               ; preds = %46, %41, %36
  %indvars.iv.next72 = add nsw i64 %indvars.iv71, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next72 to i32
  %exitcond74.not = icmp eq i32 %73, %lftr.wideiv
  br i1 %exitcond74.not, label %._crit_edge49.us, label %21, !llvm.loop !15

.lr.ph48.us:                                      ; preds = %.preheader41.us
  %53 = sext i32 %indvars.iv69 to i64
  %54 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %indvars.iv75
  %55 = load i32, ptr %54, align 4, !tbaa !9
  br label %21

56:                                               ; preds = %0
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

58:                                               ; preds = %6
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  br label %60

60:                                               ; preds = %58, %56
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn

.lr.ph:                                           ; preds = %7, %72
  %indvars.iv = phi i64 [ %indvars.iv.next, %72 ], [ 0, %7 ]
  %61 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %indvars.iv
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %61)
  %63 = load i32, ptr %61, align 4, !tbaa !9
  %64 = add nsw i32 %63, 1000000
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = icmp eq i32 %67, 1000000000
  br i1 %68, label %69, label %72

69:                                               ; preds = %.lr.ph
  %70 = load i32, ptr @M, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr @M, align 4, !tbaa !9
  store i32 %70, ptr %66, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %.lr.ph, %69
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = load i32, ptr @N, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = icmp slt i64 %indvars.iv.next, %74
  br i1 %75, label %.lr.ph, label %.preheader42, !llvm.loop !16

.preheader41:                                     ; preds = %.preheader41.preheader, %._crit_edge49
  %indvars.iv61 = phi i64 [ 0, %.preheader41.preheader ], [ %indvars.iv.next62, %._crit_edge49 ]
  %indvars.iv56 = phi i64 [ 2, %.preheader41.preheader ], [ %indvars.iv.next57, %._crit_edge49 ]
  %76 = add nuw nsw i64 %indvars.iv61, 2
  %77 = icmp ult i64 %76, %15
  br i1 %77, label %.lr.ph48, label %._crit_edge49

.preheader:                                       ; preds = %._crit_edge49, %._crit_edge49.us, %7, %.preheader42
  %78 = load i32, ptr @Q, align 4, !tbaa !9
  %79 = icmp sgt i32 %78, 0
  br i1 %79, label %.lr.ph52, label %._crit_edge

.lr.ph48:                                         ; preds = %.preheader41
  %80 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %indvars.iv61
  %81 = load i32, ptr %80, align 4, !tbaa !9
  br label %82

._crit_edge49:                                    ; preds = %113, %.preheader41
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56, 1
  %exitcond65.not = icmp eq i64 %indvars.iv.next62, %wide.trip.count64
  br i1 %exitcond65.not, label %.preheader, label %.preheader41, !llvm.loop !11

82:                                               ; preds = %.lr.ph48, %113
  %indvars.iv58 = phi i64 [ %indvars.iv56, %.lr.ph48 ], [ %indvars.iv.next59, %113 ]
  %83 = add nsw i64 %indvars.iv58, -1
  %84 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !9
  %86 = add i32 %85, 1000000
  %or.cond38 = icmp ult i32 %86, 2000001
  br i1 %or.cond38, label %87, label %97

87:                                               ; preds = %82
  %88 = zext nneg i32 %86 to i64
  %89 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = icmp slt i32 %90, 1000000000
  br i1 %91, label %92, label %97

92:                                               ; preds = %87
  %93 = sext i32 %90 to i64
  %94 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %94, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %92, %87, %82
  %98 = getelementptr inbounds [5000 x i32], ptr @A, i64 0, i64 %indvars.iv58
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = add i32 %81, %99
  %101 = sub i32 1000000, %100
  %or.cond = icmp ugt i32 %101, 2000000
  br i1 %or.cond, label %113, label %102

102:                                              ; preds = %97
  %103 = zext nneg i32 %101 to i64
  %104 = getelementptr inbounds [2000001 x i32], ptr @mpDown, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = icmp eq i32 %105, 1000000000
  br i1 %106, label %113, label %107

107:                                              ; preds = %102
  %108 = sext i32 %105 to i64
  %109 = getelementptr inbounds [5000 x i32], ptr @occ, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [5000 x [5000 x i64]], ptr @dp, i64 0, i64 %indvars.iv61, i64 %indvars.iv58
  store i64 %111, ptr %112, align 8, !tbaa !13
  br label %113

113:                                              ; preds = %97, %102, %107
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next59, %wide.trip.count64
  br i1 %exitcond.not, label %._crit_edge49, label %82, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph52, %.preheader
  ret i32 0

.lr.ph52:                                         ; preds = %.preheader, %.lr.ph52
  %.051 = phi i32 [ %123, %.lr.ph52 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %114, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %116 = load i32, ptr %4, align 4, !tbaa !9
  %117 = add nsw i32 %116, -1
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = add nsw i32 %118, -1
  %120 = call noundef i64 @_Z3dfsii(i32 noundef %117, i32 noundef %119)
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %120)
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull @.str.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %123 = add nuw nsw i32 %.051, 1
  %124 = load i32, ptr @Q, align 4, !tbaa !9
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %.lr.ph52, label %._crit_edge, !llvm.loop !17
}

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPidEvT_S1_RKT0_(ptr noundef, ptr noundef, 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_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { "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 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 nounwind willreturn memory(argmem: write) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass