; LLVM IR from erincatto/box2d :: test (test_table)

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

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__.TableTest = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @TableTest() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca [50086 x i8], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.b2HashSet, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  %25 = call i32 @b2BoundingPowerOf2(i32 noundef 3008)
  store i32 %25, ptr %1, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %0
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = icmp eq i32 %27, 12
  %29 = zext i1 %28 to i32
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %33

31:                                               ; preds = %26
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 18, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

33:                                               ; preds = %26
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  %36 = call i32 @b2RoundUpPowerOf2(i32 noundef 3008)
  store i32 %36, ptr %2, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %35
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = shl i32 1, %39
  %41 = icmp eq i32 %38, %40
  %42 = zext i1 %41 to i32
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %37
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 21, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

46:                                               ; preds = %37
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 317, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 50086, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 50086, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 50086, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %303, %48
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %51 = icmp slt i32 %50, 1
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 6, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %306

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %54 = call { ptr, i64 } @b2CreateSet(i32 noundef 16)
  %55 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %56 = extractvalue { ptr, i64 } %54, 0
  store ptr %56, ptr %55, align 8
  %57 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %58 = extractvalue { ptr, i64 } %54, 1
  store i64 %58, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %96, %53
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = icmp slt i32 %60, 317
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  store i32 9, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %99

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %10, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %92, %63
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = icmp slt i32 %67, 317
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 12, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %95

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %74, label %81

74:                                               ; preds = %70
  %75 = load i32, ptr %9, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = shl i64 %76, 32
  %78 = load i32, ptr %10, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = or i64 %77, %79
  br label %88

81:                                               ; preds = %70
  %82 = load i32, ptr %10, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = shl i64 %83, 32
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = or i64 %84, %86
  br label %88

88:                                               ; preds = %81, %74
  %89 = phi i64 [ %80, %74 ], [ %87, %81 ]
  store i64 %89, ptr %11, align 8, !tbaa !9
  %90 = load i64, ptr %11, align 8, !tbaa !9
  %91 = call zeroext i1 @b2AddKey(ptr noundef %8, i64 noundef %90)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %92

92:                                               ; preds = %88
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %10, align 4, !tbaa !5
  br label %66, !llvm.loop !11

95:                                               ; preds = %69
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %9, align 4, !tbaa !5
  br label %59, !llvm.loop !13

99:                                               ; preds = %62
  br label %100

100:                                              ; preds = %99
  %101 = getelementptr inbounds %struct.b2HashSet, ptr %8, i32 0, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !14
  %103 = icmp eq i32 %102, 50086
  %104 = zext i1 %103 to i32
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %100
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 41, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

108:                                              ; preds = %100
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %165, %110
  %112 = load i32, ptr %14, align 4, !tbaa !5
  %113 = icmp slt i32 %112, 317
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %168

115:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %116 = load i32, ptr %14, align 4, !tbaa !5
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %15, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %161, %115
  %119 = load i32, ptr %15, align 4, !tbaa !5
  %120 = icmp slt i32 %119, 317
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %164

122:                                              ; preds = %118
  %123 = load i32, ptr %15, align 4, !tbaa !5
  %124 = load i32, ptr %14, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  %126 = icmp eq i32 %123, %125
  br i1 %126, label %127, label %155

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %128 = load i32, ptr %14, align 4, !tbaa !5
  %129 = load i32, ptr %15, align 4, !tbaa !5
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %131, label %138

131:                                              ; preds = %127
  %132 = load i32, ptr %14, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = shl i64 %133, 32
  %135 = load i32, ptr %15, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = or i64 %134, %136
  br label %145

138:                                              ; preds = %127
  %139 = load i32, ptr %15, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = shl i64 %140, 32
  %142 = load i32, ptr %14, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = or i64 %141, %143
  br label %145

145:                                              ; preds = %138, %131
  %146 = phi i64 [ %137, %131 ], [ %144, %138 ]
  store i64 %146, ptr %16, align 8, !tbaa !9
  %147 = load i64, ptr %16, align 8, !tbaa !9
  %148 = call zeroext i1 @b2RemoveKey(ptr noundef %8, i64 noundef %147)
  %149 = load i32, ptr %12, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %12, align 4, !tbaa !5
  %151 = sext i32 %149 to i64
  %152 = getelementptr inbounds [50086 x i8], ptr %5, i64 0, i64 %151
  store i8 1, ptr %152, align 1, !tbaa !17
  %153 = load i32, ptr %13, align 4, !tbaa !5
  %154 = add i32 %153, 1
  store i32 %154, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %160

155:                                              ; preds = %122
  %156 = load i32, ptr %12, align 4, !tbaa !5
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %12, align 4, !tbaa !5
  %158 = sext i32 %156 to i64
  %159 = getelementptr inbounds [50086 x i8], ptr %5, i64 0, i64 %158
  store i8 0, ptr %159, align 1, !tbaa !17
  br label %160

160:                                              ; preds = %155, %145
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %15, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %15, align 4, !tbaa !5
  br label %118, !llvm.loop !19

164:                                              ; preds = %121
  br label %165

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

168:                                              ; preds = %114
  br label %169

169:                                              ; preds = %168
  %170 = getelementptr inbounds %struct.b2HashSet, ptr %8, i32 0, i32 2
  %171 = load i32, ptr %170, align 4, !tbaa !14
  %172 = load i32, ptr %13, align 4, !tbaa !5
  %173 = sub i32 50086, %172
  %174 = icmp eq i32 %171, %173
  %175 = zext i1 %174 to i32
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %179

177:                                              ; preds = %169
  %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 64, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

179:                                              ; preds = %169
  br label %180

180:                                              ; preds = %179
  br label %181

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %182 = call i64 @b2GetTicks()
  store i64 %182, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %238, %181
  %184 = load i32, ptr %18, align 4, !tbaa !5
  %185 = icmp slt i32 %184, 317
  br i1 %185, label %187, label %186

186:                                              ; preds = %183
  store i32 25, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %241

187:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %188 = load i32, ptr %18, align 4, !tbaa !5
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %19, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %234, %187
  %191 = load i32, ptr %19, align 4, !tbaa !5
  %192 = icmp slt i32 %191, 317
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  store i32 28, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %237

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %195 = load i32, ptr %19, align 4, !tbaa !5
  %196 = load i32, ptr %18, align 4, !tbaa !5
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %198, label %205

198:                                              ; preds = %194
  %199 = load i32, ptr %19, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = shl i64 %200, 32
  %202 = load i32, ptr %18, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = or i64 %201, %203
  br label %212

205:                                              ; preds = %194
  %206 = load i32, ptr %18, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = shl i64 %207, 32
  %209 = load i32, ptr %19, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = or i64 %208, %210
  br label %212

212:                                              ; preds = %205, %198
  %213 = phi i64 [ %204, %198 ], [ %211, %205 ]
  store i64 %213, ptr %20, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %212
  %215 = load i64, ptr %20, align 8, !tbaa !9
  %216 = call zeroext i1 @b2ContainsKey(ptr noundef %8, i64 noundef %215)
  br i1 %216, label %223, label %217

217:                                              ; preds = %214
  %218 = load i32, ptr %12, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [50086 x i8], ptr %5, i64 0, i64 %219
  %221 = load i8, ptr %220, align 1, !tbaa !17, !range !21, !noundef !22
  %222 = trunc i8 %221 to i1
  br label %223

223:                                              ; preds = %217, %214
  %224 = phi i1 [ true, %214 ], [ %222, %217 ]
  %225 = zext i1 %224 to i32
  %226 = icmp eq i32 %225, 0
  br i1 %226, label %227, label %229

227:                                              ; preds = %223
  %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 81, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

229:                                              ; preds = %223
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %12, align 4, !tbaa !5
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %234

234:                                              ; preds = %231
  %235 = load i32, ptr %19, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %19, align 4, !tbaa !5
  br label %190, !llvm.loop !23

237:                                              ; preds = %193
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %18, align 4, !tbaa !5
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %18, align 4, !tbaa !5
  br label %183, !llvm.loop !24

241:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %242 = load i64, ptr %17, align 8, !tbaa !9
  %243 = call float @b2GetMilliseconds(i64 noundef %242)
  store float %243, ptr %21, align 4, !tbaa !25
  %244 = load float, ptr %21, align 4, !tbaa !25
  %245 = fpext float %244 to double
  %246 = load float, ptr %21, align 4, !tbaa !25
  %247 = fmul float 1.000000e+03, %246
  %248 = fdiv float %247, 5.008600e+04
  %249 = fpext float %248 to double
  %250 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 50086, double noundef %245, double noundef %249)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %251

251:                                              ; preds = %288, %241
  %252 = load i32, ptr %22, align 4, !tbaa !5
  %253 = icmp slt i32 %252, 317
  br i1 %253, label %255, label %254

254:                                              ; preds = %251
  store i32 33, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %291

255:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %256 = load i32, ptr %22, align 4, !tbaa !5
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %23, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %284, %255
  %259 = load i32, ptr %23, align 4, !tbaa !5
  %260 = icmp slt i32 %259, 317
  br i1 %260, label %262, label %261

261:                                              ; preds = %258
  store i32 36, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %287

262:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %263 = load i32, ptr %22, align 4, !tbaa !5
  %264 = load i32, ptr %23, align 4, !tbaa !5
  %265 = icmp slt i32 %263, %264
  br i1 %265, label %266, label %273

266:                                              ; preds = %262
  %267 = load i32, ptr %22, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = shl i64 %268, 32
  %270 = load i32, ptr %23, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = or i64 %269, %271
  br label %280

273:                                              ; preds = %262
  %274 = load i32, ptr %23, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  %276 = shl i64 %275, 32
  %277 = load i32, ptr %22, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = or i64 %276, %278
  br label %280

280:                                              ; preds = %273, %266
  %281 = phi i64 [ %272, %266 ], [ %279, %273 ]
  store i64 %281, ptr %24, align 8, !tbaa !9
  %282 = load i64, ptr %24, align 8, !tbaa !9
  %283 = call zeroext i1 @b2RemoveKey(ptr noundef %8, i64 noundef %282)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %284

284:                                              ; preds = %280
  %285 = load i32, ptr %23, align 4, !tbaa !5
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %23, align 4, !tbaa !5
  br label %258, !llvm.loop !27

287:                                              ; preds = %261
  br label %288

288:                                              ; preds = %287
  %289 = load i32, ptr %22, align 4, !tbaa !5
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %22, align 4, !tbaa !5
  br label %251, !llvm.loop !28

291:                                              ; preds = %254
  br label %292

292:                                              ; preds = %291
  %293 = getelementptr inbounds %struct.b2HashSet, ptr %8, i32 0, i32 2
  %294 = load i32, ptr %293, align 4, !tbaa !14
  %295 = icmp eq i32 %294, 0
  %296 = zext i1 %295 to i32
  %297 = icmp eq i32 %296, 0
  br i1 %297, label %298, label %300

298:                                              ; preds = %292
  %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 108, ptr noundef @__PRETTY_FUNCTION__.TableTest) #7
  unreachable

300:                                              ; preds = %292
  br label %301

301:                                              ; preds = %300
  br label %302

302:                                              ; preds = %301
  call void @b2DestroySet(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %303

303:                                              ; preds = %302
  %304 = load i32, ptr %6, align 4, !tbaa !5
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %6, align 4, !tbaa !5
  br label %49, !llvm.loop !29

306:                                              ; preds = %52
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 50086, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 0
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2BoundingPowerOf2(i32 noundef) #2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2RoundUpPowerOf2(i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare { ptr, i64 } @b2CreateSet(i32 noundef) #3

declare zeroext i1 @b2AddKey(ptr noundef, i64 noundef) #3

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

declare zeroext i1 @b2RemoveKey(ptr noundef, i64 noundef) #3

declare i64 @b2GetTicks() #3

declare zeroext i1 @b2ContainsKey(ptr noundef, i64 noundef) #3

declare float @b2GetMilliseconds(i64 noundef) #3

declare void @b2DestroySet(ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = { "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 = { noreturn 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !6, i64 12}
!15 = !{!"b2HashSet", !16, i64 0, !6, i64 8, !6, i64 12}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"_Bool", !7, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}


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

%struct.b2HashSet = type { ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__.TableTest = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @TableTest() local_unnamed_addr #0 {
  %1 = alloca [50086 x i8], align 16
  %2 = alloca %struct.b2HashSet, align 8
  %3 = tail call i32 @b2BoundingPowerOf2(i32 noundef 3008)
  %.not = icmp eq i32 %3, 12
  br i1 %.not, label %6, label %4

4:                                                ; preds = %0
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 18, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

6:                                                ; preds = %0
  %7 = tail call i32 @b2RoundUpPowerOf2(i32 noundef 3008)
  %.not75 = icmp eq i32 %7, 4096
  br i1 %.not75, label %.critedge, label %8

8:                                                ; preds = %6
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 21, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

.critedge:                                        ; preds = %6
  call void @llvm.lifetime.start.p0(i64 50086, ptr nonnull %1) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(50086) %1, i8 0, i64 50086, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #9
  %10 = tail call { ptr, i64 } @b2CreateSet(i32 noundef 16) #9
  %11 = extractvalue { ptr, i64 } %10, 0
  store ptr %11, ptr %2, align 8
  %12 = getelementptr inbounds i8, ptr %2, i64 8
  %13 = extractvalue { ptr, i64 } %10, 1
  store i64 %13, ptr %12, align 8
  br label %17

.loopexit81:                                      ; preds = %20, %17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond108.not = icmp eq i64 %indvars.iv.next106, 317
  br i1 %exitcond108.not, label %14, label %17, !llvm.loop !5

14:                                               ; preds = %.loopexit81
  %15 = getelementptr inbounds i8, ptr %2, i64 12
  %16 = load i32, ptr %15, align 4, !tbaa !7
  %.not76 = icmp eq i32 %16, 50086
  br i1 %.not76, label %.preheader, label %26

17:                                               ; preds = %.critedge, %.loopexit81
  %indvars.iv105 = phi i64 [ 0, %.critedge ], [ %indvars.iv.next106, %.loopexit81 ]
  %indvars.iv = phi i64 [ 1, %.critedge ], [ %indvars.iv.next, %.loopexit81 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %18 = icmp ult i64 %indvars.iv105, 316
  br i1 %18, label %.lr.ph, label %.loopexit81

.lr.ph:                                           ; preds = %17
  %19 = shl nuw nsw i64 %indvars.iv105, 32
  br label %20

20:                                               ; preds = %.lr.ph, %20
  %indvars.iv102 = phi i64 [ %indvars.iv, %.lr.ph ], [ %indvars.iv.next103, %20 ]
  %21 = icmp ult i64 %indvars.iv105, %indvars.iv102
  %22 = or disjoint i64 %19, %indvars.iv102
  %23 = call i64 @llvm.fshl.i64(i64 %22, i64 %22, i64 32)
  %24 = select i1 %21, i64 %22, i64 %23
  %25 = call zeroext i1 @b2AddKey(ptr noundef nonnull %2, i64 noundef %24) #9
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next103, 317
  br i1 %exitcond.not, label %.loopexit81, label %20, !llvm.loop !13

26:                                               ; preds = %14
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 41, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

.loopexit80.loopexit:                             ; preds = %46, %33
  %.274.lcssa = phi i32 [ %38, %33 ], [ %.274, %46 ]
  %.2.lcssa.wide = phi i64 [ %indvars.iv.next110.peel, %33 ], [ %indvars.iv.next110, %46 ]
  %28 = trunc nsw i64 %.2.lcssa.wide to i32
  br label %.loopexit80

.loopexit80:                                      ; preds = %.preheader..loopexit80_crit_edge, %.loopexit80.loopexit
  %indvars.iv.next112.pre-phi = phi i64 [ %.pre, %.preheader..loopexit80_crit_edge ], [ %indvars.iv.next114.peel, %.loopexit80.loopexit ]
  %.173.lcssa = phi i32 [ %.07290, %.preheader..loopexit80_crit_edge ], [ %.274.lcssa, %.loopexit80.loopexit ]
  %.1.lcssa = phi i32 [ %.06992, %.preheader..loopexit80_crit_edge ], [ %28, %.loopexit80.loopexit ]
  %exitcond123.not = icmp eq i64 %indvars.iv.next121, 317
  br i1 %exitcond123.not, label %29, label %.preheader, !llvm.loop !14

29:                                               ; preds = %.loopexit80
  %30 = load i32, ptr %15, align 4, !tbaa !7
  %31 = sub i32 50086, %.173.lcssa
  %.not77 = icmp eq i32 %30, %31
  br i1 %.not77, label %50, label %48

.preheader:                                       ; preds = %14, %.loopexit80
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %.loopexit80 ], [ 0, %14 ]
  %indvars.iv111 = phi i64 [ %indvars.iv.next112.pre-phi, %.loopexit80 ], [ 1, %14 ]
  %.06992 = phi i32 [ %.1.lcssa, %.loopexit80 ], [ 0, %14 ]
  %.07290 = phi i32 [ %.173.lcssa, %.loopexit80 ], [ 0, %14 ]
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %32 = icmp ult i64 %indvars.iv120, 316
  br i1 %32, label %33, label %.preheader..loopexit80_crit_edge

.preheader..loopexit80_crit_edge:                 ; preds = %.preheader
  %.pre = add nuw nsw i64 %indvars.iv111, 1
  br label %.loopexit80

33:                                               ; preds = %.preheader
  %34 = shl nuw nsw i64 %indvars.iv120, 32
  %35 = sext i32 %.06992 to i64
  %36 = or disjoint i64 %34, %indvars.iv111
  %37 = call zeroext i1 @b2RemoveKey(ptr noundef nonnull %2, i64 noundef %36) #9
  %38 = add i32 %.07290, 1
  %39 = getelementptr inbounds [50086 x i8], ptr %1, i64 0, i64 %35
  store i8 1, ptr %39, align 1
  %indvars.iv.next110.peel = add nsw i64 %35, 1
  %indvars.iv.next114.peel = add nuw nsw i64 %indvars.iv111, 1
  %exitcond118.peel.not = icmp eq i64 %indvars.iv.next114.peel, 317
  br i1 %exitcond118.peel.not, label %.loopexit80.loopexit, label %.peel.next

.peel.next:                                       ; preds = %33
  %40 = or disjoint i64 %34, %indvars.iv.next121
  br label %41

41:                                               ; preds = %.peel.next, %46
  %indvars.iv113 = phi i64 [ %indvars.iv.next114.peel, %.peel.next ], [ %indvars.iv.next114, %46 ]
  %indvars.iv109 = phi i64 [ %indvars.iv.next110.peel, %.peel.next ], [ %indvars.iv.next110, %46 ]
  %.17385 = phi i32 [ %38, %.peel.next ], [ %.274, %46 ]
  %42 = icmp eq i64 %indvars.iv113, %indvars.iv.next121
  br i1 %42, label %43, label %46

43:                                               ; preds = %41
  %44 = call zeroext i1 @b2RemoveKey(ptr noundef nonnull %2, i64 noundef %40) #9
  %45 = add i32 %.17385, 1
  br label %46

46:                                               ; preds = %41, %43
  %.sink148 = phi i8 [ 1, %43 ], [ 0, %41 ]
  %.274 = phi i32 [ %45, %43 ], [ %.17385, %41 ]
  %47 = getelementptr inbounds [50086 x i8], ptr %1, i64 0, i64 %indvars.iv109
  store i8 %.sink148, ptr %47, align 1
  %indvars.iv.next110 = add nsw i64 %indvars.iv109, 1
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next114, 317
  br i1 %exitcond118.not, label %.loopexit80.loopexit, label %41, !llvm.loop !15

48:                                               ; preds = %29
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 64, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

50:                                               ; preds = %29
  %51 = call i64 @b2GetTicks() #9
  br label %60

.loopexit79.loopexit:                             ; preds = %.thread
  %52 = trunc nsw i64 %indvars.iv.next129 to i32
  br label %.loopexit79

.loopexit79:                                      ; preds = %.loopexit79.loopexit, %60
  %.4.lcssa = phi i32 [ %.397, %60 ], [ %52, %.loopexit79.loopexit ]
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %exitcond137.not = icmp eq i64 %indvars.iv.next135, 317
  br i1 %exitcond137.not, label %53, label %60, !llvm.loop !17

53:                                               ; preds = %.loopexit79
  %54 = call float @b2GetMilliseconds(i64 noundef %51) #9
  %55 = fpext float %54 to double
  %56 = fmul float %54, 1.000000e+03
  %57 = fdiv float %56, 5.008600e+04
  %58 = fpext float %57 to double
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef 50086, double noundef %55, double noundef %58)
  br label %78

60:                                               ; preds = %50, %.loopexit79
  %indvars.iv134 = phi i64 [ 0, %50 ], [ %indvars.iv.next135, %.loopexit79 ]
  %indvars.iv124 = phi i64 [ 1, %50 ], [ %indvars.iv.next125, %.loopexit79 ]
  %.397 = phi i32 [ 0, %50 ], [ %.4.lcssa, %.loopexit79 ]
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %61 = icmp ult i64 %indvars.iv134, 316
  br i1 %61, label %.lr.ph95, label %.loopexit79

.lr.ph95:                                         ; preds = %60
  %62 = sext i32 %.397 to i64
  br label %63

63:                                               ; preds = %.lr.ph95, %.thread
  %indvars.iv128 = phi i64 [ %62, %.lr.ph95 ], [ %indvars.iv.next129, %.thread ]
  %indvars.iv126 = phi i64 [ %indvars.iv124, %.lr.ph95 ], [ %indvars.iv.next127, %.thread ]
  %64 = icmp ult i64 %indvars.iv126, %indvars.iv134
  %65 = shl nuw nsw i64 %indvars.iv126, 32
  %66 = or disjoint i64 %65, %indvars.iv134
  %67 = call i64 @llvm.fshl.i64(i64 %66, i64 %66, i64 32)
  %68 = select i1 %64, i64 %66, i64 %67
  %69 = call zeroext i1 @b2ContainsKey(ptr noundef nonnull %2, i64 noundef %68) #9
  br i1 %69, label %.thread, label %70

70:                                               ; preds = %63
  %71 = getelementptr inbounds [50086 x i8], ptr %1, i64 0, i64 %indvars.iv128
  %72 = load i8, ptr %71, align 1, !tbaa !18, !range !20, !noundef !21
  %73 = icmp eq i8 %72, 0
  br i1 %73, label %74, label %.thread

74:                                               ; preds = %70
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 81, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

.thread:                                          ; preds = %63, %70
  %indvars.iv.next129 = add nsw i64 %indvars.iv128, 1
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %exitcond133.not = icmp eq i64 %indvars.iv.next127, 317
  br i1 %exitcond133.not, label %.loopexit79.loopexit, label %63, !llvm.loop !22

.loopexit:                                        ; preds = %81, %78
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %exitcond147.not = icmp eq i64 %indvars.iv.next145, 317
  br i1 %exitcond147.not, label %76, label %78, !llvm.loop !23

76:                                               ; preds = %.loopexit
  %77 = load i32, ptr %15, align 4, !tbaa !7
  %.not78 = icmp eq i32 %77, 0
  br i1 %.not78, label %89, label %87

78:                                               ; preds = %53, %.loopexit
  %indvars.iv144 = phi i64 [ 0, %53 ], [ %indvars.iv.next145, %.loopexit ]
  %indvars.iv138 = phi i64 [ 1, %53 ], [ %indvars.iv.next139, %.loopexit ]
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %79 = icmp ult i64 %indvars.iv144, 316
  br i1 %79, label %.lr.ph100, label %.loopexit

.lr.ph100:                                        ; preds = %78
  %80 = shl nuw nsw i64 %indvars.iv144, 32
  br label %81

81:                                               ; preds = %.lr.ph100, %81
  %indvars.iv140 = phi i64 [ %indvars.iv138, %.lr.ph100 ], [ %indvars.iv.next141, %81 ]
  %82 = icmp ult i64 %indvars.iv144, %indvars.iv140
  %83 = or disjoint i64 %80, %indvars.iv140
  %84 = call i64 @llvm.fshl.i64(i64 %83, i64 %83, i64 32)
  %85 = select i1 %82, i64 %83, i64 %84
  %86 = call zeroext i1 @b2RemoveKey(ptr noundef nonnull %2, i64 noundef %85) #9
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %exitcond143.not = icmp eq i64 %indvars.iv.next141, 317
  br i1 %exitcond143.not, label %.loopexit, label %81, !llvm.loop !24

87:                                               ; preds = %76
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 108, ptr noundef nonnull @__PRETTY_FUNCTION__.TableTest) #8
  unreachable

89:                                               ; preds = %76
  call void @b2DestroySet(ptr noundef nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 50086, ptr nonnull %1) #9
  ret i32 0
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2BoundingPowerOf2(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @b2RoundUpPowerOf2(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare { ptr, i64 } @b2CreateSet(i32 noundef) local_unnamed_addr #6

declare zeroext i1 @b2AddKey(ptr noundef, i64 noundef) local_unnamed_addr #6

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

declare zeroext i1 @b2RemoveKey(ptr noundef, i64 noundef) local_unnamed_addr #6

declare i64 @b2GetTicks() local_unnamed_addr #6

declare zeroext i1 @b2ContainsKey(ptr noundef, i64 noundef) local_unnamed_addr #6

declare float @b2GetMilliseconds(i64 noundef) local_unnamed_addr #6

declare void @b2DestroySet(ptr noundef) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.fshl.i64(i64, i64, i64) #7

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = { 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 #4 = { noreturn 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { noreturn nounwind }
attributes #9 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !12, i64 12}
!8 = !{!"b2HashSet", !9, i64 0, !12, i64 8, !12, i64 12}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = distinct !{!15, !6, !16}
!16 = !{!"llvm.loop.peeled.count", i32 1}
!17 = distinct !{!17, !6}
!18 = !{!19, !19, i64 0}
!19 = !{!"_Bool", !10, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !6}
!23 = distinct !{!23, !6}
!24 = distinct !{!24, !6}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass