; LLVM IR from Dev-XYS/Algorithms :: Heavy-Light-Decomposition.ll (Z10tquery_sumP6vertexS0_)

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

@root = external dso_local global ptr, align 8
@ivc = external dso_local global i32, align 4

; 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: mustprogress uwtable
declare dso_local noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10tquery_sumP6vertexS0_(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  br label %8

8:                                                ; preds = %94, %2
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.vertex, ptr %9, i32 0, i32 7
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.vertex, ptr %12, i32 0, i32 7
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %15 = icmp ne ptr %11, %14
  br i1 %15, label %16, label %95

16:                                               ; preds = %8
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.vertex, ptr %17, i32 0, i32 7
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = icmp eq ptr %19, %20
  br i1 %21, label %22, label %26

22:                                               ; preds = %16
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.vertex, ptr %23, i32 0, i32 5
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  br label %30

26:                                               ; preds = %16
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.vertex, ptr %27, i32 0, i32 7
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  br label %30

30:                                               ; preds = %26, %22
  %31 = phi ptr [ %25, %22 ], [ %29, %26 ]
  store ptr %31, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.vertex, ptr %32, i32 0, i32 7
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = icmp eq ptr %34, %35
  br i1 %36, label %37, label %41

37:                                               ; preds = %30
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.vertex, ptr %38, i32 0, i32 5
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  br label %45

41:                                               ; preds = %30
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.vertex, ptr %42, i32 0, i32 7
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  br label %45

45:                                               ; preds = %41, %37
  %46 = phi ptr [ %40, %37 ], [ %44, %41 ]
  store ptr %46, ptr %7, align 8, !tbaa !5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.vertex, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !14
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.vertex, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !14
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %45
  call void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  br label %55

55:                                               ; preds = %54, %45
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.vertex, ptr %56, i32 0, i32 7
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = icmp eq ptr %58, %59
  br i1 %60, label %61, label %76

61:                                               ; preds = %55
  %62 = load ptr, ptr @root, align 8, !tbaa !5
  %63 = load i32, ptr @ivc, align 4, !tbaa !9
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.vertex, ptr %64, i32 0, i32 4
  %66 = load i32, ptr %65, align 4, !tbaa !15
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.vertex, ptr %67, i32 0, i32 4
  %69 = load i32, ptr %68, align 4, !tbaa !15
  %70 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %62, i32 noundef 1, i32 noundef %63, i32 noundef %66, i32 noundef %69)
  %71 = load i32, ptr %5, align 4, !tbaa !9
  %72 = add nsw i32 %71, %70
  store i32 %72, ptr %5, align 4, !tbaa !9
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.vertex, ptr %73, i32 0, i32 5
  %75 = load ptr, ptr %74, align 8, !tbaa !13
  store ptr %75, ptr %3, align 8, !tbaa !5
  br label %94

76:                                               ; preds = %55
  %77 = load ptr, ptr @root, align 8, !tbaa !5
  %78 = load i32, ptr @ivc, align 4, !tbaa !9
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.vertex, ptr %79, i32 0, i32 7
  %81 = load ptr, ptr %80, align 8, !tbaa !11
  %82 = getelementptr inbounds %struct.vertex, ptr %81, i32 0, i32 4
  %83 = load i32, ptr %82, align 4, !tbaa !15
  %84 = add nsw i32 %83, 1
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.vertex, ptr %85, i32 0, i32 4
  %87 = load i32, ptr %86, align 4, !tbaa !15
  %88 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %77, i32 noundef 1, i32 noundef %78, i32 noundef %84, i32 noundef %87)
  %89 = load i32, ptr %5, align 4, !tbaa !9
  %90 = add nsw i32 %89, %88
  store i32 %90, ptr %5, align 4, !tbaa !9
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.vertex, ptr %91, i32 0, i32 7
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  store ptr %93, ptr %3, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %76, %61
  br label %8, !llvm.loop !16

95:                                               ; preds = %8
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.vertex, ptr %96, i32 0, i32 2
  %98 = load i32, ptr %97, align 4, !tbaa !14
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.vertex, ptr %99, i32 0, i32 2
  %101 = load i32, ptr %100, align 4, !tbaa !14
  %102 = icmp sgt i32 %98, %101
  br i1 %102, label %103, label %104

103:                                              ; preds = %95
  call void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  br label %104

104:                                              ; preds = %103, %95
  %105 = load ptr, ptr @root, align 8, !tbaa !5
  %106 = load i32, ptr @ivc, align 4, !tbaa !9
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.vertex, ptr %107, i32 0, i32 4
  %109 = load i32, ptr %108, align 4, !tbaa !15
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.vertex, ptr %110, i32 0, i32 4
  %112 = load i32, ptr %111, align 4, !tbaa !15
  %113 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %105, i32 noundef 1, i32 noundef %106, i32 noundef %109, i32 noundef %112)
  %114 = load i32, ptr %5, align 4, !tbaa !9
  %115 = add nsw i32 %114, %113
  store i32 %115, ptr %5, align 4, !tbaa !9
  %116 = load i32, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret i32 %116
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint 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 #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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 40}
!12 = !{!"_ZTS6vertex", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!12, !6, i64 24}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !10, i64 20}
!16 = distinct !{!16, !17}
!17 = !{!"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"

@root = external dso_local local_unnamed_addr global ptr, align 8
@ivc = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10tquery_sumP6vertexS0_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %1, i64 40
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %.not13 = icmp eq ptr %6, %8
  br i1 %.not13, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %53
  %9 = phi ptr [ %58, %53 ], [ %8, %2 ]
  %10 = phi ptr [ %56, %53 ], [ %1, %2 ]
  %11 = phi ptr [ %55, %53 ], [ %6, %2 ]
  %12 = phi ptr [ %storemerge, %53 ], [ %0, %2 ]
  %.014 = phi i32 [ %.1, %53 ], [ 0, %2 ]
  %13 = icmp eq ptr %11, %12
  br i1 %13, label %14, label %17

14:                                               ; preds = %.lr.ph
  %15 = getelementptr inbounds i8, ptr %12, i64 24
  %16 = load ptr, ptr %15, align 8, !tbaa !12
  br label %17

17:                                               ; preds = %.lr.ph, %14
  %18 = phi ptr [ %16, %14 ], [ %11, %.lr.ph ]
  %19 = icmp eq ptr %9, %10
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %10, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !12
  br label %23

23:                                               ; preds = %17, %20
  %24 = phi ptr [ %22, %20 ], [ %9, %17 ]
  %25 = getelementptr inbounds i8, ptr %18, i64 12
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %24, i64 12
  %28 = load i32, ptr %27, align 4, !tbaa !13
  %29 = icmp slt i32 %26, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %23
  call void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #2
  %.pre = load ptr, ptr %3, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %30, %23
  %32 = phi ptr [ %.pre, %30 ], [ %12, %23 ]
  %33 = getelementptr inbounds i8, ptr %32, i64 40
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = icmp eq ptr %34, %32
  %36 = load ptr, ptr @root, align 8, !tbaa !5
  %37 = load i32, ptr @ivc, align 4, !tbaa !14
  br i1 %35, label %38, label %44

38:                                               ; preds = %31
  %39 = getelementptr inbounds i8, ptr %32, i64 20
  %40 = load i32, ptr %39, align 4, !tbaa !15
  %41 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %36, i32 noundef 1, i32 noundef %37, i32 noundef %40, i32 noundef %40)
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 24
  br label %53

44:                                               ; preds = %31
  %45 = getelementptr inbounds i8, ptr %34, i64 20
  %46 = load i32, ptr %45, align 4, !tbaa !15
  %47 = add nsw i32 %46, 1
  %48 = getelementptr inbounds i8, ptr %32, i64 20
  %49 = load i32, ptr %48, align 4, !tbaa !15
  %50 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %36, i32 noundef 1, i32 noundef %37, i32 noundef %47, i32 noundef %49)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 40
  br label %53

53:                                               ; preds = %44, %38
  %storemerge.in = phi ptr [ %52, %44 ], [ %43, %38 ]
  %.pn = phi i32 [ %50, %44 ], [ %41, %38 ]
  %.1 = add nsw i32 %.pn, %.014
  %storemerge = load ptr, ptr %storemerge.in, align 8, !tbaa !5
  store ptr %storemerge, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %storemerge, i64 40
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 40
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %.not = icmp eq ptr %55, %58
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %53, %2
  %.0.lcssa = phi i32 [ 0, %2 ], [ %.1, %53 ]
  %.lcssa12 = phi ptr [ %0, %2 ], [ %storemerge, %53 ]
  %.lcssa = phi ptr [ %1, %2 ], [ %56, %53 ]
  %59 = getelementptr inbounds i8, ptr %.lcssa12, i64 12
  %60 = load i32, ptr %59, align 4, !tbaa !13
  %61 = getelementptr inbounds i8, ptr %.lcssa, i64 12
  %62 = load i32, ptr %61, align 4, !tbaa !13
  %63 = icmp sgt i32 %60, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %._crit_edge
  call void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #2
  %.pre18 = load ptr, ptr %3, align 8, !tbaa !5
  %.pre19 = load ptr, ptr %4, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %64, %._crit_edge
  %66 = phi ptr [ %.pre19, %64 ], [ %.lcssa, %._crit_edge ]
  %67 = phi ptr [ %.pre18, %64 ], [ %.lcssa12, %._crit_edge ]
  %68 = load ptr, ptr @root, align 8, !tbaa !5
  %69 = load i32, ptr @ivc, align 4, !tbaa !14
  %70 = getelementptr inbounds i8, ptr %67, i64 20
  %71 = load i32, ptr %70, align 4, !tbaa !15
  %72 = getelementptr inbounds i8, ptr %66, i64 20
  %73 = load i32, ptr %72, align 4, !tbaa !15
  %74 = call noundef i32 @_Z9query_sumP4nodeiiii(ptr noundef %68, i32 noundef 1, i32 noundef %69, i32 noundef %71, i32 noundef %73)
  %75 = add nsw i32 %74, %.0.lcssa
  ret i32 %75
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIP6vertexENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

attributes #0 = { 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 #1 = { inlinehint 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 40}
!10 = !{!"_ZTS6vertex", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !11, i64 12}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 20}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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