; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_kinematics)

; 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._RcsGraph = type { ptr, [10 x %struct._RcsBody], i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct._RcsBody = type { double, i8, i32, [3 x double], [3 x double], double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._MatNd = type { ptr, i32, i32, i32, i8 }
%struct.HTr = type { [3 x double], [3 x [3 x double]] }

; 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 void @RcsGraph_bodyPointHessian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @MatNd_create(i32 noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @MatNd_reshape(ptr noundef, i32 noundef, i32 noundef) #2

declare void @MatNd_destroy(ptr noundef) #2

declare ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef) #2

declare ptr @RcsBody_getLastChild(ptr noundef) #2

declare void @MatNd_constMulSelf(ptr noundef, double noundef) #2

declare void @MatNd_setZero(ptr noundef) #2

declare void @MatNd_constMulAndAddSelf(ptr noundef, ptr noundef, double noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @RcsGraph_computeCOGHessian_Body(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._RcsGraph, ptr %14, i32 0, i32 3
  %16 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %16, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %17 = load i32, ptr %7, align 4, !tbaa !12
  %18 = mul nsw i32 3, %17
  %19 = load i32, ptr %7, align 4, !tbaa !12
  %20 = mul nsw i32 %18, %19
  store i32 %20, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store double 0.000000e+00, ptr %9, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr null, ptr %10, align 8, !tbaa !5
  %21 = load i32, ptr %8, align 4, !tbaa !12
  %22 = mul nsw i32 %21, 1
  %23 = icmp sgt i32 %22, 1296
  br i1 %23, label %24, label %27

24:                                               ; preds = %3
  %25 = load i32, ptr %8, align 4, !tbaa !12
  %26 = call ptr @MatNd_create(i32 noundef %25, i32 noundef 1)
  store ptr %26, ptr %10, align 8, !tbaa !5
  br label %62

27:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %28 = load i32, ptr %8, align 4, !tbaa !12
  %29 = mul nsw i32 %28, 1
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  br label %35

32:                                               ; preds = %27
  %33 = load i32, ptr %8, align 4, !tbaa !12
  %34 = mul nsw i32 %33, 1
  br label %35

35:                                               ; preds = %32, %31
  %36 = phi i32 [ 1, %31 ], [ %34, %32 ]
  store i32 %36, ptr %11, align 4, !tbaa !12
  %37 = load i32, ptr %11, align 4, !tbaa !12
  %38 = zext i32 %37 to i64
  %39 = mul i64 %38, 8
  %40 = add i64 24, %39
  %41 = alloca i8, i64 %40, align 16
  store ptr %41, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._MatNd, ptr %42, i64 1
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._MatNd, ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8, !tbaa !15
  %46 = load i32, ptr %8, align 4, !tbaa !12
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._MatNd, ptr %47, i32 0, i32 1
  store i32 %46, ptr %48, align 8, !tbaa !18
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._MatNd, ptr %49, i32 0, i32 2
  store i32 1, ptr %50, align 4, !tbaa !19
  %51 = load i32, ptr %11, align 4, !tbaa !12
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._MatNd, ptr %52, i32 0, i32 3
  store i32 %51, ptr %53, align 8, !tbaa !20
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._MatNd, ptr %54, i32 0, i32 4
  store i8 1, ptr %55, align 4, !tbaa !21
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._MatNd, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = load i32, ptr %11, align 4, !tbaa !12
  %60 = zext i32 %59 to i64
  %61 = mul i64 %60, 8
  call void @llvm.memset.p0.i64(ptr align 8 %58, i8 0, i64 %61, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %62

62:                                               ; preds = %35, %24
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !12
  %65 = mul nsw i32 3, %64
  %66 = load i32, ptr %7, align 4, !tbaa !12
  call void @MatNd_reshape(ptr noundef %63, i32 noundef %65, i32 noundef %66)
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  call void @MatNd_setZero(ptr noundef %67)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %68, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call ptr @RcsBody_getLastChild(ptr noundef %69)
  %71 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef %70)
  store ptr %71, ptr %13, align 8, !tbaa !5
  br label %72

72:                                               ; preds = %107, %62
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %79

75:                                               ; preds = %72
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = icmp ne ptr %76, %77
  br label %79

79:                                               ; preds = %75, %72
  %80 = phi i1 [ false, %72 ], [ %78, %75 ]
  br i1 %80, label %82, label %81

81:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %110

82:                                               ; preds = %79
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._RcsBody, ptr %83, i32 0, i32 0
  %85 = load double, ptr %84, align 8, !tbaa !22
  %86 = fcmp ogt double %85, 0.000000e+00
  br i1 %86, label %87, label %106

87:                                               ; preds = %82
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._RcsBody, ptr %90, i32 0, i32 11
  %92 = load ptr, ptr %91, align 8, !tbaa !24
  %93 = getelementptr inbounds %struct.HTr, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds [3 x double], ptr %93, i64 0, i64 0
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  call void @RcsGraph_bodyPointHessian(ptr noundef %88, ptr noundef %89, ptr noundef %94, ptr noundef null, ptr noundef %95)
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._RcsBody, ptr %98, i32 0, i32 0
  %100 = load double, ptr %99, align 8, !tbaa !22
  call void @MatNd_constMulAndAddSelf(ptr noundef %96, ptr noundef %97, double noundef %100)
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._RcsBody, ptr %101, i32 0, i32 0
  %103 = load double, ptr %102, align 8, !tbaa !22
  %104 = load double, ptr %9, align 8, !tbaa !13
  %105 = fadd double %104, %103
  store double %105, ptr %9, align 8, !tbaa !13
  br label %106

106:                                              ; preds = %87, %82
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef %108)
  store ptr %109, ptr %12, align 8, !tbaa !5
  br label %72, !llvm.loop !25

110:                                              ; preds = %81
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %111)
  %112 = load double, ptr %9, align 8, !tbaa !13
  %113 = fcmp ogt double %112, 0.000000e+00
  br i1 %113, label %114, label %118

114:                                              ; preds = %110
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = load double, ptr %9, align 8, !tbaa !13
  %117 = fdiv double 1.000000e+00, %116
  call void @MatNd_constMulSelf(ptr noundef %115, double noundef %117)
  br label %118

118:                                              ; preds = %114, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !11, i64 1852}
!10 = !{!"_RcsGraph", !6, i64 0, !7, i64 8, !11, i64 1848, !11, i64 1852, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_MatNd", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !17, i64 20}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!16, !11, i64 8}
!19 = !{!16, !11, i64 12}
!20 = !{!16, !11, i64 16}
!21 = !{!16, !17, i64 20}
!22 = !{!23, !14, i64 0}
!23 = !{!"_RcsBody", !14, i64 0, !17, i64 8, !11, i64 12, !7, i64 16, !7, i64 40, !14, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!24 = !{!23, !6, i64 112}
!25 = distinct !{!25, !26}
!26 = !{!"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"

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

declare ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare void @MatNd_reshape(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #1

declare ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef) local_unnamed_addr #1

declare ptr @RcsBody_getLastChild(ptr noundef) local_unnamed_addr #1

declare void @MatNd_constMulSelf(ptr noundef, double noundef) local_unnamed_addr #1

declare void @MatNd_setZero(ptr noundef) local_unnamed_addr #1

declare void @MatNd_constMulAndAddSelf(ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @RcsGraph_computeCOGHessian_Body(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 1852
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = mul nsw i32 %5, 3
  %7 = mul nsw i32 %6, %5
  %8 = icmp sgt i32 %7, 1296
  br i1 %8, label %9, label %11

9:                                                ; preds = %3
  %10 = tail call ptr @MatNd_create(i32 noundef %7, i32 noundef 1) #4
  br label %22

11:                                               ; preds = %3
  %12 = tail call i32 @llvm.umax.i32(i32 %7, i32 1)
  %13 = zext i32 %12 to i64
  %14 = shl nuw nsw i64 %13, 3
  %15 = add nuw nsw i64 %14, 24
  %16 = alloca i8, i64 %15, align 16
  %17 = getelementptr inbounds i8, ptr %16, i64 24
  store ptr %17, ptr %16, align 16, !tbaa !11
  %18 = getelementptr inbounds i8, ptr %16, i64 8
  store i32 %7, ptr %18, align 8, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %16, i64 12
  store i32 1, ptr %19, align 4, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %16, i64 16
  store i32 %12, ptr %20, align 16, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %16, i64 20
  store i8 1, ptr %21, align 4, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %17, i8 0, i64 %14, i1 false)
  br label %22

22:                                               ; preds = %11, %9
  %.042 = phi ptr [ %10, %9 ], [ %16, %11 ]
  call void @MatNd_reshape(ptr noundef %2, i32 noundef %6, i32 noundef %5) #4
  call void @MatNd_setZero(ptr noundef %2) #4
  %23 = call ptr @RcsBody_getLastChild(ptr noundef %1) #4
  %24 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef %23) #4
  %25 = icmp ne ptr %1, null
  %26 = icmp ne ptr %24, %1
  %27 = select i1 %25, i1 %26, i1 false
  br i1 %27, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %22
  call void @MatNd_destroy(ptr noundef %.042) #4
  br label %44

._crit_edge:                                      ; preds = %37
  call void @MatNd_destroy(ptr noundef %.042) #4
  %28 = fcmp ogt double %.1, 0.000000e+00
  br i1 %28, label %42, label %44

.lr.ph:                                           ; preds = %22, %37
  %.046 = phi double [ %.1, %37 ], [ 0.000000e+00, %22 ]
  %.04145 = phi ptr [ %38, %37 ], [ %1, %22 ]
  %29 = load double, ptr %.04145, align 8, !tbaa !18
  %30 = fcmp ogt double %29, 0.000000e+00
  br i1 %30, label %31, label %37

31:                                               ; preds = %.lr.ph
  %32 = getelementptr inbounds i8, ptr %.04145, i64 112
  %33 = load ptr, ptr %32, align 8, !tbaa !21
  call void @RcsGraph_bodyPointHessian(ptr noundef %0, ptr noundef nonnull %.04145, ptr noundef %33, ptr noundef null, ptr noundef %.042)
  %34 = load double, ptr %.04145, align 8, !tbaa !18
  call void @MatNd_constMulAndAddSelf(ptr noundef %2, ptr noundef %.042, double noundef %34) #4
  %35 = load double, ptr %.04145, align 8, !tbaa !18
  %36 = fadd double %.046, %35
  br label %37

37:                                               ; preds = %.lr.ph, %31
  %.1 = phi double [ %36, %31 ], [ %.046, %.lr.ph ]
  %38 = call ptr @RcsBody_depthFirstTraversalGetNext(ptr noundef nonnull %.04145) #4
  %39 = icmp ne ptr %38, null
  %40 = icmp ne ptr %38, %24
  %41 = select i1 %39, i1 %40, i1 false
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !22

42:                                               ; preds = %._crit_edge
  %43 = fdiv double 1.000000e+00, %.1
  call void @MatNd_constMulSelf(ptr noundef %2, double noundef %43) #4
  br label %44

44:                                               ; preds = %._crit_edge.thread, %42, %._crit_edge
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3

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" }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 1852}
!6 = !{!"_RcsGraph", !7, i64 0, !8, i64 8, !10, i64 1848, !10, i64 1852, !7, i64 1856, !7, i64 1864, !7, i64 1872, !7, i64 1880, !7, i64 1888}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"_MatNd", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 20}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 12}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !13, i64 20}
!18 = !{!19, !20, i64 0}
!19 = !{!"_RcsBody", !20, i64 0, !13, i64 8, !10, i64 12, !8, i64 16, !8, i64 40, !20, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176}
!20 = !{!"double", !8, i64 0}
!21 = !{!19, !7, i64 112}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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