; LLVM IR from ryanlayer/giggle :: src (giggle_index)

; 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.cache_def = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.cache_handler = type { ptr, ptr, ptr }
%struct.bpt_node = type { ptr }
%struct.leaf_data = type { i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr }

@cache = external dso_local global %struct.cache_def, align 8
@bpt_node_cache_handler = external dso_local global %struct.cache_handler, align 8
@ORDER = external dso_local global i32, align 4
@leaf_data_cache_handler = external dso_local global %struct.cache_handler, align 8

; 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 @giggle_leaf_data_get_intersection_size(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %18 = load ptr, ptr getelementptr inbounds (%struct.cache_def, ptr @cache, i32 0, i32 3), align 8, !tbaa !9
  %19 = load i32, ptr %10, align 4, !tbaa !5
  %20 = load i32, ptr %6, align 4, !tbaa !5
  %21 = sub i32 %20, 1
  %22 = call ptr %18(i32 noundef %19, i32 noundef %21, ptr noundef @bpt_node_cache_handler)
  store ptr %22, ptr %11, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %23 = load ptr, ptr getelementptr inbounds (%struct.cache_def, ptr @cache, i32 0, i32 3), align 8, !tbaa !9
  %24 = load i32, ptr %10, align 4, !tbaa !5
  %25 = load ptr, ptr %11, align 8, !tbaa !12
  %26 = getelementptr inbounds %struct.bpt_node, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %28 = load i32, ptr @ORDER, align 4, !tbaa !5
  %29 = add i32 6, %28
  %30 = add i32 %29, 1
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds i32, ptr %27, i64 %31
  %33 = getelementptr inbounds i32, ptr %32, i64 0
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = sub i32 %34, 1
  %36 = call ptr %23(i32 noundef %24, i32 noundef %35, ptr noundef @leaf_data_cache_handler)
  store ptr %36, ptr %12, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %37 = load ptr, ptr %12, align 8, !tbaa !12
  %38 = getelementptr inbounds %struct.leaf_data, ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !15
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %41 = load ptr, ptr %12, align 8, !tbaa !12
  %42 = load ptr, ptr %11, align 8, !tbaa !12
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = call i32 @leaf_data_starts_end(ptr noundef %41, ptr noundef %42, i32 noundef %43)
  %45 = load i32, ptr %13, align 4, !tbaa !5
  %46 = add i32 %45, %44
  store i32 %46, ptr %13, align 4, !tbaa !5
  %47 = load ptr, ptr %12, align 8, !tbaa !12
  %48 = load ptr, ptr %11, align 8, !tbaa !12
  %49 = load i32, ptr %7, align 4, !tbaa !5
  %50 = call i32 @leaf_data_ends_end(ptr noundef %47, ptr noundef %48, i32 noundef %49)
  %51 = load i32, ptr %13, align 4, !tbaa !5
  %52 = sub i32 %51, %50
  store i32 %52, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %53 = load ptr, ptr %11, align 8, !tbaa !12
  store ptr %53, ptr %15, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %54 = load ptr, ptr %12, align 8, !tbaa !12
  store ptr %54, ptr %16, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %17, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %65, %5
  %58 = load ptr, ptr %15, align 8, !tbaa !12
  %59 = getelementptr inbounds %struct.bpt_node, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds i32, ptr %60, i64 0
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = load i32, ptr %8, align 4, !tbaa !5
  %64 = icmp ne i32 %62, %63
  br i1 %64, label %65, label %105

65:                                               ; preds = %57
  %66 = load ptr, ptr %16, align 8, !tbaa !12
  %67 = load ptr, ptr %15, align 8, !tbaa !12
  %68 = load ptr, ptr %15, align 8, !tbaa !12
  %69 = getelementptr inbounds %struct.bpt_node, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !13
  %71 = getelementptr inbounds i32, ptr %70, i64 5
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sub i32 %72, 1
  %74 = call i32 @leaf_data_starts_end(ptr noundef %66, ptr noundef %67, i32 noundef %73)
  %75 = load ptr, ptr %16, align 8, !tbaa !12
  %76 = load ptr, ptr %15, align 8, !tbaa !12
  %77 = load i32, ptr %17, align 4, !tbaa !5
  %78 = call i32 @leaf_data_starts_start(ptr noundef %75, ptr noundef %76, i32 noundef %77)
  %79 = sub i32 %74, %78
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = add i32 %80, %79
  store i32 %81, ptr %13, align 4, !tbaa !5
  %82 = load ptr, ptr getelementptr inbounds (%struct.cache_def, ptr @cache, i32 0, i32 3), align 8, !tbaa !9
  %83 = load i32, ptr %10, align 4, !tbaa !5
  %84 = load ptr, ptr %15, align 8, !tbaa !12
  %85 = getelementptr inbounds %struct.bpt_node, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !13
  %87 = getelementptr inbounds i32, ptr %86, i64 4
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = sub i32 %88, 1
  %90 = call ptr %82(i32 noundef %83, i32 noundef %89, ptr noundef @bpt_node_cache_handler)
  store ptr %90, ptr %15, align 8, !tbaa !12
  %91 = load ptr, ptr getelementptr inbounds (%struct.cache_def, ptr @cache, i32 0, i32 3), align 8, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = load ptr, ptr %15, align 8, !tbaa !12
  %94 = getelementptr inbounds %struct.bpt_node, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !13
  %96 = load i32, ptr @ORDER, align 4, !tbaa !5
  %97 = add i32 6, %96
  %98 = add i32 %97, 1
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds i32, ptr %95, i64 %99
  %101 = getelementptr inbounds i32, ptr %100, i64 0
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = sub i32 %102, 1
  %104 = call ptr %91(i32 noundef %92, i32 noundef %103, ptr noundef @leaf_data_cache_handler)
  store ptr %104, ptr %16, align 8, !tbaa !12
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %57, !llvm.loop !18

105:                                              ; preds = %57
  %106 = load ptr, ptr %16, align 8, !tbaa !12
  %107 = load ptr, ptr %15, align 8, !tbaa !12
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = call i32 @leaf_data_starts_end(ptr noundef %106, ptr noundef %107, i32 noundef %108)
  %110 = load ptr, ptr %16, align 8, !tbaa !12
  %111 = load ptr, ptr %15, align 8, !tbaa !12
  %112 = load i32, ptr %17, align 4, !tbaa !5
  %113 = call i32 @leaf_data_starts_start(ptr noundef %110, ptr noundef %111, i32 noundef %112)
  %114 = sub i32 %109, %113
  %115 = load i32, ptr %13, align 4, !tbaa !5
  %116 = add i32 %115, %114
  store i32 %116, ptr %13, align 4, !tbaa !5
  %117 = load i32, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret i32 %117
}

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

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

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

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 = { 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, !11, i64 24}
!10 = !{!"cache_def", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"bpt_node", !11, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"leaf_data", !17, i64 0, !17, i64 8, !17, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"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"

%struct.cache_def = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.cache_handler = type { ptr, ptr, ptr }

@cache = external dso_local local_unnamed_addr global %struct.cache_def, align 8
@bpt_node_cache_handler = external dso_local global %struct.cache_handler, align 8
@ORDER = external dso_local local_unnamed_addr global i32, align 4
@leaf_data_cache_handler = external dso_local global %struct.cache_handler, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @giggle_leaf_data_get_intersection_size(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %7 = add i32 %0, -1
  %8 = tail call ptr %6(i32 noundef %4, i32 noundef %7, ptr noundef nonnull @bpt_node_cache_handler) #2
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %10 = load ptr, ptr %8, align 8, !tbaa !10
  %11 = load i32, ptr @ORDER, align 4, !tbaa !12
  %12 = add i32 %11, 7
  %13 = zext i32 %12 to i64
  %14 = getelementptr inbounds i32, ptr %10, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !12
  %16 = add i32 %15, -1
  %17 = tail call ptr %9(i32 noundef %4, i32 noundef %16, ptr noundef nonnull @leaf_data_cache_handler) #2
  %18 = load i64, ptr %17, align 8, !tbaa !14
  %19 = trunc i64 %18 to i32
  %20 = tail call i32 @leaf_data_starts_end(ptr noundef nonnull %17, ptr noundef nonnull %8, i32 noundef %1) #2
  %21 = add i32 %20, %19
  %22 = tail call i32 @leaf_data_ends_end(ptr noundef nonnull %17, ptr noundef nonnull %8, i32 noundef %1) #2
  %23 = sub i32 %21, %22
  %24 = add nsw i32 %1, 1
  %25 = load ptr, ptr %8, align 8, !tbaa !10
  %26 = load i32, ptr %25, align 4, !tbaa !12
  %.not41 = icmp eq i32 %26, %2
  br i1 %.not41, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %5
  %27 = getelementptr inbounds i8, ptr %25, i64 20
  %28 = load i32, ptr %27, align 4, !tbaa !12
  %29 = add i32 %28, -1
  %30 = tail call i32 @leaf_data_starts_end(ptr noundef nonnull %17, ptr noundef nonnull %8, i32 noundef %29) #2
  %31 = tail call i32 @leaf_data_starts_start(ptr noundef nonnull %17, ptr noundef nonnull %8, i32 noundef %24) #2
  %32 = add i32 %30, %23
  %33 = sub i32 %32, %31
  %34 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %35 = load ptr, ptr %8, align 8, !tbaa !10
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load i32, ptr %36, align 4, !tbaa !12
  %38 = add i32 %37, -1
  %39 = tail call ptr %34(i32 noundef %4, i32 noundef %38, ptr noundef nonnull @bpt_node_cache_handler) #2
  %40 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %41 = load ptr, ptr %39, align 8, !tbaa !10
  %42 = load i32, ptr @ORDER, align 4, !tbaa !12
  %43 = add i32 %42, 7
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %41, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !12
  %47 = add i32 %46, -1
  %48 = tail call ptr %40(i32 noundef %4, i32 noundef %47, ptr noundef nonnull @leaf_data_cache_handler) #2
  %49 = load ptr, ptr %39, align 8, !tbaa !10
  %50 = load i32, ptr %49, align 4, !tbaa !12
  %.not.peel = icmp eq i32 %50, %2
  br i1 %.not.peel, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %51 = phi ptr [ %74, %.lr.ph ], [ %49, %.lr.ph.preheader ]
  %.03644 = phi ptr [ %73, %.lr.ph ], [ %48, %.lr.ph.preheader ]
  %.03743 = phi ptr [ %64, %.lr.ph ], [ %39, %.lr.ph.preheader ]
  %.03842 = phi i32 [ %58, %.lr.ph ], [ %33, %.lr.ph.preheader ]
  %52 = getelementptr inbounds i8, ptr %51, i64 20
  %53 = load i32, ptr %52, align 4, !tbaa !12
  %54 = add i32 %53, -1
  %55 = tail call i32 @leaf_data_starts_end(ptr noundef %.03644, ptr noundef nonnull %.03743, i32 noundef %54) #2
  %56 = tail call i32 @leaf_data_starts_start(ptr noundef %.03644, ptr noundef nonnull %.03743, i32 noundef 0) #2
  %57 = add i32 %55, %.03842
  %58 = sub i32 %57, %56
  %59 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %60 = load ptr, ptr %.03743, align 8, !tbaa !10
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  %62 = load i32, ptr %61, align 4, !tbaa !12
  %63 = add i32 %62, -1
  %64 = tail call ptr %59(i32 noundef %4, i32 noundef %63, ptr noundef nonnull @bpt_node_cache_handler) #2
  %65 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 24), align 8, !tbaa !5
  %66 = load ptr, ptr %64, align 8, !tbaa !10
  %67 = load i32, ptr @ORDER, align 4, !tbaa !12
  %68 = add i32 %67, 7
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %66, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !12
  %72 = add i32 %71, -1
  %73 = tail call ptr %65(i32 noundef %4, i32 noundef %72, ptr noundef nonnull @leaf_data_cache_handler) #2
  %74 = load ptr, ptr %64, align 8, !tbaa !10
  %75 = load i32, ptr %74, align 4, !tbaa !12
  %.not = icmp eq i32 %75, %2
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph.preheader, %5
  %.038.lcssa = phi i32 [ %23, %5 ], [ %33, %.lr.ph.preheader ], [ %58, %.lr.ph ]
  %.037.lcssa = phi ptr [ %8, %5 ], [ %39, %.lr.ph.preheader ], [ %64, %.lr.ph ]
  %.036.lcssa = phi ptr [ %17, %5 ], [ %48, %.lr.ph.preheader ], [ %73, %.lr.ph ]
  %.0.lcssa = phi i32 [ %24, %5 ], [ 0, %.lr.ph.preheader ], [ 0, %.lr.ph ]
  %76 = tail call i32 @leaf_data_starts_end(ptr noundef %.036.lcssa, ptr noundef nonnull %.037.lcssa, i32 noundef %3) #2
  %77 = tail call i32 @leaf_data_starts_start(ptr noundef %.036.lcssa, ptr noundef nonnull %.037.lcssa, i32 noundef %.0.lcssa) #2
  %78 = add i32 %76, %.038.lcssa
  %79 = sub i32 %78, %77
  ret i32 %79
}

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

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

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

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 = { 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, !7, i64 24}
!6 = !{!"cache_def", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"bpt_node", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"leaf_data", !16, i64 0, !16, i64 8, !16, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !18, !19}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.peeled.count", i32 1}


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