; LLVM IR from ClementineAccount/Albuquerque :: src/HelloSDL (main3)

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

%union.SDL_Event = type { %struct.SDL_SensorEvent, [8 x i8] }
%struct.SDL_SensorEvent = type { i32, i32, i32, [6 x float], i64 }
%struct.SDL_KeyboardEvent = type { i32, i32, i32, i8, i8, i8, i8, %struct.SDL_Keysym }
%struct.SDL_Keysym = type { i32, i32, i16, i32 }

@gMusic = external dso_local global ptr, align 8
@.str = external hidden unnamed_addr constant [41 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %union.SDL_Event, align 8
  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
  %12 = call i32 @SDL_Init(i32 noundef 48)
  %13 = icmp slt i32 %12, 0
  br i1 %13, label %14, label %17

14:                                               ; preds = %2
  %15 = call ptr @SDL_GetError()
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
  br label %17

17:                                               ; preds = %14, %2
  %18 = call i32 @Mix_OpenAudio(i32 noundef 44100, i16 noundef zeroext -32752, i32 noundef 2, i32 noundef 2048)
  %19 = icmp slt i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = call ptr @SDL_GetError()
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21)
  br label %23

23:                                               ; preds = %20, %17
  %24 = call ptr @Mix_LoadMUS(ptr noundef @.str.2)
  store ptr %24, ptr @gMusic, align 8, !tbaa !9
  %25 = load ptr, ptr @gMusic, align 8, !tbaa !9
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %30

27:                                               ; preds = %23
  %28 = call ptr @SDL_GetError()
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %28)
  br label %30

30:                                               ; preds = %27, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %31 = load i32, ptr %6, align 4, !tbaa !5
  %32 = call ptr @SDL_CreateWindow(ptr noundef @.str.4, i32 noundef 200, i32 noundef 200, i32 noundef 500, i32 noundef 500, i32 noundef %31)
  store ptr %32, ptr %7, align 8, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !9
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %30
  br label %38

36:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 52, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %39 = load ptr, ptr %7, align 8, !tbaa !9
  %40 = call ptr @SDL_GL_CreateContext(ptr noundef %39)
  store ptr %40, ptr %8, align 8, !tbaa !9
  %41 = call i32 @SDL_GL_SetAttribute(i32 noundef 17, i32 noundef 3)
  %42 = call i32 @SDL_GL_SetAttribute(i32 noundef 18, i32 noundef 1)
  %43 = call i32 @SDL_GL_SetAttribute(i32 noundef 21, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  %44 = load ptr, ptr @gMusic, align 8, !tbaa !9
  %45 = call i32 @Mix_PlayMusic(ptr noundef %44, i32 noundef -1)
  br label %46

46:                                               ; preds = %86, %38
  %47 = load i32, ptr %9, align 4, !tbaa !5
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %88

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #4
  br label %50

50:                                               ; preds = %85, %49
  %51 = call i32 @SDL_PollEvent(ptr noundef %11)
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %86

53:                                               ; preds = %50
  %54 = load i32, ptr %11, align 8, !tbaa !11
  %55 = icmp eq i32 %54, 768
  br i1 %55, label %56, label %80

56:                                               ; preds = %53
  %57 = getelementptr inbounds %struct.SDL_KeyboardEvent, ptr %11, i32 0, i32 7
  %58 = getelementptr inbounds %struct.SDL_Keysym, ptr %57, i32 0, i32 1
  %59 = load i32, ptr %58, align 4, !tbaa !11
  switch i32 %59, label %78 [
    i32 27, label %60
    i32 102, label %61
  ]

60:                                               ; preds = %56
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %79

61:                                               ; preds = %56
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = icmp ne i32 %62, 0
  %64 = xor i1 %63, true
  %65 = zext i1 %64 to i32
  store i32 %65, ptr %10, align 4, !tbaa !5
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %73

68:                                               ; preds = %61
  %69 = load ptr, ptr %7, align 8, !tbaa !9
  %70 = load i32, ptr %6, align 4, !tbaa !5
  %71 = or i32 %70, 4097
  %72 = call i32 @SDL_SetWindowFullscreen(ptr noundef %69, i32 noundef %71)
  br label %77

73:                                               ; preds = %61
  %74 = load ptr, ptr %7, align 8, !tbaa !9
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = call i32 @SDL_SetWindowFullscreen(ptr noundef %74, i32 noundef %75)
  br label %77

77:                                               ; preds = %73, %68
  br label %79

78:                                               ; preds = %56
  br label %79

79:                                               ; preds = %78, %77, %60
  br label %85

80:                                               ; preds = %53
  %81 = load i32, ptr %11, align 8, !tbaa !11
  %82 = icmp eq i32 %81, 256
  br i1 %82, label %83, label %84

83:                                               ; preds = %80
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %83, %80
  br label %85

85:                                               ; preds = %84, %79
  br label %50, !llvm.loop !12

86:                                               ; preds = %50
  call void @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef 500, i32 noundef 500)
  call void @glClearColor(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @glClear(i32 noundef 16384)
  %87 = load ptr, ptr %7, align 8, !tbaa !9
  call void @SDL_GL_SwapWindow(ptr noundef %87)
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #4
  br label %46, !llvm.loop !14

88:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  ret i32 0
}

declare i32 @SDL_Init(i32 noundef) #1

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

declare ptr @SDL_GetError() #1

declare i32 @Mix_OpenAudio(i32 noundef, i16 noundef zeroext, i32 noundef, i32 noundef) #1

declare ptr @Mix_LoadMUS(ptr noundef) #1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare ptr @SDL_GL_CreateContext(ptr noundef) #1

declare i32 @SDL_GL_SetAttribute(i32 noundef, i32 noundef) #1

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

declare i32 @SDL_PollEvent(ptr noundef) #1

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

declare void @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @glClearColor(float noundef, float noundef, float noundef, float noundef) #1

declare void @glClear(i32 noundef) #1

declare void @SDL_GL_SwapWindow(ptr noundef) #1

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

attributes #0 = { mustprogress norecurse 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 = { "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 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


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

%union.SDL_Event = type { %struct.SDL_SensorEvent, [8 x i8] }
%struct.SDL_SensorEvent = type { i32, i32, i32, [6 x float], i64 }

@gMusic = external dso_local local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [41 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %union.SDL_Event, align 8
  %4 = tail call i32 @SDL_Init(i32 noundef 48)
  %5 = icmp slt i32 %4, 0
  br i1 %5, label %6, label %9

6:                                                ; preds = %2
  %7 = tail call ptr @SDL_GetError()
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %7)
  br label %9

9:                                                ; preds = %6, %2
  %10 = tail call i32 @Mix_OpenAudio(i32 noundef 44100, i16 noundef zeroext -32752, i32 noundef 2, i32 noundef 2048)
  %11 = icmp slt i32 %10, 0
  br i1 %11, label %12, label %15

12:                                               ; preds = %9
  %13 = tail call ptr @SDL_GetError()
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %13)
  br label %15

15:                                               ; preds = %12, %9
  %16 = tail call ptr @Mix_LoadMUS(ptr noundef nonnull @.str.2)
  store ptr %16, ptr @gMusic, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %21

18:                                               ; preds = %15
  %19 = tail call ptr @SDL_GetError()
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %19)
  br label %21

21:                                               ; preds = %18, %15
  %22 = tail call ptr @SDL_CreateWindow(ptr noundef nonnull @.str.4, i32 noundef 200, i32 noundef 200, i32 noundef 500, i32 noundef 500, i32 noundef 2)
  %.not = icmp eq ptr %22, null
  br i1 %.not, label %23, label %24

23:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i32 noundef 52, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #5
  unreachable

24:                                               ; preds = %21
  %25 = tail call ptr @SDL_GL_CreateContext(ptr noundef nonnull %22)
  %26 = tail call i32 @SDL_GL_SetAttribute(i32 noundef 17, i32 noundef 3)
  %27 = tail call i32 @SDL_GL_SetAttribute(i32 noundef 18, i32 noundef 1)
  %28 = tail call i32 @SDL_GL_SetAttribute(i32 noundef 21, i32 noundef 1)
  %29 = load ptr, ptr @gMusic, align 8, !tbaa !5
  %30 = tail call i32 @Mix_PlayMusic(ptr noundef %29, i32 noundef -1)
  %31 = getelementptr inbounds i8, ptr %3, i64 20
  br label %32

32:                                               ; preds = %24, %._crit_edge
  %.022 = phi i32 [ 0, %24 ], [ %.1.lcssa, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  %33 = call i32 @SDL_PollEvent(ptr noundef nonnull %3)
  %.not1618 = icmp eq i32 %33, 0
  br i1 %.not1618, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %32, %44
  %.120 = phi i32 [ %.2, %44 ], [ %.022, %32 ]
  %.11119 = phi i32 [ %.212, %44 ], [ 1, %32 ]
  %34 = load i32, ptr %3, align 8, !tbaa !9
  switch i32 %34, label %44 [
    i32 768, label %35
    i32 256, label %43
  ]

35:                                               ; preds = %.lr.ph
  %36 = load i32, ptr %31, align 4, !tbaa !9
  switch i32 %36, label %44 [
    i32 27, label %37
    i32 102, label %38
  ]

37:                                               ; preds = %35
  br label %44

38:                                               ; preds = %35
  %.not17 = icmp eq i32 %.120, 0
  br i1 %.not17, label %39, label %41

39:                                               ; preds = %38
  %40 = call i32 @SDL_SetWindowFullscreen(ptr noundef nonnull %22, i32 noundef 4099)
  br label %44

41:                                               ; preds = %38
  %42 = call i32 @SDL_SetWindowFullscreen(ptr noundef nonnull %22, i32 noundef 2)
  br label %44

43:                                               ; preds = %.lr.ph
  br label %44

44:                                               ; preds = %.lr.ph, %43, %37, %41, %39, %35
  %.212 = phi i32 [ %.11119, %35 ], [ %.11119, %39 ], [ %.11119, %41 ], [ 0, %37 ], [ 0, %43 ], [ %.11119, %.lr.ph ]
  %.2 = phi i32 [ %.120, %35 ], [ 1, %39 ], [ 0, %41 ], [ %.120, %37 ], [ %.120, %43 ], [ %.120, %.lr.ph ]
  %45 = call i32 @SDL_PollEvent(ptr noundef nonnull %3)
  %.not16 = icmp eq i32 %45, 0
  br i1 %.not16, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge:                                      ; preds = %44, %32
  %.111.lcssa = phi i32 [ 1, %32 ], [ %.212, %44 ]
  %.1.lcssa = phi i32 [ %.022, %32 ], [ %.2, %44 ]
  call void @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef 500, i32 noundef 500)
  call void @glClearColor(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @glClear(i32 noundef 16384)
  call void @SDL_GL_SwapWindow(ptr noundef nonnull %22)
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  %.not15 = icmp eq i32 %.111.lcssa, 0
  br i1 %.not15, label %46, label %32, !llvm.loop !12

46:                                               ; preds = %._crit_edge
  ret i32 0
}

declare i32 @SDL_Init(i32 noundef) local_unnamed_addr #1

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

declare ptr @SDL_GetError() local_unnamed_addr #1

declare i32 @Mix_OpenAudio(i32 noundef, i16 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #1

declare ptr @Mix_LoadMUS(ptr noundef) local_unnamed_addr #1

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

declare ptr @SDL_CreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

declare ptr @SDL_GL_CreateContext(ptr noundef) local_unnamed_addr #1

declare i32 @SDL_GL_SetAttribute(i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @Mix_PlayMusic(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @SDL_PollEvent(ptr noundef) local_unnamed_addr #1

declare i32 @SDL_SetWindowFullscreen(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @glClearColor(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

declare void @glClear(i32 noundef) local_unnamed_addr #1

declare void @SDL_GL_SwapWindow(ptr noundef) 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) #3

attributes #0 = { mustprogress norecurse 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 = { "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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn nounwind }
attributes #6 = { 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++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


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