; LLVM IR from tangjz/acm-icpc :: luogu (1197)

; 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.Line = type { i32, i32 }

@line = external dso_local global [400002 x %struct.Line], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@head = external dso_local global [400001 x i32], align 16
@tot = external dso_local global i32, align 4
@fa = external dso_local global [400001 x i32], align 16
@kill = external dso_local global [400001 x i32], align 16
@ans = external dso_local global [400001 x i32], align 16
@vis = external dso_local global [400001 x i8], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

19:                                               ; preds = %23, %0
  %20 = load i32, ptr @m, align 4, !tbaa !5
  %21 = add nsw i32 %20, -1
  store i32 %21, ptr @m, align 4, !tbaa !5
  %22 = icmp ne i32 %20, 0
  br i1 %22, label %23, label %55

23:                                               ; preds = %19
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %25 = getelementptr inbounds %struct.Line, ptr %5, i32 0, i32 0
  %26 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %26, ptr %25, align 4, !tbaa !9
  %27 = getelementptr inbounds %struct.Line, ptr %5, i32 0, i32 1
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  store i32 %31, ptr %27, align 4, !tbaa !11
  %32 = load i32, ptr @tot, align 4, !tbaa !5
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr @tot, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %34
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %36 = load i32, ptr @tot, align 4, !tbaa !5
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %38
  store i32 %36, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %40 = getelementptr inbounds %struct.Line, ptr %6, i32 0, i32 0
  %41 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %41, ptr %40, align 4, !tbaa !9
  %42 = getelementptr inbounds %struct.Line, ptr %6, i32 0, i32 1
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  store i32 %46, ptr %42, align 4, !tbaa !11
  %47 = load i32, ptr @tot, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr @tot, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %49
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %51 = load i32, ptr @tot, align 4, !tbaa !5
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %53
  store i32 %51, ptr %54, align 4, !tbaa !5
  br label %19, !llvm.loop !13

55:                                               ; preds = %19
  %56 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @p)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %67, %55
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = load i32, ptr @n, align 4, !tbaa !5
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %62, label %61

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

62:                                               ; preds = %57
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %65
  store i32 %63, ptr %66, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %62
  %68 = load i32, ptr %7, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %7, align 4, !tbaa !5
  br label %57, !llvm.loop !15

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

71:                                               ; preds = %87, %70
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = load i32, ptr @p, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %90

76:                                               ; preds = %71
  %77 = load i32, ptr %8, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %78
  %80 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %79)
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %85
  store i8 1, ptr %86, align 1, !tbaa !16
  br label %87

87:                                               ; preds = %76
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %8, align 4, !tbaa !5
  br label %71, !llvm.loop !18

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

91:                                               ; preds = %141, %90
  %92 = load i32, ptr %9, align 4, !tbaa !5
  %93 = load i32, ptr @n, align 4, !tbaa !5
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %144

96:                                               ; preds = %91
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !16, !range !19, !noundef !20
  %101 = trunc i8 %100 to i1
  br i1 %101, label %140, label %102

102:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !5
  store i32 %106, ptr %11, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %133, %102
  %108 = load i32, ptr %11, align 4, !tbaa !5
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %139

111:                                              ; preds = %107
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %113
  %115 = getelementptr inbounds %struct.Line, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %117
  %119 = load i8, ptr %118, align 1, !tbaa !16, !range !19, !noundef !20
  %120 = trunc i8 %119 to i1
  br i1 %120, label %132, label %121

121:                                              ; preds = %111
  %122 = load i32, ptr %11, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %123
  %125 = getelementptr inbounds %struct.Line, ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 8, !tbaa !9
  %127 = call noundef i32 @_Z4findi(i32 noundef %126)
  %128 = load i32, ptr %9, align 4, !tbaa !5
  %129 = call noundef i32 @_Z4findi(i32 noundef %128)
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %130
  store i32 %127, ptr %131, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %121, %111
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %11, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %135
  %137 = getelementptr inbounds %struct.Line, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !11
  store i32 %138, ptr %11, align 4, !tbaa !5
  br label %107, !llvm.loop !21

139:                                              ; preds = %110
  br label %140

140:                                              ; preds = %139, %96
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %9, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %9, align 4, !tbaa !5
  br label %91, !llvm.loop !22

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

145:                                              ; preds = %165, %144
  %146 = load i32, ptr %12, align 4, !tbaa !5
  %147 = load i32, ptr @n, align 4, !tbaa !5
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %145
  store i32 16, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %168

150:                                              ; preds = %145
  %151 = load i32, ptr %12, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !16, !range !19, !noundef !20
  %155 = trunc i8 %154 to i1
  br i1 %155, label %164, label %156

156:                                              ; preds = %150
  %157 = load i32, ptr %12, align 4, !tbaa !5
  %158 = load i32, ptr %12, align 4, !tbaa !5
  %159 = call noundef i32 @_Z4findi(i32 noundef %158)
  %160 = icmp eq i32 %157, %159
  br i1 %160, label %161, label %164

161:                                              ; preds = %156
  %162 = load i32, ptr %4, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %4, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %161, %156, %150
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %12, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %12, align 4, !tbaa !5
  br label %145, !llvm.loop !23

168:                                              ; preds = %149
  %169 = load i32, ptr %4, align 4, !tbaa !5
  %170 = load i32, ptr @p, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %171
  store i32 %169, ptr %172, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %173 = load i32, ptr @p, align 4, !tbaa !5
  %174 = sub nsw i32 %173, 1
  store i32 %174, ptr %13, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %244, %168
  %176 = load i32, ptr %13, align 4, !tbaa !5
  %177 = icmp sge i32 %176, 0
  br i1 %177, label %179, label %178

178:                                              ; preds = %175
  store i32 19, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %247

179:                                              ; preds = %175
  %180 = load i32, ptr %4, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %182 = load i32, ptr %13, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  store i32 %188, ptr %14, align 4, !tbaa !5
  br label %189

189:                                              ; preds = %227, %179
  %190 = load i32, ptr %14, align 4, !tbaa !5
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %193, label %192

192:                                              ; preds = %189
  store i32 22, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %233

193:                                              ; preds = %189
  %194 = load i32, ptr %14, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %195
  %197 = getelementptr inbounds %struct.Line, ptr %196, i32 0, i32 0
  %198 = load i32, ptr %197, align 8, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %199
  %201 = load i8, ptr %200, align 1, !tbaa !16, !range !19, !noundef !20
  %202 = trunc i8 %201 to i1
  br i1 %202, label %226, label %203

203:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %204 = load i32, ptr %13, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %205
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = call noundef i32 @_Z4findi(i32 noundef %207)
  store i32 %208, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %209 = load i32, ptr %14, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %210
  %212 = getelementptr inbounds %struct.Line, ptr %211, i32 0, i32 0
  %213 = load i32, ptr %212, align 8, !tbaa !9
  %214 = call noundef i32 @_Z4findi(i32 noundef %213)
  store i32 %214, ptr %16, align 4, !tbaa !5
  %215 = load i32, ptr %15, align 4, !tbaa !5
  %216 = load i32, ptr %16, align 4, !tbaa !5
  %217 = icmp ne i32 %215, %216
  br i1 %217, label %218, label %225

218:                                              ; preds = %203
  %219 = load i32, ptr %16, align 4, !tbaa !5
  %220 = load i32, ptr %15, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %221
  store i32 %219, ptr %222, align 4, !tbaa !5
  %223 = load i32, ptr %4, align 4, !tbaa !5
  %224 = add nsw i32 %223, -1
  store i32 %224, ptr %4, align 4, !tbaa !5
  br label %225

225:                                              ; preds = %218, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %226

226:                                              ; preds = %225, %193
  br label %227

227:                                              ; preds = %226
  %228 = load i32, ptr %14, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %229
  %231 = getelementptr inbounds %struct.Line, ptr %230, i32 0, i32 1
  %232 = load i32, ptr %231, align 4, !tbaa !11
  store i32 %232, ptr %14, align 4, !tbaa !5
  br label %189, !llvm.loop !24

233:                                              ; preds = %192
  %234 = load i32, ptr %4, align 4, !tbaa !5
  %235 = load i32, ptr %13, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %236
  store i32 %234, ptr %237, align 4, !tbaa !5
  %238 = load i32, ptr %13, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %242
  store i8 0, ptr %243, align 1, !tbaa !16
  br label %244

244:                                              ; preds = %233
  %245 = load i32, ptr %13, align 4, !tbaa !5
  %246 = add nsw i32 %245, -1
  store i32 %246, ptr %13, align 4, !tbaa !5
  br label %175, !llvm.loop !25

247:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %248

248:                                              ; preds = %259, %247
  %249 = load i32, ptr %17, align 4, !tbaa !5
  %250 = load i32, ptr @p, align 4, !tbaa !5
  %251 = icmp sle i32 %249, %250
  br i1 %251, label %253, label %252

252:                                              ; preds = %248
  store i32 25, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %262

253:                                              ; preds = %248
  %254 = load i32, ptr %17, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %255
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %257)
  br label %259

259:                                              ; preds = %253
  %260 = load i32, ptr %17, align 4, !tbaa !5
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %17, align 4, !tbaa !5
  br label %248, !llvm.loop !26

262:                                              ; preds = %252
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %263 = load i32, ptr %1, align 4
  ret i32 %263
}

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) #4

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 = !{!10, !6, i64 0}
!10 = !{!"_ZTS4Line", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}


; 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.Line = type { i32, i32 }

@line = external dso_local local_unnamed_addr global [400002 x %struct.Line], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@head = external dso_local local_unnamed_addr global [400001 x i32], align 16
@tot = external dso_local local_unnamed_addr global i32, align 4
@fa = external dso_local local_unnamed_addr global [400001 x i32], align 16
@kill = external dso_local global [400001 x i32], align 16
@ans = external dso_local local_unnamed_addr global [400001 x i32], align 16
@vis = external dso_local local_unnamed_addr global [400001 x i8], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; 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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %4 = load i32, ptr @m, align 4, !tbaa !5
  %5 = add nsw i32 %4, -1
  store i32 %5, ptr @m, align 4, !tbaa !5
  %.not64 = icmp eq i32 %4, 0
  br i1 %.not64, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %.lr.ph
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr %1, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %9
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = load i32, ptr @tot, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %14
  store i32 %7, ptr %15, align 8, !tbaa !5
  %.sroa.440.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 4
  store i32 %11, ptr %.sroa.440.0..sroa_idx, align 4, !tbaa !5
  store i32 %13, ptr %10, align 4, !tbaa !5
  %16 = sext i32 %7 to i64
  %17 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = add nsw i32 %12, 2
  store i32 %19, ptr @tot, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %20
  store i32 %8, ptr %21, align 8, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 4
  store i32 %18, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  store i32 %19, ptr %17, align 4, !tbaa !5
  %22 = load i32, ptr @m, align 4, !tbaa !5
  %23 = add nsw i32 %22, -1
  store i32 %23, ptr @m, align 4, !tbaa !5
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %0
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @p)
  %25 = load i32, ptr @n, align 4, !tbaa !5
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph67.preheader, label %.preheader63

.lr.ph67.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %25 to i64
  %min.iters.check = icmp ult i32 %25, 8
  br i1 %min.iters.check, label %.lr.ph67.preheader120, label %vector.ph

.lr.ph67.preheader120:                            ; preds = %middle.block, %.lr.ph67.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph67.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph67

vector.ph:                                        ; preds = %.lr.ph67.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %27 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %index
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  store <4 x i32> %vec.ind, ptr %27, align 16, !tbaa !5
  store <4 x i32> %step.add, ptr %28, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %29 = icmp eq i64 %index.next, %n.vec
  br i1 %29, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader63, label %.lr.ph67.preheader120

.preheader63:                                     ; preds = %.lr.ph67, %middle.block, %._crit_edge
  %30 = load i32, ptr @p, align 4, !tbaa !5
  %31 = icmp sgt i32 %30, 0
  br i1 %31, label %.lr.ph69, label %.preheader62

.lr.ph67:                                         ; preds = %.lr.ph67.preheader120, %.lr.ph67
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph67 ], [ %indvars.iv.ph, %.lr.ph67.preheader120 ]
  %32 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %indvars.iv
  %33 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %33, ptr %32, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader63, label %.lr.ph67, !llvm.loop !14

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

.preheader62:                                     ; preds = %.preheader62.loopexit, %.preheader63
  %34 = phi i32 [ %.pre, %.preheader62.loopexit ], [ %25, %.preheader63 ]
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %.lr.ph76, label %._crit_edge80

.lr.ph69:                                         ; preds = %.preheader63, %.lr.ph69
  %indvars.iv99 = phi i64 [ %indvars.iv.next100, %.lr.ph69 ], [ 0, %.preheader63 ]
  %36 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %indvars.iv99
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %36)
  %38 = load i32, ptr %36, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %39
  store i8 1, ptr %40, align 1, !tbaa !15
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %41 = load i32, ptr @p, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = icmp slt i64 %indvars.iv.next100, %42
  br i1 %43, label %.lr.ph69, label %.preheader62.loopexit, !llvm.loop !17

.preheader61:                                     ; preds = %.loopexit
  %44 = icmp sgt i32 %66, 0
  br i1 %44, label %.lr.ph79, label %._crit_edge80

.lr.ph76:                                         ; preds = %.preheader62, %.loopexit
  %45 = phi i32 [ %66, %.loopexit ], [ %34, %.preheader62 ]
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %.loopexit ], [ 0, %.preheader62 ]
  %46 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %indvars.iv102
  %47 = load i8, ptr %46, align 1, !tbaa !15, !range !18, !noundef !19
  %48 = trunc nuw i8 %47 to i1
  br i1 %48, label %.loopexit, label %49

49:                                               ; preds = %.lr.ph76
  %50 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %indvars.iv102
  %.05170 = load i32, ptr %50, align 4, !tbaa !5
  %.not6071 = icmp eq i32 %.05170, 0
  br i1 %.not6071, label %.loopexit, label %.lr.ph74.preheader

.lr.ph74.preheader:                               ; preds = %49
  %51 = trunc nuw nsw i64 %indvars.iv102 to i32
  br label %.lr.ph74

.lr.ph74:                                         ; preds = %.lr.ph74.preheader, %64
  %.05172 = phi i32 [ %.051, %64 ], [ %.05170, %.lr.ph74.preheader ]
  %52 = sext i32 %.05172 to i64
  %53 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %52
  %54 = load i32, ptr %53, align 8, !tbaa !20
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %55
  %57 = load i8, ptr %56, align 1, !tbaa !15, !range !18, !noundef !19
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %64, label %59

59:                                               ; preds = %.lr.ph74
  %60 = call noundef i32 @_Z4findi(i32 noundef %54)
  %61 = call noundef i32 @_Z4findi(i32 noundef %51)
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %62
  store i32 %60, ptr %63, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %.lr.ph74, %59
  %65 = getelementptr inbounds i8, ptr %53, i64 4
  %.051 = load i32, ptr %65, align 4, !tbaa !5
  %.not60 = icmp eq i32 %.051, 0
  br i1 %.not60, label %.loopexit.loopexit, label %.lr.ph74, !llvm.loop !22

.loopexit.loopexit:                               ; preds = %64
  %.pre114 = load i32, ptr @n, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %49, %.lr.ph76
  %66 = phi i32 [ %.pre114, %.loopexit.loopexit ], [ %45, %49 ], [ %45, %.lr.ph76 ]
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %67 = sext i32 %66 to i64
  %68 = icmp slt i64 %indvars.iv.next103, %67
  br i1 %68, label %.lr.ph76, label %.preheader61, !llvm.loop !23

._crit_edge80:                                    ; preds = %84, %.preheader62, %.preheader61
  %.047.lcssa = phi i32 [ 0, %.preheader61 ], [ 0, %.preheader62 ], [ %.1, %84 ]
  %69 = load i32, ptr @p, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %70
  store i32 %.047.lcssa, ptr %71, align 4, !tbaa !5
  %72 = icmp sgt i32 %69, 0
  br i1 %72, label %.lr.ph93.preheader, label %.preheader

.lr.ph93.preheader:                               ; preds = %._crit_edge80
  %73 = zext nneg i32 %69 to i64
  br label %.lr.ph93

.lr.ph79:                                         ; preds = %.preheader61, %84
  %74 = phi i32 [ %85, %84 ], [ %66, %.preheader61 ]
  %indvars.iv105 = phi i64 [ %indvars.iv.next106, %84 ], [ 0, %.preheader61 ]
  %.04778 = phi i32 [ %.1, %84 ], [ 0, %.preheader61 ]
  %75 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %indvars.iv105
  %76 = load i8, ptr %75, align 1, !tbaa !15, !range !18, !noundef !19
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %84, label %78

78:                                               ; preds = %.lr.ph79
  %79 = trunc nuw nsw i64 %indvars.iv105 to i32
  %80 = call noundef i32 @_Z4findi(i32 noundef %79)
  %81 = zext i32 %80 to i64
  %82 = icmp eq i64 %indvars.iv105, %81
  %83 = zext i1 %82 to i32
  %spec.select = add nsw i32 %.04778, %83
  %.pre115 = load i32, ptr @n, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %78, %.lr.ph79
  %85 = phi i32 [ %74, %.lr.ph79 ], [ %.pre115, %78 ]
  %.1 = phi i32 [ %.04778, %.lr.ph79 ], [ %spec.select, %78 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %86 = sext i32 %85 to i64
  %87 = icmp slt i64 %indvars.iv.next106, %86
  br i1 %87, label %.lr.ph79, label %._crit_edge80, !llvm.loop !24

.preheader.loopexit:                              ; preds = %._crit_edge87
  %.pre117 = load i32, ptr @p, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %._crit_edge80
  %88 = phi i32 [ %.pre117, %.preheader.loopexit ], [ %69, %._crit_edge80 ]
  %.not5794 = icmp slt i32 %88, 0
  br i1 %.not5794, label %._crit_edge97, label %.lr.ph96

.lr.ph93:                                         ; preds = %.lr.ph93.preheader, %._crit_edge87
  %indvars.iv108 = phi i64 [ %73, %.lr.ph93.preheader ], [ %indvars.iv.next109, %._crit_edge87 ]
  %.290 = phi i32 [ %.047.lcssa, %.lr.ph93.preheader ], [ %.3.lcssa, %._crit_edge87 ]
  %indvars.iv.next109 = add nsw i64 %indvars.iv108, -1
  %89 = add nsw i32 %.290, 1
  %90 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %indvars.iv.next109
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %92
  %.04881 = load i32, ptr %93, align 4, !tbaa !5
  %.not5882 = icmp eq i32 %.04881, 0
  br i1 %.not5882, label %._crit_edge87, label %.lr.ph86

._crit_edge87.loopexit:                           ; preds = %113
  %.pre116 = load i32, ptr %90, align 4, !tbaa !5
  %.pre118 = sext i32 %.pre116 to i64
  br label %._crit_edge87

._crit_edge87:                                    ; preds = %._crit_edge87.loopexit, %.lr.ph93
  %.pre-phi = phi i64 [ %.pre118, %._crit_edge87.loopexit ], [ %92, %.lr.ph93 ]
  %.3.lcssa = phi i32 [ %.5, %._crit_edge87.loopexit ], [ %89, %.lr.ph93 ]
  %94 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %indvars.iv.next109
  store i32 %.3.lcssa, ptr %94, align 4, !tbaa !5
  %95 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %.pre-phi
  store i8 0, ptr %95, align 1, !tbaa !15
  %96 = icmp sgt i64 %indvars.iv108, 1
  br i1 %96, label %.lr.ph93, label %.preheader.loopexit, !llvm.loop !25

.lr.ph86:                                         ; preds = %.lr.ph93, %113
  %.04884 = phi i32 [ %.048, %113 ], [ %.04881, %.lr.ph93 ]
  %.383 = phi i32 [ %.5, %113 ], [ %89, %.lr.ph93 ]
  %97 = sext i32 %.04884 to i64
  %98 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %97
  %99 = load i32, ptr %98, align 8, !tbaa !20
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %100
  %102 = load i8, ptr %101, align 1, !tbaa !15, !range !18, !noundef !19
  %103 = trunc nuw i8 %102 to i1
  br i1 %103, label %113, label %104

104:                                              ; preds = %.lr.ph86
  %105 = load i32, ptr %90, align 4, !tbaa !5
  %106 = call noundef i32 @_Z4findi(i32 noundef %105)
  %107 = load i32, ptr %98, align 8, !tbaa !20
  %108 = call noundef i32 @_Z4findi(i32 noundef %107)
  %.not59 = icmp eq i32 %106, %108
  br i1 %.not59, label %113, label %109

109:                                              ; preds = %104
  %110 = sext i32 %106 to i64
  %111 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %110
  store i32 %108, ptr %111, align 4, !tbaa !5
  %112 = add nsw i32 %.383, -1
  br label %113

113:                                              ; preds = %104, %109, %.lr.ph86
  %.5 = phi i32 [ %.383, %.lr.ph86 ], [ %112, %109 ], [ %.383, %104 ]
  %114 = getelementptr inbounds i8, ptr %98, i64 4
  %.048 = load i32, ptr %114, align 4, !tbaa !5
  %.not58 = icmp eq i32 %.048, 0
  br i1 %.not58, label %._crit_edge87.loopexit, label %.lr.ph86, !llvm.loop !26

._crit_edge97:                                    ; preds = %.lr.ph96, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i32 0

.lr.ph96:                                         ; preds = %.preheader, %.lr.ph96
  %indvars.iv111 = phi i64 [ %indvars.iv.next112, %.lr.ph96 ], [ 0, %.preheader ]
  %115 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %indvars.iv111
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %116)
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %118 = load i32, ptr @p, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %.not57.not = icmp slt i64 %indvars.iv111, %119
  br i1 %.not57.not, label %.lr.ph96, label %._crit_edge97, !llvm.loop !27
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) local_unnamed_addr #3

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10, !13, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = distinct !{!17, !10}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS4Line", !6, i64 0, !6, i64 4}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}


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