; LLVM IR from catid/Zpng :: zstd (huf_compress)

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

; Function Attrs: nounwind uwtable
define dso_local i64 @HUF_compressWeights(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [59 x i32], align 16
  %16 = alloca [64 x i8], align 16
  %17 = alloca [13 x i32], align 16
  %18 = alloca [13 x i16], align 16
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %25, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %26, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  %28 = load i64, ptr %7, align 8, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %27, i64 %28
  store ptr %29, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 12, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 6, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 236, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 52, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 26, ptr %18) #3
  %30 = load i64, ptr %9, align 8, !tbaa !9
  %31 = icmp ule i64 %30, 1
  br i1 %31, label %32, label %33

32:                                               ; preds = %4
  store i64 0, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %143

33:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %34 = getelementptr inbounds [13 x i32], ptr %17, i64 0, i64 0
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = load i64, ptr %9, align 8, !tbaa !9
  %37 = call i64 @FSE_count_simple(ptr noundef %34, ptr noundef %13, ptr noundef %35, i64 noundef %36)
  store i64 %37, ptr %20, align 8, !tbaa !9
  %38 = load i64, ptr %20, align 8, !tbaa !9
  %39 = call i32 @ERR_isError(i64 noundef %38)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %33
  %42 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %42, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %53

43:                                               ; preds = %33
  %44 = load i64, ptr %20, align 8, !tbaa !9
  %45 = load i64, ptr %9, align 8, !tbaa !9
  %46 = icmp eq i64 %44, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %43
  store i64 1, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %53

48:                                               ; preds = %43
  %49 = load i64, ptr %20, align 8, !tbaa !9
  %50 = icmp eq i64 %49, 1
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  store i64 0, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %53

52:                                               ; preds = %48
  store i32 0, ptr %19, align 4
  br label %53

53:                                               ; preds = %52, %51, %47, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  %54 = load i32, ptr %19, align 4
  switch i32 %54, label %143 [
    i32 0, label %55
  ]

55:                                               ; preds = %53
  %56 = load i32, ptr %14, align 4, !tbaa !11
  %57 = load i64, ptr %9, align 8, !tbaa !9
  %58 = load i32, ptr %13, align 4, !tbaa !11
  %59 = call i32 @FSE_optimalTableLog(i32 noundef %56, i64 noundef %57, i32 noundef %58)
  store i32 %59, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %60 = getelementptr inbounds [13 x i16], ptr %18, i64 0, i64 0
  %61 = load i32, ptr %14, align 4, !tbaa !11
  %62 = getelementptr inbounds [13 x i32], ptr %17, i64 0, i64 0
  %63 = load i64, ptr %9, align 8, !tbaa !9
  %64 = load i32, ptr %13, align 4, !tbaa !11
  %65 = call i64 @FSE_normalizeCount(ptr noundef %60, i32 noundef %61, ptr noundef %62, i64 noundef %63, i32 noundef %64)
  store i64 %65, ptr %21, align 8, !tbaa !9
  %66 = load i64, ptr %21, align 8, !tbaa !9
  %67 = call i32 @ERR_isError(i64 noundef %66)
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %55
  %70 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %70, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %72

71:                                               ; preds = %55
  store i32 0, ptr %19, align 4
  br label %72

72:                                               ; preds = %71, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  %73 = load i32, ptr %19, align 4
  switch i32 %73, label %143 [
    i32 0, label %74
  ]

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = ptrtoint ptr %76 to i64
  %79 = ptrtoint ptr %77 to i64
  %80 = sub i64 %78, %79
  %81 = getelementptr inbounds [13 x i16], ptr %18, i64 0, i64 0
  %82 = load i32, ptr %13, align 4, !tbaa !11
  %83 = load i32, ptr %14, align 4, !tbaa !11
  %84 = call i64 @FSE_writeNCount(ptr noundef %75, i64 noundef %80, ptr noundef %81, i32 noundef %82, i32 noundef %83)
  store i64 %84, ptr %22, align 8, !tbaa !9
  %85 = load i64, ptr %22, align 8, !tbaa !9
  %86 = call i32 @ERR_isError(i64 noundef %85)
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %90

88:                                               ; preds = %74
  %89 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %89, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %94

90:                                               ; preds = %74
  %91 = load i64, ptr %22, align 8, !tbaa !9
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 %91
  store ptr %93, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %19, align 4
  br label %94

94:                                               ; preds = %90, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  %95 = load i32, ptr %19, align 4
  switch i32 %95, label %143 [
    i32 0, label %96
  ]

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %97 = getelementptr inbounds [59 x i32], ptr %15, i64 0, i64 0
  %98 = getelementptr inbounds [13 x i16], ptr %18, i64 0, i64 0
  %99 = load i32, ptr %13, align 4, !tbaa !11
  %100 = load i32, ptr %14, align 4, !tbaa !11
  %101 = getelementptr inbounds [64 x i8], ptr %16, i64 0, i64 0
  %102 = call i64 @FSE_buildCTable_wksp(ptr noundef %97, ptr noundef %98, i32 noundef %99, i32 noundef %100, ptr noundef %101, i64 noundef 64)
  store i64 %102, ptr %23, align 8, !tbaa !9
  %103 = load i64, ptr %23, align 8, !tbaa !9
  %104 = call i32 @ERR_isError(i64 noundef %103)
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %96
  %107 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %107, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %109

108:                                              ; preds = %96
  store i32 0, ptr %19, align 4
  br label %109

109:                                              ; preds = %108, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  %110 = load i32, ptr %19, align 4
  switch i32 %110, label %143 [
    i32 0, label %111
  ]

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = ptrtoint ptr %113 to i64
  %116 = ptrtoint ptr %114 to i64
  %117 = sub i64 %115, %116
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load i64, ptr %9, align 8, !tbaa !9
  %120 = getelementptr inbounds [59 x i32], ptr %15, i64 0, i64 0
  %121 = call i64 @FSE_compress_usingCTable(ptr noundef %112, i64 noundef %117, ptr noundef %118, i64 noundef %119, ptr noundef %120)
  store i64 %121, ptr %24, align 8, !tbaa !9
  %122 = load i64, ptr %24, align 8, !tbaa !9
  %123 = call i32 @ERR_isError(i64 noundef %122)
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %127

125:                                              ; preds = %111
  %126 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %126, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %135

127:                                              ; preds = %111
  %128 = load i64, ptr %24, align 8, !tbaa !9
  %129 = icmp eq i64 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %127
  store i64 0, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %135

131:                                              ; preds = %127
  %132 = load i64, ptr %24, align 8, !tbaa !9
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %133, i64 %132
  store ptr %134, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %19, align 4
  br label %135

135:                                              ; preds = %131, %130, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  %136 = load i32, ptr %19, align 4
  switch i32 %136, label %143 [
    i32 0, label %137
  ]

137:                                              ; preds = %135
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = ptrtoint ptr %138 to i64
  %141 = ptrtoint ptr %139 to i64
  %142 = sub i64 %140, %141
  store i64 %142, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %143

143:                                              ; preds = %137, %135, %109, %94, %72, %53, %32
  call void @llvm.lifetime.end.p0(i64 26, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 52, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 236, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %144 = load i64, ptr %5, align 8
  ret i64 %144
}

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

declare i64 @FSE_count_simple(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) #0

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

declare i32 @FSE_optimalTableLog(i32 noundef, i64 noundef, i32 noundef) #2

declare i64 @FSE_normalizeCount(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2

declare i64 @FSE_writeNCount(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare i64 @FSE_buildCTable_wksp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) #2

declare i64 @FSE_compress_usingCTable(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #2

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 = { "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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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

; Function Attrs: nounwind uwtable
define dso_local i64 @HUF_compressWeights(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = alloca i32, align 4
  %6 = alloca [59 x i32], align 16
  %7 = alloca [64 x i8], align 16
  %8 = alloca [13 x i32], align 16
  %9 = alloca [13 x i16], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  store i32 12, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 236, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 52, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 26, ptr nonnull %9) #3
  %10 = icmp ult i64 %3, 2
  br i1 %10, label %.thread, label %11

11:                                               ; preds = %4
  %12 = call i64 @FSE_count_simple(ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef %2, i64 noundef %3) #3
  %13 = call i32 @ERR_isError(i64 noundef %12)
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %14, label %.thread

14:                                               ; preds = %11
  %15 = icmp eq i64 %12, %3
  br i1 %15, label %.thread, label %16

16:                                               ; preds = %14
  %.not72 = icmp eq i64 %12, 1
  br i1 %.not72, label %.thread, label %17

17:                                               ; preds = %16
  %18 = load i32, ptr %5, align 4, !tbaa !5
  %19 = call i32 @FSE_optimalTableLog(i32 noundef 6, i64 noundef %3, i32 noundef %18) #3
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %21 = call i64 @FSE_normalizeCount(ptr noundef nonnull %9, i32 noundef %19, ptr noundef nonnull %8, i64 noundef %3, i32 noundef %20) #3
  %22 = call i32 @ERR_isError(i64 noundef %21)
  %.not60 = icmp eq i32 %22, 0
  br i1 %.not60, label %23, label %.thread

23:                                               ; preds = %17
  %24 = ptrtoint ptr %0 to i64
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = call i64 @FSE_writeNCount(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %9, i32 noundef %25, i32 noundef %19) #3
  %27 = call i32 @ERR_isError(i64 noundef %26)
  %.not61 = icmp eq i32 %27, 0
  %28 = getelementptr inbounds i8, ptr %0, i64 %26
  br i1 %.not61, label %29, label %.thread

29:                                               ; preds = %23
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = call i64 @FSE_buildCTable_wksp(ptr noundef nonnull %6, ptr noundef nonnull %9, i32 noundef %30, i32 noundef %19, ptr noundef nonnull %7, i64 noundef 64) #3
  %32 = call i32 @ERR_isError(i64 noundef %31)
  %.not62 = icmp eq i32 %32, 0
  br i1 %.not62, label %33, label %.thread

33:                                               ; preds = %29
  %gepdiff = sub nsw i64 %1, %26
  %34 = call i64 @FSE_compress_usingCTable(ptr noundef %28, i64 noundef %gepdiff, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %6) #3
  %35 = call i32 @ERR_isError(i64 noundef %34)
  %.not63 = icmp eq i32 %35, 0
  br i1 %.not63, label %36, label %.thread

36:                                               ; preds = %33
  %37 = icmp eq i64 %34, 0
  br i1 %37, label %.thread, label %38

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %28, i64 %34
  %40 = ptrtoint ptr %39 to i64
  %41 = sub i64 %40, %24
  br label %.thread

.thread:                                          ; preds = %36, %33, %14, %11, %4, %29, %23, %17, %16, %38
  %.5 = phi i64 [ %41, %38 ], [ %31, %29 ], [ %26, %23 ], [ %21, %17 ], [ 0, %16 ], [ 0, %4 ], [ 1, %14 ], [ %12, %11 ], [ 0, %36 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 52, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 236, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  ret i64 %.5
}

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

declare i64 @FSE_count_simple(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) local_unnamed_addr #0

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

declare i32 @FSE_optimalTableLog(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

declare i64 @FSE_normalizeCount(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

declare i64 @FSE_writeNCount(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i64 @FSE_buildCTable_wksp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @FSE_compress_usingCTable(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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 = { "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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass