; LLVM IR from siconos/siconos :: externals/lbl/metis4/srefine.ll_ (Refine2WayNode)

; 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.controldef = type { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }
%struct.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @__Refine2WayNode(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store float %3, ptr %8, align 4, !tbaa !9
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.controldef, ptr %9, i32 0, i32 1
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %12 = and i32 %11, 1
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %20

14:                                               ; preds = %4
  %15 = call double @__seconds()
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.controldef, ptr %16, i32 0, i32 17
  %18 = load double, ptr %17, align 8, !tbaa !16
  %19 = fsub double %18, %15
  store double %19, ptr %17, align 8, !tbaa !16
  br label %20

20:                                               ; preds = %14, %4
  br label %21

21:                                               ; preds = %117, %20
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 1
  %24 = load i32, ptr %23, align 4, !tbaa !11
  %25 = and i32 %24, 1
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %21
  %28 = call double @__seconds()
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.controldef, ptr %29, i32 0, i32 19
  %31 = load double, ptr %30, align 8, !tbaa !17
  %32 = fsub double %31, %28
  store double %32, ptr %30, align 8, !tbaa !17
  br label %33

33:                                               ; preds = %27, %21
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.controldef, ptr %34, i32 0, i32 4
  %36 = load i32, ptr %35, align 8, !tbaa !18
  %37 = icmp ne i32 %36, 15
  br i1 %37, label %38, label %42

38:                                               ; preds = %33
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeBalance(ptr noundef %39, ptr noundef %40, float noundef %41)
  br label %42

42:                                               ; preds = %38, %33
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.controldef, ptr %43, i32 0, i32 4
  %45 = load i32, ptr %44, align 8, !tbaa !18
  switch i32 %45, label %71 [
    i32 1, label %46
    i32 2, label %50
    i32 3, label %54
    i32 4, label %61
    i32 5, label %68
  ]

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine(ptr noundef %47, ptr noundef %48, float noundef %49, i32 noundef 8)
  br label %71

50:                                               ; preds = %42
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine_OneSided(ptr noundef %51, ptr noundef %52, float noundef %53, i32 noundef 8)
  br label %71

54:                                               ; preds = %42
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine(ptr noundef %55, ptr noundef %56, float noundef %57, i32 noundef 8)
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine_OneSided(ptr noundef %58, ptr noundef %59, float noundef %60, i32 noundef 8)
  br label %71

61:                                               ; preds = %42
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine_OneSided(ptr noundef %62, ptr noundef %63, float noundef %64, i32 noundef 8)
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load float, ptr %8, align 4, !tbaa !9
  call void @__FM_2WayNodeRefine(ptr noundef %65, ptr noundef %66, float noundef %67, i32 noundef 8)
  br label %71

68:                                               ; preds = %42
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  call void @__FM_2WayNodeRefineEqWgt(ptr noundef %69, ptr noundef %70, i32 noundef 8)
  br label %71

71:                                               ; preds = %68, %61, %54, %50, %46, %42
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.controldef, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 4, !tbaa !11
  %75 = and i32 %74, 1
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %83

77:                                               ; preds = %71
  %78 = call double @__seconds()
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.controldef, ptr %79, i32 0, i32 19
  %81 = load double, ptr %80, align 8, !tbaa !17
  %82 = fadd double %81, %78
  store double %82, ptr %80, align 8, !tbaa !17
  br label %83

83:                                               ; preds = %77, %71
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = icmp eq ptr %84, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %83
  br label %118

88:                                               ; preds = %83
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.graphdef, ptr %89, i32 0, i32 28
  %91 = load ptr, ptr %90, align 8, !tbaa !19
  store ptr %91, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.controldef, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !11
  %95 = and i32 %94, 1
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %103

97:                                               ; preds = %88
  %98 = call double @__seconds()
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.controldef, ptr %99, i32 0, i32 20
  %101 = load double, ptr %100, align 8, !tbaa !21
  %102 = fsub double %101, %98
  store double %102, ptr %100, align 8, !tbaa !21
  br label %103

103:                                              ; preds = %97, %88
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  call void @__Project2WayNodePartition(ptr noundef %104, ptr noundef %105)
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.controldef, ptr %106, i32 0, i32 1
  %108 = load i32, ptr %107, align 4, !tbaa !11
  %109 = and i32 %108, 1
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %117

111:                                              ; preds = %103
  %112 = call double @__seconds()
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.controldef, ptr %113, i32 0, i32 20
  %115 = load double, ptr %114, align 8, !tbaa !21
  %116 = fadd double %115, %112
  store double %116, ptr %114, align 8, !tbaa !21
  br label %117

117:                                              ; preds = %111, %103
  br label %21

118:                                              ; preds = %87
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.controldef, ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 4, !tbaa !11
  %122 = and i32 %121, 1
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %130

124:                                              ; preds = %118
  %125 = call double @__seconds()
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.controldef, ptr %126, i32 0, i32 17
  %128 = load double, ptr %127, align 8, !tbaa !16
  %129 = fadd double %128, %125
  store double %129, ptr %127, align 8, !tbaa !16
  br label %130

130:                                              ; preds = %124, %118
  ret void
}

declare double @__seconds() #1

declare void @__FM_2WayNodeBalance(ptr noundef, ptr noundef, float noundef) #1

declare void @__FM_2WayNodeRefine(ptr noundef, ptr noundef, float noundef, i32 noundef) #1

declare void @__FM_2WayNodeRefine_OneSided(ptr noundef, ptr noundef, float noundef, i32 noundef) #1

declare void @__FM_2WayNodeRefineEqWgt(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @__Project2WayNodePartition(ptr noundef, ptr noundef) #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 = { "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" }

!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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"controldef", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !10, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !14, i64 48, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224}
!13 = !{!"int", !7, i64 0}
!14 = !{!"workspacedef", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !6, i64 40, !6, i64 48}
!15 = !{!"double", !7, i64 0}
!16 = !{!12, !15, i64 144}
!17 = !{!12, !15, i64 160}
!18 = !{!12, !13, i64 16}
!19 = !{!20, !6, i64 208}
!20 = !{!"graphdef", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !13, i64 92, !6, i64 96, !6, i64 104, !13, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !13, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!21 = !{!12, !15, i64 168}


; 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
define dso_local void @__Refine2WayNode(ptr noundef %0, ptr noundef readnone %1, ptr noundef %2, float noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 4
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = and i32 %6, 1
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %13, label %8

8:                                                ; preds = %4
  %9 = tail call double @__seconds() #2
  %10 = getelementptr inbounds i8, ptr %0, i64 144
  %11 = load double, ptr %10, align 8, !tbaa !14
  %12 = fsub double %11, %9
  store double %12, ptr %10, align 8, !tbaa !14
  br label %13

13:                                               ; preds = %8, %4
  %14 = getelementptr inbounds i8, ptr %0, i64 160
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = getelementptr inbounds i8, ptr %0, i64 168
  br label %17

17:                                               ; preds = %.backedge, %13
  %.0 = phi ptr [ %2, %13 ], [ %42, %.backedge ]
  %18 = load i32, ptr %5, align 4, !tbaa !5
  %19 = and i32 %18, 1
  %.not42 = icmp eq i32 %19, 0
  br i1 %.not42, label %24, label %20

20:                                               ; preds = %17
  %21 = tail call double @__seconds() #2
  %22 = load double, ptr %14, align 8, !tbaa !15
  %23 = fsub double %22, %21
  store double %23, ptr %14, align 8, !tbaa !15
  br label %24

24:                                               ; preds = %20, %17
  %25 = load i32, ptr %15, align 8, !tbaa !16
  %.not43 = icmp eq i32 %25, 15
  br i1 %.not43, label %.thread, label %26

26:                                               ; preds = %24
  tail call void @__FM_2WayNodeBalance(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3) #2
  %.pr = load i32, ptr %15, align 8, !tbaa !16
  switch i32 %.pr, label %.thread [
    i32 1, label %27
    i32 2, label %28
    i32 3, label %29
    i32 4, label %30
    i32 5, label %31
  ]

27:                                               ; preds = %26
  tail call void @__FM_2WayNodeRefine(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  br label %.thread

28:                                               ; preds = %26
  tail call void @__FM_2WayNodeRefine_OneSided(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  br label %.thread

29:                                               ; preds = %26
  tail call void @__FM_2WayNodeRefine(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  tail call void @__FM_2WayNodeRefine_OneSided(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  br label %.thread

30:                                               ; preds = %26
  tail call void @__FM_2WayNodeRefine_OneSided(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  tail call void @__FM_2WayNodeRefine(ptr noundef nonnull %0, ptr noundef %.0, float noundef %3, i32 noundef 8) #2
  br label %.thread

31:                                               ; preds = %26
  tail call void @__FM_2WayNodeRefineEqWgt(ptr noundef nonnull %0, ptr noundef %.0, i32 noundef 8) #2
  br label %.thread

.thread:                                          ; preds = %24, %31, %30, %29, %28, %27, %26
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = and i32 %32, 1
  %.not44 = icmp eq i32 %33, 0
  br i1 %.not44, label %38, label %34

34:                                               ; preds = %.thread
  %35 = tail call double @__seconds() #2
  %36 = load double, ptr %14, align 8, !tbaa !15
  %37 = fadd double %35, %36
  store double %37, ptr %14, align 8, !tbaa !15
  br label %38

38:                                               ; preds = %34, %.thread
  %39 = icmp eq ptr %.0, %1
  br i1 %39, label %56, label %40

40:                                               ; preds = %38
  %41 = getelementptr inbounds i8, ptr %.0, i64 208
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = and i32 %43, 1
  %.not45 = icmp eq i32 %44, 0
  br i1 %.not45, label %49, label %45

45:                                               ; preds = %40
  %46 = tail call double @__seconds() #2
  %47 = load double, ptr %16, align 8, !tbaa !19
  %48 = fsub double %47, %46
  store double %48, ptr %16, align 8, !tbaa !19
  br label %49

49:                                               ; preds = %45, %40
  tail call void @__Project2WayNodePartition(ptr noundef nonnull %0, ptr noundef %42)
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = and i32 %50, 1
  %.not46 = icmp eq i32 %51, 0
  br i1 %.not46, label %.backedge, label %52

52:                                               ; preds = %49
  %53 = tail call double @__seconds() #2
  %54 = load double, ptr %16, align 8, !tbaa !19
  %55 = fadd double %53, %54
  store double %55, ptr %16, align 8, !tbaa !19
  br label %.backedge

.backedge:                                        ; preds = %52, %49
  br label %17

56:                                               ; preds = %38
  %57 = load i32, ptr %5, align 4, !tbaa !5
  %58 = and i32 %57, 1
  %.not47 = icmp eq i32 %58, 0
  br i1 %.not47, label %64, label %59

59:                                               ; preds = %56
  %60 = tail call double @__seconds() #2
  %61 = getelementptr inbounds i8, ptr %0, i64 144
  %62 = load double, ptr %61, align 8, !tbaa !14
  %63 = fadd double %60, %62
  store double %63, ptr %61, align 8, !tbaa !14
  br label %64

64:                                               ; preds = %59, %56
  ret void
}

declare double @__seconds() local_unnamed_addr #1

declare void @__FM_2WayNodeBalance(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @__Project2WayNodePartition(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 = { "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 4}
!6 = !{!"controldef", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"workspacedef", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!6, !13, i64 144}
!15 = !{!6, !13, i64 160}
!16 = !{!6, !7, i64 16}
!17 = !{!18, !12, i64 208}
!18 = !{!"graphdef", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !7, i64 88, !7, i64 92, !12, i64 96, !12, i64 104, !7, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !7, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208}
!19 = !{!6, !13, i64 168}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass