; LLVM IR from caryll/otfcc :: lib/table (name)

; 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.otfcc_Options = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr }
%struct.otfcc_ILogger = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.table_name = type { i64, i64, ptr }
%struct.otfcc_NameRecord = type { i16, i16, i16, i16, ptr }

@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1

; 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

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) #1

declare ptr @sdsempty() #1

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

15:                                               ; preds = %3
  br label %110

16:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.otfcc_Options, ptr %17, i32 0, i32 24
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.otfcc_ILogger, ptr %19, i32 0, i32 4
  %21 = load ptr, ptr %20, align 8, !tbaa !12
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.otfcc_Options, ptr %22, i32 0, i32 24
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call ptr @sdsempty()
  %26 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %25, ptr noundef @.str.1)
  call void %21(ptr noundef %24, ptr noundef %26)
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %27

27:                                               ; preds = %101, %16
  %28 = load i8, ptr %7, align 1, !tbaa !14, !range !15, !noundef !16
  %29 = trunc i8 %28 to i1
  br i1 %29, label %31, label %30

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

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.table_name, ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !17
  %35 = call ptr @json_array_new(i64 noundef %34)
  store ptr %35, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #4
  store i16 0, ptr %10, align 2, !tbaa !20
  br label %36

36:                                               ; preds = %94, %31
  %37 = load i16, ptr %10, align 2, !tbaa !20
  %38 = zext i16 %37 to i64
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.table_name, ptr %39, i32 0, i32 0
  %41 = load i64, ptr %40, align 8, !tbaa !17
  %42 = icmp ult i64 %38, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %36
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #4
  br label %97

44:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.table_name, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !22
  %48 = load i16, ptr %10, align 2, !tbaa !20
  %49 = zext i16 %48 to i64
  %50 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %47, i64 %49
  store ptr %50, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %51 = call ptr @json_object_new(i64 noundef 5)
  store ptr %51, ptr %12, align 8, !tbaa !5
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %53, i32 0, i32 0
  %55 = load i16, ptr %54, align 8, !tbaa !23
  %56 = zext i16 %55 to i64
  %57 = call ptr @json_integer_new(i64 noundef %56)
  %58 = call ptr @json_object_push(ptr noundef %52, ptr noundef @.str.2, ptr noundef %57)
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %60, i32 0, i32 1
  %62 = load i16, ptr %61, align 2, !tbaa !25
  %63 = zext i16 %62 to i64
  %64 = call ptr @json_integer_new(i64 noundef %63)
  %65 = call ptr @json_object_push(ptr noundef %59, ptr noundef @.str.3, ptr noundef %64)
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %67, i32 0, i32 2
  %69 = load i16, ptr %68, align 4, !tbaa !26
  %70 = zext i16 %69 to i64
  %71 = call ptr @json_integer_new(i64 noundef %70)
  %72 = call ptr @json_object_push(ptr noundef %66, ptr noundef @.str.4, ptr noundef %71)
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %74, i32 0, i32 3
  %76 = load i16, ptr %75, align 2, !tbaa !27
  %77 = zext i16 %76 to i64
  %78 = call ptr @json_integer_new(i64 noundef %77)
  %79 = call ptr @json_object_push(ptr noundef %73, ptr noundef @.str.5, ptr noundef %78)
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !28
  %84 = call i64 @sdslen(ptr noundef %83)
  %85 = trunc i64 %84 to i32
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %86, i32 0, i32 4
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  %89 = call ptr @json_string_new_length(i32 noundef %85, ptr noundef %88)
  %90 = call ptr @json_object_push(ptr noundef %80, ptr noundef @.str.6, ptr noundef %89)
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = call ptr @json_array_push(ptr noundef %91, ptr noundef %92)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %94

94:                                               ; preds = %44
  %95 = load i16, ptr %10, align 2, !tbaa !20
  %96 = add i16 %95, 1
  store i16 %96, ptr %10, align 2, !tbaa !20
  br label %36, !llvm.loop !29

97:                                               ; preds = %43
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = call ptr @json_object_push(ptr noundef %98, ptr noundef @.str.1, ptr noundef %99)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %101

101:                                              ; preds = %97
  store i8 0, ptr %7, align 1, !tbaa !14
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.otfcc_Options, ptr %102, i32 0, i32 24
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.otfcc_ILogger, ptr %104, i32 0, i32 8
  %106 = load ptr, ptr %105, align 8, !tbaa !31
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.otfcc_Options, ptr %107, i32 0, i32 24
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  call void %106(ptr noundef %109)
  br label %27, !llvm.loop !32

110:                                              ; preds = %30, %15
  ret void
}

declare ptr @json_array_new(i64 noundef) #1

declare ptr @json_object_new(i64 noundef) #1

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @json_integer_new(i64 noundef) #1

declare ptr @json_string_new_length(i32 noundef, ptr noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @sdslen(ptr noundef) #3

declare ptr @json_array_push(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { inlinehint 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 #4 = { 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, !6, i64 32}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !11, i64 12, !11, i64 13, !11, i64 14, !11, i64 15, !11, i64 16, !11, i64 17, !11, i64 18, !11, i64 19, !11, i64 20, !11, i64 21, !11, i64 22, !6, i64 24, !6, i64 32}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"otfcc_ILogger", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!14 = !{!11, !11, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !19, i64 0}
!18 = !{!"", !19, i64 0, !19, i64 8, !6, i64 16}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!18, !6, i64 16}
!23 = !{!24, !21, i64 0}
!24 = !{!"", !21, i64 0, !21, i64 2, !21, i64 4, !21, i64 6, !6, i64 8}
!25 = !{!24, !21, i64 2}
!26 = !{!24, !21, i64 4}
!27 = !{!24, !21, i64 6}
!28 = !{!24, !6, i64 8}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!13, !6, i64 64}
!32 = distinct !{!32, !30}


; 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.otfcc_NameRecord = type { i16, i16, i16, i16, ptr }

@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #0

declare ptr @sdsempty() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @otfcc_dumpName(ptr noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %54, label %.critedge

.critedge:                                        ; preds = %3
  %4 = getelementptr inbounds i8, ptr %2, i64 32
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 32
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = tail call ptr @sdsempty() #3
  %9 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %8, ptr noundef nonnull @.str.1) #3
  tail call void %7(ptr noundef %5, ptr noundef %9) #3
  %10 = load i64, ptr %0, align 8, !tbaa !13
  %11 = tail call ptr @json_array_new(i64 noundef %10) #3
  %12 = load i64, ptr %0, align 8, !tbaa !13
  %.not30 = icmp eq i64 %12, 0
  br i1 %.not30, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.critedge
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  br label %18

._crit_edge:                                      ; preds = %18, %.critedge
  %14 = tail call ptr @json_object_push(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef %11) #3
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 64
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  tail call void %17(ptr noundef %15) #3
  br label %54

18:                                               ; preds = %.lr.ph, %18
  %19 = phi i64 [ 0, %.lr.ph ], [ %51, %18 ]
  %.02629 = phi i16 [ 0, %.lr.ph ], [ %50, %18 ]
  %20 = load ptr, ptr %13, align 8, !tbaa !17
  %21 = getelementptr inbounds %struct.otfcc_NameRecord, ptr %20, i64 %19
  %22 = tail call ptr @json_object_new(i64 noundef 5) #3
  %23 = load i16, ptr %21, align 8, !tbaa !18
  %24 = zext i16 %23 to i64
  %25 = tail call ptr @json_integer_new(i64 noundef %24) #3
  %26 = tail call ptr @json_object_push(ptr noundef %22, ptr noundef nonnull @.str.2, ptr noundef %25) #3
  %27 = getelementptr inbounds i8, ptr %21, i64 2
  %28 = load i16, ptr %27, align 2, !tbaa !21
  %29 = zext i16 %28 to i64
  %30 = tail call ptr @json_integer_new(i64 noundef %29) #3
  %31 = tail call ptr @json_object_push(ptr noundef %22, ptr noundef nonnull @.str.3, ptr noundef %30) #3
  %32 = getelementptr inbounds i8, ptr %21, i64 4
  %33 = load i16, ptr %32, align 4, !tbaa !22
  %34 = zext i16 %33 to i64
  %35 = tail call ptr @json_integer_new(i64 noundef %34) #3
  %36 = tail call ptr @json_object_push(ptr noundef %22, ptr noundef nonnull @.str.4, ptr noundef %35) #3
  %37 = getelementptr inbounds i8, ptr %21, i64 6
  %38 = load i16, ptr %37, align 2, !tbaa !23
  %39 = zext i16 %38 to i64
  %40 = tail call ptr @json_integer_new(i64 noundef %39) #3
  %41 = tail call ptr @json_object_push(ptr noundef %22, ptr noundef nonnull @.str.5, ptr noundef %40) #3
  %42 = getelementptr inbounds i8, ptr %21, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !24
  %44 = tail call i64 @sdslen(ptr noundef %43)
  %45 = trunc i64 %44 to i32
  %46 = load ptr, ptr %42, align 8, !tbaa !24
  %47 = tail call ptr @json_string_new_length(i32 noundef %45, ptr noundef %46) #3
  %48 = tail call ptr @json_object_push(ptr noundef %22, ptr noundef nonnull @.str.6, ptr noundef %47) #3
  %49 = tail call ptr @json_array_push(ptr noundef %11, ptr noundef %22) #3
  %50 = add i16 %.02629, 1
  %51 = zext i16 %50 to i64
  %52 = load i64, ptr %0, align 8, !tbaa !13
  %53 = icmp ugt i64 %52, %51
  br i1 %53, label %18, label %._crit_edge, !llvm.loop !25

54:                                               ; preds = %3, %._crit_edge
  ret void
}

declare ptr @json_array_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_object_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @json_integer_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_string_new_length(i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @sdslen(ptr noundef) local_unnamed_addr #2

declare ptr @json_array_push(ptr noundef, ptr noundef) local_unnamed_addr #0

attributes #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 = { 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 #2 = { inlinehint 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 }

!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, !10, i64 32}
!6 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !10, i64 24, !10, i64 32}
!7 = !{!"_Bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"otfcc_ILogger", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !10, i64 64}
!17 = !{!14, !10, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"", !20, i64 0, !20, i64 2, !20, i64 4, !20, i64 6, !10, i64 8}
!20 = !{!"short", !8, i64 0}
!21 = !{!19, !20, i64 2}
!22 = !{!19, !20, i64 4}
!23 = !{!19, !20, i64 6}
!24 = !{!19, !10, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass