; LLVM IR from jgaeddert/liquid-dsp :: src/fec/src (packetizer)

; 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.packetizer_s = type { i32, i32, i32, i32, ptr, i32, i32, ptr, ptr }
%struct.fecintlv_plan = type { i32, i32, i32, ptr, ptr }

; 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
define dso_local i32 @packetizer_encode(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
  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) #5
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %11, label %20

11:                                               ; preds = %3
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.packetizer_s, ptr %12, i32 0, i32 7
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.packetizer_s, ptr %16, i32 0, i32 0
  %18 = load i32, ptr %17, align 8, !tbaa !12
  %19 = zext i32 %18 to i64
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %14, ptr align 1 %15, i64 %19, i1 false)
  br label %28

20:                                               ; preds = %3
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.packetizer_s, ptr %21, i32 0, i32 7
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.packetizer_s, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 8, !tbaa !12
  %27 = zext i32 %26 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %23, i8 0, i64 %27, i1 false)
  br label %28

28:                                               ; preds = %20, %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.packetizer_s, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.packetizer_s, ptr %32, i32 0, i32 7
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.packetizer_s, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !12
  %38 = call i32 @crc_generate_key(i32 noundef %31, ptr noundef %34, i32 noundef %37)
  store i32 %38, ptr %8, align 4, !tbaa !14
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %39

39:                                               ; preds = %66, %28
  %40 = load i32, ptr %7, align 4, !tbaa !14
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.packetizer_s, ptr %41, i32 0, i32 3
  %43 = load i32, ptr %42, align 4, !tbaa !15
  %44 = icmp ult i32 %40, %43
  br i1 %44, label %45, label %69

45:                                               ; preds = %39
  %46 = load i32, ptr %8, align 4, !tbaa !14
  %47 = and i32 %46, 255
  %48 = trunc i32 %47 to i8
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.packetizer_s, ptr %49, i32 0, i32 7
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.packetizer_s, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 8, !tbaa !12
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.packetizer_s, ptr %55, i32 0, i32 3
  %57 = load i32, ptr %56, align 4, !tbaa !15
  %58 = add i32 %54, %57
  %59 = load i32, ptr %7, align 4, !tbaa !14
  %60 = sub i32 %58, %59
  %61 = sub i32 %60, 1
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %51, i64 %62
  store i8 %48, ptr %63, align 1, !tbaa !16
  %64 = load i32, ptr %8, align 4, !tbaa !14
  %65 = lshr i32 %64, 8
  store i32 %65, ptr %8, align 4, !tbaa !14
  br label %66

66:                                               ; preds = %45
  %67 = load i32, ptr %7, align 4, !tbaa !14
  %68 = add i32 %67, 1
  store i32 %68, ptr %7, align 4, !tbaa !14
  br label %39, !llvm.loop !17

69:                                               ; preds = %39
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.packetizer_s, ptr %70, i32 0, i32 7
  %72 = load ptr, ptr %71, align 8, !tbaa !9
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.packetizer_s, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !12
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.packetizer_s, ptr %76, i32 0, i32 3
  %78 = load i32, ptr %77, align 4, !tbaa !15
  %79 = add i32 %75, %78
  call void @scramble_data(ptr noundef %72, i32 noundef %79)
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %80

80:                                               ; preds = %125, %69
  %81 = load i32, ptr %7, align 4, !tbaa !14
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.packetizer_s, ptr %82, i32 0, i32 5
  %84 = load i32, ptr %83, align 8, !tbaa !19
  %85 = icmp ult i32 %81, %84
  br i1 %85, label %86, label %128

86:                                               ; preds = %80
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.packetizer_s, ptr %87, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !20
  %90 = load i32, ptr %7, align 4, !tbaa !14
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds %struct.fecintlv_plan, ptr %89, i64 %91
  %93 = getelementptr inbounds %struct.fecintlv_plan, ptr %92, i32 0, i32 3
  %94 = load ptr, ptr %93, align 8, !tbaa !21
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.packetizer_s, ptr %95, i32 0, i32 4
  %97 = load ptr, ptr %96, align 8, !tbaa !20
  %98 = load i32, ptr %7, align 4, !tbaa !14
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds %struct.fecintlv_plan, ptr %97, i64 %99
  %101 = getelementptr inbounds %struct.fecintlv_plan, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !23
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.packetizer_s, ptr %103, i32 0, i32 7
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.packetizer_s, ptr %106, i32 0, i32 8
  %108 = load ptr, ptr %107, align 8, !tbaa !24
  %109 = call i32 @fec_encode(ptr noundef %94, i32 noundef %102, ptr noundef %105, ptr noundef %108)
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.packetizer_s, ptr %110, i32 0, i32 4
  %112 = load ptr, ptr %111, align 8, !tbaa !20
  %113 = load i32, ptr %7, align 4, !tbaa !14
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds %struct.fecintlv_plan, ptr %112, i64 %114
  %116 = getelementptr inbounds %struct.fecintlv_plan, ptr %115, i32 0, i32 4
  %117 = load ptr, ptr %116, align 8, !tbaa !25
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.packetizer_s, ptr %118, i32 0, i32 8
  %120 = load ptr, ptr %119, align 8, !tbaa !24
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.packetizer_s, ptr %121, i32 0, i32 7
  %123 = load ptr, ptr %122, align 8, !tbaa !9
  %124 = call i32 @interleaver_encode(ptr noundef %117, ptr noundef %120, ptr noundef %123)
  br label %125

125:                                              ; preds = %86
  %126 = load i32, ptr %7, align 4, !tbaa !14
  %127 = add i32 %126, 1
  store i32 %127, ptr %7, align 4, !tbaa !14
  br label %80, !llvm.loop !26

128:                                              ; preds = %80
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.packetizer_s, ptr %130, i32 0, i32 7
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.packetizer_s, ptr %133, i32 0, i32 1
  %135 = load i32, ptr %134, align 4, !tbaa !27
  %136 = zext i32 %135 to i64
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %129, ptr align 1 %132, i64 %136, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret i32 0
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #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 i32 @crc_generate_key(i32 noundef, ptr noundef, i32 noundef) #4

declare void @scramble_data(ptr noundef, i32 noundef) #4

declare i32 @fec_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

declare i32 @interleaver_encode(ptr noundef, ptr noundef, ptr noundef) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "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 }

!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, !6, i64 32}
!10 = !{!"packetizer_s", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 12}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !11, i64 24}
!20 = !{!10, !6, i64 16}
!21 = !{!22, !6, i64 16}
!22 = !{!"fecintlv_plan", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!22, !11, i64 0}
!24 = !{!10, !6, i64 40}
!25 = !{!22, !6, i64 24}
!26 = distinct !{!26, !18}
!27 = !{!10, !11, i64 4}


; 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.fecintlv_plan = type { i32, i32, i32, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @packetizer_encode(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
  %.not = icmp eq ptr %1, null
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = load i32, ptr %0, align 8, !tbaa !11
  %7 = zext i32 %6 to i64
  br i1 %.not, label %9, label %8

8:                                                ; preds = %3
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %5, ptr nonnull align 1 %1, i64 %7, i1 false)
  br label %10

9:                                                ; preds = %3
  tail call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 %7, i1 false)
  br label %10

10:                                               ; preds = %9, %8
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load i32, ptr %11, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = load i32, ptr %0, align 8, !tbaa !11
  %16 = tail call i32 @crc_generate_key(i32 noundef %12, ptr noundef %14, i32 noundef %15) #4
  %17 = getelementptr inbounds i8, ptr %0, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !13
  %.not46 = icmp eq i32 %18, 0
  br i1 %.not46, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10, %.lr.ph
  %19 = phi i32 [ %30, %.lr.ph ], [ %18, %10 ]
  %.041 = phi i32 [ %28, %.lr.ph ], [ %16, %10 ]
  %.03640 = phi i32 [ %29, %.lr.ph ], [ 0, %10 ]
  %20 = trunc i32 %.041 to i8
  %21 = load ptr, ptr %13, align 8, !tbaa !5
  %22 = load i32, ptr %0, align 8, !tbaa !11
  %23 = xor i32 %.03640, -1
  %24 = add i32 %19, %23
  %25 = add i32 %24, %22
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %21, i64 %26
  store i8 %20, ptr %27, align 1, !tbaa !14
  %28 = lshr i32 %.041, 8
  %29 = add nuw i32 %.03640, 1
  %30 = load i32, ptr %17, align 4, !tbaa !13
  %31 = icmp ult i32 %29, %30
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %10
  %.lcssa = phi i32 [ 0, %10 ], [ %30, %.lr.ph ]
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = load i32, ptr %0, align 8, !tbaa !11
  %34 = add i32 %33, %.lcssa
  tail call void @scramble_data(ptr noundef %32, i32 noundef %34) #4
  %35 = getelementptr inbounds i8, ptr %0, i64 24
  %36 = load i32, ptr %35, align 8, !tbaa !17
  %.not47 = icmp eq i32 %36, 0
  br i1 %.not47, label %._crit_edge45, label %.lr.ph44

.lr.ph44:                                         ; preds = %._crit_edge
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  br label %39

39:                                               ; preds = %.lr.ph44, %39
  %indvars.iv = phi i64 [ 0, %.lr.ph44 ], [ %indvars.iv.next, %39 ]
  %40 = load ptr, ptr %37, align 8, !tbaa !18
  %41 = getelementptr inbounds %struct.fecintlv_plan, ptr %40, i64 %indvars.iv
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %43 = load ptr, ptr %42, align 8, !tbaa !19
  %44 = load i32, ptr %41, align 8, !tbaa !21
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = load ptr, ptr %38, align 8, !tbaa !22
  %47 = tail call i32 @fec_encode(ptr noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46) #4
  %48 = load ptr, ptr %37, align 8, !tbaa !18
  %49 = getelementptr inbounds %struct.fecintlv_plan, ptr %48, i64 %indvars.iv, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !23
  %51 = load ptr, ptr %38, align 8, !tbaa !22
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = tail call i32 @interleaver_encode(ptr noundef %50, ptr noundef %51, ptr noundef %52) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %54 = load i32, ptr %35, align 8, !tbaa !17
  %55 = zext i32 %54 to i64
  %56 = icmp ult i64 %indvars.iv.next, %55
  br i1 %56, label %39, label %._crit_edge45, !llvm.loop !24

._crit_edge45:                                    ; preds = %39, %._crit_edge
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %0, i64 4
  %59 = load i32, ptr %58, align 4, !tbaa !25
  %60 = zext i32 %59 to i64
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %2, ptr align 1 %57, i64 %60, i1 false)
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #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 i32 @crc_generate_key(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @scramble_data(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @fec_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @interleaver_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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, !10, i64 32}
!6 = !{!"packetizer_s", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !10, i64 16}
!19 = !{!20, !10, i64 16}
!20 = !{!"fecintlv_plan", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24}
!21 = !{!20, !7, i64 0}
!22 = !{!6, !10, i64 40}
!23 = !{!20, !10, i64 24}
!24 = distinct !{!24, !16}
!25 = !{!6, !7, i64 4}


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