; LLVM IR from mitdbg/deneva :: transport/message.ll (ZN16TPCCQueryMessage13copy_from_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.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.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.Array.2 = type { ptr, i64, i64 }
%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.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 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 @_ZN12QueryMessage13copy_from_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef) unnamed_addr #1 align 2

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

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

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

66:                                               ; preds = %36, %2
  %67 = getelementptr inbounds %class.TPCCQueryMessage, ptr %6, i32 0, i32 1
  %68 = load i64, ptr %67, align 8, !tbaa !25
  %69 = icmp eq i64 %68, 2
  br i1 %69, label %70, label %92

70:                                               ; preds = %66
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN14TPCCTxnManager17copy_remote_itemsEP16TPCCQueryMessage(ptr noundef nonnull align 8 dereferenceable(584) %71, ptr noundef %6)
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %class.TPCCQuery, ptr %72, i32 0, i32 12
  %74 = load i8, ptr %73, align 8, !tbaa !53, !range !50, !noundef !51
  %75 = trunc i8 %74 to i1
  %76 = getelementptr inbounds %class.TPCCQueryMessage, ptr %6, i32 0, i32 13
  %77 = zext i1 %75 to i8
  store i8 %77, ptr %76, align 8, !tbaa !54
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %class.TPCCQuery, ptr %78, i32 0, i32 13
  %80 = load i8, ptr %79, align 1, !tbaa !55, !range !50, !noundef !51
  %81 = trunc i8 %80 to i1
  %82 = getelementptr inbounds %class.TPCCQueryMessage, ptr %6, i32 0, i32 14
  %83 = zext i1 %81 to i8
  store i8 %83, ptr %82, align 1, !tbaa !56
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.TPCCQuery, ptr %84, i32 0, i32 14
  %86 = load i64, ptr %85, align 8, !tbaa !57
  %87 = getelementptr inbounds %class.TPCCQueryMessage, ptr %6, i32 0, i32 15
  store i64 %86, ptr %87, align 8, !tbaa !58
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %class.TPCCQuery, ptr %88, i32 0, i32 15
  %90 = load i64, ptr %89, align 8, !tbaa !59
  %91 = getelementptr inbounds %class.TPCCQueryMessage, ptr %6, i32 0, i32 16
  store i64 %90, ptr %91, align 8, !tbaa !60
  br label %92

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

declare void @_ZN14TPCCTxnManager17copy_remote_itemsEP16TPCCQueryMessage(ptr noundef nonnull align 8 dereferenceable(584), ptr noundef) #3

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 = { 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 #3 = { "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, !23, i64 112}
!20 = !{!"_ZTS9TPCCQuery", !21, i64 0, !23, 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}
!21 = !{!"_ZTS9BaseQuery", !13, i64 8, !22, i64 16, !22, i64 40, !22, i64 64, !22, i64 88}
!22 = !{!"_ZTS5ArrayImE", !6, i64 0, !13, i64 8, !13, i64 16}
!23 = !{!"_ZTS11TPCCTxnType", !7, i64 0}
!24 = !{!"_ZTS5ArrayIP7Item_noE", !6, i64 0, !13, i64 8, !13, i64 16}
!25 = !{!26, !13, i64 136}
!26 = !{!"_ZTS16TPCCQueryMessage", !27, 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}
!27 = !{!"_ZTS12QueryMessage", !28, i64 0, !13, i64 120, !13, i64 128}
!28 = !{!"_ZTS7Message", !29, 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}
!29 = !{!"_ZTS10RemReqType", !7, i64 0}
!30 = !{!31, !32, i64 544}
!31 = !{!"_ZTS14TPCCTxnManager", !10, i64 0, !32, i64 544, !6, i64 552, !33, i64 560, !6, i64 568, !13, i64 576}
!32 = !{!"_ZTS14TPCCRemTxnType", !7, i64 0}
!33 = !{!"_ZTS2RC", !7, i64 0}
!34 = !{!26, !13, i64 144}
!35 = !{!20, !13, i64 120}
!36 = !{!26, !13, i64 152}
!37 = !{!20, !13, i64 128}
!38 = !{!26, !13, i64 160}
!39 = !{!20, !13, i64 136}
!40 = !{!26, !13, i64 168}
!41 = !{!20, !13, i64 144}
!42 = !{!26, !13, i64 176}
!43 = !{!20, !13, i64 152}
!44 = !{!26, !13, i64 184}
!45 = !{!20, !13, i64 160}
!46 = !{!26, !13, i64 192}
!47 = !{!20, !15, i64 184}
!48 = !{!26, !13, i64 216}
!49 = !{!20, !11, i64 192}
!50 = !{i8 0, i8 2}
!51 = !{}
!52 = !{!26, !11, i64 224}
!53 = !{!20, !11, i64 224}
!54 = !{!26, !11, i64 256}
!55 = !{!20, !11, i64 225}
!56 = !{!26, !11, i64 257}
!57 = !{!20, !13, i64 232}
!58 = !{!26, !13, i64 264}
!59 = !{!20, !13, i64 240}
!60 = !{!26, !13, i64 272}


; 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: mustprogress uwtable
declare dso_local void @_ZN12QueryMessage13copy_from_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
define dso_local void @_ZN16TPCCQueryMessage13copy_from_txnEP10TxnManager(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  tail call void @_ZN12QueryMessage13copy_from_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 %4, i64 112
  %6 = load i32, ptr %5, align 8, !tbaa !18
  %7 = zext i32 %6 to i64
  %8 = getelementptr inbounds i8, ptr %0, i64 136
  store i64 %7, ptr %8, align 8, !tbaa !24
  %9 = getelementptr inbounds i8, ptr %1, i64 544
  %10 = load i32, ptr %9, align 8, !tbaa !29
  %11 = zext i32 %10 to i64
  %12 = getelementptr inbounds i8, ptr %0, i64 144
  store i64 %11, ptr %12, align 8, !tbaa !33
  %13 = getelementptr inbounds i8, ptr %4, i64 120
  %14 = getelementptr inbounds i8, ptr %0, i64 152
  %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 %4, i64 136
  %17 = load i64, ptr %16, align 8, !tbaa !35
  %18 = getelementptr inbounds i8, ptr %0, i64 168
  store i64 %17, ptr %18, align 8, !tbaa !36
  switch i32 %6, label %45 [
    i32 1, label %.thread
    i32 2, label %35
  ]

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

35:                                               ; preds = %2
  tail call void @_ZN14TPCCTxnManager17copy_remote_itemsEP16TPCCQueryMessage(ptr noundef nonnull align 8 dereferenceable(584) %1, ptr noundef nonnull %0)
  %36 = getelementptr inbounds i8, ptr %4, i64 224
  %37 = load i8, ptr %36, align 8, !tbaa !45, !range !42, !noundef !43
  %38 = getelementptr inbounds i8, ptr %0, i64 256
  store i8 %37, ptr %38, align 8, !tbaa !46
  %39 = getelementptr inbounds i8, ptr %4, i64 225
  %40 = load i8, ptr %39, align 1, !tbaa !47, !range !42, !noundef !43
  %41 = getelementptr inbounds i8, ptr %0, i64 257
  store i8 %40, ptr %41, align 1, !tbaa !48
  %42 = getelementptr inbounds i8, ptr %4, i64 232
  %43 = getelementptr inbounds i8, ptr %0, i64 264
  %44 = load <2 x i64>, ptr %42, align 8, !tbaa !34
  store <2 x i64> %44, ptr %43, align 8, !tbaa !34
  br label %45

45:                                               ; preds = %2, %.thread, %35
  ret void
}

declare void @_ZN14TPCCTxnManager17copy_remote_itemsEP16TPCCQueryMessage(ptr noundef nonnull align 8 dereferenceable(584), ptr noundef) local_unnamed_addr #2

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 = { "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, !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, !22, i64 112}
!19 = !{!"_ZTS9TPCCQuery", !20, i64 0, !22, 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}
!20 = !{!"_ZTS9BaseQuery", !12, i64 8, !21, i64 16, !21, i64 40, !21, i64 64, !21, i64 88}
!21 = !{!"_ZTS5ArrayImE", !7, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!"_ZTS11TPCCTxnType", !8, i64 0}
!23 = !{!"_ZTS5ArrayIP7Item_noE", !7, i64 0, !12, i64 8, !12, i64 16}
!24 = !{!25, !12, i64 136}
!25 = !{!"_ZTS16TPCCQueryMessage", !26, 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}
!26 = !{!"_ZTS12QueryMessage", !27, i64 0, !12, i64 120, !12, i64 128}
!27 = !{!"_ZTS7Message", !28, 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}
!28 = !{!"_ZTS10RemReqType", !8, i64 0}
!29 = !{!30, !31, i64 544}
!30 = !{!"_ZTS14TPCCTxnManager", !6, i64 0, !31, i64 544, !7, i64 552, !32, i64 560, !7, i64 568, !12, i64 576}
!31 = !{!"_ZTS14TPCCRemTxnType", !8, i64 0}
!32 = !{!"_ZTS2RC", !8, i64 0}
!33 = !{!25, !12, i64 144}
!34 = !{!12, !12, i64 0}
!35 = !{!19, !12, i64 136}
!36 = !{!25, !12, i64 168}
!37 = !{!19, !12, i64 160}
!38 = !{!25, !12, i64 192}
!39 = !{!19, !14, i64 184}
!40 = !{!25, !12, i64 216}
!41 = !{!19, !10, i64 192}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!25, !10, i64 224}
!45 = !{!19, !10, i64 224}
!46 = !{!25, !10, i64 256}
!47 = !{!19, !10, i64 225}
!48 = !{!25, !10, i64 257}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass