; LLVM IR from vczh/herodb :: Kernel/Source/Vlpp.ll (ZN2vl5regex19RegexLexerColorizer8ColorizeEPKwlPFvPvlllES4_)

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

%"class.vl::regex::RegexLexerColorizer" = type { %"class.vl::Object", %"class.vl::regex::RegexLexerWalker", i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::regex::RegexLexerWalker" = type { %"class.vl::Object", ptr, ptr }

; 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 uwtable
declare dso_local noundef i64 @_ZNK2vl5regex16RegexLexerWalker15GetRelatedTokenEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl5regex16RegexLexerWalker4WalkEwRlS2_RbS3_(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef signext, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl5regex19RegexLexerColorizer8ColorizeEPKwlPFvPvlllES4_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #1 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  store i64 0, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  store i64 -1, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  store i64 -1, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  store i64 0, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  store i64 -1, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #2
  store i8 0, ptr %17, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #2
  store i8 0, ptr %18, align 1, !tbaa !11
  br label %21

21:                                               ; preds = %77, %5
  %22 = load i64, ptr %15, align 8, !tbaa !9
  %23 = load i64, ptr %8, align 8, !tbaa !9
  %24 = icmp slt i64 %22, %23
  br i1 %24, label %25, label %80

25:                                               ; preds = %21
  store i64 -1, ptr %16, align 8, !tbaa !9
  store i8 0, ptr %17, align 1, !tbaa !11
  store i8 0, ptr %18, align 1, !tbaa !11
  %26 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 1
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = load i64, ptr %15, align 8, !tbaa !9
  %29 = getelementptr inbounds i32, ptr %27, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !13
  %31 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 2
  call void @_ZNK2vl5regex16RegexLexerWalker4WalkEwRlS2_RbS3_(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef signext %30, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
  %32 = load i8, ptr %18, align 1, !tbaa !11, !range !15, !noundef !16
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %68

34:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #2
  %35 = load i64, ptr %12, align 8, !tbaa !9
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = sub nsw i64 %35, %36
  store i64 %37, ptr %19, align 8, !tbaa !9
  %38 = load i64, ptr %19, align 8, !tbaa !9
  %39 = icmp sgt i64 %38, 0
  br i1 %39, label %40, label %51

40:                                               ; preds = %34
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = load i64, ptr %11, align 8, !tbaa !9
  %44 = load i64, ptr %19, align 8, !tbaa !9
  %45 = load i64, ptr %14, align 8, !tbaa !9
  call void %41(ptr noundef %42, i64 noundef %43, i64 noundef %44, i64 noundef %45)
  %46 = load i64, ptr %13, align 8, !tbaa !9
  %47 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 2
  store i64 %46, ptr %47, align 8, !tbaa !17
  %48 = load i64, ptr %12, align 8, !tbaa !9
  store i64 %48, ptr %11, align 8, !tbaa !9
  %49 = load i64, ptr %12, align 8, !tbaa !9
  %50 = sub nsw i64 %49, 1
  store i64 %50, ptr %15, align 8, !tbaa !9
  store i64 -1, ptr %13, align 8, !tbaa !9
  store i64 -1, ptr %14, align 8, !tbaa !9
  store i8 0, ptr %17, align 1, !tbaa !11
  br label %67

51:                                               ; preds = %34
  %52 = load i64, ptr %12, align 8, !tbaa !9
  %53 = load i64, ptr %15, align 8, !tbaa !9
  %54 = icmp slt i64 %52, %53
  br i1 %54, label %55, label %66

55:                                               ; preds = %51
  %56 = load i64, ptr %15, align 8, !tbaa !9
  %57 = add nsw i64 %56, 1
  store i64 %57, ptr %12, align 8, !tbaa !9
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = load i64, ptr %11, align 8, !tbaa !9
  %61 = load i64, ptr %12, align 8, !tbaa !9
  %62 = load i64, ptr %11, align 8, !tbaa !9
  %63 = sub nsw i64 %61, %62
  call void %58(ptr noundef %59, i64 noundef %60, i64 noundef %63, i64 noundef -1)
  %64 = load i64, ptr %15, align 8, !tbaa !9
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %11, align 8, !tbaa !9
  store i64 -1, ptr %13, align 8, !tbaa !9
  store i64 -1, ptr %14, align 8, !tbaa !9
  br label %66

66:                                               ; preds = %55, %51
  br label %67

67:                                               ; preds = %66, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #2
  br label %68

68:                                               ; preds = %67, %25
  %69 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %77

71:                                               ; preds = %68
  %72 = load i64, ptr %15, align 8, !tbaa !9
  %73 = add nsw i64 %72, 1
  store i64 %73, ptr %12, align 8, !tbaa !9
  %74 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 2
  %75 = load i64, ptr %74, align 8, !tbaa !17
  store i64 %75, ptr %13, align 8, !tbaa !9
  %76 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %76, ptr %14, align 8, !tbaa !9
  br label %77

77:                                               ; preds = %71, %68
  %78 = load i64, ptr %15, align 8, !tbaa !9
  %79 = add nsw i64 %78, 1
  store i64 %79, ptr %15, align 8, !tbaa !9
  br label %21, !llvm.loop !21

80:                                               ; preds = %21
  %81 = load i64, ptr %11, align 8, !tbaa !9
  %82 = load i64, ptr %8, align 8, !tbaa !9
  %83 = icmp slt i64 %81, %82
  br i1 %83, label %84, label %107

84:                                               ; preds = %80
  %85 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %95

87:                                               ; preds = %84
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = load i64, ptr %11, align 8, !tbaa !9
  %91 = load i64, ptr %8, align 8, !tbaa !9
  %92 = load i64, ptr %11, align 8, !tbaa !9
  %93 = sub nsw i64 %91, %92
  %94 = load i64, ptr %14, align 8, !tbaa !9
  call void %88(ptr noundef %89, i64 noundef %90, i64 noundef %93, i64 noundef %94)
  br label %106

95:                                               ; preds = %84
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load i64, ptr %11, align 8, !tbaa !9
  %99 = load i64, ptr %8, align 8, !tbaa !9
  %100 = load i64, ptr %11, align 8, !tbaa !9
  %101 = sub nsw i64 %99, %100
  %102 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 1
  %103 = getelementptr inbounds %"class.vl::regex::RegexLexerColorizer", ptr %20, i32 0, i32 2
  %104 = load i64, ptr %103, align 8, !tbaa !17
  %105 = call noundef i64 @_ZNK2vl5regex16RegexLexerWalker15GetRelatedTokenEl(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104)
  call void %96(ptr noundef %97, i64 noundef %98, i64 noundef %101, i64 noundef %105)
  br label %106

106:                                              ; preds = %95, %87
  br label %107

107:                                              ; preds = %106, %80
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"wchar_t", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !10, i64 32}
!18 = !{!"_ZTSN2vl5regex19RegexLexerColorizerE", !19, i64 0, !20, i64 8, !10, i64 32}
!19 = !{!"_ZTSN2vl6ObjectE"}
!20 = !{!"_ZTSN2vl5regex16RegexLexerWalkerE", !19, i64 0, !6, i64 8, !6, i64 16}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; 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: 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 uwtable
declare dso_local noundef i64 @_ZNK2vl5regex16RegexLexerWalker15GetRelatedTokenEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl5regex16RegexLexerWalker4WalkEwRlS2_RbS3_(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef signext, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl5regex19RegexLexerColorizer8ColorizeEPKwlPFvPvlllES4_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) local_unnamed_addr #1 align 2 {
  %6 = alloca i64, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #2
  %9 = icmp sgt i64 %2, 0
  br i1 %9, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  br label %12

12:                                               ; preds = %.lr.ph, %27
  %.059 = phi i64 [ 0, %.lr.ph ], [ %.2, %27 ]
  %.03958 = phi i64 [ 0, %.lr.ph ], [ %30, %27 ]
  %.04257 = phi i64 [ -1, %.lr.ph ], [ %.3, %27 ]
  %.04556 = phi i64 [ -1, %.lr.ph ], [ %.348, %27 ]
  %.04955 = phi i64 [ 0, %.lr.ph ], [ %.352, %27 ]
  store i64 -1, ptr %6, align 8, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !9
  store i8 0, ptr %8, align 1, !tbaa !9
  %13 = getelementptr inbounds i32, ptr %1, i64 %.03958
  %14 = load i32, ptr %13, align 4, !tbaa !11
  call void @_ZNK2vl5regex16RegexLexerWalker4WalkEwRlS2_RbS3_(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef signext %14, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
  %15 = load i8, ptr %8, align 1, !tbaa !9, !range !13, !noundef !14
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %27

17:                                               ; preds = %12
  %18 = sub nsw i64 %.04955, %.059
  %19 = icmp sgt i64 %18, 0
  br i1 %19, label %20, label %22

20:                                               ; preds = %17
  call void %3(ptr noundef %4, i64 noundef %.059, i64 noundef %18, i64 noundef %.04257)
  store i64 %.04556, ptr %11, align 8, !tbaa !15
  %21 = add nsw i64 %.04955, -1
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %27

22:                                               ; preds = %17
  %23 = icmp slt i64 %.04955, %.03958
  br i1 %23, label %24, label %27

24:                                               ; preds = %22
  %25 = add nsw i64 %.03958, 1
  %26 = sub nsw i64 %25, %.059
  call void %3(ptr noundef %4, i64 noundef %.059, i64 noundef %26, i64 noundef -1)
  br label %27

27:                                               ; preds = %20, %24, %22, %12
  %.251 = phi i64 [ %.04955, %12 ], [ %.04955, %20 ], [ %25, %24 ], [ %.04955, %22 ]
  %.247 = phi i64 [ %.04556, %12 ], [ -1, %20 ], [ -1, %24 ], [ %.04556, %22 ]
  %.244 = phi i64 [ %.04257, %12 ], [ -1, %20 ], [ -1, %24 ], [ %.04257, %22 ]
  %.241 = phi i64 [ %.03958, %12 ], [ %21, %20 ], [ %.03958, %24 ], [ %.03958, %22 ]
  %.2 = phi i64 [ %.059, %12 ], [ %.04955, %20 ], [ %25, %24 ], [ %.059, %22 ]
  %28 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %29 = trunc nuw i8 %28 to i1
  %30 = add nsw i64 %.241, 1
  %31 = load i64, ptr %11, align 8
  %32 = load i64, ptr %6, align 8
  %.352 = select i1 %29, i64 %30, i64 %.251
  %.348 = select i1 %29, i64 %31, i64 %.247
  %.3 = select i1 %29, i64 %32, i64 %.244
  %33 = icmp slt i64 %30, %2
  br i1 %33, label %12, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %27
  %34 = icmp slt i64 %.2, %2
  br i1 %34, label %35, label %._crit_edge.thread

35:                                               ; preds = %._crit_edge
  %36 = trunc nuw i8 %28 to i1
  %37 = sub nsw i64 %2, %.2
  br i1 %36, label %._crit_edge.thread.sink.split, label %38

38:                                               ; preds = %35
  %39 = getelementptr inbounds i8, ptr %0, i64 8
  %40 = getelementptr inbounds i8, ptr %0, i64 32
  %41 = load i64, ptr %40, align 8, !tbaa !15
  %42 = call noundef i64 @_ZNK2vl5regex16RegexLexerWalker15GetRelatedTokenEl(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %41)
  br label %._crit_edge.thread.sink.split

._crit_edge.thread.sink.split:                    ; preds = %35, %38
  %.3.lcssa.sink = phi i64 [ %42, %38 ], [ %.3, %35 ]
  call void %3(ptr noundef %4, i64 noundef %.2, i64 noundef %37, i64 noundef %.3.lcssa.sink)
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %._crit_edge.thread.sink.split, %5, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"wchar_t", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTSN2vl5regex19RegexLexerColorizerE", !17, i64 0, !18, i64 8, !6, i64 32}
!17 = !{!"_ZTSN2vl6ObjectE"}
!18 = !{!"_ZTSN2vl5regex16RegexLexerWalkerE", !17, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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