; LLVM IR from upupming/algorithm :: AdvancedLevel_C++/1018. Public Bike Management (30)  (main)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@cmax = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@sp = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@minNeed = external dso_local global i32, align 4
@minBack = external dso_local global i32, align 4
@e = external dso_local global [510 x [510 x i32]], align 16
@dis = external dso_local global [510 x i32], align 16
@weight = external dso_local global [510 x i32], align 16
@visit = external dso_local global [510 x i8], align 16
@pre = external dso_local global [510 x %"class.std::vector"], align 16
@path = external dso_local global %"class.std::vector", align 8
@_ZL3inf = external hidden constant i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsi(i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @e, ptr noundef getelementptr inbounds (i32, ptr @e, i64 260100), ptr noundef nonnull align 4 dereferenceable(4) @_ZL3inf)
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @dis, ptr noundef getelementptr inbounds (i32, ptr @dis, i64 510), ptr noundef nonnull align 4 dereferenceable(4) @_ZL3inf)
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @cmax, ptr noundef @n, ptr noundef @sp, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %34, %0
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %17 = icmp sle i32 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %37

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [510 x i32], ptr @weight, i64 0, i64 %21
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %22)
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [510 x i32], ptr @weight, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = load i32, ptr @cmax, align 4, !tbaa !5
  %29 = sdiv i32 %28, 2
  %30 = sub nsw i32 %27, %29
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [510 x i32], ptr @weight, i64 0, i64 %32
  store i32 %30, ptr %33, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %19
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %2, align 4, !tbaa !5
  br label %14, !llvm.loop !9

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

38:                                               ; preds = %65, %37
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = load i32, ptr @m, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %68

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %44 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %46
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [510 x i32], ptr %47, i64 0, i64 %49
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %50)
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %53
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [510 x i32], ptr %54, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %60
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [510 x i32], ptr %61, i64 0, i64 %63
  store i32 %58, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %65

65:                                               ; preds = %43
  %66 = load i32, ptr %3, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %3, align 4, !tbaa !5
  br label %38, !llvm.loop !11

68:                                               ; preds = %42
  store i32 0, ptr @dis, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %207, %68
  %70 = load i32, ptr %6, align 4, !tbaa !5
  %71 = load i32, ptr @n, align 4, !tbaa !5
  %72 = icmp sle i32 %70, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  store i32 8, ptr %7, align 4
  br label %210

74:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 -1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 99999999, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %102, %74
  %76 = load i32, ptr %10, align 4, !tbaa !5
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = icmp sle i32 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %105

80:                                               ; preds = %75
  %81 = load i32, ptr %10, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %82
  %84 = load i8, ptr %83, align 1, !tbaa !12, !range !14, !noundef !15
  %85 = trunc i8 %84 to i1
  %86 = zext i1 %85 to i32
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %88, label %101

88:                                               ; preds = %80
  %89 = load i32, ptr %10, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !5
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %95, label %101

95:                                               ; preds = %88
  %96 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %96, ptr %8, align 4, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !5
  store i32 %100, ptr %9, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %95, %88, %80
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %10, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %10, align 4, !tbaa !5
  br label %75, !llvm.loop !16

105:                                              ; preds = %79
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = icmp eq i32 %106, -1
  br i1 %107, label %108, label %109

108:                                              ; preds = %105
  store i32 8, ptr %7, align 4
  br label %204

109:                                              ; preds = %105
  %110 = load i32, ptr %8, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %111
  store i8 1, ptr %112, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %200, %109
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = load i32, ptr @n, align 4, !tbaa !5
  %116 = icmp sle i32 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %203

118:                                              ; preds = %113
  %119 = load i32, ptr %11, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %120
  %122 = load i8, ptr %121, align 1, !tbaa !12, !range !14, !noundef !15
  %123 = trunc i8 %122 to i1
  %124 = zext i1 %123 to i32
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %199

126:                                              ; preds = %118
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %128
  %130 = load i32, ptr %11, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [510 x i32], ptr %129, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = icmp ne i32 %133, 99999999
  br i1 %134, label %135, label %199

135:                                              ; preds = %126
  %136 = load i32, ptr %11, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = load i32, ptr %8, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = load i32, ptr %8, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %145
  %147 = load i32, ptr %11, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [510 x i32], ptr %146, i64 0, i64 %148
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = add nsw i32 %143, %150
  %152 = icmp sgt i32 %139, %151
  br i1 %152, label %153, label %175

153:                                              ; preds = %135
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %159
  %161 = load i32, ptr %11, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [510 x i32], ptr %160, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = add nsw i32 %157, %164
  %166 = load i32, ptr %11, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %167
  store i32 %165, ptr %168, align 4, !tbaa !5
  %169 = load i32, ptr %11, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [510 x %"class.std::vector"], ptr @pre, i64 0, i64 %170
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %171) #6
  %172 = load i32, ptr %11, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [510 x %"class.std::vector"], ptr @pre, i64 0, i64 %173
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %174, ptr noundef nonnull align 4 dereferenceable(4) %8)
  br label %198

175:                                              ; preds = %135
  %176 = load i32, ptr %11, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = load i32, ptr %8, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = load i32, ptr %8, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %185
  %187 = load i32, ptr %11, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [510 x i32], ptr %186, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = add nsw i32 %183, %190
  %192 = icmp eq i32 %179, %191
  br i1 %192, label %193, label %197

193:                                              ; preds = %175
  %194 = load i32, ptr %11, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [510 x %"class.std::vector"], ptr @pre, i64 0, i64 %195
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 4 dereferenceable(4) %8)
  br label %197

197:                                              ; preds = %193, %175
  br label %198

198:                                              ; preds = %197, %153
  br label %199

199:                                              ; preds = %198, %126, %118
  br label %200

200:                                              ; preds = %199
  %201 = load i32, ptr %11, align 4, !tbaa !5
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %11, align 4, !tbaa !5
  br label %113, !llvm.loop !17

203:                                              ; preds = %117
  store i32 0, ptr %7, align 4
  br label %204

204:                                              ; preds = %203, %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %205 = load i32, ptr %7, align 4
  switch i32 %205, label %210 [
    i32 0, label %206
  ]

206:                                              ; preds = %204
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %6, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %6, align 4, !tbaa !5
  br label %69, !llvm.loop !18

210:                                              ; preds = %204, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr @sp, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %212)
  %213 = load i32, ptr @minNeed, align 4, !tbaa !5
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %213)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %215 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @path) #6
  %216 = sub i64 %215, 2
  %217 = trunc i64 %216 to i32
  store i32 %217, ptr %12, align 4, !tbaa !5
  br label %218

218:                                              ; preds = %228, %211
  %219 = load i32, ptr %12, align 4, !tbaa !5
  %220 = icmp sge i32 %219, 0
  br i1 %220, label %222, label %221

221:                                              ; preds = %218
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %231

222:                                              ; preds = %218
  %223 = load i32, ptr %12, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @path, i64 noundef %224) #6
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %226)
  br label %228

228:                                              ; preds = %222
  %229 = load i32, ptr %12, align 4, !tbaa !5
  %230 = add nsw i32 %229, -1
  store i32 %230, ptr %12, align 4, !tbaa !5
  br label %218, !llvm.loop !19

231:                                              ; preds = %221
  %232 = load i32, ptr @minBack, align 4, !tbaa !5
  %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %232)
  ret i32 0
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare i32 @printf(ptr noundef, ...) #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@cmax = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@sp = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@minNeed = external dso_local local_unnamed_addr global i32, align 4
@minBack = external dso_local local_unnamed_addr global i32, align 4
@e = external dso_local global [510 x [510 x i32]], align 16
@dis = external dso_local global [510 x i32], align 16
@weight = external dso_local global [510 x i32], align 16
@visit = external dso_local local_unnamed_addr global [510 x i8], align 16
@pre = external dso_local global [510 x %"class.std::vector"], align 16
@path = external dso_local global %"class.std::vector", align 8
@_ZL3inf = external hidden constant i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsi(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_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 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  tail call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @e, ptr noundef nonnull getelementptr inbounds (i8, ptr @e, i64 1040400), ptr noundef nonnull align 4 dereferenceable(4) @_ZL3inf)
  tail call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @dis, ptr noundef nonnull getelementptr inbounds (i8, ptr @dis, i64 2040), ptr noundef nonnull align 4 dereferenceable(4) @_ZL3inf)
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @cmax, ptr noundef nonnull @n, ptr noundef nonnull @sp, ptr noundef nonnull @m)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %.not50 = icmp slt i32 %5, 1
  br i1 %.not50, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %0
  %6 = phi i32 [ %5, %0 ], [ %14, %.lr.ph ]
  %7 = load i32, ptr @m, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph53, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %9 = getelementptr inbounds [510 x i32], ptr @weight, i64 0, i64 %indvars.iv
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %9)
  %11 = load i32, ptr %9, align 4, !tbaa !5
  %12 = load i32, ptr @cmax, align 4, !tbaa !5
  %.neg = sdiv i32 %12, -2
  %13 = add i32 %.neg, %11
  store i32 %13, ptr %9, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %14 = load i32, ptr @n, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %.not.not = icmp slt i64 %indvars.iv, %15
  br i1 %.not.not, label %.lr.ph, label %.preheader, !llvm.loop !9

._crit_edge.loopexit:                             ; preds = %.lr.ph53
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %16 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %6, %.preheader ]
  store i32 0, ptr @dis, align 16, !tbaa !5
  %.not4565 = icmp slt i32 %16, 0
  br i1 %.not4565, label %.loopexit, label %.lr.ph68

.lr.ph53:                                         ; preds = %.preheader, %.lr.ph53
  %.03852 = phi i32 [ %31, %.lr.ph53 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.5, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %19, i64 %21
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %22)
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %25, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %27, i64 %25
  store i32 %29, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %31 = add nuw nsw i32 %.03852, 1
  %32 = load i32, ptr @m, align 4, !tbaa !5
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %.lr.ph53, label %._crit_edge.loopexit, !llvm.loop !11

.lr.ph68:                                         ; preds = %._crit_edge, %._crit_edge64
  %34 = phi i32 [ %95, %._crit_edge64 ], [ %16, %._crit_edge ]
  %.03766 = phi i32 [ %96, %._crit_edge64 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 -1, ptr %3, align 4, !tbaa !5
  %.not4654 = icmp slt i32 %34, 0
  br i1 %.not4654, label %.critedge, label %.lr.ph58.preheader

.lr.ph58.preheader:                               ; preds = %.lr.ph68
  %35 = add nuw i32 %34, 1
  %wide.trip.count = zext i32 %35 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %36 = icmp eq i32 %34, 0
  br i1 %36, label %._crit_edge59.unr-lcssa, label %.lr.ph58.preheader.new

.lr.ph58.preheader.new:                           ; preds = %.lr.ph58.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %.lr.ph58

._crit_edge59.unr-lcssa:                          ; preds = %66, %.lr.ph58.preheader
  %.lcssa.ph = phi i32 [ poison, %.lr.ph58.preheader ], [ %67, %66 ]
  %.unr = phi i32 [ -1, %.lr.ph58.preheader ], [ %67, %66 ]
  %indvars.iv74.unr = phi i64 [ 0, %.lr.ph58.preheader ], [ %indvars.iv.next75.1, %66 ]
  %.03555.unr = phi i32 [ 99999999, %.lr.ph58.preheader ], [ %.1.1, %66 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge59, label %.lr.ph58.epil

.lr.ph58.epil:                                    ; preds = %._crit_edge59.unr-lcssa
  %37 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %indvars.iv74.unr
  %38 = load i8, ptr %37, align 1, !tbaa !12, !range !14, !noundef !15
  %39 = icmp eq i8 %38, 0
  br i1 %39, label %40, label %._crit_edge59

40:                                               ; preds = %.lr.ph58.epil
  %41 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %indvars.iv74.unr
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = icmp slt i32 %42, %.03555.unr
  br i1 %43, label %44, label %._crit_edge59

44:                                               ; preds = %40
  %45 = trunc nuw nsw i64 %indvars.iv74.unr to i32
  store i32 %45, ptr %3, align 4, !tbaa !5
  br label %._crit_edge59

._crit_edge59:                                    ; preds = %.lr.ph58.epil, %40, %44, %._crit_edge59.unr-lcssa
  %.lcssa = phi i32 [ %.lcssa.ph, %._crit_edge59.unr-lcssa ], [ %45, %44 ], [ %.unr, %40 ], [ %.unr, %.lr.ph58.epil ]
  %.not49 = icmp eq i32 %.lcssa, -1
  br i1 %.not49, label %.critedge, label %68

.lr.ph58:                                         ; preds = %66, %.lr.ph58.preheader.new
  %46 = phi i32 [ -1, %.lr.ph58.preheader.new ], [ %67, %66 ]
  %indvars.iv74 = phi i64 [ 0, %.lr.ph58.preheader.new ], [ %indvars.iv.next75.1, %66 ]
  %.03555 = phi i32 [ 99999999, %.lr.ph58.preheader.new ], [ %.1.1, %66 ]
  %niter = phi i64 [ 0, %.lr.ph58.preheader.new ], [ %niter.next.1, %66 ]
  %47 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %indvars.iv74
  %48 = load i8, ptr %47, align 2, !tbaa !12, !range !14, !noundef !15
  %49 = icmp eq i8 %48, 0
  br i1 %49, label %50, label %.lr.ph58.1

50:                                               ; preds = %.lr.ph58
  %51 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %indvars.iv74
  %52 = load i32, ptr %51, align 8, !tbaa !5
  %53 = icmp slt i32 %52, %.03555
  br i1 %53, label %54, label %.lr.ph58.1

54:                                               ; preds = %50
  %55 = trunc nuw nsw i64 %indvars.iv74 to i32
  store i32 %55, ptr %3, align 4, !tbaa !5
  br label %.lr.ph58.1

.lr.ph58.1:                                       ; preds = %.lr.ph58, %50, %54
  %56 = phi i32 [ %55, %54 ], [ %46, %50 ], [ %46, %.lr.ph58 ]
  %.1 = phi i32 [ %52, %54 ], [ %.03555, %50 ], [ %.03555, %.lr.ph58 ]
  %indvars.iv.next75 = or disjoint i64 %indvars.iv74, 1
  %57 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %indvars.iv.next75
  %58 = load i8, ptr %57, align 1, !tbaa !12, !range !14, !noundef !15
  %59 = icmp eq i8 %58, 0
  br i1 %59, label %60, label %66

60:                                               ; preds = %.lr.ph58.1
  %61 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %indvars.iv.next75
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = icmp slt i32 %62, %.1
  br i1 %63, label %64, label %66

64:                                               ; preds = %60
  %65 = trunc nuw nsw i64 %indvars.iv.next75 to i32
  store i32 %65, ptr %3, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %64, %60, %.lr.ph58.1
  %67 = phi i32 [ %65, %64 ], [ %56, %60 ], [ %56, %.lr.ph58.1 ]
  %.1.1 = phi i32 [ %62, %64 ], [ %.1, %60 ], [ %.1, %.lr.ph58.1 ]
  %indvars.iv.next75.1 = add nuw nsw i64 %indvars.iv74, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge59.unr-lcssa, label %.lr.ph58, !llvm.loop !16

68:                                               ; preds = %._crit_edge59
  %69 = sext i32 %.lcssa to i64
  %70 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %69
  store i8 1, ptr %70, align 1, !tbaa !12
  br i1 %.not4654, label %._crit_edge64, label %.lr.ph63

.lr.ph63:                                         ; preds = %68, %92
  %indvars.iv77 = phi i64 [ %indvars.iv.next78, %92 ], [ 0, %68 ]
  %71 = getelementptr inbounds [510 x i8], ptr @visit, i64 0, i64 %indvars.iv77
  %72 = load i8, ptr %71, align 1, !tbaa !12, !range !14, !noundef !15
  %73 = icmp eq i8 %72, 0
  br i1 %73, label %74, label %92

74:                                               ; preds = %.lr.ph63
  %75 = load i32, ptr %3, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [510 x [510 x i32]], ptr @e, i64 0, i64 %76, i64 %indvars.iv77
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %.not48 = icmp eq i32 %78, 99999999
  br i1 %.not48, label %92, label %79

79:                                               ; preds = %74
  %80 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %indvars.iv77
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = getelementptr inbounds [510 x i32], ptr @dis, i64 0, i64 %76
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = add nsw i32 %83, %78
  %85 = icmp sgt i32 %81, %84
  br i1 %85, label %86, label %88

86:                                               ; preds = %79
  store i32 %84, ptr %80, align 4, !tbaa !5
  %87 = getelementptr inbounds [510 x %"class.std::vector"], ptr @pre, i64 0, i64 %indvars.iv77
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #6
  br label %.sink.split

88:                                               ; preds = %79
  %89 = icmp eq i32 %81, %84
  br i1 %89, label %90, label %92

90:                                               ; preds = %88
  %91 = getelementptr inbounds [510 x %"class.std::vector"], ptr @pre, i64 0, i64 %indvars.iv77
  br label %.sink.split

.sink.split:                                      ; preds = %86, %90
  %.sink = phi ptr [ %91, %90 ], [ %87, %86 ]
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %.sink, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br label %92

92:                                               ; preds = %.sink.split, %.lr.ph63, %74, %88
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %93 = load i32, ptr @n, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %.not47.not = icmp slt i64 %indvars.iv77, %94
  br i1 %.not47.not, label %.lr.ph63, label %._crit_edge64, !llvm.loop !17

._crit_edge64:                                    ; preds = %92, %68
  %95 = phi i32 [ %34, %68 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  %96 = add nuw nsw i32 %.03766, 1
  %.not45.not = icmp slt i32 %.03766, %95
  br i1 %.not45.not, label %.lr.ph68, label %.loopexit, !llvm.loop !18

.critedge:                                        ; preds = %.lr.ph68, %._crit_edge59
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge64, %._crit_edge, %.critedge
  %97 = load i32, ptr @sp, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %97)
  %98 = load i32, ptr @minNeed, align 4, !tbaa !5
  %99 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %98)
  %100 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @path) #6
  %101 = trunc i64 %100 to i32
  %102 = add i32 %101, -2
  %103 = icmp sgt i32 %102, -1
  br i1 %103, label %.lr.ph71.preheader, label %._crit_edge72

.lr.ph71.preheader:                               ; preds = %.loopexit
  %104 = zext nneg i32 %102 to i64
  br label %.lr.ph71

._crit_edge72:                                    ; preds = %.lr.ph71, %.loopexit
  %105 = load i32, ptr @minBack, align 4, !tbaa !5
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %105)
  ret i32 0

.lr.ph71:                                         ; preds = %.lr.ph71.preheader, %.lr.ph71
  %indvars.iv80 = phi i64 [ %104, %.lr.ph71.preheader ], [ %indvars.iv.next81, %.lr.ph71 ]
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @path, i64 noundef %indvars.iv80) #6
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %108)
  %indvars.iv.next81 = add nsw i64 %indvars.iv80, -1
  %.not = icmp eq i64 %indvars.iv80, 0
  br i1 %.not, label %._crit_edge72, label %.lr.ph71, !llvm.loop !19
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass