; LLVM IR from facebookresearch/habitat-sim :: src/deps/basis-universal/encoder (basisu_enc)

; 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.basisu::palette_index_reorderer" = type { %"class.basisu::vector.18", %"class.basisu::vector.18", %"class.basisu::vector.18", %"class.basisu::vector.18", %"class.basisu::vector.18" }
%"class.basisu::vector.18" = type { ptr, i32, i32 }

@.str.4 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f = external hidden unnamed_addr constant [109 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %3, ptr noundef %4, float noundef %5) #3 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca float, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store float %5, ptr %12, align 4, !tbaa !9
  %18 = load ptr, ptr %7, align 8
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 0, ptr %19, align 4, !tbaa !11
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %21

21:                                               ; preds = %92, %6
  %22 = load i32, ptr %13, align 4, !tbaa !11
  %23 = getelementptr inbounds %"class.basisu::palette_index_reorderer", ptr %18, i32 0, i32 3
  %24 = call noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %25 = icmp ult i32 %22, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %95

27:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %28 = getelementptr inbounds %"class.basisu::palette_index_reorderer", ptr %18, i32 0, i32 3
  %29 = load i32, ptr %13, align 4, !tbaa !11
  %30 = zext i32 %29 to i64
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %28, i64 noundef %30)
  %32 = load i32, ptr %31, align 4, !tbaa !11
  store i32 %32, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %33 = getelementptr inbounds %"class.basisu::palette_index_reorderer", ptr %18, i32 0, i32 1
  %34 = load i32, ptr %15, align 4, !tbaa !11
  %35 = zext i32 %34 to i64
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %33, i64 noundef %35)
  %37 = load i32, ptr %36, align 4, !tbaa !11
  %38 = uitofp i32 %37 to double
  store double %38, ptr %16, align 8, !tbaa !13
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %78

41:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = load i32, ptr %15, align 4, !tbaa !11
  %44 = getelementptr inbounds %"class.basisu::palette_index_reorderer", ptr %18, i32 0, i32 2
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE5frontEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call noundef float %42(i32 noundef %43, i32 noundef %46, ptr noundef %47)
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load i32, ptr %15, align 4, !tbaa !11
  %51 = getelementptr inbounds %"class.basisu::palette_index_reorderer", ptr %18, i32 0, i32 2
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %51)
  %53 = load i32, ptr %52, align 4, !tbaa !11
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = call noundef float %49(i32 noundef %50, i32 noundef %53, ptr noundef %54)
  %56 = call noundef float @_ZN6basisu7maximumIfEET_S1_S1_(float noundef %48, float noundef %55)
  store float %56, ptr %17, align 4, !tbaa !9
  %57 = load float, ptr %17, align 4, !tbaa !9
  %58 = fcmp oge float %57, 0.000000e+00
  br i1 %58, label %59, label %62

59:                                               ; preds = %41
  %60 = load float, ptr %17, align 4, !tbaa !9
  %61 = fcmp ole float %60, 1.000000e+00
  br label %62

62:                                               ; preds = %59, %41
  %63 = phi i1 [ false, %41 ], [ %61, %59 ]
  br i1 %63, label %64, label %65

64:                                               ; preds = %62
  br label %67

65:                                               ; preds = %62
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.4, i32 noundef 1373, ptr noundef @__PRETTY_FUNCTION__._ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f) #5
  unreachable

66:                                               ; No predecessors!
  br label %67

67:                                               ; preds = %66, %64
  %68 = load double, ptr %16, align 8, !tbaa !13
  %69 = fadd double %68, 1.000000e+00
  %70 = load float, ptr %12, align 4, !tbaa !9
  %71 = fsub float 1.000000e+00, %70
  %72 = load float, ptr %12, align 4, !tbaa !9
  %73 = fadd float 1.000000e+00, %72
  %74 = load float, ptr %17, align 4, !tbaa !9
  %75 = call noundef float @_ZN6basisu4lerpIffEET_S1_S1_T0_(float noundef %71, float noundef %73, float noundef %74)
  %76 = fpext float %75 to double
  %77 = fmul double %69, %76
  store double %77, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %78

78:                                               ; preds = %67, %27
  %79 = load double, ptr %16, align 8, !tbaa !13
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = load double, ptr %80, align 8, !tbaa !13
  %82 = fcmp ole double %79, %81
  br i1 %82, label %83, label %84

83:                                               ; preds = %78
  store i32 4, ptr %14, align 4
  br label %89

84:                                               ; preds = %78
  %85 = load i32, ptr %13, align 4, !tbaa !11
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %85, ptr %86, align 4, !tbaa !11
  %87 = load double, ptr %16, align 8, !tbaa !13
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  store double %87, ptr %88, align 8, !tbaa !13
  store i32 0, ptr %14, align 4
  br label %89

89:                                               ; preds = %84, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %90 = load i32, ptr %14, align 4
  switch i32 %90, label %96 [
    i32 0, label %91
    i32 4, label %92
  ]

91:                                               ; preds = %89
  br label %92

92:                                               ; preds = %91, %89
  %93 = load i32, ptr %13, align 4, !tbaa !11
  %94 = add i32 %93, 1
  store i32 %94, ptr %13, align 4, !tbaa !11
  br label %21, !llvm.loop !15

95:                                               ; preds = %26
  ret void

96:                                               ; preds = %89
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6basisu7maximumIfEET_S1_S1_(float noundef, float noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE5frontEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6basisu4lerpIffEET_S1_S1_T0_(float noundef, float noundef, float noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint 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 #3 = { 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 #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 = !{!"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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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"

@.str.4 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f = external hidden unnamed_addr constant [109 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %1, ptr nocapture noundef nonnull align 8 dereferenceable(8) %2, ptr noundef readonly %3, ptr noundef %4, float noundef %5) local_unnamed_addr #2 align 2 {
  store i32 0, ptr %1, align 4, !tbaa !5
  store double 0.000000e+00, ptr %2, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  %8 = tail call noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %.not29 = icmp eq i32 %8, 0
  br i1 %.not29, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %.not = icmp eq ptr %3, null
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = fsub float 1.000000e+00, %5
  %12 = fadd float %5, 1.000000e+00
  br i1 %.not, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %23
  %indvars.iv32 = phi i64 [ %indvars.iv.next33, %23 ], [ 0, %.lr.ph ]
  %13 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %indvars.iv32)
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = zext i32 %14 to i64
  %16 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %15)
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = uitofp i32 %17 to double
  %19 = load double, ptr %2, align 8, !tbaa !9
  %20 = fcmp ult double %19, %18
  br i1 %20, label %21, label %23

21:                                               ; preds = %.lr.ph.split.us
  %22 = trunc nuw i64 %indvars.iv32 to i32
  store i32 %22, ptr %1, align 4, !tbaa !5
  store double %18, ptr %2, align 8, !tbaa !9
  br label %23

23:                                               ; preds = %21, %.lr.ph.split.us
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 1
  %24 = tail call noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %25 = zext i32 %24 to i64
  %26 = icmp ult i64 %indvars.iv.next33, %25
  br i1 %26, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %53, %23, %6
  ret void

.lr.ph.split:                                     ; preds = %.lr.ph, %53
  %indvars.iv = phi i64 [ %indvars.iv.next, %53 ], [ 0, %.lr.ph ]
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %indvars.iv)
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = zext i32 %28 to i64
  %30 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjEixEm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %29)
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE5frontEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = tail call noundef float %3(i32 noundef %28, i32 noundef %33, ptr noundef %4)
  %35 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = tail call noundef float %3(i32 noundef %28, i32 noundef %36, ptr noundef %4)
  %38 = tail call noundef float @_ZN6basisu7maximumIfEET_S1_S1_(float noundef %34, float noundef %37)
  %39 = fcmp oge float %38, 0.000000e+00
  %40 = fcmp ole float %38, 1.000000e+00
  %41 = and i1 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %.lr.ph.split
  tail call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.4, i32 noundef 1373, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6basisu23palette_index_reorderer15find_next_entryERjRdPFfjjPvES3_f) #3
  unreachable

43:                                               ; preds = %.lr.ph.split
  %44 = uitofp i32 %31 to double
  %45 = fadd double %44, 1.000000e+00
  %46 = tail call noundef float @_ZN6basisu4lerpIffEET_S1_S1_T0_(float noundef %11, float noundef %12, float noundef %38)
  %47 = fpext float %46 to double
  %48 = fmul double %45, %47
  %49 = load double, ptr %2, align 8, !tbaa !9
  %50 = fcmp ugt double %48, %49
  br i1 %50, label %51, label %53

51:                                               ; preds = %43
  %52 = trunc nuw i64 %indvars.iv to i32
  store i32 %52, ptr %1, align 4, !tbaa !5
  store double %48, ptr %2, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %43, %51
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %54 = tail call noundef i32 @_ZNK6basisu6vectorIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %55 = zext i32 %54 to i64
  %56 = icmp ult i64 %indvars.iv.next, %55
  br i1 %56, label %.lr.ph.split, label %._crit_edge, !llvm.loop !11
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6basisu7maximumIfEET_S1_S1_(float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE5frontEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN6basisu6vectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6basisu4lerpIffEET_S1_S1_T0_(float noundef, float noundef, float 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 = { inlinehint 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 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 #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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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