; LLVM IR from SelfishOlex/MiniAudioO3DE :: MiniAudio/Code/Source/Clients (MiniAudioImplementation)

; 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.ma_vec3f = type { float, float, float }
%struct.ma_engine = type { %struct.ma_node_graph, ptr, ptr, ptr, i32, i32, [4 x %struct.ma_spatializer_listener], %struct.ma_allocation_callbacks, i8, i8, i32, ptr, i32, i32, i32 }
%struct.ma_node_graph = type { %struct.ma_node_base, %struct.ma_node_base, i16, i32 }
%struct.ma_node_base = type { ptr, ptr, ptr, i16, i16, i16, i16, i32, [2 x i64], i64, i32, i32, ptr, ptr, [2 x %struct.ma_node_input_bus], [2 x %struct.ma_node_output_bus], ptr, i32 }
%struct.ma_node_input_bus = type { %struct.ma_node_output_bus, i32, i32, i8 }
%struct.ma_node_output_bus = type { ptr, i8, i8, i8, i32, i32, i32, i32, float, ptr, ptr, ptr }
%struct.ma_spatializer_listener = type { %struct.ma_spatializer_listener_config, %struct.ma_vec3f, %struct.ma_vec3f, %struct.ma_vec3f, i32, i32, ptr }
%struct.ma_spatializer_listener_config = type { i32, ptr, i32, float, float, float, float, %struct.ma_vec3f }
%struct.ma_allocation_callbacks = type { ptr, ptr, ptr, ptr }

@.str.6 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__.ma_engine_find_closest_listener = external hidden unnamed_addr constant [82 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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_Z16ma_vec3f_init_3ffff(float noundef, float noundef, float noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_Z12ma_vec3f_sub8ma_vec3fS_(<2 x float>, float, <2 x float>, float) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z13ma_vec3f_len28ma_vec3f(<2 x float>, float) #4

; Function Attrs: mustprogress uwtable
define dso_local i32 @ma_engine_find_closest_listener(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3) #5 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca %struct.ma_vec3f, align 4
  %16 = alloca %struct.ma_vec3f, align 4
  %17 = alloca %struct.ma_vec3f, align 4
  %18 = alloca { <2 x float>, float }, align 8
  %19 = alloca { <2 x float>, float }, align 4
  %20 = alloca { <2 x float>, float }, align 4
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca { <2 x float>, float }, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store float %1, ptr %7, align 4, !tbaa !9
  store float %2, ptr %8, align 4, !tbaa !9
  store float %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store float 0x47EFFFFFE0000000, ptr %12, align 4, !tbaa !9
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = icmp eq ptr %23, null
  br i1 %24, label %30, label %25

25:                                               ; preds = %4
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ma_engine, ptr %26, i32 0, i32 5
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = icmp eq i32 %28, 1
  br i1 %29, label %30, label %31

30:                                               ; preds = %25, %4
  store i32 0, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %87

31:                                               ; preds = %25
  store i32 0, ptr %11, align 4, !tbaa !21
  store i32 0, ptr %10, align 4, !tbaa !21
  br label %32

32:                                               ; preds = %76, %31
  %33 = load i32, ptr %10, align 4, !tbaa !21
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ma_engine, ptr %34, i32 0, i32 5
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp ult i32 %33, %36
  br i1 %37, label %38, label %79

38:                                               ; preds = %32
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load i32, ptr %10, align 4, !tbaa !21
  %41 = call i32 @ma_engine_listener_is_enabled(ptr noundef %39, i32 noundef %40)
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %75

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ma_engine, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %10, align 4, !tbaa !21
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds [4 x %struct.ma_spatializer_listener], ptr %45, i64 0, i64 %47
  %49 = getelementptr inbounds %struct.ma_spatializer_listener, ptr %48, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %49, i64 12, i1 false), !tbaa.struct !22
  %50 = load float, ptr %7, align 4, !tbaa !9
  %51 = load float, ptr %8, align 4, !tbaa !9
  %52 = load float, ptr %9, align 4, !tbaa !9
  %53 = call { <2 x float>, float } @_Z16ma_vec3f_init_3ffff(float noundef %50, float noundef %51, float noundef %52)
  store { <2 x float>, float } %53, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %18, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %16, i64 12, i1 false)
  %54 = getelementptr inbounds { <2 x float>, float }, ptr %19, i32 0, i32 0
  %55 = load <2 x float>, ptr %54, align 4
  %56 = getelementptr inbounds { <2 x float>, float }, ptr %19, i32 0, i32 1
  %57 = load float, ptr %56, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %17, i64 12, i1 false)
  %58 = getelementptr inbounds { <2 x float>, float }, ptr %20, i32 0, i32 0
  %59 = load <2 x float>, ptr %58, align 4
  %60 = getelementptr inbounds { <2 x float>, float }, ptr %20, i32 0, i32 1
  %61 = load float, ptr %60, align 4
  %62 = call { <2 x float>, float } @_Z12ma_vec3f_sub8ma_vec3fS_(<2 x float> %55, float %57, <2 x float> %59, float %61)
  store { <2 x float>, float } %62, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %21, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %15, i64 12, i1 false)
  %63 = getelementptr inbounds { <2 x float>, float }, ptr %22, i32 0, i32 0
  %64 = load <2 x float>, ptr %63, align 4
  %65 = getelementptr inbounds { <2 x float>, float }, ptr %22, i32 0, i32 1
  %66 = load float, ptr %65, align 4
  %67 = call noundef float @_Z13ma_vec3f_len28ma_vec3f(<2 x float> %64, float %66)
  store float %67, ptr %14, align 4, !tbaa !9
  %68 = load float, ptr %12, align 4, !tbaa !9
  %69 = load float, ptr %14, align 4, !tbaa !9
  %70 = fcmp ogt float %68, %69
  br i1 %70, label %71, label %74

71:                                               ; preds = %43
  %72 = load float, ptr %14, align 4, !tbaa !9
  store float %72, ptr %12, align 4, !tbaa !9
  %73 = load i32, ptr %10, align 4, !tbaa !21
  store i32 %73, ptr %11, align 4, !tbaa !21
  br label %74

74:                                               ; preds = %71, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %75

75:                                               ; preds = %74, %38
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %10, align 4, !tbaa !21
  %78 = add i32 %77, 1
  store i32 %78, ptr %10, align 4, !tbaa !21
  br label %32, !llvm.loop !23

79:                                               ; preds = %32
  %80 = load i32, ptr %11, align 4, !tbaa !21
  %81 = icmp ult i32 %80, 255
  br i1 %81, label %82, label %83

82:                                               ; preds = %79
  br label %85

83:                                               ; preds = %79
  call void @__assert_fail(ptr noundef @.str.162, ptr noundef @.str.6, i32 noundef 72228, ptr noundef @__PRETTY_FUNCTION__.ma_engine_find_closest_listener) #7
  unreachable

84:                                               ; No predecessors!
  br label %85

85:                                               ; preds = %84, %82
  %86 = load i32, ptr %11, align 4, !tbaa !21
  store i32 %86, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %87

87:                                               ; preds = %85, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %88 = load i32, ptr %5, align 4
  ret i32 %88
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i32 @ma_engine_listener_is_enabled(ptr noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !18, i64 756}
!12 = !{!"_ZTS9ma_engine", !13, i64 0, !6, i64 728, !6, i64 736, !6, i64 744, !18, i64 752, !18, i64 756, !7, i64 760, !19, i64 1176, !7, i64 1208, !7, i64 1209, !18, i64 1212, !6, i64 1216, !18, i64 1224, !18, i64 1228, !20, i64 1232}
!13 = !{!"_ZTS13ma_node_graph", !14, i64 0, !14, i64 360, !15, i64 720, !18, i64 724}
!14 = !{!"_ZTS12ma_node_base", !6, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 26, !15, i64 28, !15, i64 30, !16, i64 32, !7, i64 40, !17, i64 56, !18, i64 64, !18, i64 68, !6, i64 72, !6, i64 80, !7, i64 88, !7, i64 232, !6, i64 344, !18, i64 352}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS13ma_node_state", !7, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTS23ma_allocation_callbacks", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTS22ma_mono_expansion_mode", !7, i64 0}
!21 = !{!18, !18, i64 0}
!22 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!23 = distinct !{!23, !24}
!24 = !{!"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.ma_spatializer_listener = type { %struct.ma_spatializer_listener_config, %struct.ma_vec3f, %struct.ma_vec3f, %struct.ma_vec3f, i32, i32, ptr }
%struct.ma_spatializer_listener_config = type { i32, ptr, i32, float, float, float, float, %struct.ma_vec3f }
%struct.ma_vec3f = type { float, float, float }

@.str.6 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__.ma_engine_find_closest_listener = external hidden unnamed_addr constant [82 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_Z16ma_vec3f_init_3ffff(float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_Z12ma_vec3f_sub8ma_vec3fS_(<2 x float>, float, <2 x float>, float) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z13ma_vec3f_len28ma_vec3f(<2 x float>, float) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local i32 @ma_engine_find_closest_listener(ptr noundef %0, float noundef %1, float noundef %2, float noundef %3) local_unnamed_addr #2 {
  %5 = icmp eq ptr %0, null
  br i1 %5, label %._crit_edge.thread, label %6

6:                                                ; preds = %4
  %7 = getelementptr inbounds i8, ptr %0, i64 756
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %switch = icmp ult i32 %8, 2
  br i1 %switch, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 760
  br label %10

10:                                               ; preds = %.lr.ph, %19
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %19 ]
  %.03542 = phi i32 [ 0, %.lr.ph ], [ %.2, %19 ]
  %.03641 = phi float [ 0x47EFFFFFE0000000, %.lr.ph ], [ %.238, %19 ]
  %11 = trunc nuw i64 %indvars.iv to i32
  %12 = tail call i32 @ma_engine_listener_is_enabled(ptr noundef nonnull %0, i32 noundef %11)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %19, label %13

13:                                               ; preds = %10
  %14 = getelementptr inbounds [4 x %struct.ma_spatializer_listener], ptr %9, i64 0, i64 %indvars.iv, i32 1
  %.sroa.013.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.214.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %.sroa.214.0.copyload = load float, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %15 = tail call { <2 x float>, float } @_Z16ma_vec3f_init_3ffff(float noundef %1, float noundef %2, float noundef %3)
  %.fca.0.extract7 = extractvalue { <2 x float>, float } %15, 0
  %.fca.1.extract8 = extractvalue { <2 x float>, float } %15, 1
  %16 = tail call { <2 x float>, float } @_Z12ma_vec3f_sub8ma_vec3fS_(<2 x float> %.sroa.013.0.copyload, float %.sroa.214.0.copyload, <2 x float> %.fca.0.extract7, float %.fca.1.extract8)
  %.fca.0.extract = extractvalue { <2 x float>, float } %16, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %16, 1
  %17 = tail call noundef float @_Z13ma_vec3f_len28ma_vec3f(<2 x float> %.fca.0.extract, float %.fca.1.extract)
  %18 = fcmp ogt float %.03641, %17
  %.137 = select i1 %18, float %17, float %.03641
  %.1 = select i1 %18, i32 %11, i32 %.03542
  br label %19

19:                                               ; preds = %10, %13
  %.238 = phi float [ %.137, %13 ], [ %.03641, %10 ]
  %.2 = phi i32 [ %.1, %13 ], [ %.03542, %10 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %20 = load i32, ptr %7, align 4, !tbaa !5
  %21 = zext i32 %20 to i64
  %22 = icmp ult i64 %indvars.iv.next, %21
  br i1 %22, label %10, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %19
  %23 = icmp ult i32 %.2, 255
  br i1 %23, label %._crit_edge.thread, label %24

24:                                               ; preds = %._crit_edge
  tail call void @__assert_fail(ptr noundef nonnull @.str.162, ptr noundef nonnull @.str.6, i32 noundef 72228, ptr noundef nonnull @__PRETTY_FUNCTION__.ma_engine_find_closest_listener) #3
  unreachable

._crit_edge.thread:                               ; preds = %6, %._crit_edge, %4
  %.0 = phi i32 [ 0, %4 ], [ %.2, %._crit_edge ], [ 0, %6 ]
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i32 @ma_engine_listener_is_enabled(ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "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 }

!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, !15, i64 756}
!6 = !{!"_ZTS9ma_engine", !7, i64 0, !9, i64 728, !9, i64 736, !9, i64 744, !15, i64 752, !15, i64 756, !10, i64 760, !16, i64 1176, !10, i64 1208, !10, i64 1209, !15, i64 1212, !9, i64 1216, !15, i64 1224, !15, i64 1228, !17, i64 1232}
!7 = !{!"_ZTS13ma_node_graph", !8, i64 0, !8, i64 360, !12, i64 720, !15, i64 724}
!8 = !{!"_ZTS12ma_node_base", !9, i64 0, !9, i64 8, !9, i64 16, !12, i64 24, !12, i64 26, !12, i64 28, !12, i64 30, !13, i64 32, !10, i64 40, !14, i64 56, !15, i64 64, !15, i64 68, !9, i64 72, !9, i64 80, !10, i64 88, !10, i64 232, !9, i64 344, !15, i64 352}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"short", !10, i64 0}
!13 = !{!"_ZTS13ma_node_state", !10, i64 0}
!14 = !{!"long long", !10, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!"_ZTS23ma_allocation_callbacks", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!17 = !{!"_ZTS22ma_mono_expansion_mode", !10, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !10, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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