; LLVM IR from eProsima/Fast-DDS :: src/cpp/rtps/persistence (sqlite3)

; 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.sqlite3PrngType = type { [16 x i32], [64 x i8], i8 }

@sqlite3Prng = external hidden global %struct.sqlite3PrngType, align 4
@sqlite3_randomness.chacha20_init = external hidden constant [4 x i32], align 16

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

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_enter(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @sqlite3_mutex_leave(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @sqlite3_initialize() #1

; Function Attrs: nounwind uwtable
declare hidden ptr @sqlite3MutexAlloc(i32 noundef) #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) #2

; Function Attrs: nounwind uwtable
define dso_local void @sqlite3_randomness(i32 noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = load ptr, ptr %4, align 8, !tbaa !9
  store ptr %9, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %10 = call i32 @sqlite3_initialize()
  %11 = icmp ne i32 %10, 0
  br i1 %11, label %12, label %13

12:                                               ; preds = %2
  store i32 1, ptr %7, align 4
  br label %80

13:                                               ; preds = %2
  %14 = call ptr @sqlite3MutexAlloc(i32 noundef 5)
  store ptr %14, ptr %6, align 8, !tbaa !9
  %15 = load ptr, ptr %6, align 8, !tbaa !9
  call void @sqlite3_mutex_enter(ptr noundef %15)
  %16 = load i32, ptr %3, align 4, !tbaa !5
  %17 = icmp sle i32 %16, 0
  br i1 %17, label %21, label %18

18:                                               ; preds = %13
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %23

21:                                               ; preds = %18, %13
  store i32 0, ptr @sqlite3Prng, align 4, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !9
  call void @sqlite3_mutex_leave(ptr noundef %22)
  store i32 1, ptr %7, align 4
  br label %80

23:                                               ; preds = %18
  %24 = load i32, ptr @sqlite3Prng, align 4, !tbaa !5
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %36

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %27 = call ptr @sqlite3_vfs_find(ptr noundef null)
  store ptr %27, ptr %8, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @sqlite3Prng, ptr align 16 @sqlite3_randomness.chacha20_init, i64 16, i1 false)
  %28 = load ptr, ptr %8, align 8, !tbaa !9
  %29 = icmp eq ptr %28, null
  br i1 %29, label %30, label %31

30:                                               ; preds = %26
  call void @llvm.memset.p0.i64(ptr align 4 getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 4), i8 0, i64 44, i1 false)
  br label %34

31:                                               ; preds = %26
  %32 = load ptr, ptr %8, align 8, !tbaa !9
  %33 = call i32 @sqlite3OsRandomness(ptr noundef %32, i32 noundef 44, ptr noundef getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 4))
  br label %34

34:                                               ; preds = %31, %30
  %35 = load i32, ptr getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 12), align 4, !tbaa !5
  store i32 %35, ptr getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 15), align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 12), align 4, !tbaa !5
  store i8 0, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %36

36:                                               ; preds = %34, %23
  br label %37

37:                                               ; preds = %75, %36
  br label %38

38:                                               ; preds = %37
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %41 = zext i8 %40 to i32
  %42 = icmp sle i32 %39, %41
  br i1 %42, label %43, label %58

43:                                               ; preds = %38
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %46 = zext i8 %45 to i32
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = sub nsw i32 %46, %47
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [64 x i8], ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 1), i64 0, i64 %49
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %44, ptr align 1 %50, i64 %52, i1 false)
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %55 = zext i8 %54 to i32
  %56 = sub nsw i32 %55, %53
  %57 = trunc i32 %56 to i8
  store i8 %57, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  br label %78

58:                                               ; preds = %38
  %59 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %60 = zext i8 %59 to i32
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %62, label %75

62:                                               ; preds = %58
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %65 = zext i8 %64 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %63, ptr align 4 getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 1), i64 %65, i1 false)
  %66 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %67 = zext i8 %66 to i32
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = sub nsw i32 %68, %67
  store i32 %69, ptr %3, align 4, !tbaa !5
  %70 = load i8, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  %71 = zext i8 %70 to i32
  %72 = load ptr, ptr %5, align 8, !tbaa !9
  %73 = sext i32 %71 to i64
  %74 = getelementptr inbounds i8, ptr %72, i64 %73
  store ptr %74, ptr %5, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %62, %58
  %76 = load i32, ptr getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 12), align 4, !tbaa !5
  %77 = add i32 %76, 1
  store i32 %77, ptr getelementptr inbounds ([16 x i32], ptr @sqlite3Prng, i64 0, i64 12), align 4, !tbaa !5
  call void @chacha_block(ptr noundef getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 1), ptr noundef @sqlite3Prng)
  store i8 64, ptr getelementptr inbounds (%struct.sqlite3PrngType, ptr @sqlite3Prng, i32 0, i32 2), align 4, !tbaa !11
  br label %37

78:                                               ; preds = %43
  %79 = load ptr, ptr %6, align 8, !tbaa !9
  call void @sqlite3_mutex_leave(ptr noundef %79)
  store i32 0, ptr %7, align 4
  br label %80

80:                                               ; preds = %78, %21, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %81 = load i32, ptr %7, align 4
  switch i32 %81, label %83 [
    i32 0, label %82
    i32 1, label %82
  ]

82:                                               ; preds = %80, %80
  ret void

83:                                               ; preds = %80
  unreachable
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3OsRandomness(ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @chacha_block(ptr noundef, ptr noundef) #1

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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !7, i64 128}
!12 = !{!"sqlite3PrngType", !7, i64 0, !7, i64 64, !7, i64 128}


; 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.sqlite3PrngType = type { [16 x i32], [64 x i8], i8 }

@sqlite3Prng = external hidden global %struct.sqlite3PrngType, align 4
@sqlite3_randomness.chacha20_init = external hidden local_unnamed_addr constant [4 x i32], align 16

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @sqlite3_initialize() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden ptr @sqlite3MutexAlloc(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress 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) #1

; Function Attrs: nounwind uwtable
define dso_local void @sqlite3_randomness(i32 noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
  %3 = tail call i32 @sqlite3_initialize()
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %4, label %44

4:                                                ; preds = %2
  %5 = tail call ptr @sqlite3MutexAlloc(i32 noundef 5)
  tail call void @sqlite3_mutex_enter(ptr noundef %5)
  %6 = icmp slt i32 %0, 1
  %7 = icmp eq ptr %1, null
  %or.cond = or i1 %6, %7
  br i1 %or.cond, label %8, label %9

8:                                                ; preds = %4
  store i32 0, ptr @sqlite3Prng, align 4, !tbaa !5
  br label %.sink.split

9:                                                ; preds = %4
  %10 = load i32, ptr @sqlite3Prng, align 4, !tbaa !5
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %12, label %18

12:                                               ; preds = %9
  %13 = tail call ptr @sqlite3_vfs_find(ptr noundef null)
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) @sqlite3Prng, ptr noundef nonnull align 16 dereferenceable(16) @sqlite3_randomness.chacha20_init, i64 16, i1 false)
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) getelementptr inbounds (i8, ptr @sqlite3Prng, i64 16), i8 0, i64 44, i1 false)
  br label %.thread

16:                                               ; preds = %12
  %17 = tail call i32 @sqlite3OsRandomness(ptr noundef nonnull %13, i32 noundef 44, ptr noundef nonnull getelementptr inbounds (i8, ptr @sqlite3Prng, i64 16))
  %.pre = load i32, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  br label %.thread

18:                                               ; preds = %9
  %.pr.pre = load i8, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %19 = zext i8 %.pr.pre to i32
  %.not2325 = icmp ult i32 %19, %0
  br i1 %.not2325, label %.lr.ph, label %._crit_edge

.thread:                                          ; preds = %15, %16
  %20 = phi i32 [ %.pre, %16 ], [ 0, %15 ]
  store i32 %20, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 60), align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  store i8 0, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  br label %.lr.ph.thread

.lr.ph:                                           ; preds = %18
  %.not24.peel = icmp eq i8 %.pr.pre, 0
  br i1 %.not24.peel, label %.lr.ph.thread, label %21

21:                                               ; preds = %.lr.ph
  %22 = zext i8 %.pr.pre to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %1, ptr nonnull align 4 getelementptr inbounds (i8, ptr @sqlite3Prng, i64 64), i64 %22, i1 false)
  %23 = load i8, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %24 = zext i8 %23 to i32
  %25 = sub nsw i32 %0, %24
  %26 = zext i8 %23 to i64
  %27 = getelementptr inbounds i8, ptr %1, i64 %26
  br label %.lr.ph.thread

.lr.ph.thread:                                    ; preds = %.thread, %21, %.lr.ph
  %.117.peel = phi ptr [ %27, %21 ], [ %1, %.lr.ph ], [ %1, %.thread ]
  %.1.peel = phi i32 [ %25, %21 ], [ %0, %.lr.ph ], [ %0, %.thread ]
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  %29 = add i32 %28, 1
  store i32 %29, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  tail call void @chacha_block(ptr noundef nonnull getelementptr inbounds (i8, ptr @sqlite3Prng, i64 64), ptr noundef nonnull @sqlite3Prng)
  store i8 64, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %.not23.peel = icmp sgt i32 %.1.peel, 64
  br i1 %.not23.peel, label %.peel.next, label %._crit_edge

._crit_edge:                                      ; preds = %.peel.next, %.lr.ph.thread, %18
  %.016.lcssa = phi ptr [ %1, %18 ], [ %.117.peel, %.lr.ph.thread ], [ %41, %.peel.next ]
  %.0.lcssa = phi i32 [ %0, %18 ], [ %.1.peel, %.lr.ph.thread ], [ %39, %.peel.next ]
  %.lcssa = phi i32 [ %19, %18 ], [ 64, %.lr.ph.thread ], [ 64, %.peel.next ]
  %30 = sub nsw i32 %.lcssa, %.0.lcssa
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [64 x i8], ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 64), i64 0, i64 %31
  %33 = sext i32 %.0.lcssa to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.016.lcssa, ptr nonnull align 1 %32, i64 %33, i1 false)
  %34 = load i8, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %35 = trunc i32 %.0.lcssa to i8
  %36 = sub i8 %34, %35
  store i8 %36, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  br label %.sink.split

.peel.next:                                       ; preds = %.lr.ph.thread, %.peel.next
  %.027 = phi i32 [ %39, %.peel.next ], [ %.1.peel, %.lr.ph.thread ]
  %.01626 = phi ptr [ %41, %.peel.next ], [ %.117.peel, %.lr.ph.thread ]
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %.01626, ptr noundef nonnull align 4 dereferenceable(64) getelementptr inbounds (i8, ptr @sqlite3Prng, i64 64), i64 64, i1 false)
  %37 = load i8, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %38 = zext i8 %37 to i32
  %39 = sub nsw i32 %.027, %38
  %40 = zext i8 %37 to i64
  %41 = getelementptr inbounds i8, ptr %.01626, i64 %40
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  %43 = add i32 %42, 1
  store i32 %43, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 48), align 4, !tbaa !5
  tail call void @chacha_block(ptr noundef nonnull getelementptr inbounds (i8, ptr @sqlite3Prng, i64 64), ptr noundef nonnull @sqlite3Prng)
  store i8 64, ptr getelementptr inbounds (i8, ptr @sqlite3Prng, i64 128), align 4, !tbaa !9
  %.not23 = icmp sgt i32 %39, 64
  br i1 %.not23, label %.peel.next, label %._crit_edge, !llvm.loop !11

.sink.split:                                      ; preds = %8, %._crit_edge
  tail call void @sqlite3_mutex_leave(ptr noundef %5)
  br label %44

44:                                               ; preds = %.sink.split, %2
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @sqlite3OsRandomness(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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) }

!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/C++ TBAA"}
!9 = !{!10, !7, i64 128}
!10 = !{!"sqlite3PrngType", !7, i64 0, !7, i64 64, !7, i64 128}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.peeled.count", i32 1}


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