; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (r8lib)

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

@sort_heap_external.i_save = external hidden global i32, align 4
@sort_heap_external.j_save = external hidden global i32, align 4
@sort_heap_external.k = external hidden global i32, align 4
@sort_heap_external.k1 = external hidden global i32, align 4
@sort_heap_external.n1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @sort_heap_external(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !5
  %11 = load ptr, ptr %7, align 8, !tbaa !9
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %19

14:                                               ; preds = %5
  store i32 0, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 0, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %15 = load i32, ptr %6, align 4, !tbaa !5
  %16 = sdiv i32 %15, 2
  store i32 %16, ptr @sort_heap_external.k, align 4, !tbaa !5
  %17 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %17, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %18 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %18, ptr @sort_heap_external.n1, align 4, !tbaa !5
  br label %80

19:                                               ; preds = %5
  %20 = load ptr, ptr %7, align 8, !tbaa !9
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = icmp slt i32 %21, 0
  br i1 %22, label %23, label %72

23:                                               ; preds = %19
  %24 = load ptr, ptr %7, align 8, !tbaa !9
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = icmp eq i32 %25, -2
  br i1 %26, label %27, label %41

27:                                               ; preds = %23
  %28 = load i32, ptr %10, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %27
  %31 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %30, %27
  %34 = load i32, ptr @sort_heap_external.k1, align 4, !tbaa !5
  store i32 %34, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %35 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 %35, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 -1, ptr %36, align 4, !tbaa !5
  %37 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %37, ptr %38, align 4, !tbaa !5
  %39 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %39, ptr %40, align 4, !tbaa !5
  br label %135

41:                                               ; preds = %23
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = icmp slt i32 0, %42
  br i1 %43, label %44, label %50

44:                                               ; preds = %41
  %45 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 2, ptr %45, align 4, !tbaa !5
  %46 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %46, ptr %47, align 4, !tbaa !5
  %48 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %49 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %48, ptr %49, align 4, !tbaa !5
  br label %135

50:                                               ; preds = %41
  %51 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  %52 = icmp sle i32 %51, 1
  br i1 %52, label %53, label %68

53:                                               ; preds = %50
  %54 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %56, label %58

56:                                               ; preds = %53
  store i32 0, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 0, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %57 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 0, ptr %57, align 4, !tbaa !5
  br label %63

58:                                               ; preds = %53
  %59 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  store i32 %59, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 1, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %60 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %61 = sub nsw i32 %60, 1
  store i32 %61, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 1, ptr %62, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %58, %56
  %64 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %64, ptr %65, align 4, !tbaa !5
  %66 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %67 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %66, ptr %67, align 4, !tbaa !5
  br label %135

68:                                               ; preds = %50
  %69 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  %70 = sub nsw i32 %69, 1
  store i32 %70, ptr @sort_heap_external.k, align 4, !tbaa !5
  %71 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %71, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %79

72:                                               ; preds = %19
  %73 = load ptr, ptr %7, align 8, !tbaa !9
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %76, label %78

76:                                               ; preds = %72
  %77 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %77, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %76, %72
  br label %79

79:                                               ; preds = %78, %68
  br label %80

80:                                               ; preds = %79, %14
  br label %81

81:                                               ; preds = %112, %80
  %82 = load i32, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %83 = mul nsw i32 2, %82
  store i32 %83, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %84 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %85 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %86 = icmp eq i32 %84, %85
  br i1 %86, label %87, label %95

87:                                               ; preds = %81
  %88 = load i32, ptr @sort_heap_external.k1, align 4, !tbaa !5
  store i32 %88, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %89 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 %89, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 -1, ptr %90, align 4, !tbaa !5
  %91 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %92 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %91, ptr %92, align 4, !tbaa !5
  %93 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %93, ptr %94, align 4, !tbaa !5
  br label %135

95:                                               ; preds = %81
  %96 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %97 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %98 = icmp sle i32 %96, %97
  br i1 %98, label %99, label %107

99:                                               ; preds = %95
  %100 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %102 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 -2, ptr %102, align 4, !tbaa !5
  %103 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %104 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %103, ptr %104, align 4, !tbaa !5
  %105 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %106 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %105, ptr %106, align 4, !tbaa !5
  br label %135

107:                                              ; preds = %95
  br label %108

108:                                              ; preds = %107
  %109 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  %110 = icmp sle i32 %109, 1
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  br label %116

112:                                              ; preds = %108
  %113 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  %114 = sub nsw i32 %113, 1
  store i32 %114, ptr @sort_heap_external.k, align 4, !tbaa !5
  %115 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %115, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %81

116:                                              ; preds = %111
  %117 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %118 = icmp eq i32 %117, 1
  br i1 %118, label %119, label %125

119:                                              ; preds = %116
  store i32 0, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 0, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 0, ptr %120, align 4, !tbaa !5
  %121 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %122 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %121, ptr %122, align 4, !tbaa !5
  %123 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %124 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %123, ptr %124, align 4, !tbaa !5
  br label %134

125:                                              ; preds = %116
  %126 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  store i32 %126, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 1, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %127 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %128 = sub nsw i32 %127, 1
  store i32 %128, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %129 = load ptr, ptr %7, align 8, !tbaa !9
  store i32 1, ptr %129, align 4, !tbaa !5
  %130 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %131 = load ptr, ptr %8, align 8, !tbaa !9
  store i32 %130, ptr %131, align 4, !tbaa !5
  %132 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %133 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 %132, ptr %133, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %125, %119
  br label %135

135:                                              ; preds = %134, %99, %87, %63, %44, %33
  ret void
}

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

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

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

@sort_heap_external.i_save = external hidden local_unnamed_addr global i32, align 4
@sort_heap_external.j_save = external hidden local_unnamed_addr global i32, align 4
@sort_heap_external.k = external hidden local_unnamed_addr global i32, align 4
@sort_heap_external.k1 = external hidden local_unnamed_addr global i32, align 4
@sort_heap_external.n1 = external hidden local_unnamed_addr global i32, align 4

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @sort_heap_external(i32 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %8, label %10

8:                                                ; preds = %5
  %9 = sdiv i32 %0, 2
  store i32 %9, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %9, ptr @sort_heap_external.k1, align 4, !tbaa !5
  store i32 %0, ptr @sort_heap_external.n1, align 4, !tbaa !5
  br label %38

10:                                               ; preds = %5
  %11 = icmp slt i32 %6, 0
  br i1 %11, label %12, label %34

12:                                               ; preds = %10
  %13 = icmp eq i32 %6, -2
  br i1 %13, label %14, label %21

14:                                               ; preds = %12
  %15 = icmp slt i32 %4, 0
  %.pre = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  br i1 %15, label %16, label %18

16:                                               ; preds = %14
  %17 = add nsw i32 %.pre, 1
  store i32 %17, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %16, %14
  %19 = phi i32 [ %17, %16 ], [ %.pre, %14 ]
  %20 = load i32, ptr @sort_heap_external.k1, align 4, !tbaa !5
  store i32 %20, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  store i32 %19, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %57

21:                                               ; preds = %12
  %22 = icmp sgt i32 %4, 0
  br i1 %22, label %57, label %23

23:                                               ; preds = %21
  %24 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  %25 = icmp slt i32 %24, 2
  br i1 %25, label %26, label %32

26:                                               ; preds = %23
  %27 = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %31, label %29

29:                                               ; preds = %26
  %30 = add nsw i32 %27, -1
  store i32 %30, ptr @sort_heap_external.n1, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %26, %29
  %.sink51 = phi i32 [ %27, %29 ], [ 0, %26 ]
  %.sink = phi i32 [ 1, %29 ], [ 0, %26 ]
  store i32 %.sink51, ptr @sort_heap_external.i_save, align 4
  store i32 %.sink, ptr @sort_heap_external.j_save, align 4
  br label %57

32:                                               ; preds = %23
  %33 = add nsw i32 %24, -1
  store i32 %33, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %33, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %thread-pre-split

34:                                               ; preds = %10
  %35 = icmp eq i32 %6, 1
  br i1 %35, label %36, label %._crit_edge52

._crit_edge52:                                    ; preds = %34
  %sort_heap_external.k1.promoted.pre = load i32, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %sort_heap_external.k.promoted.pre = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  br label %thread-pre-split

36:                                               ; preds = %34
  %37 = load i32, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %37, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %36, %32, %._crit_edge52
  %sort_heap_external.k.promoted.ph = phi i32 [ %37, %36 ], [ %33, %32 ], [ %sort_heap_external.k.promoted.pre, %._crit_edge52 ]
  %sort_heap_external.k1.promoted.ph = phi i32 [ %37, %36 ], [ %33, %32 ], [ %sort_heap_external.k1.promoted.pre, %._crit_edge52 ]
  %.pr = load i32, ptr @sort_heap_external.n1, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %thread-pre-split, %8
  %39 = phi i32 [ %.pr, %thread-pre-split ], [ %0, %8 ]
  %sort_heap_external.k.promoted = phi i32 [ %sort_heap_external.k.promoted.ph, %thread-pre-split ], [ %9, %8 ]
  %sort_heap_external.k1.promoted = phi i32 [ %sort_heap_external.k1.promoted.ph, %thread-pre-split ], [ %9, %8 ]
  %40 = shl nsw i32 %sort_heap_external.k1.promoted, 1
  %41 = icmp eq i32 %40, %39
  br i1 %41, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %48, %38
  %.lcssa39 = phi i32 [ %sort_heap_external.k1.promoted, %38 ], [ %49, %48 ]
  store i32 %39, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 %.lcssa39, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  store i32 %39, ptr @sort_heap_external.k1, align 4, !tbaa !5
  br label %57

.lr.ph:                                           ; preds = %38, %48
  %42 = phi i32 [ %50, %48 ], [ %40, %38 ]
  %43 = phi i32 [ %49, %48 ], [ %sort_heap_external.k.promoted, %38 ]
  %.not = icmp sgt i32 %42, %39
  br i1 %.not, label %46, label %44

44:                                               ; preds = %.lr.ph
  store i32 %42, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  %45 = or disjoint i32 %42, 1
  store i32 %45, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  br label %57

46:                                               ; preds = %.lr.ph
  %47 = icmp slt i32 %43, 2
  br i1 %47, label %52, label %48

48:                                               ; preds = %46
  %49 = add nsw i32 %43, -1
  store i32 %49, ptr @sort_heap_external.k, align 4, !tbaa !5
  store i32 %49, ptr @sort_heap_external.k1, align 4, !tbaa !5
  %50 = shl nuw nsw i32 %49, 1
  %51 = icmp eq i32 %50, %39
  br i1 %51, label %._crit_edge, label %.lr.ph

52:                                               ; preds = %46
  %53 = icmp eq i32 %39, 1
  br i1 %53, label %54, label %55

54:                                               ; preds = %52
  store i32 0, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 0, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  br label %57

55:                                               ; preds = %52
  store i32 %39, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 1, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  %56 = add nsw i32 %39, -1
  store i32 %56, ptr @sort_heap_external.n1, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %21, %54, %55, %44, %._crit_edge, %31, %18
  %.sink60 = phi i32 [ 0, %54 ], [ 1, %55 ], [ -2, %44 ], [ -1, %._crit_edge ], [ %.sink, %31 ], [ -1, %18 ], [ 2, %21 ]
  store i32 %.sink60, ptr %1, align 4, !tbaa !5
  %58 = load i32, ptr @sort_heap_external.i_save, align 4, !tbaa !5
  store i32 %58, ptr %2, align 4, !tbaa !5
  %59 = load i32, ptr @sort_heap_external.j_save, align 4, !tbaa !5
  store i32 %59, ptr %3, align 4, !tbaa !5
  ret void
}

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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" }

!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,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass