; LLVM IR from mitdbg/deneva :: transport/message.ll (ZN16TPCCQueryMessage11copy_to_txnEP10TxnManager)

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

%class.Array.2 = type { ptr, i64, i64 }
%class.TxnManager = type { ptr, ptr, ptr, i8, ptr, i32, i8, i32, i32, i8, i64, i64, i64, i64, ptr, ptr, ptr, i64, i8, i8, ptr, ptr, i64, i64, i64, %class.TxnStats, i32, i32, i32, i8, i32, %class.Array, i32, ptr, ptr, i32, %union.sem_t }
%class.TxnStats = type { i64, i64, i64, i64, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, i64, double, double, double, double, double, double, double, double }
%class.Array = type { ptr, i64, i64 }
%union.sem_t = type { i64, [24 x i8] }
%class.TPCCQueryMessage = type { %class.QueryMessage, i64, i64, i64, i64, i64, i64, i64, i64, [16 x i8], i64, i8, %class.Array.2, i8, i8, i64, i64 }
%class.QueryMessage = type { %class.Message, i64, i64 }
%class.Message = type { ptr, i32, i64, i64, i64, i64, i64, i64, double, double, double, double, double, double, double }
%class.TPCCQuery = type { %class.BaseQuery, i32, i64, i64, i64, i64, i64, i64, [16 x i8], double, i8, %class.Array.2, i8, i8, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%class.BaseQuery = type { ptr, i64, %class.Array.0, %class.Array.0, %class.Array.0, %class.Array.0 }
%class.Array.0 = type { ptr, i64, i64 }
%class.TPCCTxnManager = type { %class.TxnManager, i32, ptr, i32, ptr, i64 }

; 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 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: 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 void @_ZN12QueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ArrayIP7Item_noE6appendES2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef byval(%class.Array.2) align 8) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16TPCCQueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %class.Array.2, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN12QueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(136) %7, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %class.TxnManager, ptr %9, i32 0, i32 21
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %11, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 1
  %13 = load i64, ptr %12, align 8, !tbaa !19
  %14 = trunc i64 %13 to i32
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %class.TPCCQuery, ptr %15, i32 0, i32 1
  store i32 %14, ptr %16, align 8, !tbaa !25
  %17 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 2
  %18 = load i64, ptr %17, align 8, !tbaa !30
  %19 = trunc i64 %18 to i32
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %class.TPCCTxnManager, ptr %20, i32 0, i32 1
  store i32 %19, ptr %21, align 8, !tbaa !31
  %22 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 3
  %23 = load i64, ptr %22, align 8, !tbaa !35
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %class.TPCCQuery, ptr %24, i32 0, i32 2
  store i64 %23, ptr %25, align 8, !tbaa !36
  %26 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 4
  %27 = load i64, ptr %26, align 8, !tbaa !37
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %class.TPCCQuery, ptr %28, i32 0, i32 3
  store i64 %27, ptr %29, align 8, !tbaa !38
  %30 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 5
  %31 = load i64, ptr %30, align 8, !tbaa !39
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %class.TPCCQuery, ptr %32, i32 0, i32 4
  store i64 %31, ptr %33, align 8, !tbaa !40
  %34 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 1
  %35 = load i64, ptr %34, align 8, !tbaa !19
  %36 = icmp eq i64 %35, 1
  br i1 %36, label %37, label %67

37:                                               ; preds = %2
  %38 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 6
  %39 = load i64, ptr %38, align 8, !tbaa !41
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %class.TPCCQuery, ptr %40, i32 0, i32 5
  store i64 %39, ptr %41, align 8, !tbaa !42
  %42 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 7
  %43 = load i64, ptr %42, align 8, !tbaa !43
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %class.TPCCQuery, ptr %44, i32 0, i32 6
  store i64 %43, ptr %45, align 8, !tbaa !44
  %46 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 8
  %47 = load i64, ptr %46, align 8, !tbaa !45
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.TPCCQuery, ptr %48, i32 0, i32 7
  store i64 %47, ptr %49, align 8, !tbaa !46
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.TPCCQuery, ptr %50, i32 0, i32 8
  %52 = getelementptr inbounds [16 x i8], ptr %51, i64 0, i64 0
  %53 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 9
  %54 = getelementptr inbounds [16 x i8], ptr %53, i64 0, i64 0
  %55 = call ptr @strcpy(ptr noundef %52, ptr noundef %54) #4
  %56 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 10
  %57 = load i64, ptr %56, align 8, !tbaa !47
  %58 = uitofp i64 %57 to double
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.TPCCQuery, ptr %59, i32 0, i32 9
  store double %58, ptr %60, align 8, !tbaa !48
  %61 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 11
  %62 = load i8, ptr %61, align 8, !tbaa !49, !range !50, !noundef !51
  %63 = trunc i8 %62 to i1
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %class.TPCCQuery, ptr %64, i32 0, i32 10
  %66 = zext i1 %63 to i8
  store i8 %66, ptr %65, align 8, !tbaa !52
  br label %67

67:                                               ; preds = %37, %2
  %68 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 1
  %69 = load i64, ptr %68, align 8, !tbaa !19
  %70 = icmp eq i64 %69, 2
  br i1 %70, label %71, label %95

71:                                               ; preds = %67
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %class.TPCCQuery, ptr %72, i32 0, i32 11
  %74 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %74, i64 24, i1 false), !tbaa.struct !53
  call void @_ZN5ArrayIP7Item_noE6appendES2_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef byval(%class.Array.2) align 8 %6)
  %75 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 13
  %76 = load i8, ptr %75, align 8, !tbaa !55, !range !50, !noundef !51
  %77 = trunc i8 %76 to i1
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %class.TPCCQuery, ptr %78, i32 0, i32 12
  %80 = zext i1 %77 to i8
  store i8 %80, ptr %79, align 8, !tbaa !56
  %81 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 14
  %82 = load i8, ptr %81, align 1, !tbaa !57, !range !50, !noundef !51
  %83 = trunc i8 %82 to i1
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.TPCCQuery, ptr %84, i32 0, i32 13
  %86 = zext i1 %83 to i8
  store i8 %86, ptr %85, align 1, !tbaa !58
  %87 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 15
  %88 = load i64, ptr %87, align 8, !tbaa !59
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.TPCCQuery, ptr %89, i32 0, i32 14
  store i64 %88, ptr %90, align 8, !tbaa !60
  %91 = getelementptr inbounds %class.TPCCQueryMessage, ptr %7, i32 0, i32 16
  %92 = load i64, ptr %91, align 8, !tbaa !61
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %class.TPCCQuery, ptr %93, i32 0, i32 15
  store i64 %92, ptr %94, align 8, !tbaa !62
  br label %95

95:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nounwind "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 = { 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 144}
!10 = !{!"_ZTS10TxnManager", !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !12, i64 40, !11, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !13, i64 120, !11, i64 128, !11, i64 129, !6, i64 136, !6, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !14, i64 176, !12, i64 432, !12, i64 436, !12, i64 440, !11, i64 444, !16, i64 448, !17, i64 456, !12, i64 480, !6, i64 488, !6, i64 496, !18, i64 504, !7, i64 512}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTS8TxnStats", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !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, !13, i64 176, !13, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224, !15, i64 232, !15, i64 240, !15, i64 248}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTS12CALVIN_PHASE", !7, i64 0}
!17 = !{!"_ZTS5ArrayIP5row_tE", !6, i64 0, !13, i64 8, !13, i64 16}
!18 = !{!"_ZTS8access_t", !7, i64 0}
!19 = !{!20, !13, i64 136}
!20 = !{!"_ZTS16TPCCQueryMessage", !21, i64 0, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !7, i64 200, !13, i64 216, !11, i64 224, !24, i64 232, !11, i64 256, !11, i64 257, !13, i64 264, !13, i64 272}
!21 = !{!"_ZTS12QueryMessage", !22, i64 0, !13, i64 120, !13, i64 128}
!22 = !{!"_ZTS7Message", !23, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112}
!23 = !{!"_ZTS10RemReqType", !7, i64 0}
!24 = !{!"_ZTS5ArrayIP7Item_noE", !6, i64 0, !13, i64 8, !13, i64 16}
!25 = !{!26, !29, i64 112}
!26 = !{!"_ZTS9TPCCQuery", !27, i64 0, !29, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !7, i64 168, !15, i64 184, !11, i64 192, !24, i64 200, !11, i64 224, !11, i64 225, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312}
!27 = !{!"_ZTS9BaseQuery", !13, i64 8, !28, i64 16, !28, i64 40, !28, i64 64, !28, i64 88}
!28 = !{!"_ZTS5ArrayImE", !6, i64 0, !13, i64 8, !13, i64 16}
!29 = !{!"_ZTS11TPCCTxnType", !7, i64 0}
!30 = !{!20, !13, i64 144}
!31 = !{!32, !33, i64 544}
!32 = !{!"_ZTS14TPCCTxnManager", !10, i64 0, !33, i64 544, !6, i64 552, !34, i64 560, !6, i64 568, !13, i64 576}
!33 = !{!"_ZTS14TPCCRemTxnType", !7, i64 0}
!34 = !{!"_ZTS2RC", !7, i64 0}
!35 = !{!20, !13, i64 152}
!36 = !{!26, !13, i64 120}
!37 = !{!20, !13, i64 160}
!38 = !{!26, !13, i64 128}
!39 = !{!20, !13, i64 168}
!40 = !{!26, !13, i64 136}
!41 = !{!20, !13, i64 176}
!42 = !{!26, !13, i64 144}
!43 = !{!20, !13, i64 184}
!44 = !{!26, !13, i64 152}
!45 = !{!20, !13, i64 192}
!46 = !{!26, !13, i64 160}
!47 = !{!20, !13, i64 216}
!48 = !{!26, !15, i64 184}
!49 = !{!20, !11, i64 224}
!50 = !{i8 0, i8 2}
!51 = !{}
!52 = !{!26, !11, i64 192}
!53 = !{i64 0, i64 8, !5, i64 8, i64 8, !54, i64 16, i64 8, !54}
!54 = !{!13, !13, i64 0}
!55 = !{!20, !11, i64 256}
!56 = !{!26, !11, i64 224}
!57 = !{!20, !11, i64 257}
!58 = !{!26, !11, i64 225}
!59 = !{!20, !13, i64 264}
!60 = !{!26, !13, i64 232}
!61 = !{!20, !13, i64 272}
!62 = !{!26, !13, i64 240}


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

%class.Array.2 = type { ptr, i64, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12QueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ArrayIP7Item_noE6appendES2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef byval(%class.Array.2) align 8) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16TPCCQueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  tail call void @_ZN12QueryMessage11copy_to_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1)
  %3 = getelementptr inbounds i8, ptr %1, i64 144
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 136
  %6 = load i64, ptr %5, align 8, !tbaa !18
  %7 = trunc i64 %6 to i32
  %8 = getelementptr inbounds i8, ptr %4, i64 112
  store i32 %7, ptr %8, align 8, !tbaa !24
  %9 = getelementptr inbounds i8, ptr %0, i64 144
  %10 = load i64, ptr %9, align 8, !tbaa !29
  %11 = trunc i64 %10 to i32
  %12 = getelementptr inbounds i8, ptr %1, i64 544
  store i32 %11, ptr %12, align 8, !tbaa !30
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = getelementptr inbounds i8, ptr %4, i64 120
  %15 = load <2 x i64>, ptr %13, align 8, !tbaa !34
  store <2 x i64> %15, ptr %14, align 8, !tbaa !34
  %16 = getelementptr inbounds i8, ptr %0, i64 168
  %17 = load i64, ptr %16, align 8, !tbaa !35
  %18 = getelementptr inbounds i8, ptr %4, i64 136
  store i64 %17, ptr %18, align 8, !tbaa !36
  %19 = icmp eq i64 %6, 1
  br i1 %19, label %20, label %37

20:                                               ; preds = %2
  %21 = getelementptr inbounds i8, ptr %0, i64 176
  %22 = getelementptr inbounds i8, ptr %4, i64 144
  %23 = load <2 x i64>, ptr %21, align 8, !tbaa !34
  store <2 x i64> %23, ptr %22, align 8, !tbaa !34
  %24 = getelementptr inbounds i8, ptr %0, i64 192
  %25 = load i64, ptr %24, align 8, !tbaa !37
  %26 = getelementptr inbounds i8, ptr %4, i64 160
  store i64 %25, ptr %26, align 8, !tbaa !38
  %27 = getelementptr inbounds i8, ptr %4, i64 168
  %28 = getelementptr inbounds i8, ptr %0, i64 200
  %29 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) %28) #2
  %30 = getelementptr inbounds i8, ptr %0, i64 216
  %31 = load i64, ptr %30, align 8, !tbaa !39
  %32 = uitofp i64 %31 to double
  %33 = getelementptr inbounds i8, ptr %4, i64 184
  store double %32, ptr %33, align 8, !tbaa !40
  %34 = getelementptr inbounds i8, ptr %0, i64 224
  %35 = load i8, ptr %34, align 8, !tbaa !41, !range !42, !noundef !43
  %36 = getelementptr inbounds i8, ptr %4, i64 192
  store i8 %35, ptr %36, align 8, !tbaa !44
  %.pre = load i64, ptr %5, align 8, !tbaa !18
  br label %37

37:                                               ; preds = %20, %2
  %38 = phi i64 [ %.pre, %20 ], [ %6, %2 ]
  %39 = icmp eq i64 %38, 2
  br i1 %39, label %40, label %52

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %4, i64 200
  %42 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZN5ArrayIP7Item_noE6appendES2_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull byval(%class.Array.2) align 8 %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 256
  %44 = load i8, ptr %43, align 8, !tbaa !45, !range !42, !noundef !43
  %45 = getelementptr inbounds i8, ptr %4, i64 224
  store i8 %44, ptr %45, align 8, !tbaa !46
  %46 = getelementptr inbounds i8, ptr %0, i64 257
  %47 = load i8, ptr %46, align 1, !tbaa !47, !range !42, !noundef !43
  %48 = getelementptr inbounds i8, ptr %4, i64 225
  store i8 %47, ptr %48, align 1, !tbaa !48
  %49 = getelementptr inbounds i8, ptr %0, i64 264
  %50 = getelementptr inbounds i8, ptr %4, i64 232
  %51 = load <2 x i64>, ptr %49, align 8, !tbaa !34
  store <2 x i64> %51, ptr %50, align 8, !tbaa !34
  br label %52

52:                                               ; preds = %40, %37
  ret void
}

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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 144}
!6 = !{!"_ZTS10TxnManager", !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !11, i64 40, !10, i64 44, !11, i64 48, !11, i64 52, !10, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !12, i64 120, !10, i64 128, !10, i64 129, !7, i64 136, !7, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !13, i64 176, !11, i64 432, !11, i64 436, !11, i64 440, !10, i64 444, !15, i64 448, !16, i64 456, !11, i64 480, !7, i64 488, !7, i64 496, !17, i64 504, !8, i64 512}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTS8TxnStats", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !12, i64 176, !12, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248}
!14 = !{!"double", !8, i64 0}
!15 = !{!"_ZTS12CALVIN_PHASE", !8, i64 0}
!16 = !{!"_ZTS5ArrayIP5row_tE", !7, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"_ZTS8access_t", !8, i64 0}
!18 = !{!19, !12, i64 136}
!19 = !{!"_ZTS16TPCCQueryMessage", !20, i64 0, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !8, i64 200, !12, i64 216, !10, i64 224, !23, i64 232, !10, i64 256, !10, i64 257, !12, i64 264, !12, i64 272}
!20 = !{!"_ZTS12QueryMessage", !21, i64 0, !12, i64 120, !12, i64 128}
!21 = !{!"_ZTS7Message", !22, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112}
!22 = !{!"_ZTS10RemReqType", !8, i64 0}
!23 = !{!"_ZTS5ArrayIP7Item_noE", !7, i64 0, !12, i64 8, !12, i64 16}
!24 = !{!25, !28, i64 112}
!25 = !{!"_ZTS9TPCCQuery", !26, i64 0, !28, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !8, i64 168, !14, i64 184, !10, i64 192, !23, i64 200, !10, i64 224, !10, i64 225, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312}
!26 = !{!"_ZTS9BaseQuery", !12, i64 8, !27, i64 16, !27, i64 40, !27, i64 64, !27, i64 88}
!27 = !{!"_ZTS5ArrayImE", !7, i64 0, !12, i64 8, !12, i64 16}
!28 = !{!"_ZTS11TPCCTxnType", !8, i64 0}
!29 = !{!19, !12, i64 144}
!30 = !{!31, !32, i64 544}
!31 = !{!"_ZTS14TPCCTxnManager", !6, i64 0, !32, i64 544, !7, i64 552, !33, i64 560, !7, i64 568, !12, i64 576}
!32 = !{!"_ZTS14TPCCRemTxnType", !8, i64 0}
!33 = !{!"_ZTS2RC", !8, i64 0}
!34 = !{!12, !12, i64 0}
!35 = !{!19, !12, i64 168}
!36 = !{!25, !12, i64 136}
!37 = !{!19, !12, i64 192}
!38 = !{!25, !12, i64 160}
!39 = !{!19, !12, i64 216}
!40 = !{!25, !14, i64 184}
!41 = !{!19, !10, i64 224}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!25, !10, i64 192}
!45 = !{!19, !10, i64 256}
!46 = !{!25, !10, i64 224}
!47 = !{!19, !10, i64 257}
!48 = !{!25, !10, i64 225}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,TailCallElimPass