; LLVM IR from narke/Aragveli :: src/kernel/arch/x86-pc (startup)

; 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.multiboot_info = type { i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i16, i16, i16, i16 }
%struct.vbe_mode_info = type <{ i16, i8, i8, i16, i16, i16, i16, i64, i16, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i64, i64, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i64 }>

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @interrupts_setup() #0

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

declare void @vbe_set_color(i64 noundef) #2

declare void @printf(ptr noundef, ...) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @extra_kernel(i64 noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @aragveli_main(i64 noundef %0, i64 noundef %1) #0 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  store i64 %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %17 = load i64, ptr %4, align 8, !tbaa !5
  %18 = inttoptr i64 %17 to ptr
  store ptr %18, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %19 = load i64, ptr %3, align 8, !tbaa !5
  %20 = icmp eq i64 %19, 732803074
  %21 = zext i1 %20 to i32
  store i32 %21, ptr %7, align 4, !tbaa !11
  %22 = load i32, ptr %7, align 4, !tbaa !11
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %27, label %24

24:                                               ; preds = %2
  call void asm sideeffect "cli\0A", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !13
  call void @vbe_set_color(i64 noundef 11141120)
  call void (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 93)
  br label %25

25:                                               ; preds = %26, %24
  br label %26

26:                                               ; preds = %25
  call void asm sideeffect "hlt", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !14
  br label %25

27:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @x86_gdt_setup()
  call void @x86_idt_setup()
  call void @x86_isr_setup()
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %28 = load ptr, ptr %6, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.multiboot_info, ptr %28, i32 0, i32 19
  %30 = load i64, ptr %29, align 8, !tbaa !15
  %31 = inttoptr i64 %30 to ptr
  store ptr %31, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %32 = load ptr, ptr %8, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.vbe_mode_info, ptr %32, i32 0, i32 29
  %34 = load i64, ptr %33, align 1, !tbaa !18
  store i64 %34, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %35 = load ptr, ptr %8, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.vbe_mode_info, ptr %35, i32 0, i32 29
  %37 = load i64, ptr %36, align 1, !tbaa !18
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.vbe_mode_info, ptr %38, i32 0, i32 8
  %40 = load i16, ptr %39, align 1, !tbaa !20
  %41 = zext i16 %40 to i32
  %42 = load ptr, ptr %8, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.vbe_mode_info, ptr %42, i32 0, i32 10
  %44 = load i16, ptr %43, align 1, !tbaa !21
  %45 = zext i16 %44 to i32
  %46 = mul nsw i32 %41, %45
  %47 = sext i32 %46 to i64
  %48 = add i64 %37, %47
  store i64 %48, ptr %10, align 8, !tbaa !5
  %49 = load ptr, ptr %8, align 8, !tbaa !9
  call void @vbe_setup(ptr noundef %49)
  call void @interrupts_setup()
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %50 = load ptr, ptr %6, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.multiboot_info, ptr %50, i32 0, i32 6
  %52 = load i64, ptr %51, align 8, !tbaa !22
  %53 = inttoptr i64 %52 to ptr
  %54 = load i64, ptr %53, align 8, !tbaa !5
  store i64 %54, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %55 = load ptr, ptr %6, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.multiboot_info, ptr %55, i32 0, i32 6
  %57 = load i64, ptr %56, align 8, !tbaa !22
  %58 = add i64 %57, 4
  %59 = inttoptr i64 %58 to ptr
  %60 = load i64, ptr %59, align 8, !tbaa !5
  store i64 %60, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %61 = load ptr, ptr %6, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.multiboot_info, ptr %61, i32 0, i32 2
  %63 = load i64, ptr %62, align 8, !tbaa !23
  %64 = shl i64 %63, 10
  %65 = add i64 %64, 1048576
  store i64 %65, ptr %15, align 8, !tbaa !5
  %66 = load i64, ptr %15, align 8, !tbaa !5
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = load i64, ptr %12, align 8, !tbaa !5
  %69 = trunc i64 %68 to i32
  %70 = call i32 @frame_setup(i64 noundef %66, ptr noundef %67, ptr noundef %13, ptr noundef %14, i32 noundef %69)
  store i32 %70, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %71 = load i32, ptr %5, align 4, !tbaa !11
  %72 = icmp eq i32 %71, 0
  %73 = zext i1 %72 to i32
  store i32 %73, ptr %16, align 4, !tbaa !11
  %74 = load i32, ptr %16, align 4, !tbaa !11
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %79, label %76

76:                                               ; preds = %27
  call void asm sideeffect "cli\0A", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !24
  call void @vbe_set_color(i64 noundef 11141120)
  call void (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 129)
  br label %77

77:                                               ; preds = %78, %76
  br label %78

78:                                               ; preds = %77
  call void asm sideeffect "hlt", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !25
  br label %77

79:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  %80 = load i64, ptr %15, align 8, !tbaa !5
  %81 = load i32, ptr %13, align 4, !tbaa !11
  %82 = load i32, ptr %14, align 4, !tbaa !11
  %83 = load i64, ptr %9, align 8, !tbaa !5
  %84 = load i64, ptr %10, align 8, !tbaa !5
  call void @heap_setup(i64 noundef %80, i32 noundef %81, i32 noundef %82, i64 noundef %83, i64 noundef %84)
  call void @scheduler_setup()
  call void @threading_setup()
  call void (ptr, ...) @printf(ptr noundef @.str.5)
  call void asm sideeffect "sti", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !26
  %85 = load i64, ptr %11, align 8, !tbaa !5
  %86 = load i64, ptr %12, align 8, !tbaa !5
  call void @extra_kernel(i64 noundef %85, i64 noundef %86)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void
}

declare void @x86_gdt_setup() #2

declare void @x86_idt_setup() #2

declare void @x86_isr_setup() #2

declare void @vbe_setup(ptr noundef) #2

declare i32 @frame_setup(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

declare void @heap_setup(i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) #2

declare void @scheduler_setup() #2

declare void @threading_setup() #2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long", !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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 2147581652}
!14 = !{i64 2147581818}
!15 = !{!16, !6, i64 152}
!16 = !{!"multiboot_info", !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, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !17, i64 160, !17, i64 162, !17, i64 164, !17, i64 166}
!17 = !{!"short", !7, i64 0}
!18 = !{!19, !6, i64 44}
!19 = !{!"vbe_mode_info", !17, i64 0, !7, i64 2, !7, i64 3, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !6, i64 12, !17, i64 20, !17, i64 22, !17, i64 24, !7, i64 26, !7, i64 27, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !7, i64 36, !7, i64 37, !7, i64 38, !7, i64 39, !7, i64 40, !7, i64 41, !7, i64 42, !7, i64 43, !6, i64 44, !6, i64 52, !17, i64 60, !17, i64 62, !7, i64 64, !7, i64 65, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !7, i64 70, !7, i64 71, !7, i64 72, !7, i64 73, !6, i64 74}
!20 = !{!19, !17, i64 20}
!21 = !{!19, !17, i64 24}
!22 = !{!16, !6, i64 48}
!23 = !{!16, !6, i64 16}
!24 = !{i64 2147582084}
!25 = !{i64 2147582250}
!26 = !{i64 3258}


; 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 [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @interrupts_setup() local_unnamed_addr #0

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

declare void @vbe_set_color(i64 noundef) local_unnamed_addr #2

declare void @printf(ptr noundef, ...) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @extra_kernel(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @aragveli_main(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = icmp eq i64 %0, 732803074
  br i1 %5, label %8, label %6

6:                                                ; preds = %2
  tail call void asm sideeffect "cli\0A", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !5
  tail call void @vbe_set_color(i64 noundef 11141120) #3
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 93) #3
  br label %7

7:                                                ; preds = %7, %6
  tail call void asm sideeffect "hlt", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !6
  br label %7

8:                                                ; preds = %2
  %9 = inttoptr i64 %1 to ptr
  tail call void @x86_gdt_setup() #3
  tail call void @x86_idt_setup() #3
  tail call void @x86_isr_setup() #3
  %10 = getelementptr inbounds i8, ptr %9, i64 152
  %11 = load i64, ptr %10, align 8, !tbaa !7
  %12 = inttoptr i64 %11 to ptr
  %13 = getelementptr inbounds i8, ptr %12, i64 44
  %14 = load i64, ptr %13, align 1, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %12, i64 20
  %16 = load i16, ptr %15, align 1, !tbaa !15
  %17 = getelementptr inbounds i8, ptr %12, i64 24
  %18 = load i16, ptr %17, align 1, !tbaa !16
  tail call void @vbe_setup(ptr noundef %12) #3
  tail call void @interrupts_setup()
  %19 = getelementptr inbounds i8, ptr %9, i64 48
  %20 = load i64, ptr %19, align 8, !tbaa !17
  %21 = inttoptr i64 %20 to ptr
  %22 = load i64, ptr %21, align 8, !tbaa !18
  %23 = add i64 %20, 4
  %24 = inttoptr i64 %23 to ptr
  %25 = load i64, ptr %24, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %26 = getelementptr inbounds i8, ptr %9, i64 16
  %27 = load i64, ptr %26, align 8, !tbaa !19
  %28 = shl i64 %27, 10
  %29 = add i64 %28, 1048576
  %30 = trunc i64 %25 to i32
  %31 = call i32 @frame_setup(i64 noundef %29, ptr noundef %12, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %30) #3
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %35, label %33

33:                                               ; preds = %8
  call void asm sideeffect "cli\0A", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !20
  call void @vbe_set_color(i64 noundef 11141120) #3
  call void (ptr, ...) @printf(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 129) #3
  br label %34

34:                                               ; preds = %34, %33
  call void asm sideeffect "hlt", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !21
  br label %34

35:                                               ; preds = %8
  %36 = zext i16 %16 to i64
  %37 = zext i16 %18 to i64
  %38 = mul nuw nsw i64 %37, %36
  %39 = add i64 %38, %14
  %40 = load i32, ptr %3, align 4, !tbaa !22
  %41 = load i32, ptr %4, align 4, !tbaa !22
  call void @heap_setup(i64 noundef %29, i32 noundef %40, i32 noundef %41, i64 noundef %14, i64 noundef %39) #3
  call void @scheduler_setup() #3
  call void @threading_setup() #3
  call void (ptr, ...) @printf(ptr noundef nonnull @.str.5) #3
  call void asm sideeffect "sti", "~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !24
  call void @extra_kernel(i64 noundef %22, i64 noundef %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  ret void
}

declare void @x86_gdt_setup() local_unnamed_addr #2

declare void @x86_idt_setup() local_unnamed_addr #2

declare void @x86_isr_setup() local_unnamed_addr #2

declare void @vbe_setup(ptr noundef) local_unnamed_addr #2

declare i32 @frame_setup(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @heap_setup(i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare void @scheduler_setup() local_unnamed_addr #2

declare void @threading_setup() local_unnamed_addr #2

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{i64 2147581652}
!6 = !{i64 2147581818}
!7 = !{!8, !9, i64 152}
!8 = !{!"multiboot_info", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !12, i64 160, !12, i64 162, !12, i64 164, !12, i64 166}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"short", !10, i64 0}
!13 = !{!14, !9, i64 44}
!14 = !{!"vbe_mode_info", !12, i64 0, !10, i64 2, !10, i64 3, !12, i64 4, !12, i64 6, !12, i64 8, !12, i64 10, !9, i64 12, !12, i64 20, !12, i64 22, !12, i64 24, !10, i64 26, !10, i64 27, !10, i64 28, !10, i64 29, !10, i64 30, !10, i64 31, !10, i64 32, !10, i64 33, !10, i64 34, !10, i64 35, !10, i64 36, !10, i64 37, !10, i64 38, !10, i64 39, !10, i64 40, !10, i64 41, !10, i64 42, !10, i64 43, !9, i64 44, !9, i64 52, !12, i64 60, !12, i64 62, !10, i64 64, !10, i64 65, !10, i64 66, !10, i64 67, !10, i64 68, !10, i64 69, !10, i64 70, !10, i64 71, !10, i64 72, !10, i64 73, !9, i64 74}
!15 = !{!14, !12, i64 20}
!16 = !{!14, !12, i64 24}
!17 = !{!8, !9, i64 48}
!18 = !{!9, !9, i64 0}
!19 = !{!8, !9, i64 16}
!20 = !{i64 2147582084}
!21 = !{i64 2147582250}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !10, i64 0}
!24 = !{i64 3258}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass