; LLVM IR from lzyrapx/Competitive-Programming :: HDUOJ (5805)

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

@a = external dso_local global [100010 x i32], align 16
@MAX = external dso_local global [3 x i32], align 4
@MAXN = external dso_local global [3 x i32], align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 i64, align 8
  %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
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = 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
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %22

22:                                               ; preds = %245, %0
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = add nsw i32 %23, -1
  store i32 %24, ptr %2, align 4, !tbaa !5
  %25 = icmp ne i32 %23, 0
  br i1 %25, label %26, label %248

26:                                               ; preds = %22
  %27 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %38, %26
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = icmp sle i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %41

33:                                               ; preds = %28
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %35
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %36)
  br label %38

38:                                               ; preds = %33
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %4, align 4, !tbaa !5
  br label %28, !llvm.loop !9

41:                                               ; preds = %32
  call void @llvm.memset.p0.i64(ptr align 4 @MAX, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %122, %41
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %47, label %46

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

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = load i32, ptr %5, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = sub nsw i32 %51, %56
  store i32 %57, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %58 = load i32, ptr %5, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = sub nsw i32 %62, %66
  store i32 %67, ptr %9, align 4, !tbaa !5
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %69 = load i32, ptr %68, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  store i32 %69, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %117, %47
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = icmp slt i32 %71, 3
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 10, ptr %6, align 4
  br label %120

74:                                               ; preds = %70
  %75 = load i32, ptr %7, align 4, !tbaa !5
  %76 = load i32, ptr %10, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp sge i32 %75, %79
  br i1 %80, label %81, label %116

81:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 2, ptr %11, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %104, %81
  %83 = load i32, ptr %11, align 4, !tbaa !5
  %84 = load i32, ptr %10, align 4, !tbaa !5
  %85 = icmp sgt i32 %83, %84
  br i1 %85, label %87, label %86

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

87:                                               ; preds = %82
  %88 = load i32, ptr %11, align 4, !tbaa !5
  %89 = sub nsw i32 %88, 1
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %11, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %94
  store i32 %92, ptr %95, align 4, !tbaa !5
  %96 = load i32, ptr %11, align 4, !tbaa !5
  %97 = sub nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = load i32, ptr %11, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %102
  store i32 %100, ptr %103, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %87
  %105 = load i32, ptr %11, align 4, !tbaa !5
  %106 = add nsw i32 %105, -1
  store i32 %106, ptr %11, align 4, !tbaa !5
  br label %82, !llvm.loop !11

107:                                              ; preds = %86
  %108 = load i32, ptr %7, align 4, !tbaa !5
  %109 = load i32, ptr %10, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %110
  store i32 %108, ptr %111, align 4, !tbaa !5
  %112 = load i32, ptr %5, align 4, !tbaa !5
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %114
  store i32 %112, ptr %115, align 4, !tbaa !5
  store i32 10, ptr %6, align 4
  br label %120

116:                                              ; preds = %74
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %10, align 4, !tbaa !5
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %10, align 4, !tbaa !5
  br label %70, !llvm.loop !12

120:                                              ; preds = %107, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %121

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

122:                                              ; preds = %121
  %123 = load i32, ptr %5, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %5, align 4, !tbaa !5
  br label %42, !llvm.loop !13

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

126:                                              ; preds = %143, %125
  %127 = load i32, ptr %14, align 4, !tbaa !5
  %128 = icmp slt i32 %127, 3
  br i1 %128, label %130, label %129

129:                                              ; preds = %126
  store i32 16, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %146

130:                                              ; preds = %126
  %131 = load i32, ptr %14, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = icmp ne i32 %134, 1
  br i1 %135, label %136, label %142

136:                                              ; preds = %130
  %137 = load i32, ptr %14, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %138
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %139)
  %141 = load i32, ptr %140, align 4, !tbaa !5
  store i32 %141, ptr %13, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %136, %130
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %14, align 4, !tbaa !5
  br label %126, !llvm.loop !16

146:                                              ; preds = %129
  %147 = load i32, ptr %13, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = load i64, ptr %12, align 8, !tbaa !14
  %150 = add nsw i64 %149, %148
  store i64 %150, ptr %12, align 8, !tbaa !14
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %151

151:                                              ; preds = %170, %146
  %152 = load i32, ptr %15, align 4, !tbaa !5
  %153 = icmp slt i32 %152, 3
  br i1 %153, label %155, label %154

154:                                              ; preds = %151
  store i32 19, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %173

155:                                              ; preds = %151
  %156 = load i32, ptr %15, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = load i32, ptr %3, align 4, !tbaa !5
  %161 = sub nsw i32 %160, 1
  %162 = icmp ne i32 %159, %161
  br i1 %162, label %163, label %169

163:                                              ; preds = %155
  %164 = load i32, ptr %15, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %165
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %166)
  %168 = load i32, ptr %167, align 4, !tbaa !5
  store i32 %168, ptr %13, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %163, %155
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %15, align 4, !tbaa !5
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %15, align 4, !tbaa !5
  br label %151, !llvm.loop !17

173:                                              ; preds = %154
  %174 = load i32, ptr %13, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = load i64, ptr %12, align 8, !tbaa !14
  %177 = add nsw i64 %176, %175
  store i64 %177, ptr %12, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 2, ptr %16, align 4, !tbaa !5
  br label %178

178:                                              ; preds = %242, %173
  %179 = load i32, ptr %16, align 4, !tbaa !5
  %180 = load i32, ptr %3, align 4, !tbaa !5
  %181 = icmp slt i32 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 22, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %245

183:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %184 = load i32, ptr %16, align 4, !tbaa !5
  %185 = sub nsw i32 %184, 1
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = load i32, ptr %16, align 4, !tbaa !5
  %190 = add nsw i32 %189, 1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = sub nsw i32 %188, %193
  store i32 %194, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %195 = load i32, ptr %16, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %197
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %200 = load i32, ptr %16, align 4, !tbaa !5
  %201 = sub nsw i32 %200, 1
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = sub nsw i32 %199, %204
  store i32 %205, ptr %19, align 4, !tbaa !5
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %207 = load i32, ptr %206, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  store i32 %207, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %208

208:                                              ; preds = %234, %183
  %209 = load i32, ptr %20, align 4, !tbaa !5
  %210 = icmp slt i32 %209, 3
  br i1 %210, label %212, label %211

211:                                              ; preds = %208
  store i32 25, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %237

212:                                              ; preds = %208
  %213 = load i32, ptr %20, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = load i32, ptr %16, align 4, !tbaa !5
  %218 = sub nsw i32 %217, 1
  %219 = icmp ne i32 %216, %218
  br i1 %219, label %220, label %233

220:                                              ; preds = %212
  %221 = load i32, ptr %20, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %225 = load i32, ptr %16, align 4, !tbaa !5
  %226 = icmp ne i32 %224, %225
  br i1 %226, label %227, label %233

227:                                              ; preds = %220
  %228 = load i32, ptr %20, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %229
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %230)
  %232 = load i32, ptr %231, align 4, !tbaa !5
  store i32 %232, ptr %17, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %227, %220, %212
  br label %234

234:                                              ; preds = %233
  %235 = load i32, ptr %20, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %20, align 4, !tbaa !5
  br label %208, !llvm.loop !18

237:                                              ; preds = %211
  %238 = load i32, ptr %17, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = load i64, ptr %12, align 8, !tbaa !14
  %241 = add nsw i64 %240, %239
  store i64 %241, ptr %12, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %242

242:                                              ; preds = %237
  %243 = load i32, ptr %16, align 4, !tbaa !5
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %16, align 4, !tbaa !5
  br label %178, !llvm.loop !19

245:                                              ; preds = %182
  %246 = load i64, ptr %12, align 8, !tbaa !14
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %246)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %22, !llvm.loop !20

248:                                              ; preds = %22
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %249 = load i32, ptr %1, align 4
  ret i32 %249
}

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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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

@a = external dso_local global [100010 x i32], align 16
@MAX = external dso_local global [3 x i32], align 4
@MAXN = external dso_local local_unnamed_addr global [3 x i32], align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = add nsw i32 %10, -1
  store i32 %11, ptr %1, align 4, !tbaa !5
  %.not87 = icmp eq i32 %10, 0
  br i1 %.not87, label %._crit_edge90, label %.lr.ph89

.lr.ph89:                                         ; preds = %0, %._crit_edge86
  %12 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %2)
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %.not6068 = icmp slt i32 %13, 1
  br i1 %.not6068, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %.lr.ph89
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) @MAX, i8 0, i64 12, i1 false)
  br label %._crit_edge78

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) @MAX, i8 0, i64 12, i1 false)
  %14 = icmp sgt i32 %17, 1
  br i1 %14, label %.lr.ph77, label %._crit_edge78

.lr.ph:                                           ; preds = %.lr.ph89, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.lr.ph89 ]
  %15 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %indvars.iv
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %15)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %.not60.not = icmp slt i64 %indvars.iv, %18
  br i1 %.not60.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge78:                                    ; preds = %.loopexit, %._crit_edge.thread, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  %19 = load i32, ptr @MAXN, align 4, !tbaa !5
  %.not64 = icmp eq i32 %19, 1
  br i1 %.not64, label %47, label %44

.lr.ph77:                                         ; preds = %._crit_edge, %.loopexit
  %indvars.iv103 = phi i64 [ %indvars.iv.next104, %.loopexit ], [ 1, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %20 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %indvars.iv103
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %22 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %indvars.iv.next104
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sub nsw i32 %21, %23
  store i32 %24, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %25 = sub nsw i32 %23, %21
  store i32 %25, ptr %4, align 4, !tbaa !5
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %27 = load i32, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %28 = load i32, ptr @MAX, align 4, !tbaa !5
  %.not65.not = icmp slt i32 %27, %28
  br i1 %.not65.not, label %37, label %.lr.ph73.preheader

.lr.ph73.preheader:                               ; preds = %.lr.ph77, %37
  %.05571.lcssa.wide.ph = phi i64 [ 1, %37 ], [ 0, %.lr.ph77 ]
  %29 = getelementptr inbounds [3 x i32], ptr @MAX, i64 0, i64 %.05571.lcssa.wide.ph
  %30 = load i32, ptr getelementptr inbounds (i8, ptr @MAX, i64 4), align 4, !tbaa !5
  store i32 %30, ptr getelementptr inbounds (i8, ptr @MAX, i64 8), align 4, !tbaa !5
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 4), align 4, !tbaa !5
  store i32 %31, ptr getelementptr inbounds (i8, ptr @MAXN, i64 8), align 4, !tbaa !5
  br i1 %.not65.not, label %._crit_edge74, label %.lr.ph73.1, !llvm.loop !11

._crit_edge74:                                    ; preds = %.lr.ph73.preheader, %.lr.ph73.1, %39
  %32 = phi ptr [ getelementptr inbounds (i8, ptr @MAX, i64 8), %39 ], [ %29, %.lr.ph73.1 ], [ %29, %.lr.ph73.preheader ]
  %.05571.lcssa.wide124 = phi i64 [ 2, %39 ], [ %.05571.lcssa.wide.ph, %.lr.ph73.1 ], [ %.05571.lcssa.wide.ph, %.lr.ph73.preheader ]
  store i32 %27, ptr %32, align 4, !tbaa !5
  %33 = getelementptr inbounds [3 x i32], ptr @MAXN, i64 0, i64 %.05571.lcssa.wide124
  %34 = trunc nuw nsw i64 %indvars.iv103 to i32
  store i32 %34, ptr %33, align 4, !tbaa !5
  br label %.loopexit

.lr.ph73.1:                                       ; preds = %.lr.ph73.preheader
  %35 = load i32, ptr @MAX, align 4, !tbaa !5
  store i32 %35, ptr getelementptr inbounds (i8, ptr @MAX, i64 4), align 4, !tbaa !5
  %36 = load i32, ptr @MAXN, align 4, !tbaa !5
  store i32 %36, ptr getelementptr inbounds (i8, ptr @MAXN, i64 4), align 4, !tbaa !5
  br label %._crit_edge74

37:                                               ; preds = %.lr.ph77
  %38 = load i32, ptr getelementptr inbounds (i8, ptr @MAX, i64 4), align 4, !tbaa !5
  %.not65.1 = icmp slt i32 %27, %38
  br i1 %.not65.1, label %39, label %.lr.ph73.preheader

39:                                               ; preds = %37
  %40 = load i32, ptr getelementptr inbounds (i8, ptr @MAX, i64 8), align 4, !tbaa !5
  %.not65.2 = icmp slt i32 %27, %40
  br i1 %.not65.2, label %.loopexit, label %._crit_edge74

.loopexit:                                        ; preds = %39, %._crit_edge74
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = icmp slt i64 %indvars.iv.next104, %42
  br i1 %43, label %.lr.ph77, label %._crit_edge78, !llvm.loop !12

44:                                               ; preds = %._crit_edge78
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) @MAX)
  %46 = load i32, ptr %45, align 4, !tbaa !5
  store i32 %46, ptr %5, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %._crit_edge78, %44
  %48 = phi i32 [ 0, %._crit_edge78 ], [ %46, %44 ]
  %49 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 4), align 4, !tbaa !5
  %.not64.1 = icmp eq i32 %49, 1
  br i1 %.not64.1, label %53, label %50

50:                                               ; preds = %47
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 4))
  %52 = load i32, ptr %51, align 4, !tbaa !5
  store i32 %52, ptr %5, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %50, %47
  %54 = phi i32 [ %52, %50 ], [ %48, %47 ]
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 8), align 4, !tbaa !5
  %.not64.2 = icmp eq i32 %55, 1
  br i1 %.not64.2, label %59, label %56

56:                                               ; preds = %53
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 8))
  %58 = load i32, ptr %57, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %56, %53
  %60 = phi i32 [ %58, %56 ], [ %54, %53 ]
  store i32 0, ptr %5, align 4, !tbaa !5
  %61 = load i32, ptr @MAXN, align 4, !tbaa !5
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = add nsw i32 %62, -1
  %.not63 = icmp eq i32 %61, %63
  br i1 %.not63, label %67, label %64

64:                                               ; preds = %59
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) @MAX)
  %66 = load i32, ptr %65, align 4, !tbaa !5
  store i32 %66, ptr %5, align 4, !tbaa !5
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  %.pre120 = add nsw i32 %.pre, -1
  br label %67

67:                                               ; preds = %59, %64
  %.pre-phi = phi i32 [ %63, %59 ], [ %.pre120, %64 ]
  %68 = phi i32 [ 0, %59 ], [ %66, %64 ]
  %69 = phi i32 [ %62, %59 ], [ %.pre, %64 ]
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 4), align 4, !tbaa !5
  %.not63.1 = icmp eq i32 %70, %.pre-phi
  br i1 %.not63.1, label %74, label %71

71:                                               ; preds = %67
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 4))
  %73 = load i32, ptr %72, align 4, !tbaa !5
  store i32 %73, ptr %5, align 4, !tbaa !5
  %.pre118 = load i32, ptr %2, align 4, !tbaa !5
  %.pre121 = add nsw i32 %.pre118, -1
  br label %74

74:                                               ; preds = %71, %67
  %.pre-phi122 = phi i32 [ %.pre121, %71 ], [ %.pre-phi, %67 ]
  %75 = phi i32 [ %73, %71 ], [ %68, %67 ]
  %76 = phi i32 [ %.pre118, %71 ], [ %69, %67 ]
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 8), align 4, !tbaa !5
  %.not63.2 = icmp eq i32 %77, %.pre-phi122
  br i1 %.not63.2, label %81, label %78

78:                                               ; preds = %74
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 8))
  %80 = load i32, ptr %79, align 4, !tbaa !5
  store i32 %80, ptr %5, align 4, !tbaa !5
  %.pre119 = load i32, ptr %2, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %78, %74
  %82 = phi i32 [ %.pre119, %78 ], [ %76, %74 ]
  %83 = phi i32 [ %80, %78 ], [ %75, %74 ]
  %84 = sext i32 %60 to i64
  %85 = sext i32 %83 to i64
  %86 = add nsw i64 %85, %84
  %87 = icmp sgt i32 %82, 2
  br i1 %87, label %.lr.ph85, label %._crit_edge86

._crit_edge86:                                    ; preds = %119, %81
  %.053.lcssa = phi i64 [ %86, %81 ], [ %122, %119 ]
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %.053.lcssa)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  %89 = load i32, ptr %1, align 4, !tbaa !5
  %90 = add nsw i32 %89, -1
  store i32 %90, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %89, 0
  br i1 %.not, label %._crit_edge90, label %.lr.ph89, !llvm.loop !13

.lr.ph85:                                         ; preds = %81, %119
  %indvars.iv115 = phi i64 [ %indvars.iv.next116, %119 ], [ 2, %81 ]
  %.05382 = phi i64 [ %122, %119 ], [ %86, %81 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %91 = add nsw i64 %indvars.iv115, -1
  %92 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %94 = getelementptr inbounds [100010 x i32], ptr @a, i64 0, i64 %indvars.iv.next116
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = sub nsw i32 %93, %95
  store i32 %96, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %97 = sub nsw i32 %95, %93
  store i32 %97, ptr %8, align 4, !tbaa !5
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %99 = load i32, ptr %98, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  store i32 %99, ptr %6, align 4, !tbaa !5
  %100 = load i32, ptr @MAXN, align 4, !tbaa !5
  %101 = zext i32 %100 to i64
  %.not61 = icmp eq i64 %91, %101
  %.not62 = icmp eq i64 %indvars.iv115, %101
  %or.cond = or i1 %.not61, %.not62
  br i1 %or.cond, label %105, label %102

102:                                              ; preds = %.lr.ph85
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) @MAX)
  %104 = load i32, ptr %103, align 4, !tbaa !5
  store i32 %104, ptr %6, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %.lr.ph85, %102
  %106 = phi i32 [ %99, %.lr.ph85 ], [ %104, %102 ]
  %107 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 4), align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %.not61.1 = icmp eq i64 %91, %108
  %.not62.1 = icmp eq i64 %indvars.iv115, %108
  %or.cond.1 = or i1 %.not61.1, %.not62.1
  br i1 %or.cond.1, label %112, label %109

109:                                              ; preds = %105
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 4))
  %111 = load i32, ptr %110, align 4, !tbaa !5
  store i32 %111, ptr %6, align 4, !tbaa !5
  br label %112

112:                                              ; preds = %109, %105
  %113 = phi i32 [ %111, %109 ], [ %106, %105 ]
  %114 = load i32, ptr getelementptr inbounds (i8, ptr @MAXN, i64 8), align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %.not61.2 = icmp eq i64 %91, %115
  %.not62.2 = icmp eq i64 %indvars.iv115, %115
  %or.cond.2 = or i1 %.not61.2, %.not62.2
  br i1 %or.cond.2, label %119, label %116

116:                                              ; preds = %112
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @MAX, i64 8))
  %118 = load i32, ptr %117, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %116, %112
  %120 = phi i32 [ %118, %116 ], [ %113, %112 ]
  %121 = sext i32 %120 to i64
  %122 = add nsw i64 %.05382, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  %123 = load i32, ptr %2, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = icmp slt i64 %indvars.iv.next116, %124
  br i1 %125, label %.lr.ph85, label %._crit_edge86, !llvm.loop !14

._crit_edge90:                                    ; preds = %._crit_edge86, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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