; LLVM IR from Overload-Technologies/Overload :: Dependencies/soloud/src/core/soloud_queue.ll (ZN6SoLoud13QueueInstance8getAudioEPfjj)

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

%"class.SoLoud::QueueInstance" = type { %"class.SoLoud::AudioSourceInstance", ptr }
%"class.SoLoud::AudioSourceInstance" = type { ptr, i32, i32, i32, float, [8 x float], float, float, float, float, i32, float, float, double, double, %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", i32, [8 x float], i32, i32, [8 x ptr], [2 x ptr], i32, i32, i32, double }
%"class.SoLoud::Fader" = type { float, float, float, double, double, double, float, i32 }
%"class.SoLoud::Queue" = type <{ %"class.SoLoud::AudioSource", i32, i32, i32, [4 x i8], [32 x ptr], ptr, i32, [4 x i8] }>
%"class.SoLoud::AudioSource" = type { ptr, i32, float, float, i32, i32, float, float, float, i32, float, [8 x ptr], ptr, ptr, ptr, i32, double }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6SoLoud13QueueInstance8getAudioEPfjj(ptr noundef nonnull align 8 dereferenceable(504) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  %13 = load ptr, ptr %6, align 8
  %14 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = getelementptr inbounds %"class.SoLoud::Queue", ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 8, !tbaa !17
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %4
  store i32 0, ptr %5, align 4
  br label %120

20:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  %21 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %21, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %117, %20
  %23 = load i32, ptr %10, align 4, !tbaa !9
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %31

25:                                               ; preds = %22
  %26 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds %"class.SoLoud::Queue", ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !17
  %30 = icmp ne i32 %29, 0
  br label %31

31:                                               ; preds = %25, %22
  %32 = phi i1 [ false, %22 ], [ %30, %25 ]
  br i1 %32, label %33, label %118

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  %34 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds %"class.SoLoud::Queue", ptr %35, i32 0, i32 5
  %37 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds %"class.SoLoud::Queue", ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !20
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds [32 x ptr], ptr %36, i64 0, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load i32, ptr %11, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds float, ptr %44, i64 %46
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = load ptr, ptr %43, align 8, !tbaa !21
  %51 = getelementptr inbounds ptr, ptr %50, i64 2
  %52 = load ptr, ptr %51, align 8
  %53 = call noundef i32 %52(ptr noundef nonnull align 8 dereferenceable(496) %43, ptr noundef %47, i32 noundef %48, i32 noundef %49)
  store i32 %53, ptr %12, align 4, !tbaa !9
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = add i32 %55, %54
  store i32 %56, ptr %11, align 4, !tbaa !9
  %57 = load i32, ptr %12, align 4, !tbaa !9
  %58 = load i32, ptr %10, align 4, !tbaa !9
  %59 = sub i32 %58, %57
  store i32 %59, ptr %10, align 4, !tbaa !9
  %60 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = getelementptr inbounds %"class.SoLoud::Queue", ptr %61, i32 0, i32 5
  %63 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds %"class.SoLoud::Queue", ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 8, !tbaa !20
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds [32 x ptr], ptr %62, i64 0, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !21
  %71 = getelementptr inbounds ptr, ptr %70, i64 3
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef zeroext i1 %72(ptr noundef nonnull align 8 dereferenceable(496) %69)
  br i1 %73, label %74, label %117

74:                                               ; preds = %33
  %75 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds %"class.SoLoud::Queue", ptr %76, i32 0, i32 5
  %78 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = getelementptr inbounds %"class.SoLoud::Queue", ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 8, !tbaa !20
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds [32 x ptr], ptr %77, i64 0, i64 %82
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = icmp eq ptr %84, null
  br i1 %85, label %90, label %86

86:                                               ; preds = %74
  %87 = load ptr, ptr %84, align 8, !tbaa !21
  %88 = getelementptr inbounds ptr, ptr %87, i64 1
  %89 = load ptr, ptr %88, align 8
  call void %89(ptr noundef nonnull align 8 dereferenceable(496) %84) #2
  br label %90

90:                                               ; preds = %86, %74
  %91 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !11
  %93 = getelementptr inbounds %"class.SoLoud::Queue", ptr %92, i32 0, i32 5
  %94 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %95 = load ptr, ptr %94, align 8, !tbaa !11
  %96 = getelementptr inbounds %"class.SoLoud::Queue", ptr %95, i32 0, i32 1
  %97 = load i32, ptr %96, align 8, !tbaa !20
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds [32 x ptr], ptr %93, i64 0, i64 %98
  store ptr null, ptr %99, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !11
  %102 = getelementptr inbounds %"class.SoLoud::Queue", ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !20
  %104 = add i32 %103, 1
  %105 = urem i32 %104, 32
  %106 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds %"class.SoLoud::Queue", ptr %107, i32 0, i32 1
  store i32 %105, ptr %108, align 8, !tbaa !20
  %109 = getelementptr inbounds %"class.SoLoud::QueueInstance", ptr %13, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !11
  %111 = getelementptr inbounds %"class.SoLoud::Queue", ptr %110, i32 0, i32 3
  %112 = load i32, ptr %111, align 8, !tbaa !17
  %113 = add i32 %112, -1
  store i32 %113, ptr %111, align 8, !tbaa !17
  %114 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance", ptr %13, i32 0, i32 2
  %115 = load i32, ptr %114, align 4, !tbaa !23
  %116 = add i32 %115, 1
  store i32 %116, ptr %114, align 4, !tbaa !23
  br label %117

117:                                              ; preds = %90, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  br label %22, !llvm.loop !24

118:                                              ; preds = %31
  %119 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %119, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  br label %120

120:                                              ; preds = %118, %19
  %121 = load i32, ptr %5, align 4
  ret i32 %121
}

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

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

attributes #0 = { mustprogress 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 496}
!12 = !{!"_ZTSN6SoLoud13QueueInstanceE", !13, i64 0, !6, i64 496}
!13 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !10, i64 8, !10, i64 12, !10, i64 16, !14, i64 20, !7, i64 24, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !10, i64 72, !14, i64 76, !14, i64 80, !15, i64 88, !15, i64 96, !16, i64 104, !16, i64 152, !16, i64 200, !16, i64 248, !16, i64 296, !10, i64 344, !7, i64 348, !10, i64 380, !10, i64 384, !7, i64 392, !7, i64 456, !10, i64 472, !10, i64 476, !10, i64 480, !15, i64 488}
!14 = !{!"float", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN6SoLoud5FaderE", !14, i64 0, !14, i64 4, !14, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !14, i64 40, !10, i64 44}
!17 = !{!18, !10, i64 160}
!18 = !{!"_ZTSN6SoLoud5QueueE", !19, i64 0, !10, i64 152, !10, i64 156, !10, i64 160, !7, i64 168, !6, i64 424, !10, i64 432}
!19 = !{!"_ZTSN6SoLoud11AudioSourceE", !10, i64 8, !14, i64 12, !14, i64 16, !10, i64 20, !10, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !10, i64 40, !14, i64 44, !7, i64 48, !6, i64 112, !6, i64 120, !6, i64 128, !10, i64 136, !15, i64 144}
!20 = !{!18, !10, i64 152}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = !{!13, !10, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"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"

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6SoLoud13QueueInstance8getAudioEPfjj(ptr nocapture noundef nonnull align 8 dereferenceable(504) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 496
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 160
  %8 = load i32, ptr %7, align 8, !tbaa !15
  %9 = icmp eq i32 %8, 0
  %.not16 = icmp eq i32 %2, 0
  %or.cond = or i1 %9, %.not16
  br i1 %or.cond, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 12
  br label %11

11:                                               ; preds = %.lr.ph, %68
  %.01218 = phi i32 [ 0, %.lr.ph ], [ %28, %68 ]
  %.01317 = phi i32 [ %2, %.lr.ph ], [ %29, %68 ]
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 160
  %14 = load i32, ptr %13, align 8, !tbaa !15
  %.not15 = icmp eq i32 %14, 0
  br i1 %.not15, label %.critedge, label %15

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %12, i64 168
  %17 = getelementptr inbounds i8, ptr %12, i64 152
  %18 = load i32, ptr %17, align 8, !tbaa !18
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds [32 x ptr], ptr %16, i64 0, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !19
  %22 = zext i32 %.01218 to i64
  %23 = getelementptr inbounds float, ptr %1, i64 %22
  %24 = load ptr, ptr %21, align 8, !tbaa !20
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %26 = load ptr, ptr %25, align 8
  %27 = tail call noundef i32 %26(ptr noundef nonnull align 8 dereferenceable(496) %21, ptr noundef %23, i32 noundef %.01317, i32 noundef %3)
  %28 = add i32 %27, %.01218
  %29 = sub i32 %.01317, %27
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 168
  %32 = getelementptr inbounds i8, ptr %30, i64 152
  %33 = load i32, ptr %32, align 8, !tbaa !18
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds [32 x ptr], ptr %31, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds i8, ptr %37, i64 24
  %39 = load ptr, ptr %38, align 8
  %40 = tail call noundef zeroext i1 %39(ptr noundef nonnull align 8 dereferenceable(496) %36)
  br i1 %40, label %41, label %68

41:                                               ; preds = %15
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 168
  %44 = getelementptr inbounds i8, ptr %42, i64 152
  %45 = load i32, ptr %44, align 8, !tbaa !18
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds [32 x ptr], ptr %43, i64 0, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !19
  %49 = icmp eq ptr %48, null
  br i1 %49, label %54, label %50

50:                                               ; preds = %41
  %51 = load ptr, ptr %48, align 8, !tbaa !20
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %53 = load ptr, ptr %52, align 8
  tail call void %53(ptr noundef nonnull align 8 dereferenceable(496) %48) #1
  %.pre = load ptr, ptr %5, align 8, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 152
  %.pre21 = load i32, ptr %.phi.trans.insert, align 8, !tbaa !18
  %.pre22 = zext i32 %.pre21 to i64
  br label %54

54:                                               ; preds = %50, %41
  %.pre-phi = phi i64 [ %.pre22, %50 ], [ %46, %41 ]
  %55 = phi ptr [ %.pre, %50 ], [ %42, %41 ]
  %56 = getelementptr inbounds i8, ptr %55, i64 168
  %57 = getelementptr inbounds [32 x ptr], ptr %56, i64 0, i64 %.pre-phi
  store ptr null, ptr %57, align 8, !tbaa !19
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 152
  %60 = load i32, ptr %59, align 8, !tbaa !18
  %61 = add i32 %60, 1
  %62 = and i32 %61, 31
  store i32 %62, ptr %59, align 8, !tbaa !18
  %63 = getelementptr inbounds i8, ptr %58, i64 160
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = add i32 %64, -1
  store i32 %65, ptr %63, align 8, !tbaa !15
  %66 = load i32, ptr %10, align 4, !tbaa !22
  %67 = add i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !22
  br label %68

68:                                               ; preds = %54, %15
  %.not = icmp eq i32 %29, 0
  br i1 %.not, label %.critedge, label %11, !llvm.loop !23

.critedge:                                        ; preds = %68, %11, %4
  %.0 = phi i32 [ 0, %4 ], [ %28, %68 ], [ %.01218, %11 ]
  ret i32 %.0
}

attributes #0 = { mustprogress 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 = { 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, !14, i64 496}
!6 = !{!"_ZTSN6SoLoud13QueueInstanceE", !7, i64 0, !14, i64 496}
!7 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 20, !9, i64 24, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !8, i64 72, !11, i64 76, !11, i64 80, !12, i64 88, !12, i64 96, !13, i64 104, !13, i64 152, !13, i64 200, !13, i64 248, !13, i64 296, !8, i64 344, !9, i64 348, !8, i64 380, !8, i64 384, !9, i64 392, !9, i64 456, !8, i64 472, !8, i64 476, !8, i64 480, !12, i64 488}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"float", !9, i64 0}
!12 = !{!"double", !9, i64 0}
!13 = !{!"_ZTSN6SoLoud5FaderE", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !8, i64 44}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !8, i64 160}
!16 = !{!"_ZTSN6SoLoud5QueueE", !17, i64 0, !8, i64 152, !8, i64 156, !8, i64 160, !9, i64 168, !14, i64 424, !8, i64 432}
!17 = !{!"_ZTSN6SoLoud11AudioSourceE", !8, i64 8, !11, i64 12, !11, i64 16, !8, i64 20, !8, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !8, i64 40, !11, i64 44, !9, i64 48, !14, i64 112, !14, i64 120, !14, i64 128, !8, i64 136, !12, i64 144}
!18 = !{!16, !8, i64 152}
!19 = !{!14, !14, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !10, i64 0}
!22 = !{!7, !8, i64 12}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


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