; LLVM IR from square/subzero :: core/external-crypto/aes (aesrav)

; 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.aes_crypt_ctx = type { [60 x i32], %union.aes_inf, [12 x i8] }
%union.aes_inf = type { i32 }

@.str.7 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 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

declare i32 @printf(ptr noundef, ...) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [3 x i32], align 4
  %11 = alloca i32, align 4
  %12 = alloca [1 x %struct.aes_crypt_ctx], align 16
  %13 = alloca [1 x %struct.aes_crypt_ctx], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 256, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 256, ptr %13) #4
  %14 = call i32 @aes_init()
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = icmp eq i32 %15, 1
  br i1 %16, label %17, label %34

17:                                               ; preds = %2
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  call void @exit(i32 noundef 0) #5
  unreachable

34:                                               ; preds = %2
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef @.str.22)
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = call i32 @test_args(i32 noundef %36, ptr noundef %37, i8 noundef signext 116, i8 noundef signext 107)
  store i32 %38, ptr %6, align 4, !tbaa !5
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = call i32 @test_args(i32 noundef %39, ptr noundef %40, i8 noundef signext 116, i8 noundef signext 110)
  store i32 %41, ptr %7, align 4, !tbaa !5
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = call i32 @test_args(i32 noundef %42, ptr noundef %43, i8 noundef signext 116, i8 noundef signext 101)
  store i32 %44, ptr %8, align 4, !tbaa !5
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = call i32 @test_args(i32 noundef %45, ptr noundef %46, i8 noundef signext 116, i8 noundef signext 99)
  store i32 %47, ptr %9, align 4, !tbaa !5
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = call i32 @test_args(i32 noundef %48, ptr noundef %49, i8 noundef signext 107, i8 noundef signext 52)
  %51 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
  store i32 %50, ptr %51, align 4, !tbaa !5
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = call i32 @test_args(i32 noundef %52, ptr noundef %53, i8 noundef signext 107, i8 noundef signext 54)
  %55 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
  store i32 %54, ptr %55, align 4, !tbaa !5
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !9
  %58 = call i32 @test_args(i32 noundef %56, ptr noundef %57, i8 noundef signext 107, i8 noundef signext 56)
  %59 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2
  store i32 %58, ptr %59, align 4, !tbaa !5
  %60 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %75, label %63

63:                                               ; preds = %34
  %64 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %75, label %67

67:                                               ; preds = %63
  %68 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %75, label %71

71:                                               ; preds = %67
  %72 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2
  store i32 1, ptr %72, align 4, !tbaa !5
  %73 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1
  store i32 1, ptr %73, align 4, !tbaa !5
  %74 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0
  store i32 1, ptr %74, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %71, %67, %63, %34
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %97, %75
  %77 = load i32, ptr %11, align 4, !tbaa !5
  %78 = icmp slt i32 %77, 3
  br i1 %78, label %79, label %100

79:                                               ; preds = %76
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %96

85:                                               ; preds = %79
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = getelementptr inbounds [1 x %struct.aes_crypt_ctx], ptr %12, i64 0, i64 0
  %91 = getelementptr inbounds [1 x %struct.aes_crypt_ctx], ptr %13, i64 0, i64 0
  %92 = load i32, ptr %11, align 4, !tbaa !5
  %93 = mul nsw i32 8, %92
  %94 = add nsw i32 16, %93
  %95 = sext i32 %94 to i64
  call void @do_tests(i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89, ptr noundef %90, ptr noundef %91, i64 noundef 16, i64 noundef %95)
  br label %96

96:                                               ; preds = %85, %79
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %11, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %11, align 4, !tbaa !5
  br label %76, !llvm.loop !11

100:                                              ; preds = %76
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
  call void @llvm.lifetime.end.p0(i64 256, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  ret i32 0
}

declare i32 @aes_init() #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

declare i32 @test_args(i32 noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #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 = { noreturn 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 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%struct.aes_crypt_ctx = type { [60 x i32], %union.aes_inf, [12 x i8] }
%union.aes_inf = type { i32 }

@.str.7 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca [1 x %struct.aes_crypt_ctx], align 16
  %4 = alloca [1 x %struct.aes_crypt_ctx], align 16
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #5
  %5 = tail call i32 @aes_init() #5
  %6 = icmp eq i32 %0, 1
  br i1 %6, label %7, label %24

7:                                                ; preds = %2
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  tail call void @exit(i32 noundef 0) #6
  unreachable

24:                                               ; preds = %2
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef nonnull @.str.22)
  %26 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 116, i8 noundef signext 107) #5
  %27 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 116, i8 noundef signext 110) #5
  %28 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 116, i8 noundef signext 101) #5
  %29 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 116, i8 noundef signext 99) #5
  %30 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 107, i8 noundef signext 52) #5
  %31 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 107, i8 noundef signext 54) #5
  %32 = tail call i32 @test_args(i32 noundef %0, ptr noundef %1, i8 noundef signext 107, i8 noundef signext 56) #5
  %33 = icmp ne i32 %30, 0
  %34 = icmp ne i32 %31, 0
  %or.cond = select i1 %33, i1 true, i1 %34
  %35 = icmp ne i32 %32, 0
  %or.cond5 = select i1 %or.cond, i1 true, i1 %35
  br i1 %or.cond5, label %36, label %.thread

36:                                               ; preds = %24
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %37, label %.thread

.thread:                                          ; preds = %24, %36
  %.sroa.5.036 = phi i32 [ %31, %36 ], [ 1, %24 ]
  %.sroa.8.034 = phi i32 [ %32, %36 ], [ 1, %24 ]
  call void @do_tests(i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 16, i64 noundef 16)
  br label %37

37:                                               ; preds = %36, %.thread
  %.sroa.5.037 = phi i32 [ %31, %36 ], [ %.sroa.5.036, %.thread ]
  %.sroa.8.035 = phi i32 [ %32, %36 ], [ %.sroa.8.034, %.thread ]
  %.not.1 = icmp eq i32 %.sroa.5.037, 0
  br i1 %.not.1, label %39, label %38

38:                                               ; preds = %37
  call void @do_tests(i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 16, i64 noundef 24)
  br label %39

39:                                               ; preds = %38, %37
  %.not.2 = icmp eq i32 %.sroa.8.035, 0
  br i1 %.not.2, label %41, label %40

40:                                               ; preds = %39
  call void @do_tests(i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 16, i64 noundef 32)
  br label %41

41:                                               ; preds = %40, %39
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22)
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #5
  ret i32 0
}

declare i32 @aes_init() local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

declare i32 @test_args(i32 noundef, ptr noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #3

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass