; LLVM IR from Dragons-Lake/REI :: sources/REI/3rdParty/spirv_reflect (spirv_reflect)

; 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.SpvReflectShaderModule = type { i32, ptr, i32, i32, ptr, i32, i32, ptr, ptr, i32, i32, i32, ptr, i32, [64 x %struct.SpvReflectDescriptorSet], i32, ptr, i32, ptr, i32, ptr, ptr }
%struct.SpvReflectDescriptorSet = type { i32, i32, ptr }
%struct.SpvReflectDescriptorBinding = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectImageTraits, %struct.SpvReflectBlockVariable, %struct.SpvReflectBindingArrayTraits, i32, i32, i32, ptr, ptr, %struct.anon }
%struct.SpvReflectImageTraits = type { i32, i32, i32, i32, i32, i32 }
%struct.SpvReflectBlockVariable = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectNumericTraits, %struct.SpvReflectArrayTraits, i32, i32, ptr, ptr }
%struct.SpvReflectNumericTraits = type { %struct.Scalar, %struct.Vector, %struct.Matrix }
%struct.Scalar = type { i32, i32 }
%struct.Vector = type { i32 }
%struct.Matrix = type { i32, i32, i32 }
%struct.SpvReflectArrayTraits = type { i32, [32 x i32], i32 }
%struct.SpvReflectBindingArrayTraits = type { i32, [32 x i32] }
%struct.anon = type { i32, i32 }
%struct.SpvReflectEntryPoint = type { ptr, i32, i32, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, %struct.LocalSize, i32, i32 }
%struct.LocalSize = type { i32, i32, i32 }

; 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: nounwind uwtable
declare dso_local ptr @spvReflectGetEntryPoint(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @SearchSortedUint32(ptr noundef, i64 noundef, i32 noundef) #1

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

23:                                               ; preds = %5
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %28

26:                                               ; preds = %23
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 8, ptr %27, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %26, %23
  store ptr null, ptr %6, align 8
  store i32 1, ptr %13, align 4
  br label %101

29:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  store ptr null, ptr %14, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %84

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #2
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %79, %32
  %34 = load i32, ptr %15, align 4, !tbaa !9
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SpvReflectShaderModule, ptr %35, i32 0, i32 11
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = icmp ult i32 %34, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %33
  store i32 2, ptr %13, align 4
  br label %82

40:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.SpvReflectShaderModule, ptr %41, i32 0, i32 12
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %43, i64 %45
  store ptr %46, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #2
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.SpvReflectEntryPoint, ptr %47, i32 0, i32 11
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.SpvReflectEntryPoint, ptr %50, i32 0, i32 10
  %52 = load i32, ptr %51, align 8, !tbaa !17
  %53 = zext i32 %52 to i64
  %54 = load ptr, ptr %16, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %54, i32 0, i32 0
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = call zeroext i1 @SearchSortedUint32(ptr noundef %49, i64 noundef %53, i32 noundef %56)
  %58 = zext i1 %57 to i8
  store i8 %58, ptr %17, align 1, !tbaa !29
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %59, i32 0, i32 2
  %61 = load i32, ptr %60, align 8, !tbaa !31
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = icmp eq i32 %61, %62
  br i1 %63, label %64, label %75

64:                                               ; preds = %40
  %65 = load ptr, ptr %16, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %65, i32 0, i32 4
  %67 = load i32, ptr %66, align 8, !tbaa !32
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = icmp eq i32 %67, %68
  br i1 %69, label %70, label %75

70:                                               ; preds = %64
  %71 = load i8, ptr %17, align 1, !tbaa !29, !range !33, !noundef !34
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %75

73:                                               ; preds = %70
  %74 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %74, ptr %14, align 8, !tbaa !5
  store i32 2, ptr %13, align 4
  br label %76

75:                                               ; preds = %70, %64, %40
  store i32 0, ptr %13, align 4
  br label %76

76:                                               ; preds = %75, %73
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  %77 = load i32, ptr %13, align 4
  switch i32 %77, label %82 [
    i32 0, label %78
  ]

78:                                               ; preds = %76
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = add i32 %80, 1
  store i32 %81, ptr %15, align 4, !tbaa !9
  br label %33, !llvm.loop !35

82:                                               ; preds = %76, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #2
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83, %29
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %99

87:                                               ; preds = %84
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  br label %96

91:                                               ; preds = %87
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = icmp eq ptr %92, null
  %94 = zext i1 %93 to i64
  %95 = select i1 %93, i32 5, i32 8
  br label %96

96:                                               ; preds = %91, %90
  %97 = phi i32 [ 0, %90 ], [ %95, %91 ]
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %97, ptr %98, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %96, %84
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %100, ptr %6, align 8
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  br label %101

101:                                              ; preds = %99, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  %102 = load ptr, ptr %6, align 8
  ret ptr %102
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 64}
!12 = !{!"SpvReflectShaderModule", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !6, i64 72, !10, i64 80, !7, i64 88, !10, i64 1112, !6, i64 1120, !10, i64 1128, !6, i64 1136, !10, i64 1144, !6, i64 1152, !6, i64 1160}
!13 = !{!12, !6, i64 72}
!14 = !{!15, !6, i64 72}
!15 = !{!"SpvReflectEntryPoint", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !16, i64 96, !10, i64 108, !10, i64 112}
!16 = !{!"LocalSize", !10, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!15, !10, i64 64}
!18 = !{!19, !10, i64 0}
!19 = !{!"SpvReflectDescriptorBinding", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !20, i64 36, !21, i64 64, !27, i64 288, !10, i64 420, !10, i64 424, !10, i64 428, !6, i64 432, !6, i64 440, !28, i64 448}
!20 = !{!"SpvReflectImageTraits", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!21 = !{!"SpvReflectBlockVariable", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !22, i64 36, !26, i64 60, !10, i64 196, !10, i64 200, !6, i64 208, !6, i64 216}
!22 = !{!"SpvReflectNumericTraits", !23, i64 0, !24, i64 8, !25, i64 12}
!23 = !{!"Scalar", !10, i64 0, !10, i64 4}
!24 = !{!"Vector", !10, i64 0}
!25 = !{!"Matrix", !10, i64 0, !10, i64 4, !10, i64 8}
!26 = !{!"SpvReflectArrayTraits", !10, i64 0, !7, i64 4, !10, i64 132}
!27 = !{!"SpvReflectBindingArrayTraits", !10, i64 0, !7, i64 4}
!28 = !{!"", !10, i64 0, !10, i64 4}
!29 = !{!30, !30, i64 0}
!30 = !{!"_Bool", !7, i64 0}
!31 = !{!19, !10, i64 16}
!32 = !{!19, !10, i64 24}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !36}
!36 = !{!"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.SpvReflectDescriptorBinding = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectImageTraits, %struct.SpvReflectBlockVariable, %struct.SpvReflectBindingArrayTraits, i32, i32, i32, ptr, ptr, %struct.anon }
%struct.SpvReflectImageTraits = type { i32, i32, i32, i32, i32, i32 }
%struct.SpvReflectBlockVariable = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectNumericTraits, %struct.SpvReflectArrayTraits, i32, i32, ptr, ptr }
%struct.SpvReflectNumericTraits = type { %struct.Scalar, %struct.Vector, %struct.Matrix }
%struct.Scalar = type { i32, i32 }
%struct.Vector = type { i32 }
%struct.Matrix = type { i32, i32, i32 }
%struct.SpvReflectArrayTraits = type { i32, [32 x i32], i32 }
%struct.SpvReflectBindingArrayTraits = type { i32, [32 x i32] }
%struct.anon = type { i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local ptr @spvReflectGetEntryPoint(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @SearchSortedUint32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @spvReflectGetEntryPointDescriptorBinding(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef writeonly %4) local_unnamed_addr #0 {
  %6 = tail call ptr @spvReflectGetEntryPoint(ptr noundef %0, ptr noundef %1)
  %7 = icmp eq ptr %6, null
  br i1 %7, label %8, label %9

8:                                                ; preds = %5
  %.not35 = icmp eq ptr %4, null
  br i1 %.not35, label %37, label %.sink.split

9:                                                ; preds = %5
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %9
  %10 = getelementptr inbounds i8, ptr %0, i64 64
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %.not45 = icmp eq i32 %11, 0
  br i1 %.not45, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %12 = getelementptr inbounds i8, ptr %0, i64 72
  %13 = getelementptr inbounds i8, ptr %6, i64 72
  %14 = getelementptr inbounds i8, ptr %6, i64 64
  br label %15

15:                                               ; preds = %.lr.ph, %30
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %30 ]
  %16 = load ptr, ptr %12, align 8, !tbaa !11
  %17 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %16, i64 %indvars.iv
  %18 = load ptr, ptr %13, align 8, !tbaa !12
  %19 = load i32, ptr %14, align 8, !tbaa !15
  %20 = zext i32 %19 to i64
  %21 = load i32, ptr %17, align 8, !tbaa !16
  %22 = tail call zeroext i1 @SearchSortedUint32(ptr noundef %18, i64 noundef %20, i32 noundef %21)
  %23 = getelementptr inbounds i8, ptr %17, i64 16
  %24 = load i32, ptr %23, align 8, !tbaa !27
  %25 = icmp eq i32 %24, %2
  br i1 %25, label %26, label %30

26:                                               ; preds = %15
  %27 = getelementptr inbounds i8, ptr %17, i64 24
  %28 = load i32, ptr %27, align 8, !tbaa !28
  %29 = icmp eq i32 %28, %3
  %brmerge.not = select i1 %29, i1 %22, i1 false
  br i1 %brmerge.not, label %.loopexit, label %30

30:                                               ; preds = %15, %26
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %31 = load i32, ptr %10, align 8, !tbaa !5
  %32 = zext i32 %31 to i64
  %33 = icmp ult i64 %indvars.iv.next, %32
  br i1 %33, label %15, label %.loopexit, !llvm.loop !29

.loopexit:                                        ; preds = %30, %26, %.preheader, %9
  %.3 = phi ptr [ null, %9 ], [ null, %.preheader ], [ null, %30 ], [ %17, %26 ]
  %.not33 = icmp eq ptr %4, null
  br i1 %.not33, label %37, label %34

34:                                               ; preds = %.loopexit
  %.not34 = icmp eq ptr %.3, null
  %35 = select i1 %.not, i32 5, i32 8
  %36 = select i1 %.not34, i32 %35, i32 0
  br label %.sink.split

.sink.split:                                      ; preds = %8, %34
  %.sink = phi i32 [ %36, %34 ], [ 8, %8 ]
  %.0.ph = phi ptr [ %.3, %34 ], [ null, %8 ]
  store i32 %.sink, ptr %4, align 4, !tbaa !31
  br label %37

37:                                               ; preds = %.sink.split, %.loopexit, %8
  %.0 = phi ptr [ null, %8 ], [ %.3, %.loopexit ], [ %.0.ph, %.sink.split ]
  ret ptr %.0
}

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

!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, !7, i64 64}
!6 = !{!"SpvReflectShaderModule", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !10, i64 72, !7, i64 80, !8, i64 88, !7, i64 1112, !10, i64 1120, !7, i64 1128, !10, i64 1136, !7, i64 1144, !10, i64 1152, !10, i64 1160}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 72}
!12 = !{!13, !10, i64 72}
!13 = !{!"SpvReflectEntryPoint", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !14, i64 96, !7, i64 108, !7, i64 112}
!14 = !{!"LocalSize", !7, i64 0, !7, i64 4, !7, i64 8}
!15 = !{!13, !7, i64 64}
!16 = !{!17, !7, i64 0}
!17 = !{!"SpvReflectDescriptorBinding", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !18, i64 36, !19, i64 64, !25, i64 288, !7, i64 420, !7, i64 424, !7, i64 428, !10, i64 432, !10, i64 440, !26, i64 448}
!18 = !{!"SpvReflectImageTraits", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!19 = !{!"SpvReflectBlockVariable", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !20, i64 36, !24, i64 60, !7, i64 196, !7, i64 200, !10, i64 208, !10, i64 216}
!20 = !{!"SpvReflectNumericTraits", !21, i64 0, !22, i64 8, !23, i64 12}
!21 = !{!"Scalar", !7, i64 0, !7, i64 4}
!22 = !{!"Vector", !7, i64 0}
!23 = !{!"Matrix", !7, i64 0, !7, i64 4, !7, i64 8}
!24 = !{!"SpvReflectArrayTraits", !7, i64 0, !8, i64 4, !7, i64 132}
!25 = !{!"SpvReflectBindingArrayTraits", !7, i64 0, !8, i64 4}
!26 = !{!"", !7, i64 0, !7, i64 4}
!27 = !{!17, !7, i64 16}
!28 = !{!17, !7, i64 24}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!7, !7, i64 0}


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