; LLVM IR from FrancesoM/Bisc8FX :: sdk_projects/bisc8_platform/ps7_cortexa9_0/standalone_domain/bsp/ps7_cortexa9_0_ (Setup64ADMA2DescTbl)

; 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.XSdPs_Adma2Descriptor64 = type <{ i16, i16, i64 }>
%struct.XSdPs = type { %struct.XSdPs_Config, i32, i32, i32, i32, i8, i8, i8, i8, i32, i8, [4 x i32], i32, [4 x i32], i32, i32, i32, i32, i32, i64, i16, i32, i8, i32 }
%struct.XSdPs_Config = type { i16, i32, i32, i32, i32, i32, i32, i32, i8 }

@XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl = external hidden global [32 x %struct.XSdPs_Adma2Descriptor64], align 32

; 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: inlinehint nounwind uwtable
declare hidden zeroext i16 @XSdPs_ReadReg16(i32 noundef, i8 noundef zeroext) #1

declare void @Xil_DCacheFlushRange(i64 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @XSdPs_Setup64ADMA2DescTbl(ptr noundef %0, i32 noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.XSdPs, ptr %10, i32 0, i32 0
  %12 = getelementptr inbounds %struct.XSdPs_Config, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 4, !tbaa !11
  %14 = call zeroext i16 @XSdPs_ReadReg16(i32 noundef %13, i8 noundef zeroext 4)
  %15 = zext i16 %14 to i32
  %16 = and i32 %15, 4095
  store i32 %16, ptr %9, align 4, !tbaa !9
  %17 = load i32, ptr %5, align 4, !tbaa !9
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = mul i32 %17, %18
  %20 = icmp ult i32 %19, 65536
  br i1 %20, label %21, label %22

21:                                               ; preds = %3
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %36

22:                                               ; preds = %3
  %23 = load i32, ptr %5, align 4, !tbaa !9
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = mul i32 %23, %24
  %26 = udiv i32 %25, 65536
  store i32 %26, ptr %7, align 4, !tbaa !9
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = mul i32 %27, %28
  %30 = urem i32 %29, 65536
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %35

32:                                               ; preds = %22
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = add i32 %33, 1
  store i32 %34, ptr %7, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %32, %22
  br label %36

36:                                               ; preds = %35, %21
  store i64 0, ptr %8, align 8, !tbaa !16
  br label %37

37:                                               ; preds = %58, %36
  %38 = load i64, ptr %8, align 8, !tbaa !16
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = sub i32 %39, 1
  %41 = zext i32 %40 to i64
  %42 = icmp ult i64 %38, %41
  br i1 %42, label %43, label %61

43:                                               ; preds = %37
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = ptrtoint ptr %44 to i64
  %46 = load i64, ptr %8, align 8, !tbaa !16
  %47 = mul i64 %46, 65536
  %48 = add i64 %45, %47
  %49 = load i64, ptr %8, align 8, !tbaa !16
  %50 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %50, i32 0, i32 2
  store i64 %48, ptr %51, align 4, !tbaa !17
  %52 = load i64, ptr %8, align 8, !tbaa !16
  %53 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %52
  %54 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %53, i32 0, i32 0
  store i16 33, ptr %54, align 4, !tbaa !19
  %55 = load i64, ptr %8, align 8, !tbaa !16
  %56 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %56, i32 0, i32 1
  store i16 0, ptr %57, align 2, !tbaa !20
  br label %58

58:                                               ; preds = %43
  %59 = load i64, ptr %8, align 8, !tbaa !16
  %60 = add i64 %59, 1
  store i64 %60, ptr %8, align 8, !tbaa !16
  br label %37, !llvm.loop !21

61:                                               ; preds = %37
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = ptrtoint ptr %62 to i64
  %64 = load i64, ptr %8, align 8, !tbaa !16
  %65 = mul i64 %64, 65536
  %66 = add i64 %63, %65
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = sub i32 %67, 1
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %69
  %71 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %70, i32 0, i32 2
  store i64 %66, ptr %71, align 4, !tbaa !17
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = sub i32 %72, 1
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %74
  %76 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %75, i32 0, i32 0
  store i16 35, ptr %76, align 4, !tbaa !19
  %77 = load i32, ptr %5, align 4, !tbaa !9
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = mul i32 %77, %78
  %80 = load i64, ptr %8, align 8, !tbaa !16
  %81 = mul i64 %80, 65536
  %82 = trunc i64 %81 to i32
  %83 = sub i32 %79, %82
  %84 = trunc i32 %83 to i16
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = sub i32 %85, 1
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %87
  %89 = getelementptr inbounds %struct.XSdPs_Adma2Descriptor64, ptr %88, i32 0, i32 1
  store i16 %84, ptr %89, align 2, !tbaa !20
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.XSdPs, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %struct.XSdPs_Config, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !11
  %94 = add i32 %93, 88
  %95 = zext i32 %94 to i64
  %96 = and i64 ptrtoint (ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl to i64), 4294967295
  %97 = trunc i64 %96 to i32
  call void @Xil_Out32(i64 noundef %95, i32 noundef %97)
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.XSdPs, ptr %98, i32 0, i32 0
  %100 = getelementptr inbounds %struct.XSdPs_Config, ptr %99, i32 0, i32 8
  %101 = load i8, ptr %100, align 8, !tbaa !23
  %102 = zext i8 %101 to i32
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %61
  call void @Xil_DCacheFlushRange(i64 noundef ptrtoint (ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl to i64), i32 noundef 384)
  br label %105

105:                                              ; preds = %104, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { "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 }

!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 4}
!12 = !{!"", !13, i64 0, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !7, i64 53, !7, i64 54, !7, i64 55, !10, i64 56, !7, i64 60, !7, i64 64, !10, i64 80, !7, i64 84, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !15, i64 120, !14, i64 128, !10, i64 132, !7, i64 136, !10, i64 140}
!13 = !{!"", !14, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !15, i64 4}
!18 = !{!"", !14, i64 0, !14, i64 2, !15, i64 4}
!19 = !{!18, !14, i64 0}
!20 = !{!18, !14, i64 2}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !7, i64 32}


; 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.XSdPs_Adma2Descriptor64 = type <{ i16, i16, i64 }>

@XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl = external hidden global [32 x %struct.XSdPs_Adma2Descriptor64], align 32

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @XSdPs_ReadReg16(i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

declare void @Xil_DCacheFlushRange(i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @XSdPs_Setup64ADMA2DescTbl(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 4
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = tail call zeroext i16 @XSdPs_ReadReg16(i32 noundef %5, i8 noundef zeroext 4)
  %7 = and i16 %6, 4095
  %8 = zext nneg i16 %7 to i32
  %9 = mul i32 %8, %1
  %10 = icmp ult i32 %9, 65536
  br i1 %10, label %.._crit_edge_crit_edge, label %11

11:                                               ; preds = %3
  %12 = lshr i32 %9, 16
  %13 = and i32 %9, 65535
  %.not = icmp ne i32 %13, 0
  %14 = zext i1 %.not to i32
  %spec.select = add nsw i32 %12, -1
  %15 = add nuw nsw i32 %spec.select, %14
  %16 = zext i32 %15 to i64
  %.not29 = icmp eq i32 %15, 0
  br i1 %.not29, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %3, %11
  %.pre = ptrtoint ptr %2 to i64
  br label %._crit_edge

.lr.ph:                                           ; preds = %11
  %17 = ptrtoint ptr %2 to i64
  %xtraiter = and i64 %16, 1
  %18 = icmp eq i32 %15, 1
  br i1 %18, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %16, 4294967294
  br label %19

19:                                               ; preds = %19, %.lr.ph.new
  %.02528 = phi i64 [ 0, %.lr.ph.new ], [ %31, %19 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %19 ]
  %20 = shl nuw nsw i64 %.02528, 16
  %21 = add i64 %20, %17
  %22 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %.02528
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  store i64 %21, ptr %23, align 4, !tbaa !13
  store i16 33, ptr %22, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %22, i64 2
  store i16 0, ptr %24, align 2, !tbaa !16
  %25 = or disjoint i64 %.02528, 1
  %26 = shl nuw nsw i64 %25, 16
  %27 = add i64 %26, %17
  %28 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %25
  %29 = getelementptr inbounds i8, ptr %28, i64 4
  store i64 %27, ptr %29, align 8, !tbaa !13
  store i16 33, ptr %28, align 4, !tbaa !15
  %30 = getelementptr inbounds i8, ptr %28, i64 2
  store i16 0, ptr %30, align 2, !tbaa !16
  %31 = add nuw nsw i64 %.02528, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %19, !llvm.loop !17

._crit_edge.loopexit.unr-lcssa:                   ; preds = %19, %.lr.ph
  %.02528.unr = phi i64 [ 0, %.lr.ph ], [ %31, %19 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge.loopexit, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %32 = shl nuw nsw i64 %.02528.unr, 16
  %33 = add i64 %32, %17
  %34 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %.02528.unr
  %35 = getelementptr inbounds i8, ptr %34, i64 4
  store i64 %33, ptr %35, align 4, !tbaa !13
  store i16 33, ptr %34, align 4, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %34, i64 2
  store i16 0, ptr %36, align 2, !tbaa !16
  br label %._crit_edge.loopexit

._crit_edge.loopexit:                             ; preds = %._crit_edge.loopexit.unr-lcssa, %._crit_edge.loopexit.epilog-lcssa
  %37 = shl nuw nsw i64 %16, 16
  br label %._crit_edge

._crit_edge:                                      ; preds = %.._crit_edge_crit_edge, %._crit_edge.loopexit
  %.032 = phi i64 [ 0, %.._crit_edge_crit_edge ], [ %16, %._crit_edge.loopexit ]
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %17, %._crit_edge.loopexit ]
  %.025.lcssa = phi i64 [ 0, %.._crit_edge_crit_edge ], [ %37, %._crit_edge.loopexit ]
  %38 = add i64 %.025.lcssa, %.pre-phi
  %39 = getelementptr inbounds [32 x %struct.XSdPs_Adma2Descriptor64], ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl, i64 0, i64 %.032
  %40 = getelementptr inbounds i8, ptr %39, i64 4
  store i64 %38, ptr %40, align 4, !tbaa !13
  store i16 35, ptr %39, align 4, !tbaa !15
  %41 = trunc i32 %9 to i16
  %42 = getelementptr inbounds i8, ptr %39, i64 2
  store i16 %41, ptr %42, align 2, !tbaa !16
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = add i32 %43, 88
  %45 = zext i32 %44 to i64
  tail call void @Xil_Out32(i64 noundef %45, i32 noundef ptrtoint (ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl to i32))
  %46 = getelementptr inbounds i8, ptr %0, i64 32
  %47 = load i8, ptr %46, align 8, !tbaa !19
  %48 = icmp eq i8 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %._crit_edge
  tail call void @Xil_DCacheFlushRange(i64 noundef ptrtoint (ptr @XSdPs_Setup64ADMA2DescTbl.Adma2_DescrTbl to i64), i32 noundef 384) #3
  br label %50

50:                                               ; preds = %49, %._crit_edge
  ret void
}

attributes #0 = { inlinehint 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 #1 = { "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"="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 = { 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, !11, i64 4}
!6 = !{!"", !7, i64 0, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !9, i64 52, !9, i64 53, !9, i64 54, !9, i64 55, !11, i64 56, !9, i64 60, !9, i64 64, !11, i64 80, !9, i64 84, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !12, i64 120, !8, i64 128, !11, i64 132, !9, i64 136, !11, i64 140}
!7 = !{!"", !8, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !9, i64 32}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"", !8, i64 0, !8, i64 2, !12, i64 4}
!15 = !{!14, !8, i64 0}
!16 = !{!14, !8, i64 2}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !9, i64 32}


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