; LLVM IR from unitreerobotics/kinect_teleoperate :: src/extern/glfw/src/tests (gamma)

; 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.nk_rect = type { float, float, float, float }
%struct.nk_color = type { i8, i8, i8, i8 }
%struct.nk_command_buffer = type { ptr, %struct.nk_rect, i32, %union.nk_handle, i64, i64, i64 }
%union.nk_handle = type { ptr }
%struct.nk_command_rect_filled = type { %struct.nk_command, i16, i16, i16, i16, i16, %struct.nk_color }
%struct.nk_command = type { i32, i64 }

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__.nk_fill_rect = external hidden unnamed_addr constant [86 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: nounwind uwtable
declare hidden ptr @nk_command_buffer_push(ptr noundef, i32 noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @nk_fill_rect(ptr noundef %0, <2 x float> %1, <2 x float> %2, float noundef %3, i32 %4) #4 {
  %6 = alloca %struct.nk_rect, align 4
  %7 = alloca %struct.nk_color, align 1
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  store <2 x float> %1, ptr %13, align 4
  %14 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  store <2 x float> %2, ptr %14, align 4
  store i32 %4, ptr %7, align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store float %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %15 = load ptr, ptr %8, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %5
  br label %19

18:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 8884, ptr noundef @__PRETTY_FUNCTION__.nk_fill_rect) #6
  unreachable

19:                                               ; preds = %17
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %35

22:                                               ; preds = %19
  %23 = getelementptr inbounds %struct.nk_color, ptr %7, i32 0, i32 3
  %24 = load i8, ptr %23, align 1, !tbaa !11
  %25 = zext i8 %24 to i32
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %35, label %27

27:                                               ; preds = %22
  %28 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 2
  %29 = load float, ptr %28, align 4, !tbaa !13
  %30 = fcmp oeq float %29, 0.000000e+00
  br i1 %30, label %35, label %31

31:                                               ; preds = %27
  %32 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 3
  %33 = load float, ptr %32, align 4, !tbaa !15
  %34 = fcmp oeq float %33, 0.000000e+00
  br i1 %34, label %35, label %36

35:                                               ; preds = %31, %27, %22, %19
  store i32 1, ptr %11, align 4
  br label %137

36:                                               ; preds = %31
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.nk_command_buffer, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 8, !tbaa !16
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %90

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.nk_command_buffer, ptr %42, i32 0, i32 1
  store ptr %43, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.nk_rect, ptr %44, i32 0, i32 0
  %46 = load float, ptr %45, align 4, !tbaa !20
  %47 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 0
  %48 = load float, ptr %47, align 4, !tbaa !20
  %49 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 2
  %50 = load float, ptr %49, align 4, !tbaa !13
  %51 = fadd float %48, %50
  %52 = fcmp ogt float %46, %51
  br i1 %52, label %85, label %53

53:                                               ; preds = %41
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.nk_rect, ptr %54, i32 0, i32 0
  %56 = load float, ptr %55, align 4, !tbaa !20
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.nk_rect, ptr %57, i32 0, i32 2
  %59 = load float, ptr %58, align 4, !tbaa !13
  %60 = fadd float %56, %59
  %61 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 0
  %62 = load float, ptr %61, align 4, !tbaa !20
  %63 = fcmp olt float %60, %62
  br i1 %63, label %85, label %64

64:                                               ; preds = %53
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.nk_rect, ptr %65, i32 0, i32 1
  %67 = load float, ptr %66, align 4, !tbaa !21
  %68 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !21
  %70 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 3
  %71 = load float, ptr %70, align 4, !tbaa !15
  %72 = fadd float %69, %71
  %73 = fcmp ogt float %67, %72
  br i1 %73, label %85, label %74

74:                                               ; preds = %64
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.nk_rect, ptr %75, i32 0, i32 1
  %77 = load float, ptr %76, align 4, !tbaa !21
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.nk_rect, ptr %78, i32 0, i32 3
  %80 = load float, ptr %79, align 4, !tbaa !15
  %81 = fadd float %77, %80
  %82 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !21
  %84 = fcmp olt float %81, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %74, %64, %53, %41
  store i32 1, ptr %11, align 4
  br label %87

86:                                               ; preds = %74
  store i32 0, ptr %11, align 4
  br label %87

87:                                               ; preds = %86, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %88 = load i32, ptr %11, align 4
  switch i32 %88, label %137 [
    i32 0, label %89
  ]

89:                                               ; preds = %87
  br label %90

90:                                               ; preds = %89, %36
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = call ptr @nk_command_buffer_push(ptr noundef %91, i32 noundef 5, i64 noundef 32)
  store ptr %92, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %90
  store i32 1, ptr %11, align 4
  br label %137

96:                                               ; preds = %90
  %97 = load float, ptr %9, align 4, !tbaa !9
  %98 = fptoui float %97 to i16
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %99, i32 0, i32 1
  store i16 %98, ptr %100, align 8, !tbaa !22
  %101 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 0
  %102 = load float, ptr %101, align 4, !tbaa !20
  %103 = fptosi float %102 to i16
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %104, i32 0, i32 2
  store i16 %103, ptr %105, align 2, !tbaa !26
  %106 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !21
  %108 = fptosi float %107 to i16
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %109, i32 0, i32 3
  store i16 %108, ptr %110, align 4, !tbaa !27
  %111 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 2
  %112 = load float, ptr %111, align 4, !tbaa !13
  %113 = fcmp olt float 0.000000e+00, %112
  br i1 %113, label %114, label %117

114:                                              ; preds = %96
  %115 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 2
  %116 = load float, ptr %115, align 4, !tbaa !13
  br label %118

117:                                              ; preds = %96
  br label %118

118:                                              ; preds = %117, %114
  %119 = phi float [ %116, %114 ], [ 0.000000e+00, %117 ]
  %120 = fptoui float %119 to i16
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %121, i32 0, i32 4
  store i16 %120, ptr %122, align 2, !tbaa !28
  %123 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 3
  %124 = load float, ptr %123, align 4, !tbaa !15
  %125 = fcmp olt float 0.000000e+00, %124
  br i1 %125, label %126, label %129

126:                                              ; preds = %118
  %127 = getelementptr inbounds %struct.nk_rect, ptr %6, i32 0, i32 3
  %128 = load float, ptr %127, align 4, !tbaa !15
  br label %130

129:                                              ; preds = %118
  br label %130

130:                                              ; preds = %129, %126
  %131 = phi float [ %128, %126 ], [ 0.000000e+00, %129 ]
  %132 = fptoui float %131 to i16
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %133, i32 0, i32 5
  store i16 %132, ptr %134, align 8, !tbaa !29
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.nk_command_rect_filled, ptr %135, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %136, ptr align 1 %7, i64 4, i1 false), !tbaa.struct !30
  store i32 0, ptr %11, align 4
  br label %137

137:                                              ; preds = %130, %95, %87, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %138 = load i32, ptr %11, align 4
  switch i32 %138, label %140 [
    i32 0, label %139
    i32 1, label %139
  ]

139:                                              ; preds = %137, %137
  ret void

140:                                              ; preds = %137
  unreachable
}

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 = { 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 = { 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 = { nounwind }
attributes #6 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !7, i64 3}
!12 = !{!"nk_color", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!13 = !{!14, !10, i64 8}
!14 = !{!"nk_rect", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!15 = !{!14, !10, i64 12}
!16 = !{!17, !18, i64 24}
!17 = !{!"nk_command_buffer", !6, i64 0, !14, i64 8, !18, i64 24, !7, i64 32, !19, i64 40, !19, i64 48, !19, i64 56}
!18 = !{!"int", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!14, !10, i64 0}
!21 = !{!14, !10, i64 4}
!22 = !{!23, !25, i64 16}
!23 = !{!"nk_command_rect_filled", !24, i64 0, !25, i64 16, !25, i64 18, !25, i64 20, !25, i64 22, !25, i64 24, !12, i64 26}
!24 = !{!"nk_command", !18, i64 0, !19, i64 8}
!25 = !{!"short", !7, i64 0}
!26 = !{!23, !25, i64 18}
!27 = !{!23, !25, i64 20}
!28 = !{!23, !25, i64 22}
!29 = !{!23, !25, i64 24}
!30 = !{i64 0, i64 1, !31, i64 1, i64 1, !31, i64 2, i64 1, !31, i64 3, i64 1, !31}
!31 = !{!7, !7, i64 0}


; 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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__.nk_fill_rect = external hidden unnamed_addr constant [86 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: nounwind uwtable
declare hidden ptr @nk_command_buffer_push(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @nk_fill_rect(ptr noundef %0, <2 x float> %1, <2 x float> %2, float noundef %3, i32 %4) local_unnamed_addr #2 {
  %6 = extractelement <2 x float> %2, i64 1
  %.sroa.0.0.extract.trunc = trunc i32 %4 to i24
  %.sroa.2.0.extract.shift = lshr i32 %4, 24
  %.sroa.2.0.extract.trunc = trunc nuw i32 %.sroa.2.0.extract.shift to i8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %7, label %8

7:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 8884, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_fill_rect) #3
  unreachable

8:                                                ; preds = %5
  %9 = extractelement <2 x float> %2, i64 0
  %10 = icmp ult i32 %4, 16777216
  %11 = fcmp oeq float %9, 0.000000e+00
  %or.cond6 = select i1 %10, i1 true, i1 %11
  %12 = fcmp oeq float %6, 0.000000e+00
  %or.cond9 = select i1 %or.cond6, i1 true, i1 %12
  br i1 %or.cond9, label %48, label %13

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load i32, ptr %14, align 8, !tbaa !5
  %.not52 = icmp eq i32 %15, 0
  br i1 %.not52, label %.critedge, label %16

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load float, ptr %17, align 4, !tbaa !14
  %19 = fadd <2 x float> %1, %2
  %20 = extractelement <2 x float> %19, i64 0
  %21 = fcmp ogt float %18, %20
  br i1 %21, label %48, label %22

22:                                               ; preds = %16
  %.sroa.0.0.vec.extract = extractelement <2 x float> %1, i64 0
  %23 = getelementptr inbounds i8, ptr %0, i64 16
  %24 = load float, ptr %23, align 4, !tbaa !15
  %25 = fadd float %18, %24
  %26 = fcmp olt float %25, %.sroa.0.0.vec.extract
  br i1 %26, label %48, label %27

27:                                               ; preds = %22
  %28 = getelementptr inbounds i8, ptr %0, i64 12
  %29 = load float, ptr %28, align 4, !tbaa !16
  %.sroa.0.4.vec.extract = extractelement <2 x float> %1, i64 1
  %30 = fadd float %.sroa.0.4.vec.extract, %6
  %31 = fcmp ogt float %29, %30
  br i1 %31, label %48, label %32

32:                                               ; preds = %27
  %33 = getelementptr inbounds i8, ptr %0, i64 20
  %34 = load float, ptr %33, align 4, !tbaa !17
  %35 = fadd float %29, %34
  %36 = fcmp olt float %35, %.sroa.0.4.vec.extract
  br i1 %36, label %48, label %.critedge

.critedge:                                        ; preds = %32, %13
  %37 = tail call ptr @nk_command_buffer_push(ptr noundef nonnull %0, i32 noundef 5, i64 noundef 32)
  %.not53 = icmp eq ptr %37, null
  br i1 %.not53, label %48, label %38

38:                                               ; preds = %.critedge
  %39 = fptoui float %3 to i16
  %40 = getelementptr inbounds i8, ptr %37, i64 16
  store i16 %39, ptr %40, align 8, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %37, i64 18
  %42 = fptosi <2 x float> %1 to <2 x i16>
  store <2 x i16> %42, ptr %41, align 2, !tbaa !23
  %43 = fcmp ogt <2 x float> %2, zeroinitializer
  %44 = getelementptr inbounds i8, ptr %37, i64 22
  %45 = select <2 x i1> %43, <2 x float> %2, <2 x float> zeroinitializer
  %46 = fptoui <2 x float> %45 to <2 x i16>
  store <2 x i16> %46, ptr %44, align 2, !tbaa !23
  %47 = getelementptr inbounds i8, ptr %37, i64 26
  store i24 %.sroa.0.0.extract.trunc, ptr %47, align 2
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 29
  store i8 %.sroa.2.0.extract.trunc, ptr %.sroa.2.0..sroa_idx, align 1, !tbaa !24
  br label %48

48:                                               ; preds = %.critedge, %32, %27, %22, %16, %8, %38
  ret void
}

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 = { 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 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, !12, i64 24}
!6 = !{!"nk_command_buffer", !7, i64 0, !10, i64 8, !12, i64 24, !8, i64 32, !13, i64 40, !13, i64 48, !13, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"nk_rect", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!11 = !{!"float", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!10, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 4}
!17 = !{!10, !11, i64 12}
!18 = !{!19, !21, i64 16}
!19 = !{!"nk_command_rect_filled", !20, i64 0, !21, i64 16, !21, i64 18, !21, i64 20, !21, i64 22, !21, i64 24, !22, i64 26}
!20 = !{!"nk_command", !12, i64 0, !13, i64 8}
!21 = !{!"short", !8, i64 0}
!22 = !{!"nk_color", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3}
!23 = !{!21, !21, i64 0}
!24 = !{!8, !8, i64 0}


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