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

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

%struct.board = type { i32, i32, i32, i32, i32 }
%struct.si_map = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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.anon = type { i8 }
%class.anon.0 = type { i8 }

@N = external dso_local global i32, align 4
@P = external dso_local global i32, align 4
@b = external dso_local global [100000 x %struct.board], align 16
@b2 = external dso_local global [100000 x %struct.board], align 16
@di = external dso_local global [100000 x i32], align 16
@m = external dso_local global %struct.si_map, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %class.anon, align 1
  %4 = alloca %class.anon.0, align 1
  %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
  store i32 0, ptr %1, align 4
  %11 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = load ptr, ptr @stdin, align 8, !tbaa !8
  %18 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.2, ptr noundef %17)
  %19 = load ptr, ptr @stdout, align 8, !tbaa !8
  %20 = call ptr @freopen(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %19)
  %21 = 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)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @P)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %23

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

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

28:                                               ; preds = %23
  %29 = load i32, ptr %2, align 4, !tbaa !11
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %30
  %32 = getelementptr inbounds %struct.board, ptr %31, i32 0, i32 0
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %34 = load i32, ptr %2, align 4, !tbaa !11
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %35
  %37 = getelementptr inbounds %struct.board, ptr %36, i32 0, i32 1
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = load i32, ptr %2, align 4, !tbaa !11
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %40
  %42 = getelementptr inbounds %struct.board, ptr %41, i32 0, i32 2
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %44 = load i32, ptr %2, align 4, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %45
  %47 = getelementptr inbounds %struct.board, ptr %46, i32 0, i32 3
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 4 dereferenceable(4) %47)
  %49 = load i32, ptr %2, align 4, !tbaa !11
  %50 = load i32, ptr %2, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %51
  %53 = getelementptr inbounds %struct.board, ptr %52, i32 0, i32 4
  store i32 %49, ptr %53, align 4, !tbaa !13
  br label %54

54:                                               ; preds = %28
  %55 = load i32, ptr %2, align 4, !tbaa !11
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %2, align 4, !tbaa !11
  br label %23, !llvm.loop !15

57:                                               ; preds = %27
  %58 = load i32, ptr @P, align 4, !tbaa !11
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds %struct.board, ptr @b, i64 %59
  %61 = call noundef ptr @_ZSt4copyIP5boardS1_ET0_T_S3_S2_(ptr noundef @b, ptr noundef %60, ptr noundef @b2)
  %62 = load i32, ptr @P, align 4, !tbaa !11
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %struct.board, ptr @b, i64 %63
  call void @"_ZSt4sortIP5boardZ4mainE3$_0EvT_S3_T0_"(ptr noundef @b, ptr noundef %64)
  %65 = load i32, ptr @P, align 4, !tbaa !11
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct.board, ptr @b2, i64 %66
  call void @"_ZSt4sortIP5boardZ4mainE3$_1EvT_S3_T0_"(ptr noundef @b2, ptr noundef %67)
  %68 = load i32, ptr @N, align 4, !tbaa !11
  %69 = load i32, ptr @N, align 4, !tbaa !11
  %70 = load i32, ptr @N, align 4, !tbaa !11
  %71 = add nsw i32 %69, %70
  call void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %68, i32 noundef %71)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 2000000000, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %72

72:                                               ; preds = %215, %57
  %73 = load i32, ptr %7, align 4, !tbaa !11
  %74 = load i32, ptr @P, align 4, !tbaa !11
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %218

77:                                               ; preds = %72
  br label %78

78:                                               ; preds = %121, %77
  %79 = load i32, ptr %5, align 4, !tbaa !11
  %80 = load i32, ptr @P, align 4, !tbaa !11
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %82, label %94

82:                                               ; preds = %78
  %83 = load i32, ptr %5, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %84
  %86 = getelementptr inbounds %struct.board, ptr %85, i32 0, i32 0
  %87 = load i32, ptr %86, align 4, !tbaa !17
  %88 = load i32, ptr %7, align 4, !tbaa !11
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %89
  %91 = getelementptr inbounds %struct.board, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %91, align 4, !tbaa !18
  %93 = icmp sge i32 %87, %92
  br label %94

94:                                               ; preds = %82, %78
  %95 = phi i1 [ false, %78 ], [ %93, %82 ]
  br i1 %95, label %96, label %150

96:                                               ; preds = %94
  %97 = load i32, ptr %5, align 4, !tbaa !11
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %98
  %100 = getelementptr inbounds %struct.board, ptr %99, i32 0, i32 0
  %101 = load i32, ptr %100, align 4, !tbaa !17
  %102 = load i32, ptr %7, align 4, !tbaa !11
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %103
  %105 = getelementptr inbounds %struct.board, ptr %104, i32 0, i32 2
  %106 = load i32, ptr %105, align 4, !tbaa !18
  %107 = icmp eq i32 %101, %106
  br i1 %107, label %108, label %121

108:                                              ; preds = %96
  %109 = load i32, ptr %5, align 4, !tbaa !11
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.board, ptr %111, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !19
  %114 = load i32, ptr %7, align 4, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %115
  %117 = getelementptr inbounds %struct.board, ptr %116, i32 0, i32 3
  %118 = load i32, ptr %117, align 4, !tbaa !20
  %119 = icmp slt i32 %113, %118
  br i1 %119, label %120, label %121

120:                                              ; preds = %108
  br label %150

121:                                              ; preds = %108, %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %122 = load i32, ptr %5, align 4, !tbaa !11
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %123
  %125 = getelementptr inbounds %struct.board, ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 4, !tbaa !17
  %127 = load i32, ptr %5, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %128
  %130 = getelementptr inbounds %struct.board, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !19
  %132 = add nsw i32 %126, %131
  %133 = load i32, ptr %5, align 4, !tbaa !11
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %134
  %136 = getelementptr inbounds %struct.board, ptr %135, i32 0, i32 4
  %137 = load i32, ptr %136, align 4, !tbaa !13
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !11
  %141 = add nsw i32 %132, %140
  store i32 %141, ptr %8, align 4, !tbaa !11
  %142 = load i32, ptr %5, align 4, !tbaa !11
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %143
  %145 = getelementptr inbounds %struct.board, ptr %144, i32 0, i32 1
  %146 = load i32, ptr %145, align 4, !tbaa !19
  %147 = load i32, ptr %8, align 4, !tbaa !11
  call void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %146, i32 noundef %147)
  %148 = load i32, ptr %5, align 4, !tbaa !11
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %78, !llvm.loop !21

150:                                              ; preds = %120, %94
  %151 = load i32, ptr @N, align 4, !tbaa !11
  %152 = load i32, ptr %7, align 4, !tbaa !11
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %153
  %155 = getelementptr inbounds %struct.board, ptr %154, i32 0, i32 2
  %156 = load i32, ptr %155, align 4, !tbaa !18
  %157 = sub nsw i32 %151, %156
  %158 = load i32, ptr @N, align 4, !tbaa !11
  %159 = load i32, ptr %7, align 4, !tbaa !11
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %160
  %162 = getelementptr inbounds %struct.board, ptr %161, i32 0, i32 3
  %163 = load i32, ptr %162, align 4, !tbaa !20
  %164 = sub nsw i32 %158, %163
  %165 = add nsw i32 %157, %164
  %166 = load i32, ptr %7, align 4, !tbaa !11
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %167
  %169 = getelementptr inbounds %struct.board, ptr %168, i32 0, i32 4
  %170 = load i32, ptr %169, align 4, !tbaa !13
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %171
  store i32 %165, ptr %172, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %173 = load i32, ptr %7, align 4, !tbaa !11
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %174
  %176 = getelementptr inbounds %struct.board, ptr %175, i32 0, i32 3
  %177 = load i32, ptr %176, align 4, !tbaa !20
  %178 = call noundef i32 @_ZN6si_map2lbEi(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %177)
  store i32 %178, ptr %9, align 4, !tbaa !11
  %179 = load i32, ptr %7, align 4, !tbaa !11
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %180
  %182 = getelementptr inbounds %struct.board, ptr %181, i32 0, i32 2
  %183 = load i32, ptr %182, align 4, !tbaa !18
  %184 = load i32, ptr %7, align 4, !tbaa !11
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %185
  %187 = getelementptr inbounds %struct.board, ptr %186, i32 0, i32 3
  %188 = load i32, ptr %187, align 4, !tbaa !20
  %189 = add nsw i32 %183, %188
  %190 = load i32, ptr %9, align 4, !tbaa !11
  %191 = sub nsw i32 %190, %189
  store i32 %191, ptr %9, align 4, !tbaa !11
  %192 = load i32, ptr %9, align 4, !tbaa !11
  %193 = load i32, ptr %7, align 4, !tbaa !11
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %194
  %196 = getelementptr inbounds %struct.board, ptr %195, i32 0, i32 4
  %197 = load i32, ptr %196, align 4, !tbaa !13
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %198
  store i32 %192, ptr %199, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %200 = load i32, ptr %9, align 4, !tbaa !11
  %201 = load i32, ptr %7, align 4, !tbaa !11
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %202
  %204 = getelementptr inbounds %struct.board, ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 4, !tbaa !17
  %206 = add nsw i32 %200, %205
  %207 = load i32, ptr %7, align 4, !tbaa !11
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %208
  %210 = getelementptr inbounds %struct.board, ptr %209, i32 0, i32 1
  %211 = load i32, ptr %210, align 4, !tbaa !19
  %212 = add nsw i32 %206, %211
  store i32 %212, ptr %10, align 4, !tbaa !11
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %214 = load i32, ptr %213, align 4, !tbaa !11
  store i32 %214, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %215

215:                                              ; preds = %150
  %216 = load i32, ptr %7, align 4, !tbaa !11
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %7, align 4, !tbaa !11
  br label %72, !llvm.loop !22

218:                                              ; preds = %76
  %219 = load i32, ptr %6, align 4, !tbaa !11
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %219)
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  %222 = load i32, ptr %1, align 4
  ret i32 %222
}

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

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIP5boardS1_ET0_T_S3_S2_(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIP5boardZ4mainE3$_0EvT_S3_T0_"(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIP5boardZ4mainE3$_1EvT_S3_T0_"(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6si_map2lbEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #6

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 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)) #4

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { 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 = { 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 #7 = { nounwind }

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

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


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

%struct.board = type { i32, i32, i32, i32, i32 }
%struct.si_map = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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" }

@N = external dso_local global i32, align 4
@P = external dso_local global i32, align 4
@b = external dso_local global [100000 x %struct.board], align 16
@b2 = external dso_local global [100000 x %struct.board], align 16
@di = external dso_local local_unnamed_addr global [100000 x i32], align 16
@m = external dso_local global %struct.si_map, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %4 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %5 = getelementptr i8, ptr %4, i64 -24
  %6 = load i64, ptr %5, align 8
  %7 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %6
  %8 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %7, ptr noundef null)
  %9 = load ptr, ptr @stdin, align 8, !tbaa !8
  %10 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, ptr noundef %9)
  %11 = load ptr, ptr @stdout, align 8, !tbaa !8
  %12 = tail call ptr @freopen(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef %11)
  %13 = 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)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) @P)
  %15 = load i32, ptr @P, align 4, !tbaa !11
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre66 = sext i32 %15 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre66, %.._crit_edge_crit_edge ], [ %40, %.lr.ph ]
  %17 = getelementptr inbounds %struct.board, ptr @b, i64 %.pre-phi
  %18 = tail call noundef ptr @_ZSt4copyIP5boardS1_ET0_T_S3_S2_(ptr noundef nonnull @b, ptr noundef nonnull %17, ptr noundef nonnull @b2)
  %19 = load i32, ptr @P, align 4, !tbaa !11
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds %struct.board, ptr @b, i64 %20
  tail call void @"_ZSt4sortIP5boardZ4mainE3$_0EvT_S3_T0_"(ptr noundef nonnull @b, ptr noundef nonnull %21)
  %22 = load i32, ptr @P, align 4, !tbaa !11
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds %struct.board, ptr @b2, i64 %23
  tail call void @"_ZSt4sortIP5boardZ4mainE3$_1EvT_S3_T0_"(ptr noundef nonnull @b2, ptr noundef nonnull %24)
  %25 = load i32, ptr @N, align 4, !tbaa !11
  %26 = shl nsw i32 %25, 1
  tail call void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %25, i32 noundef %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store i32 2000000000, ptr %1, align 4, !tbaa !11
  %27 = load i32, ptr @P, align 4, !tbaa !11
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.preheader, label %._crit_edge55

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %29 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %indvars.iv
  %30 = 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) %29)
  %31 = getelementptr inbounds i8, ptr %29, i64 4
  %32 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %33 = getelementptr inbounds i8, ptr %29, i64 8
  %34 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %35 = getelementptr inbounds i8, ptr %29, i64 12
  %36 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
  %37 = getelementptr inbounds i8, ptr %29, i64 16
  %38 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %38, ptr %37, align 4, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %39 = load i32, ptr @P, align 4, !tbaa !11
  %40 = sext i32 %39 to i64
  %41 = icmp slt i64 %indvars.iv.next, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !15

.preheader:                                       ; preds = %._crit_edge, %.critedge
  %42 = phi i32 [ %99, %.critedge ], [ %27, %._crit_edge ]
  %indvars.iv61 = phi i64 [ %indvars.iv.next62, %.critedge ], [ 0, %._crit_edge ]
  %.03654 = phi i32 [ %.1.lcssa, %.critedge ], [ 0, %._crit_edge ]
  %43 = icmp slt i32 %.03654, %42
  br i1 %43, label %.lr.ph47, label %.critedge

.lr.ph47:                                         ; preds = %.preheader
  %44 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %indvars.iv61
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = getelementptr inbounds i8, ptr %44, i64 12
  %47 = sext i32 %.03654 to i64
  br label %51

._crit_edge55:                                    ; preds = %.critedge, %._crit_edge
  %48 = phi i32 [ 2000000000, %._crit_edge ], [ %98, %.critedge ]
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %48)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

51:                                               ; preds = %.lr.ph47, %._crit_edge65
  %indvars.iv58 = phi i64 [ %47, %.lr.ph47 ], [ %indvars.iv.next59, %._crit_edge65 ]
  %52 = getelementptr inbounds [100000 x %struct.board], ptr @b2, i64 0, i64 %indvars.iv58
  %53 = load i32, ptr %52, align 4, !tbaa !17
  %54 = load i32, ptr %45, align 4, !tbaa !18
  %.not = icmp slt i32 %53, %54
  br i1 %.not, label %.critedge.loopexit, label %55

55:                                               ; preds = %51
  %56 = icmp eq i32 %53, %54
  %57 = getelementptr inbounds i8, ptr %52, i64 4
  %58 = load i32, ptr %57, align 4, !tbaa !19
  br i1 %56, label %59, label %._crit_edge65

59:                                               ; preds = %55
  %60 = load i32, ptr %46, align 4, !tbaa !20
  %61 = icmp slt i32 %58, %60
  br i1 %61, label %.critedge.loopexit, label %._crit_edge65

._crit_edge65:                                    ; preds = %55, %59
  %62 = add nsw i32 %58, %53
  %63 = getelementptr inbounds i8, ptr %52, i64 16
  %64 = load i32, ptr %63, align 4, !tbaa !13
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !11
  %68 = add nsw i32 %62, %67
  call void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %58, i32 noundef %68)
  %indvars.iv.next59 = add nsw i64 %indvars.iv58, 1
  %69 = load i32, ptr @P, align 4, !tbaa !11
  %70 = sext i32 %69 to i64
  %71 = icmp slt i64 %indvars.iv.next59, %70
  br i1 %71, label %51, label %.critedge.loopexit, !llvm.loop !21

.critedge.loopexit:                               ; preds = %._crit_edge65, %59, %51
  %.1.lcssa.ph.in = phi i64 [ %indvars.iv58, %51 ], [ %indvars.iv58, %59 ], [ %indvars.iv.next59, %._crit_edge65 ]
  %.1.lcssa.ph = trunc i64 %.1.lcssa.ph.in to i32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %.preheader
  %.1.lcssa = phi i32 [ %.03654, %.preheader ], [ %.1.lcssa.ph, %.critedge.loopexit ]
  %72 = load i32, ptr @N, align 4, !tbaa !11
  %73 = getelementptr inbounds [100000 x %struct.board], ptr @b, i64 0, i64 %indvars.iv61
  %74 = getelementptr inbounds i8, ptr %73, i64 8
  %75 = load i32, ptr %74, align 4, !tbaa !18
  %76 = getelementptr inbounds i8, ptr %73, i64 12
  %77 = load i32, ptr %76, align 4, !tbaa !20
  %factor = shl i32 %72, 1
  %78 = add i32 %75, %77
  %79 = sub i32 %factor, %78
  %80 = getelementptr inbounds i8, ptr %73, i64 16
  %81 = load i32, ptr %80, align 4, !tbaa !13
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %82
  store i32 %79, ptr %83, align 4, !tbaa !11
  %84 = call noundef i32 @_ZN6si_map2lbEi(ptr noundef nonnull align 8 dereferenceable(48) @m, i32 noundef %77)
  %85 = load i32, ptr %74, align 4, !tbaa !18
  %86 = load i32, ptr %76, align 4, !tbaa !20
  %87 = add i32 %85, %86
  %88 = sub i32 %84, %87
  %89 = load i32, ptr %80, align 4, !tbaa !13
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [100000 x i32], ptr @di, i64 0, i64 %90
  store i32 %88, ptr %91, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %92 = load i32, ptr %73, align 4, !tbaa !17
  %93 = add nsw i32 %92, %88
  %94 = getelementptr inbounds i8, ptr %73, i64 4
  %95 = load i32, ptr %94, align 4, !tbaa !19
  %96 = add nsw i32 %93, %95
  store i32 %96, ptr %2, align 4, !tbaa !11
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %98 = load i32, ptr %97, align 4, !tbaa !11
  store i32 %98, ptr %1, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %99 = load i32, ptr @P, align 4, !tbaa !11
  %100 = sext i32 %99 to i64
  %101 = icmp slt i64 %indvars.iv.next62, %100
  br i1 %101, label %.preheader, label %._crit_edge55, !llvm.loop !22
}

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

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIP5boardS1_ET0_T_S3_S2_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIP5boardZ4mainE3$_0EvT_S3_T0_"(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIP5boardZ4mainE3$_1EvT_S3_T0_"(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6si_map6insertEii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6si_map2lbEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { 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 = { 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 #7 = { nounwind }

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

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


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