; LLVM IR from tangjz/acm-icpc :: buaa/oj3rd (757)

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

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@Q = external dso_local global [6765434 x i32], align 16
@head = external dso_local global i32, align 4
@tail = external dso_local global i32, align 4
@str = external dso_local global [51 x [51 x i8]], align 16
@vis = external dso_local global [6765434 x i8], align 16
@flag = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3valiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3reviRiS_S_S_(i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %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
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  br label %17

17:                                               ; preds = %285, %0
  %18 = load i32, ptr @t, align 4, !tbaa !5
  %19 = add nsw i32 %18, -1
  store i32 %19, ptr @t, align 4, !tbaa !5
  %20 = icmp ne i32 %18, 0
  br i1 %20, label %21, label %291

21:                                               ; preds = %17
  store i8 0, ptr @flag, align 1, !tbaa !9
  store i32 0, ptr @tail, align 4, !tbaa !5
  store i32 0, ptr @head, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 16 @vis, i8 0, i64 6765434, i1 false)
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %34, %21
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = load i32, ptr @n, align 4, !tbaa !5
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %28, label %27

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

28:                                               ; preds = %23
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %30
  %32 = getelementptr inbounds [51 x i8], ptr %31, i64 0, i64 0
  %33 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %32)
  br label %34

34:                                               ; preds = %28
  %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 %23, !llvm.loop !11

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

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

42:                                               ; preds = %38
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %87

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

44:                                               ; preds = %80, %43
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = load i32, ptr @n, align 4, !tbaa !5
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %83

49:                                               ; preds = %44
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = icmp ne i32 %50, %51
  br i1 %52, label %53, label %79

53:                                               ; preds = %49
  %54 = load i32, ptr %3, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %55
  %57 = getelementptr inbounds [51 x i8], ptr %56, i64 0, i64 0
  %58 = load i8, ptr %57, align 1, !tbaa !13
  %59 = sext i8 %58 to i32
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %61
  %63 = getelementptr inbounds [51 x i8], ptr %62, i64 0, i64 0
  %64 = load i8, ptr %63, align 1, !tbaa !13
  %65 = sext i8 %64 to i32
  %66 = icmp eq i32 %59, %65
  br i1 %66, label %67, label %79

67:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = call noundef i32 @_Z3valiiii(i32 noundef %68, i32 noundef %69, i32 noundef 0, i32 noundef 0)
  store i32 %70, ptr %6, align 4, !tbaa !5
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = load i32, ptr @tail, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr @tail, align 4, !tbaa !5
  %74 = sext i32 %72 to i64
  %75 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %74
  store i32 %71, ptr %75, align 4, !tbaa !5
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %77
  store i8 1, ptr %78, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %79

79:                                               ; preds = %67, %53, %49
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %5, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %5, align 4, !tbaa !5
  br label %44, !llvm.loop !14

83:                                               ; preds = %48
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %3, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %3, align 4, !tbaa !5
  br label %38, !llvm.loop !15

87:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  br label %88

88:                                               ; preds = %284, %152, %87
  %89 = load i32, ptr @head, align 4, !tbaa !5
  %90 = load i32, ptr @tail, align 4, !tbaa !5
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %92, label %285

92:                                               ; preds = %88
  %93 = load i32, ptr @head, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr @head, align 4, !tbaa !5
  %95 = sext i32 %93 to i64
  %96 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  call void @_Z3reviRiS_S_S_(i32 noundef %97, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %99
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [51 x i8], ptr %100, i64 0, i64 %103
  %105 = load i8, ptr %104, align 1, !tbaa !13
  %106 = sext i8 %105 to i32
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %108
  %110 = load i32, ptr %10, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [51 x i8], ptr %109, i64 0, i64 %112
  %114 = load i8, ptr %113, align 1, !tbaa !13
  %115 = sext i8 %114 to i32
  %116 = icmp eq i32 %106, %115
  br i1 %116, label %117, label %156

117:                                              ; preds = %92
  %118 = load i32, ptr %7, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %119
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [51 x i8], ptr %120, i64 0, i64 %123
  %125 = load i8, ptr %124, align 1, !tbaa !13
  %126 = sext i8 %125 to i32
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %117
  store i8 1, ptr @flag, align 1, !tbaa !9
  br label %285

129:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %130 = load i32, ptr %7, align 4, !tbaa !5
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = add nsw i32 %132, 1
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  %136 = call noundef i32 @_Z3valiiii(i32 noundef %130, i32 noundef %131, i32 noundef %133, i32 noundef %135)
  store i32 %136, ptr %11, align 4, !tbaa !5
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %138
  %140 = load i8, ptr %139, align 1, !tbaa !9, !range !16, !noundef !17
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %143

142:                                              ; preds = %129
  store i32 13, ptr %4, align 4
  br label %152, !llvm.loop !18

143:                                              ; preds = %129
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = load i32, ptr @tail, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr @tail, align 4, !tbaa !5
  %147 = sext i32 %145 to i64
  %148 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %147
  store i32 %144, ptr %148, align 4, !tbaa !5
  %149 = load i32, ptr %11, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %150
  store i8 1, ptr %151, align 1, !tbaa !9
  store i32 0, ptr %4, align 4
  br label %152

152:                                              ; preds = %143, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %153 = load i32, ptr %4, align 4
  switch i32 %153, label %292 [
    i32 0, label %154
    i32 13, label %88
  ]

154:                                              ; preds = %152
  br label %155

155:                                              ; preds = %154
  br label %284

156:                                              ; preds = %92
  %157 = load i32, ptr %7, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %158
  %160 = load i32, ptr %9, align 4, !tbaa !5
  %161 = add nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [51 x i8], ptr %159, i64 0, i64 %162
  %164 = load i8, ptr %163, align 1, !tbaa !13
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 0
  br i1 %166, label %167, label %219

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

168:                                              ; preds = %215, %167
  %169 = load i32, ptr %12, align 4, !tbaa !5
  %170 = load i32, ptr @n, align 4, !tbaa !5
  %171 = icmp slt i32 %169, %170
  br i1 %171, label %173, label %172

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

173:                                              ; preds = %168
  %174 = load i32, ptr %12, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %175
  %177 = getelementptr inbounds [51 x i8], ptr %176, i64 0, i64 0
  %178 = load i8, ptr %177, align 1, !tbaa !13
  %179 = sext i8 %178 to i32
  %180 = load i32, ptr %8, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %181
  %183 = load i32, ptr %10, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [51 x i8], ptr %182, i64 0, i64 %185
  %187 = load i8, ptr %186, align 1, !tbaa !13
  %188 = sext i8 %187 to i32
  %189 = icmp eq i32 %179, %188
  br i1 %189, label %190, label %214

190:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %191 = load i32, ptr %12, align 4, !tbaa !5
  %192 = load i32, ptr %8, align 4, !tbaa !5
  %193 = load i32, ptr %10, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  %195 = call noundef i32 @_Z3valiiii(i32 noundef %191, i32 noundef %192, i32 noundef 0, i32 noundef %194)
  store i32 %195, ptr %13, align 4, !tbaa !5
  %196 = load i32, ptr %13, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %197
  %199 = load i8, ptr %198, align 1, !tbaa !9, !range !16, !noundef !17
  %200 = trunc i8 %199 to i1
  br i1 %200, label %201, label %202

201:                                              ; preds = %190
  store i32 17, ptr %4, align 4
  br label %211

202:                                              ; preds = %190
  %203 = load i32, ptr %13, align 4, !tbaa !5
  %204 = load i32, ptr @tail, align 4, !tbaa !5
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr @tail, align 4, !tbaa !5
  %206 = sext i32 %204 to i64
  %207 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %206
  store i32 %203, ptr %207, align 4, !tbaa !5
  %208 = load i32, ptr %13, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %209
  store i8 1, ptr %210, align 1, !tbaa !9
  store i32 0, ptr %4, align 4
  br label %211

211:                                              ; preds = %202, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  %212 = load i32, ptr %4, align 4
  switch i32 %212, label %292 [
    i32 0, label %213
    i32 17, label %215
  ]

213:                                              ; preds = %211
  br label %214

214:                                              ; preds = %213, %173
  br label %215

215:                                              ; preds = %214, %211
  %216 = load i32, ptr %12, align 4, !tbaa !5
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %12, align 4, !tbaa !5
  br label %168, !llvm.loop !19

218:                                              ; preds = %172
  br label %283

219:                                              ; preds = %156
  %220 = load i32, ptr %8, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %221
  %223 = load i32, ptr %10, align 4, !tbaa !5
  %224 = add nsw i32 %223, 1
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds [51 x i8], ptr %222, i64 0, i64 %225
  %227 = load i8, ptr %226, align 1, !tbaa !13
  %228 = sext i8 %227 to i32
  %229 = icmp eq i32 %228, 0
  br i1 %229, label %230, label %282

230:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %278, %230
  %232 = load i32, ptr %14, align 4, !tbaa !5
  %233 = load i32, ptr @n, align 4, !tbaa !5
  %234 = icmp slt i32 %232, %233
  br i1 %234, label %236, label %235

235:                                              ; preds = %231
  store i32 18, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %281

236:                                              ; preds = %231
  %237 = load i32, ptr %7, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %238
  %240 = load i32, ptr %9, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [51 x i8], ptr %239, i64 0, i64 %242
  %244 = load i8, ptr %243, align 1, !tbaa !13
  %245 = sext i8 %244 to i32
  %246 = load i32, ptr %14, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %247
  %249 = getelementptr inbounds [51 x i8], ptr %248, i64 0, i64 0
  %250 = load i8, ptr %249, align 1, !tbaa !13
  %251 = sext i8 %250 to i32
  %252 = icmp eq i32 %245, %251
  br i1 %252, label %253, label %277

253:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %254 = load i32, ptr %8, align 4, !tbaa !5
  %255 = load i32, ptr %14, align 4, !tbaa !5
  %256 = load i32, ptr %9, align 4, !tbaa !5
  %257 = add nsw i32 %256, 1
  %258 = call noundef i32 @_Z3valiiii(i32 noundef %254, i32 noundef %255, i32 noundef %257, i32 noundef 0)
  store i32 %258, ptr %15, align 4, !tbaa !5
  %259 = load i32, ptr %15, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %260
  %262 = load i8, ptr %261, align 1, !tbaa !9, !range !16, !noundef !17
  %263 = trunc i8 %262 to i1
  br i1 %263, label %264, label %265

264:                                              ; preds = %253
  store i32 20, ptr %4, align 4
  br label %274

265:                                              ; preds = %253
  %266 = load i32, ptr %15, align 4, !tbaa !5
  %267 = load i32, ptr @tail, align 4, !tbaa !5
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr @tail, align 4, !tbaa !5
  %269 = sext i32 %267 to i64
  %270 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %269
  store i32 %266, ptr %270, align 4, !tbaa !5
  %271 = load i32, ptr %15, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %272
  store i8 1, ptr %273, align 1, !tbaa !9
  store i32 0, ptr %4, align 4
  br label %274

274:                                              ; preds = %265, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %275 = load i32, ptr %4, align 4
  switch i32 %275, label %292 [
    i32 0, label %276
    i32 20, label %278
  ]

276:                                              ; preds = %274
  br label %277

277:                                              ; preds = %276, %236
  br label %278

278:                                              ; preds = %277, %274
  %279 = load i32, ptr %14, align 4, !tbaa !5
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %14, align 4, !tbaa !5
  br label %231, !llvm.loop !20

281:                                              ; preds = %235
  br label %282

282:                                              ; preds = %281, %219
  br label %283

283:                                              ; preds = %282, %218
  br label %284

284:                                              ; preds = %283, %155
  br label %88, !llvm.loop !18

285:                                              ; preds = %128, %88
  %286 = load i8, ptr @flag, align 1, !tbaa !9, !range !16, !noundef !17
  %287 = trunc i8 %286 to i1
  %288 = zext i1 %287 to i64
  %289 = select i1 %287, ptr @.str.2, ptr @.str.3
  %290 = call i32 @puts(ptr noundef %289)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %17, !llvm.loop !21

291:                                              ; preds = %17
  ret i32 0

292:                                              ; preds = %274, %211, %152
  unreachable
}

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

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

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

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

declare i32 @puts(ptr noundef) #2

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

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@Q = external dso_local local_unnamed_addr global [6765434 x i32], align 16
@head = external dso_local local_unnamed_addr global i32, align 4
@tail = external dso_local local_unnamed_addr global i32, align 4
@str = external dso_local global [51 x [51 x i8]], align 16
@vis = external dso_local local_unnamed_addr global [6765434 x i8], align 16
@flag = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3valiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3reviRiS_S_S_(i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %6 = load i32, ptr @t, align 4, !tbaa !5
  %7 = add nsw i32 %6, -1
  store i32 %7, ptr @t, align 4, !tbaa !5
  %.not60 = icmp eq i32 %6, 0
  br i1 %.not60, label %._crit_edge63, label %.lr.ph62

.lr.ph62:                                         ; preds = %0, %.loopexit47
  store i8 0, ptr @flag, align 1, !tbaa !9
  store i32 0, ptr @tail, align 4, !tbaa !5
  store i32 0, ptr @head, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(6765434) @vis, i8 0, i64 6765434, i1 false)
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %._crit_edge53

.preheader48:                                     ; preds = %.lr.ph
  %11 = icmp sgt i32 %14, 0
  br i1 %11, label %.preheader46, label %._crit_edge53

.lr.ph:                                           ; preds = %.lr.ph62, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph62 ]
  %12 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %indvars.iv
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %12)
  %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
  %16 = icmp slt i64 %indvars.iv.next, %15
  br i1 %16, label %.lr.ph, label %.preheader48, !llvm.loop !11

.preheader46:                                     ; preds = %.preheader48, %._crit_edge
  %17 = phi i32 [ %24, %._crit_edge ], [ %14, %.preheader48 ]
  %indvars.iv71 = phi i64 [ %indvars.iv.next72, %._crit_edge ], [ 0, %.preheader48 ]
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph51, label %._crit_edge

.lr.ph51:                                         ; preds = %.preheader46
  %19 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %indvars.iv71
  %20 = trunc nuw nsw i64 %indvars.iv71 to i32
  br label %27

._crit_edge53:                                    ; preds = %._crit_edge, %.lr.ph62, %.preheader48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %21 = load i32, ptr @head, align 4, !tbaa !5
  %22 = load i32, ptr @tail, align 4, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %.lr.ph59, label %.loopexit47

._crit_edge:                                      ; preds = %44, %.preheader46
  %24 = phi i32 [ %17, %.preheader46 ], [ %45, %44 ]
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %25 = sext i32 %24 to i64
  %26 = icmp slt i64 %indvars.iv.next72, %25
  br i1 %26, label %.preheader46, label %._crit_edge53, !llvm.loop !13

27:                                               ; preds = %.lr.ph51, %44
  %28 = phi i32 [ %17, %.lr.ph51 ], [ %45, %44 ]
  %29 = phi i32 [ %17, %.lr.ph51 ], [ %46, %44 ]
  %indvars.iv68 = phi i64 [ 0, %.lr.ph51 ], [ %indvars.iv.next69, %44 ]
  %.not41 = icmp eq i64 %indvars.iv71, %indvars.iv68
  br i1 %.not41, label %44, label %30

30:                                               ; preds = %27
  %31 = load i8, ptr %19, align 1, !tbaa !15
  %32 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %indvars.iv68
  %33 = load i8, ptr %32, align 1, !tbaa !15
  %34 = icmp eq i8 %31, %33
  br i1 %34, label %35, label %44

35:                                               ; preds = %30
  %36 = trunc nuw nsw i64 %indvars.iv68 to i32
  %37 = call noundef i32 @_Z3valiiii(i32 noundef %20, i32 noundef %36, i32 noundef 0, i32 noundef 0)
  %38 = load i32, ptr @tail, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr @tail, align 4, !tbaa !5
  %40 = sext i32 %38 to i64
  %41 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %40
  store i32 %37, ptr %41, align 4, !tbaa !5
  %42 = sext i32 %37 to i64
  %43 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %42
  store i8 1, ptr %43, align 1, !tbaa !9
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %27, %30, %35
  %45 = phi i32 [ %28, %27 ], [ %28, %30 ], [ %.pre, %35 ]
  %46 = phi i32 [ %29, %27 ], [ %29, %30 ], [ %.pre, %35 ]
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %47 = sext i32 %46 to i64
  %48 = icmp slt i64 %indvars.iv.next69, %47
  br i1 %48, label %27, label %._crit_edge, !llvm.loop !16

.lr.ph59:                                         ; preds = %._crit_edge53, %.backedge
  %49 = phi i32 [ %142, %.backedge ], [ %21, %._crit_edge53 ]
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr @head, align 4, !tbaa !5
  %51 = sext i32 %49 to i64
  %52 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  call void @_Z3reviRiS_S_S_(i32 noundef %53, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %55, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !15
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %62, i64 %65
  %67 = load i8, ptr %66, align 1, !tbaa !15
  %68 = icmp eq i8 %60, %67
  %69 = icmp eq i8 %60, 0
  br i1 %68, label %70, label %82

70:                                               ; preds = %.lr.ph59
  br i1 %69, label %71, label %72

71:                                               ; preds = %70
  store i8 1, ptr @flag, align 1, !tbaa !9
  br label %.loopexit47

72:                                               ; preds = %70
  %73 = call noundef i32 @_Z3valiiii(i32 noundef %54, i32 noundef %61, i32 noundef %57, i32 noundef %64)
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %74
  %76 = load i8, ptr %75, align 1, !tbaa !9, !range !17, !noundef !18
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %.backedge, label %.thread

.thread:                                          ; preds = %72
  %78 = load i32, ptr @tail, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr @tail, align 4, !tbaa !5
  %80 = sext i32 %78 to i64
  %81 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %80
  store i32 %73, ptr %81, align 4, !tbaa !5
  store i8 1, ptr %75, align 1, !tbaa !9
  br label %.backedge

82:                                               ; preds = %.lr.ph59
  br i1 %69, label %.preheader, label %111

.preheader:                                       ; preds = %82
  %83 = load i32, ptr @n, align 4, !tbaa !5
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph57, label %.backedge

.lr.ph57:                                         ; preds = %.preheader, %107
  %indvars.iv77 = phi i64 [ %indvars.iv.next78, %107 ], [ 0, %.preheader ]
  %85 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %indvars.iv77
  %86 = load i8, ptr %85, align 1, !tbaa !15
  %87 = load i32, ptr %2, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %88, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !15
  %94 = icmp eq i8 %86, %93
  br i1 %94, label %95, label %107

95:                                               ; preds = %.lr.ph57
  %96 = trunc nuw nsw i64 %indvars.iv77 to i32
  %97 = call noundef i32 @_Z3valiiii(i32 noundef %96, i32 noundef %87, i32 noundef 0, i32 noundef %90)
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !9, !range !17, !noundef !18
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %107, label %102

102:                                              ; preds = %95
  %103 = load i32, ptr @tail, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr @tail, align 4, !tbaa !5
  %105 = sext i32 %103 to i64
  %106 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %105
  store i32 %97, ptr %106, align 4, !tbaa !5
  store i8 1, ptr %99, align 1, !tbaa !9
  br label %107

107:                                              ; preds = %102, %95, %.lr.ph57
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %108 = load i32, ptr @n, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = icmp slt i64 %indvars.iv.next78, %109
  br i1 %110, label %.lr.ph57, label %.backedge, !llvm.loop !19

111:                                              ; preds = %82
  %112 = icmp eq i8 %67, 0
  %113 = load i32, ptr @n, align 4
  %114 = icmp sgt i32 %113, 0
  %or.cond = select i1 %112, i1 %114, i1 false
  br i1 %or.cond, label %.lr.ph55, label %.backedge

.lr.ph55:                                         ; preds = %111, %138
  %indvars.iv74 = phi i64 [ %indvars.iv.next75, %138 ], [ 0, %111 ]
  %115 = load i32, ptr %1, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = load i32, ptr %3, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %116, i64 %119
  %121 = load i8, ptr %120, align 1, !tbaa !15
  %122 = getelementptr inbounds [51 x [51 x i8]], ptr @str, i64 0, i64 %indvars.iv74
  %123 = load i8, ptr %122, align 1, !tbaa !15
  %124 = icmp eq i8 %121, %123
  br i1 %124, label %125, label %138

125:                                              ; preds = %.lr.ph55
  %126 = load i32, ptr %2, align 4, !tbaa !5
  %127 = trunc nuw nsw i64 %indvars.iv74 to i32
  %128 = call noundef i32 @_Z3valiiii(i32 noundef %126, i32 noundef %127, i32 noundef %118, i32 noundef 0)
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [6765434 x i8], ptr @vis, i64 0, i64 %129
  %131 = load i8, ptr %130, align 1, !tbaa !9, !range !17, !noundef !18
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %138, label %133

133:                                              ; preds = %125
  %134 = load i32, ptr @tail, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr @tail, align 4, !tbaa !5
  %136 = sext i32 %134 to i64
  %137 = getelementptr inbounds [6765434 x i32], ptr @Q, i64 0, i64 %136
  store i32 %128, ptr %137, align 4, !tbaa !5
  store i8 1, ptr %130, align 1, !tbaa !9
  br label %138

138:                                              ; preds = %133, %125, %.lr.ph55
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %139 = load i32, ptr @n, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = icmp slt i64 %indvars.iv.next75, %140
  br i1 %141, label %.lr.ph55, label %.backedge, !llvm.loop !20

.backedge:                                        ; preds = %138, %107, %111, %.thread, %.preheader, %72
  %142 = load i32, ptr @head, align 4, !tbaa !5
  %143 = load i32, ptr @tail, align 4, !tbaa !5
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %.lr.ph59, label %.loopexit47, !llvm.loop !21

.loopexit47:                                      ; preds = %.backedge, %._crit_edge53, %71
  %145 = load i8, ptr @flag, align 1, !tbaa !9, !range !17, !noundef !18
  %146 = trunc nuw i8 %145 to i1
  %147 = select i1 %146, ptr @.str.2, ptr @.str.3
  %148 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %147)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %149 = load i32, ptr @t, align 4, !tbaa !5
  %150 = add nsw i32 %149, -1
  store i32 %150, ptr @t, align 4, !tbaa !5
  %.not = icmp eq i32 %149, 0
  br i1 %.not, label %._crit_edge63, label %.lr.ph62, !llvm.loop !22

._crit_edge63:                                    ; preds = %.loopexit47, %0
  ret i32 0
}

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress norecurse 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !12}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass