; LLVM IR from cruppstahl/upscaledb :: src/4txn/txn_cursor.ll (ZN9upscaledb9TxnCursor19copy_coupled_recordEP12ups_record_t)

; 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.upscaledb::TxnCursor" = type { %"struct.upscaledb::TxnCursorState" }
%"struct.upscaledb::TxnCursorState" = type { ptr, ptr, ptr, ptr }
%"struct.upscaledb::Cursor" = type { ptr, ptr, ptr, ptr, ptr }
%"struct.upscaledb::TxnOperation" = type { ptr, ptr, i32, i32, i32, i64, ptr, ptr, ptr, ptr, ptr, %struct.ups_key_t, %struct.ups_record_t, [1 x i8] }
%struct.ups_key_t = type { i16, ptr, i32, i32 }
%struct.ups_record_t = type { i32, ptr, i32 }

@_ZTIN9upscaledb9ExceptionE = external dso_local constant { ptr, ptr }, 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9upscaledb9TxnCursor6is_nilEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN9upscaledbL2dbERNS_14TxnCursorStateE(ptr noundef nonnull align 8 dereferenceable(32)) #3

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9upscaledb9ExceptionC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #1 align 2

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9upscaledb12DynamicArrayIhE6resizeEm(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9upscaledb12DynamicArrayIhE4dataEv(ptr noundef nonnull align 8 dereferenceable(17)) #1 align 2

; 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) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9upscaledb9TxnCursor19copy_coupled_recordEP12ups_record_t(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %11 = getelementptr inbounds %"struct.upscaledb::TxnCursor", ptr %10, i32 0, i32 0
  %12 = getelementptr inbounds %"struct.upscaledb::TxnCursorState", ptr %11, i32 0, i32 0
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds %"struct.upscaledb::Cursor", ptr %13, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  store ptr %15, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %16 = getelementptr inbounds %"struct.upscaledb::TxnCursor", ptr %10, i32 0, i32 0
  %17 = call noundef ptr @_ZN9upscaledbL2dbERNS_14TxnCursorStateE(ptr noundef nonnull align 8 dereferenceable(32) %16)
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN9upscaledb2Db12record_arenaEPNS_3TxnE(ptr noundef nonnull align 8 dereferenceable(160) %17, ptr noundef %18)
  store ptr %19, ptr %7, align 8, !tbaa !5
  %20 = call noundef zeroext i1 @_ZNK9upscaledb9TxnCursor6is_nilEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  %21 = zext i1 %20 to i64
  %22 = call i64 @llvm.expect.i64(i64 %21, i64 0)
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %31

24:                                               ; preds = %2
  %25 = call ptr @__cxa_allocate_exception(i64 4) #6
  invoke void @_ZN9upscaledb9ExceptionC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef -100)
          to label %26 unwind label %27

26:                                               ; preds = %24
  call void @__cxa_throw(ptr %25, ptr @_ZTIN9upscaledb9ExceptionE, ptr null) #7
  unreachable

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %8, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %9, align 4
  call void @__cxa_free_exception(ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %87

31:                                               ; preds = %2
  %32 = getelementptr inbounds %"struct.upscaledb::TxnCursor", ptr %10, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.upscaledb::TxnCursorState", ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = getelementptr inbounds %"struct.upscaledb::TxnOperation", ptr %34, i32 0, i32 12
  store ptr %35, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ups_record_t, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 8, !tbaa !15
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ups_record_t, ptr %39, i32 0, i32 0
  store i32 %38, ptr %40, align 8, !tbaa !15
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ups_record_t, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !18
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %50

45:                                               ; preds = %31
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ups_record_t, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !15
  %49 = icmp ne i32 %48, 0
  br label %50

50:                                               ; preds = %45, %31
  %51 = phi i1 [ false, %31 ], [ %49, %45 ]
  %52 = zext i1 %51 to i64
  %53 = call i64 @llvm.expect.i64(i64 %52, i64 1)
  %54 = icmp ne i64 %53, 0
  br i1 %54, label %55, label %83

55:                                               ; preds = %50
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ups_record_t, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %57, align 8, !tbaa !19
  %59 = and i32 %58, 1
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %72

61:                                               ; preds = %55
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ups_record_t, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !15
  %66 = zext i32 %65 to i64
  %67 = call noundef ptr @_ZN9upscaledb12DynamicArrayIhE6resizeEm(ptr noundef nonnull align 8 dereferenceable(17) %62, i64 noundef %66)
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call noundef ptr @_ZN9upscaledb12DynamicArrayIhE4dataEv(ptr noundef nonnull align 8 dereferenceable(17) %68)
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ups_record_t, ptr %70, i32 0, i32 1
  store ptr %69, ptr %71, align 8, !tbaa !18
  br label %72

72:                                               ; preds = %61, %55
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ups_record_t, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ups_record_t, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !18
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ups_record_t, ptr %79, i32 0, i32 0
  %81 = load i32, ptr %80, align 8, !tbaa !15
  %82 = zext i32 %81 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %75, ptr align 1 %78, i64 %82, i1 false)
  br label %86

83:                                               ; preds = %50
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ups_record_t, ptr %84, i32 0, i32 1
  store ptr null, ptr %85, align 8, !tbaa !18
  br label %86

86:                                               ; preds = %83, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

87:                                               ; preds = %27
  %88 = load ptr, ptr %8, align 8
  %89 = load i32, ptr %9, align 4
  %90 = insertvalue { ptr, i32 } poison, ptr %88, 0
  %91 = insertvalue { ptr, i32 } %90, i32 %89, 1
  resume { ptr, i32 } %91
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZN9upscaledb2Db12record_arenaEPNS_3TxnE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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 0}
!10 = !{!"_ZTSN9upscaledb9TxnCursorE", !11, i64 0}
!11 = !{!"_ZTSN9upscaledb14TxnCursorStateE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!12 = !{!13, !6, i64 16}
!13 = !{!"_ZTSN9upscaledb6CursorE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!14 = !{!10, !6, i64 8}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS12ups_record_t", !17, i64 0, !6, i64 8, !17, i64 16}
!17 = !{!"int", !7, i64 0}
!18 = !{!16, !6, i64 8}
!19 = !{!16, !17, i64 16}


; 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"

@_ZTIN9upscaledb9ExceptionE = external dso_local constant { ptr, ptr }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9upscaledb9TxnCursor6is_nilEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN9upscaledbL2dbERNS_14TxnCursorStateE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9upscaledb9ExceptionC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9upscaledb12DynamicArrayIhE6resizeEm(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9upscaledb12DynamicArrayIhE4dataEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #0 align 2

; 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) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9upscaledb9TxnCursor19copy_coupled_recordEP12ups_record_t(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr nocapture noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 16
  %5 = load ptr, ptr %4, align 8, !tbaa !11
  %6 = tail call noundef ptr @_ZN9upscaledbL2dbERNS_14TxnCursorStateE(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %7 = tail call noundef nonnull align 8 dereferenceable(17) ptr @_ZN9upscaledb2Db12record_arenaEPNS_3TxnE(ptr noundef nonnull align 8 dereferenceable(160) %6, ptr noundef %5)
  %8 = tail call noundef zeroext i1 @_ZNK9upscaledb9TxnCursor6is_nilEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br i1 %8, label %9, label %11, !prof !13

9:                                                ; preds = %2
  %10 = tail call ptr @__cxa_allocate_exception(i64 4) #4
  tail call void @_ZN9upscaledb9ExceptionC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef -100)
  tail call void @__cxa_throw(ptr nonnull %10, ptr nonnull @_ZTIN9upscaledb9ExceptionE, ptr null) #5
  unreachable

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %13, i64 104
  %15 = load i32, ptr %14, align 8, !tbaa !15
  store i32 %15, ptr %1, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %13, i64 112
  %17 = load ptr, ptr %16, align 8, !tbaa !18
  %.not = icmp eq ptr %17, null
  %.not15 = icmp eq i32 %15, 0
  %or.cond = select i1 %.not, i1 true, i1 %.not15
  br i1 %or.cond, label %.critedge, label %18, !prof !19

18:                                               ; preds = %11
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = load i32, ptr %19, align 8, !tbaa !20
  %21 = and i32 %20, 1
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %23, label %._crit_edge

._crit_edge:                                      ; preds = %18
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 8
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !18
  br label %28

23:                                               ; preds = %18
  %24 = zext i32 %15 to i64
  %25 = tail call noundef ptr @_ZN9upscaledb12DynamicArrayIhE6resizeEm(ptr noundef nonnull align 8 dereferenceable(17) %7, i64 noundef %24)
  %26 = tail call noundef ptr @_ZN9upscaledb12DynamicArrayIhE4dataEv(ptr noundef nonnull align 8 dereferenceable(17) %7)
  %27 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr %26, ptr %27, align 8, !tbaa !18
  %.pre16 = load ptr, ptr %16, align 8, !tbaa !18
  %.pre17 = load i32, ptr %14, align 8, !tbaa !15
  br label %28

28:                                               ; preds = %._crit_edge, %23
  %29 = phi i32 [ %15, %._crit_edge ], [ %.pre17, %23 ]
  %30 = phi ptr [ %17, %._crit_edge ], [ %.pre16, %23 ]
  %31 = phi ptr [ %.pre, %._crit_edge ], [ %26, %23 ]
  %32 = zext i32 %29 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %31, ptr align 1 %30, i64 %32, i1 false)
  br label %34

.critedge:                                        ; preds = %11
  %33 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr null, ptr %33, align 8, !tbaa !18
  br label %34

34:                                               ; preds = %.critedge, %28
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZN9upscaledb2Db12record_arenaEPNS_3TxnE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef) local_unnamed_addr #0 align 2

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

!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, !8, i64 0}
!6 = !{!"_ZTSN9upscaledb9TxnCursorE", !7, i64 0}
!7 = !{!"_ZTSN9upscaledb14TxnCursorStateE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"_ZTSN9upscaledb6CursorE", !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32}
!13 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!14 = !{!6, !8, i64 8}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS12ups_record_t", !17, i64 0, !8, i64 8, !17, i64 16}
!17 = !{!"int", !9, i64 0}
!18 = !{!16, !8, i64 8}
!19 = !{!"branch_weights", i32 4001, i32 4000000}
!20 = !{!16, !17, i64 16}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass