; LLVM IR from libtcod/libtcod :: src/libtcod (console_drawing)

; 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 [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@TCOD_FRAME_SINGLE_PIPE = external hidden constant [9 x i32], align 16

; Function Attrs: nounwind uwtable
declare dso_local void @TCOD_console_put_rgb(ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @TCOD_console_validate_(ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @TCOD_console_draw_rect_rgb(ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

declare i32 @TCOD_set_errorf(ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @TCOD_console_draw_frame_rgb(ptr noalias noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noalias noundef %5, ptr noalias noundef %6, ptr noalias noundef %7, i32 noundef %8, i1 noundef zeroext %9) #0 {
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store i32 %1, ptr %13, align 4, !tbaa !9
  store i32 %2, ptr %14, align 4, !tbaa !9
  store i32 %3, ptr %15, align 4, !tbaa !9
  store i32 %4, ptr %16, align 4, !tbaa !9
  store ptr %5, ptr %17, align 8, !tbaa !5
  store ptr %6, ptr %18, align 8, !tbaa !5
  store ptr %7, ptr %19, align 8, !tbaa !5
  store i32 %8, ptr %20, align 4, !tbaa !9
  %26 = zext i1 %9 to i8
  store i8 %26, ptr %21, align 1, !tbaa !11
  %27 = load ptr, ptr %12, align 8, !tbaa !5
  %28 = call ptr @TCOD_console_validate_(ptr noundef %27)
  store ptr %28, ptr %12, align 8, !tbaa !5
  %29 = load ptr, ptr %12, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %33, label %31

31:                                               ; preds = %10
  %32 = call i32 (ptr, ...) @TCOD_set_errorf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 149, ptr noundef @.str.2)
  store i32 -2, ptr %11, align 4
  br label %156

33:                                               ; preds = %10
  %34 = load ptr, ptr %17, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store ptr @TCOD_FRAME_SINGLE_PIPE, ptr %17, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %36, %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %38 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %38, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %15, align 4, !tbaa !9
  %41 = add nsw i32 %39, %40
  %42 = sub nsw i32 %41, 1
  store i32 %42, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %43 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %43, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %44 = load i32, ptr %14, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = add nsw i32 %44, %45
  %47 = sub nsw i32 %46, 1
  store i32 %47, ptr %25, align 4, !tbaa !9
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = load i32, ptr %22, align 4, !tbaa !9
  %50 = load i32, ptr %24, align 4, !tbaa !9
  %51 = load ptr, ptr %17, align 8, !tbaa !5
  %52 = getelementptr inbounds i32, ptr %51, i64 0
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = load ptr, ptr %18, align 8, !tbaa !5
  %55 = load ptr, ptr %19, align 8, !tbaa !5
  %56 = load i32, ptr %20, align 4, !tbaa !9
  call void @TCOD_console_put_rgb(ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %53, ptr noundef %54, ptr noundef %55, i32 noundef %56)
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = load i32, ptr %13, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = sub nsw i32 %61, 2
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = getelementptr inbounds i32, ptr %63, i64 1
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = load ptr, ptr %18, align 8, !tbaa !5
  %67 = load ptr, ptr %19, align 8, !tbaa !5
  %68 = load i32, ptr %20, align 4, !tbaa !9
  %69 = call i32 @TCOD_console_draw_rect_rgb(ptr noundef %57, i32 noundef %59, i32 noundef %60, i32 noundef %62, i32 noundef 1, i32 noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef %68)
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = load i32, ptr %23, align 4, !tbaa !9
  %72 = load i32, ptr %24, align 4, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = getelementptr inbounds i32, ptr %73, i64 2
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = load ptr, ptr %18, align 8, !tbaa !5
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = load i32, ptr %20, align 4, !tbaa !9
  call void @TCOD_console_put_rgb(ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %75, ptr noundef %76, ptr noundef %77, i32 noundef %78)
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = sub nsw i32 %83, 2
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = getelementptr inbounds i32, ptr %85, i64 3
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = load ptr, ptr %18, align 8, !tbaa !5
  %89 = load ptr, ptr %19, align 8, !tbaa !5
  %90 = load i32, ptr %20, align 4, !tbaa !9
  %91 = call i32 @TCOD_console_draw_rect_rgb(ptr noundef %79, i32 noundef %80, i32 noundef %82, i32 noundef 1, i32 noundef %84, i32 noundef %87, ptr noundef %88, ptr noundef %89, i32 noundef %90)
  %92 = load i8, ptr %21, align 1, !tbaa !11, !range !13, !noundef !14
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %111

94:                                               ; preds = %37
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = sub nsw i32 %100, 2
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = sub nsw i32 %102, 2
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds i32, ptr %104, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = load ptr, ptr %18, align 8, !tbaa !5
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = call i32 @TCOD_console_draw_rect_rgb(ptr noundef %95, i32 noundef %97, i32 noundef %99, i32 noundef %101, i32 noundef %103, i32 noundef %106, ptr noundef %107, ptr noundef %108, i32 noundef %109)
  br label %111

111:                                              ; preds = %94, %37
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = load i32, ptr %23, align 4, !tbaa !9
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = sub nsw i32 %116, 2
  %118 = load ptr, ptr %17, align 8, !tbaa !5
  %119 = getelementptr inbounds i32, ptr %118, i64 5
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = call i32 @TCOD_console_draw_rect_rgb(ptr noundef %112, i32 noundef %113, i32 noundef %115, i32 noundef 1, i32 noundef %117, i32 noundef %120, ptr noundef %121, ptr noundef %122, i32 noundef %123)
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = load i32, ptr %22, align 4, !tbaa !9
  %127 = load i32, ptr %25, align 4, !tbaa !9
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  %129 = getelementptr inbounds i32, ptr %128, i64 6
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = load ptr, ptr %18, align 8, !tbaa !5
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = load i32, ptr %20, align 4, !tbaa !9
  call void @TCOD_console_put_rgb(ptr noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %130, ptr noundef %131, ptr noundef %132, i32 noundef %133)
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  %135 = load i32, ptr %13, align 4, !tbaa !9
  %136 = add nsw i32 %135, 1
  %137 = load i32, ptr %25, align 4, !tbaa !9
  %138 = load i32, ptr %15, align 4, !tbaa !9
  %139 = sub nsw i32 %138, 2
  %140 = load ptr, ptr %17, align 8, !tbaa !5
  %141 = getelementptr inbounds i32, ptr %140, i64 7
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = load ptr, ptr %18, align 8, !tbaa !5
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = call i32 @TCOD_console_draw_rect_rgb(ptr noundef %134, i32 noundef %136, i32 noundef %137, i32 noundef %139, i32 noundef 1, i32 noundef %142, ptr noundef %143, ptr noundef %144, i32 noundef %145)
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = load i32, ptr %23, align 4, !tbaa !9
  %149 = load i32, ptr %25, align 4, !tbaa !9
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  %151 = getelementptr inbounds i32, ptr %150, i64 8
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = load ptr, ptr %18, align 8, !tbaa !5
  %154 = load ptr, ptr %19, align 8, !tbaa !5
  %155 = load i32, ptr %20, align 4, !tbaa !9
  call void @TCOD_console_put_rgb(ptr noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %152, ptr noundef %153, ptr noundef %154, i32 noundef %155)
  store i32 0, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %156

156:                                              ; preds = %111, %31
  %157 = load i32, ptr %11, align 4
  ret i32 %157
}

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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 [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@TCOD_FRAME_SINGLE_PIPE = external hidden local_unnamed_addr constant [9 x i32], align 16

; Function Attrs: nounwind uwtable
declare dso_local void @TCOD_console_put_rgb(ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @TCOD_console_validate_(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @TCOD_console_draw_rect_rgb(ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @TCOD_set_errorf(ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2, 1) i32 @TCOD_console_draw_frame_rgb(ptr noalias noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noalias noundef readonly %5, ptr noalias noundef %6, ptr noalias noundef %7, i32 noundef %8, i1 noundef zeroext %9) local_unnamed_addr #0 {
  %11 = tail call ptr @TCOD_console_validate_(ptr noundef %0)
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %12, label %14

12:                                               ; preds = %10
  %13 = tail call i32 (ptr, ...) @TCOD_set_errorf(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 149, ptr noundef nonnull @.str.2) #3
  br label %47

14:                                               ; preds = %10
  %.not80 = icmp eq ptr %5, null
  %spec.store.select = select i1 %.not80, ptr @TCOD_FRAME_SINGLE_PIPE, ptr %5
  %15 = add i32 %1, -1
  %16 = add i32 %15, %3
  %17 = add i32 %2, -1
  %18 = add i32 %17, %4
  %19 = load i32, ptr %spec.store.select, align 4, !tbaa !5
  tail call void @TCOD_console_put_rgb(ptr noundef nonnull %11, i32 noundef %1, i32 noundef %2, i32 noundef %19, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %20 = add nsw i32 %1, 1
  %21 = add nsw i32 %3, -2
  %22 = getelementptr inbounds i8, ptr %spec.store.select, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = tail call i32 @TCOD_console_draw_rect_rgb(ptr noundef nonnull %11, i32 noundef %20, i32 noundef %2, i32 noundef %21, i32 noundef 1, i32 noundef %23, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %25 = getelementptr inbounds i8, ptr %spec.store.select, i64 8
  %26 = load i32, ptr %25, align 4, !tbaa !5
  tail call void @TCOD_console_put_rgb(ptr noundef nonnull %11, i32 noundef %16, i32 noundef %2, i32 noundef %26, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %27 = add nsw i32 %2, 1
  %28 = add nsw i32 %4, -2
  %29 = getelementptr inbounds i8, ptr %spec.store.select, i64 12
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = tail call i32 @TCOD_console_draw_rect_rgb(ptr noundef nonnull %11, i32 noundef %1, i32 noundef %27, i32 noundef 1, i32 noundef %28, i32 noundef %30, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  br i1 %9, label %32, label %36

32:                                               ; preds = %14
  %33 = getelementptr inbounds i8, ptr %spec.store.select, i64 16
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = tail call i32 @TCOD_console_draw_rect_rgb(ptr noundef nonnull %11, i32 noundef %20, i32 noundef %27, i32 noundef %21, i32 noundef %28, i32 noundef %34, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  br label %36

36:                                               ; preds = %32, %14
  %37 = getelementptr inbounds i8, ptr %spec.store.select, i64 20
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = tail call i32 @TCOD_console_draw_rect_rgb(ptr noundef nonnull %11, i32 noundef %16, i32 noundef %27, i32 noundef 1, i32 noundef %28, i32 noundef %38, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %40 = getelementptr inbounds i8, ptr %spec.store.select, i64 24
  %41 = load i32, ptr %40, align 4, !tbaa !5
  tail call void @TCOD_console_put_rgb(ptr noundef nonnull %11, i32 noundef %1, i32 noundef %18, i32 noundef %41, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %42 = getelementptr inbounds i8, ptr %spec.store.select, i64 28
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = tail call i32 @TCOD_console_draw_rect_rgb(ptr noundef nonnull %11, i32 noundef %20, i32 noundef %18, i32 noundef %21, i32 noundef 1, i32 noundef %43, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  %45 = getelementptr inbounds i8, ptr %spec.store.select, i64 32
  %46 = load i32, ptr %45, align 4, !tbaa !5
  tail call void @TCOD_console_put_rgb(ptr noundef nonnull %11, i32 noundef %16, i32 noundef %18, i32 noundef %46, ptr noundef %6, ptr noundef %7, i32 noundef %8)
  br label %47

47:                                               ; preds = %36, %12
  %.0 = phi i32 [ 0, %36 ], [ -2, %12 ]
  ret i32 %.0
}

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 = { 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 #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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass