; LLVM IR from dloebl/cgif :: tests (stripe_pattern_interlaced)

; 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.st_gifconfig = type { ptr, ptr, i32, i32, i16, i16, i16, i16, ptr, ptr }
%struct.st_frameconfig = type { ptr, ptr, i32, i32, i16, i16, i8 }

@__const.main.aPalette = external hidden unnamed_addr constant [6 x i8], align 1
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca %struct.st_gifconfig, align 8
  %4 = alloca %struct.st_frameconfig, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca [6 x i8], align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 6, ptr %7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.aPalette, i64 6, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 48, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 32, i1 false)
  %10 = getelementptr inbounds %struct.st_gifconfig, ptr %3, i32 0, i32 4
  store i16 1000, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.st_gifconfig, ptr %3, i32 0, i32 5
  store i16 1000, ptr %11, align 2, !tbaa !12
  %12 = getelementptr inbounds [6 x i8], ptr %7, i64 0, i64 0
  %13 = getelementptr inbounds %struct.st_gifconfig, ptr %3, i32 0, i32 0
  store ptr %12, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds %struct.st_gifconfig, ptr %3, i32 0, i32 6
  store i16 2, ptr %14, align 4, !tbaa !14
  %15 = getelementptr inbounds %struct.st_gifconfig, ptr %3, i32 0, i32 1
  store ptr @.str, ptr %15, align 8, !tbaa !15
  %16 = call ptr @cgif_newgif(ptr noundef %3)
  store ptr %16, ptr %2, align 8, !tbaa !16
  %17 = load ptr, ptr %2, align 8, !tbaa !16
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %22

19:                                               ; preds = %0
  %20 = load ptr, ptr @stderr, align 8, !tbaa !16
  %21 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %20)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %56

22:                                               ; preds = %0
  %23 = call noalias ptr @malloc(i64 noundef 1000000) #8
  store ptr %23, ptr %5, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !17
  br label %24

24:                                               ; preds = %37, %22
  %25 = load i32, ptr %9, align 4, !tbaa !17
  %26 = icmp slt i32 %25, 1000
  br i1 %26, label %28, label %27

27:                                               ; preds = %24
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %40

28:                                               ; preds = %24
  %29 = load ptr, ptr %5, align 8, !tbaa !16
  %30 = load i32, ptr %9, align 4, !tbaa !17
  %31 = mul nsw i32 %30, 1000
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds i8, ptr %29, i64 %32
  %34 = load i32, ptr %9, align 4, !tbaa !17
  %35 = srem i32 %34, 2
  %36 = trunc i32 %35 to i8
  call void @llvm.memset.p0.i64(ptr align 1 %33, i8 %36, i64 1000, i1 false)
  br label %37

37:                                               ; preds = %28
  %38 = load i32, ptr %9, align 4, !tbaa !17
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %9, align 4, !tbaa !17
  br label %24, !llvm.loop !18

40:                                               ; preds = %27
  %41 = load ptr, ptr %5, align 8, !tbaa !16
  %42 = getelementptr inbounds %struct.st_frameconfig, ptr %4, i32 0, i32 1
  store ptr %41, ptr %42, align 8, !tbaa !20
  %43 = getelementptr inbounds %struct.st_frameconfig, ptr %4, i32 0, i32 2
  store i32 8, ptr %43, align 8, !tbaa !22
  %44 = load ptr, ptr %2, align 8, !tbaa !16
  %45 = call i32 @cgif_addframe(ptr noundef %44, ptr noundef %4)
  store i32 %45, ptr %6, align 4, !tbaa !17
  %46 = load ptr, ptr %5, align 8, !tbaa !16
  call void @free(ptr noundef %46) #7
  %47 = load ptr, ptr %2, align 8, !tbaa !16
  %48 = call i32 @cgif_close(ptr noundef %47)
  store i32 %48, ptr %6, align 4, !tbaa !17
  %49 = load i32, ptr %6, align 4, !tbaa !17
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %55

51:                                               ; preds = %40
  %52 = load ptr, ptr @stderr, align 8, !tbaa !16
  %53 = load i32, ptr %6, align 4, !tbaa !17
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.2, i32 noundef %53) #7
  store i32 2, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %56

55:                                               ; preds = %40
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %56

56:                                               ; preds = %55, %51, %19
  call void @llvm.lifetime.end.p0(i64 6, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %57 = load i32, ptr %1, align 4
  ret i32 %57
}

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

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

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

declare ptr @cgif_newgif(ptr noundef) #4

declare i32 @fputs(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

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

declare i32 @cgif_addframe(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #6

declare i32 @cgif_close(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "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 allocsize(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 #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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, !11, i64 24}
!6 = !{!"st_gifconfig", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 26, !11, i64 28, !11, i64 30, !7, i64 32, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!6, !11, i64 26}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !11, i64 28}
!15 = !{!6, !7, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 8}
!21 = !{!"st_frameconfig", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 26, !8, i64 28}
!22 = !{!21, !10, i64 16}


; 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.st_gifconfig = type { ptr, ptr, i32, i32, i16, i16, i16, i16, ptr, ptr }
%struct.st_frameconfig = type { ptr, ptr, i32, i32, i16, i16, i8 }

@__const.main.aPalette = external hidden unnamed_addr constant [6 x i8], align 1
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.st_gifconfig, align 8
  %2 = alloca %struct.st_frameconfig, align 8
  %3 = alloca [6 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %3) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %3, ptr noundef nonnull align 1 dereferenceable(6) @__const.main.aPalette, i64 6, i1 false)
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %4, i8 0, i64 32, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false)
  %5 = getelementptr inbounds i8, ptr %1, i64 24
  store i16 1000, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 26
  store i16 1000, ptr %6, align 2, !tbaa !12
  store ptr %3, ptr %1, align 8, !tbaa !13
  %7 = getelementptr inbounds i8, ptr %1, i64 28
  store i16 2, ptr %7, align 4, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr @.str, ptr %8, align 8, !tbaa !15
  %9 = call ptr @cgif_newgif(ptr noundef nonnull %1) #8
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %14

11:                                               ; preds = %0
  %12 = load ptr, ptr @stderr, align 8, !tbaa !16
  %13 = call i32 @fputs(ptr noundef nonnull @.str.1, ptr noundef %12) #9
  br label %43

14:                                               ; preds = %0
  %15 = call noalias dereferenceable_or_null(1000000) ptr @malloc(i64 noundef 1000000) #10
  %invariant.gep = getelementptr i8, ptr %15, i64 2000
  %invariant.gep17 = getelementptr i8, ptr %15, i64 4000
  br label %21

16:                                               ; preds = %21
  %17 = getelementptr inbounds i8, ptr %2, i64 8
  store ptr %15, ptr %17, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 8, ptr %18, align 8, !tbaa !19
  %19 = call i32 @cgif_addframe(ptr noundef nonnull %9, ptr noundef nonnull %2) #8
  call void @free(ptr noundef nonnull %15) #8
  %20 = call i32 @cgif_close(ptr noundef nonnull %9) #8
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %43, label %40

21:                                               ; preds = %21, %14
  %indvars.iv = phi i64 [ 0, %14 ], [ %indvars.iv.next.4, %21 ]
  %22 = mul nuw nsw i64 %indvars.iv, 1000
  %23 = getelementptr inbounds i8, ptr %15, i64 %22
  %24 = trunc i64 %indvars.iv to i8
  %25 = and i8 %24, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1000) %23, i8 %25, i64 1000, i1 false)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %26 = mul nuw nsw i64 %indvars.iv.next, 1000
  %27 = getelementptr inbounds i8, ptr %15, i64 %26
  %28 = trunc i64 %indvars.iv.next to i8
  %29 = and i8 %28, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1000) %27, i8 %29, i64 1000, i1 false)
  %30 = mul nuw i64 %indvars.iv, 1000
  %gep = getelementptr i8, ptr %invariant.gep, i64 %30
  %31 = trunc i64 %indvars.iv to i8
  %32 = and i8 %31, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1000) %gep, i8 %32, i64 1000, i1 false)
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %33 = mul nuw nsw i64 %indvars.iv.next.2, 1000
  %34 = getelementptr inbounds i8, ptr %15, i64 %33
  %35 = trunc i64 %indvars.iv.next.2 to i8
  %36 = and i8 %35, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1000) %34, i8 %36, i64 1000, i1 false)
  %37 = mul nuw i64 %indvars.iv, 1000
  %gep18 = getelementptr i8, ptr %invariant.gep17, i64 %37
  %38 = trunc i64 %indvars.iv to i8
  %39 = and i8 %38, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1000) %gep18, i8 %39, i64 1000, i1 false)
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 1000
  br i1 %exitcond.not.4, label %16, label %21, !llvm.loop !20

40:                                               ; preds = %16
  %41 = load ptr, ptr @stderr, align 8, !tbaa !16
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.2, i32 noundef %20) #11
  br label %43

43:                                               ; preds = %16, %40, %11
  %.012 = phi i32 [ 1, %11 ], [ 2, %40 ], [ 0, %16 ]
  call void @llvm.lifetime.end.p0(i64 6, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #8
  ret i32 %.012
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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

declare ptr @cgif_newgif(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(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 i32 @cgif_addframe(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

declare i32 @cgif_close(ptr noundef) local_unnamed_addr #4

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #8 = { nounwind }
attributes #9 = { cold }
attributes #10 = { nounwind allocsize(0) }
attributes #11 = { cold 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, !11, i64 24}
!6 = !{!"st_gifconfig", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 26, !11, i64 28, !11, i64 30, !7, i64 32, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!6, !11, i64 26}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !11, i64 28}
!15 = !{!6, !7, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"st_frameconfig", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 26, !8, i64 28}
!19 = !{!18, !10, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopUnrollPass,SROAPass,SimplifyCFGPass