; LLVM IR from NVIDIA/DALI :: dali/operators/math/expressions (broadcasting)

; 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.dali::span" = type { ptr, i64 }
%"class.dali::span.7" = type { ptr, i64 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28)) #2 align 2

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

; 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) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4dali4expr13BroadcastNdimENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4dali4expr21TryBroadcastShapeImplINS_4spanIKlLln1EEEEEbRlRKT_i(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE17tensor_shape_spanEl(ptr noundef nonnull align 8 dereferenceable(28), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali4expr12CanBroadcastENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr %0, i64 %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca %"class.dali::span", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.dali::span", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.dali::span.7", align 8
  %14 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  store ptr %0, ptr %14, align 8
  %15 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  store i64 %1, ptr %15, align 8
  %16 = call noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  %17 = icmp slt i64 %16, 2
  br i1 %17, label %18, label %19

18:                                               ; preds = %2
  store i1 true, ptr %3, align 1
  br label %85

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %4, i64 16, i1 false), !tbaa.struct !5
  %20 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8
  %22 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %23 = load i64, ptr %22, align 8
  %24 = call noundef i32 @_ZN4dali4expr13BroadcastNdimENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr %21, i64 %23)
  store i32 %24, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EEixEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
  %26 = load ptr, ptr %25, align 8, !tbaa !6
  %27 = call noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28) %26)
  store i32 %27, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !12
  br label %28

28:                                               ; preds = %78, %19
  %29 = load i32, ptr %8, align 4, !tbaa !12
  %30 = load i32, ptr %7, align 4, !tbaa !12
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 2, ptr %9, align 4
  br label %81

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !12
  br label %34

34:                                               ; preds = %72, %33
  %35 = load i32, ptr %10, align 4, !tbaa !12
  %36 = load i32, ptr %5, align 4, !tbaa !12
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 5, ptr %9, align 4
  br label %75

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 1, ptr %11, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !12
  br label %40

40:                                               ; preds = %63, %39
  %41 = load i32, ptr %12, align 4, !tbaa !12
  %42 = sext i32 %41 to i64
  %43 = call noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  %44 = icmp slt i64 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i32 8, ptr %9, align 4
  br label %66

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %47 = load i32, ptr %12, align 4, !tbaa !12
  %48 = sext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EEixEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %48)
  %50 = load ptr, ptr %49, align 8, !tbaa !6
  %51 = load i32, ptr %8, align 4, !tbaa !12
  %52 = sext i32 %51 to i64
  %53 = call { ptr, i64 } @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE17tensor_shape_spanEl(ptr noundef nonnull align 8 dereferenceable(28) %50, i64 noundef %52)
  %54 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %55 = extractvalue { ptr, i64 } %53, 0
  store ptr %55, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %57 = extractvalue { ptr, i64 } %53, 1
  store i64 %57, ptr %56, align 8
  %58 = load i32, ptr %10, align 4, !tbaa !12
  %59 = call noundef zeroext i1 @_ZN4dali4expr21TryBroadcastShapeImplINS_4spanIKlLln1EEEEEbRlRKT_i(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %58)
  %60 = xor i1 %59, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  br i1 %60, label %61, label %62

61:                                               ; preds = %46
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %66

62:                                               ; preds = %46
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %12, align 4, !tbaa !12
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %12, align 4, !tbaa !12
  br label %40, !llvm.loop !14

66:                                               ; preds = %61, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %67 = load i32, ptr %9, align 4
  switch i32 %67, label %69 [
    i32 8, label %68
  ]

68:                                               ; preds = %66
  store i32 0, ptr %9, align 4
  br label %69

69:                                               ; preds = %68, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %70 = load i32, ptr %9, align 4
  switch i32 %70, label %75 [
    i32 0, label %71
  ]

71:                                               ; preds = %69
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %10, align 4, !tbaa !12
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %10, align 4, !tbaa !12
  br label %34, !llvm.loop !16

75:                                               ; preds = %69, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %76 = load i32, ptr %9, align 4
  switch i32 %76, label %81 [
    i32 5, label %77
  ]

77:                                               ; preds = %75
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %8, align 4, !tbaa !12
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %8, align 4, !tbaa !12
  br label %28, !llvm.loop !17

81:                                               ; preds = %75, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %82 = load i32, ptr %9, align 4
  switch i32 %82, label %84 [
    i32 2, label %83
  ]

83:                                               ; preds = %81
  store i1 true, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %84

84:                                               ; preds = %83, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %85

85:                                               ; preds = %84, %18
  %86 = load i1, ptr %3, align 1
  ret i1 %86
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{i64 0, i64 8, !6, i64 8, i64 8, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}


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

%"class.dali::span" = type { ptr, i64 }
%"class.dali::span.7" = type { ptr, i64 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EEixEl(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4dali4expr13BroadcastNdimENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4dali4expr21TryBroadcastShapeImplINS_4spanIKlLln1EEEEEbRlRKT_i(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE17tensor_shape_spanEl(ptr noundef nonnull align 8 dereferenceable(28), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali4expr12CanBroadcastENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr %0, i64 %1) local_unnamed_addr #2 {
  %3 = alloca %"class.dali::span", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.dali::span.7", align 8
  store ptr %0, ptr %3, align 8
  %6 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %1, ptr %6, align 8
  %7 = call noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  %8 = icmp slt i64 %7, 2
  br i1 %8, label %.critedge30, label %9

9:                                                ; preds = %2
  %.sroa.0.0.copyload = load ptr, ptr %3, align 8, !tbaa !5
  %.sroa.2.0.copyload = load i64, ptr %6, align 8, !tbaa !9
  %10 = call noundef i32 @_ZN4dali4expr13BroadcastNdimENS_4spanIPKNS_15TensorListShapeILin1EEELln1EEE(ptr %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EEixEl(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef 0)
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = call noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28) %12)
  %.not2536 = icmp slt i32 %13, 1
  br i1 %.not2536, label %.critedge30, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %9
  %.not2633 = icmp sgt i32 %10, 0
  %14 = getelementptr inbounds i8, ptr %5, i64 8
  br i1 %.not2633, label %.preheader.us.preheader, label %.critedge30

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %wide.trip.count = zext nneg i32 %13 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %..critedge28_crit_edge.us
  %indvars.iv40 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next41, %..critedge28_crit_edge.us ]
  br label %15

15:                                               ; preds = %.preheader.us, %._crit_edge.us
  %.01834.us = phi i32 [ 0, %.preheader.us ], [ %19, %._crit_edge.us ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store i64 1, ptr %4, align 8, !tbaa !9
  %16 = call noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  %.not31.us = icmp sgt i64 %16, 0
  br i1 %.not31.us, label %.lr.ph.us, label %._crit_edge.us

17:                                               ; preds = %.lr.ph.us
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = call noundef i64 @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  %.not.us = icmp sgt i64 %18, %indvars.iv.next
  br i1 %.not.us, label %.lr.ph.us, label %._crit_edge.us, !llvm.loop !11

._crit_edge.us:                                   ; preds = %17, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  %19 = add nuw nsw i32 %.01834.us, 1
  %exitcond.not = icmp eq i32 %19, %10
  br i1 %exitcond.not, label %..critedge28_crit_edge.us, label %15, !llvm.loop !13

.lr.ph.us:                                        ; preds = %15, %17
  %indvars.iv = phi i64 [ %indvars.iv.next, %17 ], [ 0, %15 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali4spanIPKNS_15TensorListShapeILin1EEELln1EEixEl(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %indvars.iv)
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  %22 = call { ptr, i64 } @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE17tensor_shape_spanEl(ptr noundef nonnull align 8 dereferenceable(28) %21, i64 noundef %indvars.iv40)
  %23 = extractvalue { ptr, i64 } %22, 0
  store ptr %23, ptr %5, align 8
  %24 = extractvalue { ptr, i64 } %22, 1
  store i64 %24, ptr %14, align 8
  %25 = call noundef zeroext i1 @_ZN4dali4expr21TryBroadcastShapeImplINS_4spanIKlLln1EEEEEbRlRKT_i(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef %.01834.us)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  br i1 %25, label %17, label %.split.us

..critedge28_crit_edge.us:                        ; preds = %._crit_edge.us
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %exitcond43.not = icmp eq i64 %indvars.iv.next41, %wide.trip.count
  br i1 %exitcond43.not, label %.critedge30, label %.preheader.us, !llvm.loop !14

.split.us:                                        ; preds = %.lr.ph.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %.critedge30

.critedge30:                                      ; preds = %..critedge28_crit_edge.us, %.preheader.lr.ph, %9, %.split.us, %2
  %.6 = phi i1 [ true, %2 ], [ false, %.split.us ], [ true, %9 ], [ true, %.preheader.lr.ph ], [ true, %..critedge28_crit_edge.us ]
  ret i1 %.6
}

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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