; LLVM IR from stan-dev/math :: lib/boost_1.84.0/tools/quickbook/src/glob.ll (ZN9quickbook10check_globENS_11string_viewE)

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

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@_ZTIN9quickbook10glob_errorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9quickbook10check_globENS_11string_viewE(ptr noundef %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #4
  store i8 0, ptr %3, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  store i8 1, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = call noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  store ptr %9, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %10 = call noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  store ptr %10, ptr %6, align 8, !tbaa !5
  br label %11

11:                                               ; preds = %67, %1
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = icmp ne ptr %12, %13
  br i1 %14, label %15, label %68

15:                                               ; preds = %11
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = sext i8 %17 to i32
  %19 = icmp slt i32 %18, 32
  br i1 %19, label %26, label %20

20:                                               ; preds = %15
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = load i8, ptr %21, align 1, !tbaa !11
  %23 = sext i8 %22 to i32
  %24 = and i32 %23, 128
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %20, %15
  store i8 0, ptr %4, align 1, !tbaa !9
  br label %27

27:                                               ; preds = %26, %20
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = sext i8 %29 to i32
  switch i32 %30, label %64 [
    i32 92, label %31
    i32 91, label %33
    i32 93, label %35
    i32 63, label %42
    i32 42, label %45
  ]

31:                                               ; preds = %27
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN9quickbook17check_glob_escapeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %32)
  br label %67

33:                                               ; preds = %27
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN9quickbook16check_glob_rangeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %34)
  store i8 1, ptr %3, align 1, !tbaa !9
  br label %67

35:                                               ; preds = %27
  %36 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef @.str)
          to label %37 unwind label %38

37:                                               ; preds = %35
  call void @__cxa_throw(ptr %36, ptr @_ZTIN9quickbook10glob_errorE, ptr @_ZNSt13runtime_errorD2Ev) #5
  unreachable

38:                                               ; preds = %35
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %7, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %8, align 4
  call void @__cxa_free_exception(ptr %36) #4
  br label %84

42:                                               ; preds = %27
  store i8 1, ptr %3, align 1, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i32 1
  store ptr %44, ptr %5, align 8, !tbaa !5
  br label %67

45:                                               ; preds = %27
  store i8 1, ptr %3, align 1, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i32 1
  store ptr %47, ptr %5, align 8, !tbaa !5
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = icmp ne ptr %48, %49
  br i1 %50, label %51, label %63

51:                                               ; preds = %45
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = load i8, ptr %52, align 1, !tbaa !11
  %54 = sext i8 %53 to i32
  %55 = icmp eq i32 %54, 42
  br i1 %55, label %56, label %63

56:                                               ; preds = %51
  %57 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef @.str.1)
          to label %58 unwind label %59

58:                                               ; preds = %56
  call void @__cxa_throw(ptr %57, ptr @_ZTIN9quickbook10glob_errorE, ptr @_ZNSt13runtime_errorD2Ev) #5
  unreachable

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  call void @__cxa_free_exception(ptr %57) #4
  br label %84

63:                                               ; preds = %51, %45
  br label %67

64:                                               ; preds = %27
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i32 1
  store ptr %66, ptr %5, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %64, %63, %42, %33, %31
  br label %11, !llvm.loop !12

68:                                               ; preds = %11
  %69 = load i8, ptr %3, align 1, !tbaa !9, !range !14, !noundef !15
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %81

71:                                               ; preds = %68
  %72 = load i8, ptr %4, align 1, !tbaa !9, !range !14, !noundef !15
  %73 = trunc i8 %72 to i1
  br i1 %73, label %81, label %74

74:                                               ; preds = %71
  %75 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef @.str.2)
          to label %76 unwind label %77

76:                                               ; preds = %74
  call void @__cxa_throw(ptr %75, ptr @_ZTIN9quickbook10glob_errorE, ptr @_ZNSt13runtime_errorD2Ev) #5
  unreachable

77:                                               ; preds = %74
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  call void @__cxa_free_exception(ptr %75) #4
  br label %84

81:                                               ; preds = %71, %68
  %82 = load i8, ptr %3, align 1, !tbaa !9, !range !14, !noundef !15
  %83 = trunc i8 %82 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #4
  ret i1 %83

84:                                               ; preds = %77, %59, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #4
  br label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %7, align 8
  %87 = load i32, ptr %8, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook17check_glob_escapeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook16check_glob_rangeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr)

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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 = !{!"bool", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i8 0, i8 2}
!15 = !{}


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

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@_ZTIN9quickbook10glob_errorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9quickbook10check_globENS_11string_viewE(ptr noundef nonnull %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %3 = tail call noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  store ptr %3, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  %.not22 = icmp eq ptr %3, %4
  br i1 %.not22, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %1, %29
  %5 = phi ptr [ %30, %29 ], [ %3, %1 ]
  %.0924 = phi i1 [ %.1, %29 ], [ false, %1 ]
  %.01023 = phi i1 [ %..010, %29 ], [ true, %1 ]
  %6 = load i8, ptr %5, align 1, !tbaa !9
  %7 = icmp sgt i8 %6, 31
  %..010 = select i1 %7, i1 %.01023, i1 false
  switch i8 %6, label %27 [
    i8 92, label %8
    i8 91, label %9
    i8 93, label %10
    i8 63, label %15
    i8 42, label %17
  ]

8:                                                ; preds = %.lr.ph
  call void @_ZN9quickbook17check_glob_escapeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %4)
  br label %29

9:                                                ; preds = %.lr.ph
  call void @_ZN9quickbook16check_glob_rangeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %4)
  br label %29

10:                                               ; preds = %.lr.ph
  %11 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull @.str)
          to label %12 unwind label %13

12:                                               ; preds = %10
  call void @__cxa_throw(ptr nonnull %11, ptr nonnull @_ZTIN9quickbook10glob_errorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #5
  unreachable

13:                                               ; preds = %10
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %36

15:                                               ; preds = %.lr.ph
  %16 = getelementptr inbounds i8, ptr %5, i64 1
  store ptr %16, ptr %2, align 8, !tbaa !5
  br label %29

17:                                               ; preds = %.lr.ph
  %18 = getelementptr inbounds i8, ptr %5, i64 1
  store ptr %18, ptr %2, align 8, !tbaa !5
  %.not16 = icmp eq ptr %18, %4
  br i1 %.not16, label %29, label %19

19:                                               ; preds = %17
  %20 = load i8, ptr %18, align 1, !tbaa !9
  %21 = icmp eq i8 %20, 42
  br i1 %21, label %22, label %29

22:                                               ; preds = %19
  %23 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull @.str.1)
          to label %24 unwind label %25

24:                                               ; preds = %22
  call void @__cxa_throw(ptr nonnull %23, ptr nonnull @_ZTIN9quickbook10glob_errorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #5
  unreachable

25:                                               ; preds = %22
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %36

27:                                               ; preds = %.lr.ph
  %28 = getelementptr inbounds i8, ptr %5, i64 1
  store ptr %28, ptr %2, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %17, %19, %27, %15, %9, %8
  %.1 = phi i1 [ %.0924, %27 ], [ true, %19 ], [ true, %17 ], [ true, %15 ], [ true, %9 ], [ %.0924, %8 ]
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %30, %4
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge:                                      ; preds = %29
  %.09.not = xor i1 %.1, true
  %brmerge = select i1 %.09.not, i1 true, i1 %..010
  br i1 %brmerge, label %._crit_edge.thread, label %31

31:                                               ; preds = %._crit_edge
  %32 = call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull @.str.2)
          to label %33 unwind label %34

33:                                               ; preds = %31
  call void @__cxa_throw(ptr nonnull %32, ptr nonnull @_ZTIN9quickbook10glob_errorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #5
  unreachable

34:                                               ; preds = %31
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %36

._crit_edge.thread:                               ; preds = %1, %._crit_edge
  %.09.lcssa32 = phi i1 [ %.1, %._crit_edge ], [ false, %1 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  ret i1 %.09.lcssa32

36:                                               ; preds = %34, %25, %13
  %.sink = phi ptr [ %32, %34 ], [ %23, %25 ], [ %11, %13 ]
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %26, %25 ], [ %14, %13 ]
  call void @__cxa_free_exception(ptr %.sink) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn
}

; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost17basic_string_viewIcSt11char_traitsIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook17check_glob_escapeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook16check_glob_rangeERPKcS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9quickbook10glob_errorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


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