; LLVM IR from eyangch/competitive-programming :: CSES/Graph_Algorithms (shortest_routes_ii)

; 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
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@N = external dso_local global i64, align 8
@M = external dso_local global i64, align 8
@Q = external dso_local global i64, align 8
@d = external dso_local global [500 x [500 x i64]], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = 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 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 i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  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, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %20 unwind label %36

20:                                               ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %2)
          to label %21 unwind label %40

21:                                               ; preds = %20
  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
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(8) @M)
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) @Q)
  %25 = load i64, ptr @N, align 8, !tbaa !5
  %26 = sub nsw i64 %25, 1
  %27 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %26
  %28 = getelementptr inbounds [500 x i64], ptr %27, i64 0, i64 0
  %29 = load i64, ptr @N, align 8, !tbaa !5
  %30 = getelementptr inbounds i64, ptr %28, i64 %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store double 1.000000e+14, ptr %6, align 8, !tbaa !9
  call void @_ZSt4fillIPxdEvT_S1_RKT0_(ptr noundef @d, ptr noundef %30, 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 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %50, %21
  %32 = load i64, ptr %7, align 8, !tbaa !5
  %33 = load i64, ptr @N, align 8, !tbaa !5
  %34 = icmp slt i64 %32, %33
  br i1 %34, label %45, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %53

36:                                               ; preds = %0
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %4, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %5, align 4
  br label %44

40:                                               ; preds = %20
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %44

44:                                               ; preds = %40, %36
  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 %172

45:                                               ; preds = %31
  %46 = load i64, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %46
  %48 = load i64, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds [500 x i64], ptr %47, i64 0, i64 %48
  store i64 0, ptr %49, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %45
  %51 = load i64, ptr %7, align 8, !tbaa !5
  %52 = add nsw i64 %51, 1
  store i64 %52, ptr %7, align 8, !tbaa !5
  br label %31, !llvm.loop !11

53:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !5
  br label %54

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

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %86

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %63 = load i64, ptr %9, align 8, !tbaa !5
  %64 = sub nsw i64 %63, 1
  %65 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %64
  %66 = load i64, ptr %10, align 8, !tbaa !5
  %67 = sub nsw i64 %66, 1
  %68 = getelementptr inbounds [500 x i64], ptr %65, i64 0, i64 %67
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %70 = load i64, ptr %69, align 8, !tbaa !5
  %71 = load i64, ptr %10, align 8, !tbaa !5
  %72 = sub nsw i64 %71, 1
  %73 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %72
  %74 = load i64, ptr %9, align 8, !tbaa !5
  %75 = sub nsw i64 %74, 1
  %76 = getelementptr inbounds [500 x i64], ptr %73, i64 0, i64 %75
  store i64 %70, ptr %76, align 8, !tbaa !5
  %77 = load i64, ptr %9, align 8, !tbaa !5
  %78 = sub nsw i64 %77, 1
  %79 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %78
  %80 = load i64, ptr %10, align 8, !tbaa !5
  %81 = sub nsw i64 %80, 1
  %82 = getelementptr inbounds [500 x i64], ptr %79, i64 0, i64 %81
  store i64 %70, ptr %82, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %83

83:                                               ; preds = %59
  %84 = load i64, ptr %8, align 8, !tbaa !5
  %85 = add nsw i64 %84, 1
  store i64 %85, ptr %8, align 8, !tbaa !5
  br label %54, !llvm.loop !13

86:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %134, %86
  %88 = load i64, ptr %12, align 8, !tbaa !5
  %89 = load i64, ptr @N, align 8, !tbaa !5
  %90 = icmp slt i64 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %137

92:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !5
  br label %93

93:                                               ; preds = %130, %92
  %94 = load i64, ptr %14, align 8, !tbaa !5
  %95 = load i64, ptr @N, align 8, !tbaa !5
  %96 = icmp slt i64 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %133

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %126, %98
  %100 = load i64, ptr %15, align 8, !tbaa !5
  %101 = load i64, ptr @N, align 8, !tbaa !5
  %102 = icmp slt i64 %100, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %129

104:                                              ; preds = %99
  %105 = load i64, ptr %14, align 8, !tbaa !5
  %106 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %105
  %107 = load i64, ptr %15, align 8, !tbaa !5
  %108 = getelementptr inbounds [500 x i64], ptr %106, i64 0, i64 %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %109 = load i64, ptr %14, align 8, !tbaa !5
  %110 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %109
  %111 = load i64, ptr %12, align 8, !tbaa !5
  %112 = getelementptr inbounds [500 x i64], ptr %110, i64 0, i64 %111
  %113 = load i64, ptr %112, align 8, !tbaa !5
  %114 = load i64, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %114
  %116 = load i64, ptr %15, align 8, !tbaa !5
  %117 = getelementptr inbounds [500 x i64], ptr %115, i64 0, i64 %116
  %118 = load i64, ptr %117, align 8, !tbaa !5
  %119 = add nsw i64 %113, %118
  store i64 %119, ptr %16, align 8, !tbaa !5
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %121 = load i64, ptr %120, align 8, !tbaa !5
  %122 = load i64, ptr %14, align 8, !tbaa !5
  %123 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %122
  %124 = load i64, ptr %15, align 8, !tbaa !5
  %125 = getelementptr inbounds [500 x i64], ptr %123, i64 0, i64 %124
  store i64 %121, ptr %125, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %126

126:                                              ; preds = %104
  %127 = load i64, ptr %15, align 8, !tbaa !5
  %128 = add nsw i64 %127, 1
  store i64 %128, ptr %15, align 8, !tbaa !5
  br label %99, !llvm.loop !14

129:                                              ; preds = %103
  br label %130

130:                                              ; preds = %129
  %131 = load i64, ptr %14, align 8, !tbaa !5
  %132 = add nsw i64 %131, 1
  store i64 %132, ptr %14, align 8, !tbaa !5
  br label %93, !llvm.loop !15

133:                                              ; preds = %97
  br label %134

134:                                              ; preds = %133
  %135 = load i64, ptr %12, align 8, !tbaa !5
  %136 = add nsw i64 %135, 1
  store i64 %136, ptr %12, align 8, !tbaa !5
  br label %87, !llvm.loop !16

137:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %168, %137
  %139 = load i64, ptr %17, align 8, !tbaa !5
  %140 = load i64, ptr @Q, align 8, !tbaa !5
  %141 = icmp slt i64 %139, %140
  br i1 %141, label %143, label %142

142:                                              ; preds = %138
  store i32 17, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %171

143:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %144 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %145 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %144, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %146 = load i64, ptr %18, align 8, !tbaa !5
  %147 = sub nsw i64 %146, 1
  %148 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %147
  %149 = load i64, ptr %19, align 8, !tbaa !5
  %150 = sub nsw i64 %149, 1
  %151 = getelementptr inbounds [500 x i64], ptr %148, i64 0, i64 %150
  %152 = load i64, ptr %151, align 8, !tbaa !5
  %153 = sitofp i64 %152 to double
  %154 = fcmp oge double %153, 1.000000e+14
  br i1 %154, label %155, label %156

155:                                              ; preds = %143
  br label %164

156:                                              ; preds = %143
  %157 = load i64, ptr %18, align 8, !tbaa !5
  %158 = sub nsw i64 %157, 1
  %159 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %158
  %160 = load i64, ptr %19, align 8, !tbaa !5
  %161 = sub nsw i64 %160, 1
  %162 = getelementptr inbounds [500 x i64], ptr %159, i64 0, i64 %161
  %163 = load i64, ptr %162, align 8, !tbaa !5
  br label %164

164:                                              ; preds = %156, %155
  %165 = phi i64 [ -1, %155 ], [ %163, %156 ]
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %165)
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef @.str.5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %168

168:                                              ; preds = %164
  %169 = load i64, ptr %17, align 8, !tbaa !5
  %170 = add nsw i64 %169, 1
  store i64 %170, ptr %17, align 8, !tbaa !5
  br label %138, !llvm.loop !17

171:                                              ; preds = %142
  ret i32 0

172:                                              ; preds = %44
  %173 = load ptr, ptr %4, align 8
  %174 = load i32, ptr %5, align 4
  %175 = insertvalue { ptr, i32 } poison, ptr %173, 0
  %176 = insertvalue { ptr, i32 } %175, i32 %174, 1
  resume { ptr, i32 } %176
}

; 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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxdEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

; 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 = { 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 #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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; 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
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@N = external dso_local global i64, align 8
@M = external dso_local global i64, align 8
@Q = external dso_local global i64, align 8
@d = external dso_local global [500 x [500 x i64]], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = 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 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 i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %10 unwind label %26

10:                                               ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %1)
          to label %11 unwind label %28

11:                                               ; preds = %10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) @M)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) @Q)
  %15 = load i64, ptr @N, align 8, !tbaa !5
  %16 = add nsw i64 %15, -1
  %17 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %16
  %18 = getelementptr inbounds i64, ptr %17, i64 %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store double 1.000000e+14, ptr %3, align 8, !tbaa !9
  call void @_ZSt4fillIPxdEvT_S1_RKT0_(ptr noundef nonnull @d, ptr noundef nonnull %18, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  %19 = load i64, ptr @N, align 8, !tbaa !5
  %20 = icmp sgt i64 %19, 0
  br i1 %20, label %.lr.ph.preheader, label %.preheader34

.lr.ph.preheader:                                 ; preds = %11
  %xtraiter = and i64 %19, 3
  %21 = icmp ult i64 %19, 4
  br i1 %21, label %.preheader34.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %19, 9223372036854775804
  br label %.lr.ph

.preheader34.loopexit.unr-lcssa:                  ; preds = %.lr.ph, %.lr.ph.preheader
  %.02735.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %38, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader34, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader34.loopexit.unr-lcssa, %.lr.ph.epil
  %.02735.epil = phi i64 [ %23, %.lr.ph.epil ], [ %.02735.unr, %.preheader34.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.preheader34.loopexit.unr-lcssa ]
  %22 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %.02735.epil, i64 %.02735.epil
  store i64 0, ptr %22, align 8, !tbaa !5
  %23 = add nuw nsw i64 %.02735.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader34, label %.lr.ph.epil, !llvm.loop !11

.preheader34:                                     ; preds = %.preheader34.loopexit.unr-lcssa, %.lr.ph.epil, %11
  %24 = load i64, ptr @M, align 8, !tbaa !5
  %25 = icmp sgt i64 %24, 0
  br i1 %25, label %.lr.ph37, label %.preheader33

26:                                               ; preds = %0
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %30

28:                                               ; preds = %10
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %30

30:                                               ; preds = %28, %26
  %.pn = phi { ptr, i32 } [ %29, %28 ], [ %27, %26 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.02735 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %38, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %31 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %.02735, i64 %.02735
  store i64 0, ptr %31, align 16, !tbaa !5
  %32 = or disjoint i64 %.02735, 1
  %33 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %32, i64 %32
  store i64 0, ptr %33, align 8, !tbaa !5
  %34 = or disjoint i64 %.02735, 2
  %35 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %34, i64 %34
  store i64 0, ptr %35, align 16, !tbaa !5
  %36 = or disjoint i64 %.02735, 3
  %37 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %36, i64 %36
  store i64 0, ptr %37, align 8, !tbaa !5
  %38 = add nuw nsw i64 %.02735, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader34.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !13

.preheader33.loopexit:                            ; preds = %.lr.ph37
  %.pre = load i64, ptr @N, align 8, !tbaa !5
  br label %.preheader33

.preheader33:                                     ; preds = %.preheader33.loopexit, %.preheader34
  %39 = phi i64 [ %.pre, %.preheader33.loopexit ], [ %19, %.preheader34 ]
  %40 = icmp sgt i64 %39, 0
  br i1 %40, label %.preheader32, label %.preheader

.lr.ph37:                                         ; preds = %.preheader34, %.lr.ph37
  %.02636 = phi i64 [ %57, %.lr.ph37 ], [ 0, %.preheader34 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %44 = load i64, ptr %4, align 8, !tbaa !5
  %45 = add nsw i64 %44, -1
  %46 = load i64, ptr %5, align 8, !tbaa !5
  %47 = add nsw i64 %46, -1
  %48 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %45, i64 %47
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = load i64, ptr %5, align 8, !tbaa !5
  %52 = add nsw i64 %51, -1
  %53 = load i64, ptr %4, align 8, !tbaa !5
  %54 = add nsw i64 %53, -1
  %55 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %52, i64 %54
  store i64 %50, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %54, i64 %52
  store i64 %50, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %57 = add nuw nsw i64 %.02636, 1
  %58 = load i64, ptr @M, align 8, !tbaa !5
  %59 = icmp slt i64 %57, %58
  br i1 %59, label %.lr.ph37, label %.preheader33.loopexit, !llvm.loop !15

.preheader32:                                     ; preds = %.preheader33, %._crit_edge41
  %60 = phi i64 [ %68, %._crit_edge41 ], [ %39, %.preheader33 ]
  %.02542 = phi i64 [ %69, %._crit_edge41 ], [ 0, %.preheader33 ]
  %61 = icmp sgt i64 %60, 0
  br i1 %61, label %.preheader31, label %._crit_edge41

.preheader:                                       ; preds = %._crit_edge41, %.preheader33
  %62 = load i64, ptr @Q, align 8, !tbaa !5
  %63 = icmp sgt i64 %62, 0
  br i1 %63, label %.lr.ph45, label %._crit_edge46

.preheader31:                                     ; preds = %.preheader32, %._crit_edge
  %64 = phi i64 [ %71, %._crit_edge ], [ %60, %.preheader32 ]
  %65 = phi i64 [ %72, %._crit_edge ], [ %60, %.preheader32 ]
  %.02440 = phi i64 [ %73, %._crit_edge ], [ 0, %.preheader32 ]
  %66 = icmp sgt i64 %65, 0
  br i1 %66, label %.lr.ph39, label %._crit_edge

.lr.ph39:                                         ; preds = %.preheader31
  %67 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %.02440, i64 %.02542
  br label %75

._crit_edge41:                                    ; preds = %._crit_edge, %.preheader32
  %68 = phi i64 [ %60, %.preheader32 ], [ %71, %._crit_edge ]
  %69 = add nuw nsw i64 %.02542, 1
  %70 = icmp slt i64 %69, %68
  br i1 %70, label %.preheader32, label %.preheader, !llvm.loop !16

._crit_edge:                                      ; preds = %75, %.preheader31
  %71 = phi i64 [ %64, %.preheader31 ], [ %84, %75 ]
  %72 = phi i64 [ %65, %.preheader31 ], [ %84, %75 ]
  %73 = add nuw nsw i64 %.02440, 1
  %74 = icmp slt i64 %73, %72
  br i1 %74, label %.preheader31, label %._crit_edge41, !llvm.loop !18

75:                                               ; preds = %.lr.ph39, %75
  %.02338 = phi i64 [ 0, %.lr.ph39 ], [ %83, %75 ]
  %76 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %.02440, i64 %.02338
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %77 = load i64, ptr %67, align 8, !tbaa !5
  %78 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %.02542, i64 %.02338
  %79 = load i64, ptr %78, align 8, !tbaa !5
  %80 = add nsw i64 %79, %77
  store i64 %80, ptr %7, align 8, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %82 = load i64, ptr %81, align 8, !tbaa !5
  store i64 %82, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %83 = add nuw nsw i64 %.02338, 1
  %84 = load i64, ptr @N, align 8, !tbaa !5
  %85 = icmp slt i64 %83, %84
  br i1 %85, label %75, label %._crit_edge, !llvm.loop !19

._crit_edge46:                                    ; preds = %.lr.ph45, %.preheader
  ret i32 0

.lr.ph45:                                         ; preds = %.preheader, %.lr.ph45
  %.044 = phi i64 [ %97, %.lr.ph45 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %86, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %88 = load i64, ptr %8, align 8, !tbaa !5
  %89 = add nsw i64 %88, -1
  %90 = load i64, ptr %9, align 8, !tbaa !5
  %91 = add nsw i64 %90, -1
  %92 = getelementptr inbounds [500 x [500 x i64]], ptr @d, i64 0, i64 %89, i64 %91
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = icmp sgt i64 %93, 99999999999999
  %spec.select = select i1 %94, i64 -1, i64 %93
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %spec.select)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull @.str.5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %97 = add nuw nsw i64 %.044, 1
  %98 = load i64, ptr @Q, align 8, !tbaa !5
  %99 = icmp slt i64 %97, %98
  br i1 %99, label %.lr.ph45, label %._crit_edge46, !llvm.loop !20
}

; 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

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

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

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

; 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

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 = { 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 #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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.unroll.disable"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14, !17}
!17 = !{!"llvm.loop.unswitch.partial.disable"}
!18 = distinct !{!18, !14, !17}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


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