; LLVM IR from mitdbg/deneva :: benchmarks/ycsb_txn.ll (ZN14YCSBTxnManager7run_txnEv)

; 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.Transaction = type <{ %class.Array.5, i64, i64, i64, i64, i64, i32, [4 x i8], %class.Array, i64, i64, i32, [4 x i8] }>
%class.Array.5 = type { ptr, i64, i64 }
%class.YCSBTxnManager = type { %class.TxnManager, ptr, ptr, i32, i64 }
%class.BaseQuery = type { ptr, i64, %class.Array.6, %class.Array.6, %class.Array.6, %class.Array.6 }
%class.Array.6 = type { ptr, i64, i64 }

@g_node_cnt = external global i32, align 4
@g_node_id = external 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

declare noundef i64 @_Z13get_sys_clockv() #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN14YCSBTxnManager7run_txnEv(ptr noundef nonnull align 8 dereferenceable(576) %0) unnamed_addr #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !9
  %7 = getelementptr inbounds %class.TxnManager, ptr %6, i32 0, i32 20
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = getelementptr inbounds %class.Transaction, ptr %8, i32 0, i32 9
  %10 = load i64, ptr %9, align 8, !tbaa !21
  %11 = load i32, ptr @g_node_cnt, align 4, !tbaa !25
  %12 = zext i32 %11 to i64
  %13 = urem i64 %10, %12
  %14 = load i32, ptr @g_node_id, align 4, !tbaa !25
  %15 = zext i32 %14 to i64
  %16 = icmp eq i64 %13, %15
  br i1 %16, label %17, label %31

17:                                               ; preds = %1
  %18 = getelementptr inbounds %class.YCSBTxnManager, ptr %6, i32 0, i32 3
  %19 = load i32, ptr %18, align 8, !tbaa !26
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %31

21:                                               ; preds = %17
  %22 = getelementptr inbounds %class.YCSBTxnManager, ptr %6, i32 0, i32 4
  %23 = load i64, ptr %22, align 8, !tbaa !29
  %24 = icmp eq i64 %23, 0
  br i1 %24, label %25, label %31

25:                                               ; preds = %21
  %26 = getelementptr inbounds %class.TxnManager, ptr %6, i32 0, i32 21
  %27 = load ptr, ptr %26, align 8, !tbaa !30
  %28 = getelementptr inbounds %class.BaseQuery, ptr %27, i32 0, i32 3
  %29 = load i32, ptr @g_node_id, align 4, !tbaa !25
  %30 = zext i32 %29 to i64
  call void @_ZN5ArrayImE10add_uniqueEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %30)
  br label %31

31:                                               ; preds = %25, %21, %17, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %32 = call noundef i64 @_Z13get_sys_clockv()
  store i64 %32, ptr %4, align 8, !tbaa !31
  br label %33

33:                                               ; preds = %41, %31
  %34 = load i32, ptr %3, align 4, !tbaa !9
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %33
  %37 = call noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576) %6)
  %38 = xor i1 %37, true
  br label %39

39:                                               ; preds = %36, %33
  %40 = phi i1 [ false, %33 ], [ %38, %36 ]
  br i1 %40, label %41, label %43

41:                                               ; preds = %39
  %42 = call noundef i32 @_ZN14YCSBTxnManager13run_txn_stateEv(ptr noundef nonnull align 8 dereferenceable(576) %6)
  store i32 %42, ptr %3, align 4, !tbaa !9
  br label %33, !llvm.loop !32

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %44 = call noundef i64 @_Z13get_sys_clockv()
  store i64 %44, ptr %5, align 8, !tbaa !31
  %45 = load i64, ptr %5, align 8, !tbaa !31
  %46 = load i64, ptr %4, align 8, !tbaa !31
  %47 = sub i64 %45, %46
  %48 = uitofp i64 %47 to double
  %49 = getelementptr inbounds %class.TxnManager, ptr %6, i32 0, i32 25
  %50 = getelementptr inbounds %class.TxnStats, ptr %49, i32 0, i32 6
  %51 = load double, ptr %50, align 8, !tbaa !34
  %52 = fadd double %51, %48
  store double %52, ptr %50, align 8, !tbaa !34
  %53 = load i64, ptr %5, align 8, !tbaa !31
  %54 = load i64, ptr %4, align 8, !tbaa !31
  %55 = sub i64 %53, %54
  %56 = uitofp i64 %55 to double
  %57 = getelementptr inbounds %class.TxnManager, ptr %6, i32 0, i32 25
  %58 = getelementptr inbounds %class.TxnStats, ptr %57, i32 0, i32 28
  %59 = load double, ptr %58, align 8, !tbaa !35
  %60 = fadd double %59, %56
  store double %60, ptr %58, align 8, !tbaa !35
  %61 = call noundef i64 @_Z13get_sys_clockv()
  %62 = getelementptr inbounds %class.TxnManager, ptr %6, i32 0, i32 25
  %63 = getelementptr inbounds %class.TxnStats, ptr %62, i32 0, i32 2
  store i64 %61, ptr %63, align 8, !tbaa !36
  %64 = call noundef i64 @_ZN10TxnManager10get_txn_idEv(ptr noundef nonnull align 8 dereferenceable(544) %6)
  %65 = load i32, ptr @g_node_cnt, align 4, !tbaa !25
  %66 = zext i32 %65 to i64
  %67 = urem i64 %64, %66
  %68 = load i32, ptr @g_node_id, align 4, !tbaa !25
  %69 = zext i32 %68 to i64
  %70 = icmp eq i64 %67, %69
  br i1 %70, label %71, label %85

71:                                               ; preds = %43
  %72 = call noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576) %6)
  br i1 %72, label %73, label %78

73:                                               ; preds = %71
  %74 = load i32, ptr %3, align 4, !tbaa !9
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %78

76:                                               ; preds = %73
  %77 = call noundef i32 @_ZN10TxnManager12start_commitEv(ptr noundef nonnull align 8 dereferenceable(544) %6)
  store i32 %77, ptr %3, align 4, !tbaa !9
  br label %84

78:                                               ; preds = %73, %71
  %79 = load i32, ptr %3, align 4, !tbaa !9
  %80 = icmp eq i32 %79, 2
  br i1 %80, label %81, label %83

81:                                               ; preds = %78
  %82 = call noundef i32 @_ZN10TxnManager11start_abortEv(ptr noundef nonnull align 8 dereferenceable(544) %6)
  store i32 %82, ptr %3, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %81, %78
  br label %84

84:                                               ; preds = %83, %76
  br label %91

85:                                               ; preds = %43
  %86 = load i32, ptr %3, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 2
  br i1 %87, label %88, label %90

88:                                               ; preds = %85
  %89 = call noundef i32 @_ZN10TxnManager5abortEv(ptr noundef nonnull align 8 dereferenceable(544) %6)
  store i32 %89, ptr %3, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %88, %85
  br label %91

91:                                               ; preds = %90, %84
  %92 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret i32 %92
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ArrayImE10add_uniqueEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN14YCSBTxnManager13run_txn_stateEv(ptr noundef nonnull align 8 dereferenceable(576)) #2 align 2

declare noundef i64 @_ZN10TxnManager10get_txn_idEv(ptr noundef nonnull align 8 dereferenceable(544)) #1

declare noundef i32 @_ZN10TxnManager12start_commitEv(ptr noundef nonnull align 8 dereferenceable(544)) #1

declare noundef i32 @_ZN10TxnManager11start_abortEv(ptr noundef nonnull align 8 dereferenceable(544)) #1

declare noundef i32 @_ZN10TxnManager5abortEv(ptr noundef nonnull align 8 dereferenceable(544)) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

!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 = !{!"_ZTS2RC", !7, i64 0}
!11 = !{!12, !6, i64 136}
!12 = !{!"_ZTS10TxnManager", !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !14, i64 40, !13, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !15, i64 120, !13, i64 128, !13, i64 129, !6, i64 136, !6, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !16, i64 176, !14, i64 432, !14, i64 436, !14, i64 440, !13, i64 444, !18, i64 448, !19, i64 456, !14, i64 480, !6, i64 488, !6, i64 496, !20, i64 504, !7, i64 512}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS8TxnStats", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !17, i64 136, !17, i64 144, !17, i64 152, !17, i64 160, !17, i64 168, !15, i64 176, !15, i64 184, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !17, i64 232, !17, i64 240, !17, i64 248}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTS12CALVIN_PHASE", !7, i64 0}
!19 = !{!"_ZTS5ArrayIP5row_tE", !6, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!"_ZTS8access_t", !7, i64 0}
!21 = !{!22, !15, i64 96}
!22 = !{!"_ZTS11Transaction", !23, i64 0, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !24, i64 64, !19, i64 72, !15, i64 96, !15, i64 104, !10, i64 112}
!23 = !{!"_ZTS5ArrayIP6AccessE", !6, i64 0, !15, i64 8, !15, i64 16}
!24 = !{!"_ZTS8TxnState", !7, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!27, !28, i64 560}
!27 = !{!"_ZTS14YCSBTxnManager", !12, i64 0, !6, i64 544, !6, i64 552, !28, i64 560, !15, i64 568}
!28 = !{!"_ZTS14YCSBRemTxnType", !7, i64 0}
!29 = !{!27, !15, i64 568}
!30 = !{!12, !6, i64 144}
!31 = !{!15, !15, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!12, !17, i64 224}
!35 = !{!12, !17, i64 400}
!36 = !{!12, !15, i64 192}


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

@g_node_cnt = external local_unnamed_addr global i32, align 4
@g_node_id = external local_unnamed_addr global i32, align 4

declare noundef i64 @_Z13get_sys_clockv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN14YCSBTxnManager7run_txnEv(ptr noundef nonnull align 8 dereferenceable(576) %0) unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 136
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 96
  %5 = load i64, ptr %4, align 8, !tbaa !18
  %6 = load i32, ptr @g_node_cnt, align 4, !tbaa !23
  %7 = zext i32 %6 to i64
  %8 = urem i64 %5, %7
  %9 = load i32, ptr @g_node_id, align 4, !tbaa !23
  %10 = zext i32 %9 to i64
  %11 = icmp eq i64 %8, %10
  %12 = getelementptr inbounds i8, ptr %0, i64 560
  %13 = load i32, ptr %12, align 8
  %14 = icmp eq i32 %13, 0
  %or.cond13 = select i1 %11, i1 %14, i1 false
  %15 = getelementptr inbounds i8, ptr %0, i64 568
  %16 = load i64, ptr %15, align 8
  %17 = icmp eq i64 %16, 0
  %or.cond16 = select i1 %or.cond13, i1 %17, i1 false
  br i1 %or.cond16, label %18, label %22

18:                                               ; preds = %1
  %19 = getelementptr inbounds i8, ptr %0, i64 144
  %20 = load ptr, ptr %19, align 8, !tbaa !24
  %21 = getelementptr inbounds i8, ptr %20, i64 40
  tail call void @_ZN5ArrayImE10add_uniqueEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %8)
  br label %22

22:                                               ; preds = %18, %1
  %23 = tail call noundef i64 @_Z13get_sys_clockv()
  br label %24

24:                                               ; preds = %22, %26
  %25 = tail call noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576) %0)
  br i1 %25, label %.critedge, label %26

26:                                               ; preds = %24
  %27 = tail call noundef i32 @_ZN14YCSBTxnManager13run_txn_stateEv(ptr noundef nonnull align 8 dereferenceable(576) %0)
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %24, label %.critedge, !llvm.loop !25

.critedge:                                        ; preds = %26, %24
  %.0.lcssa = phi i32 [ %27, %26 ], [ 0, %24 ]
  %29 = tail call noundef i64 @_Z13get_sys_clockv()
  %30 = sub i64 %29, %23
  %31 = uitofp i64 %30 to double
  %32 = getelementptr inbounds i8, ptr %0, i64 224
  %33 = load double, ptr %32, align 8, !tbaa !27
  %34 = fadd double %33, %31
  store double %34, ptr %32, align 8, !tbaa !27
  %35 = getelementptr inbounds i8, ptr %0, i64 400
  %36 = load double, ptr %35, align 8, !tbaa !28
  %37 = fadd double %36, %31
  store double %37, ptr %35, align 8, !tbaa !28
  %38 = tail call noundef i64 @_Z13get_sys_clockv()
  %39 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 %38, ptr %39, align 8, !tbaa !29
  %40 = tail call noundef i64 @_ZN10TxnManager10get_txn_idEv(ptr noundef nonnull align 8 dereferenceable(544) %0)
  %41 = load i32, ptr @g_node_cnt, align 4, !tbaa !23
  %42 = zext i32 %41 to i64
  %43 = urem i64 %40, %42
  %44 = load i32, ptr @g_node_id, align 4, !tbaa !23
  %45 = zext i32 %44 to i64
  %46 = icmp eq i64 %43, %45
  br i1 %46, label %47, label %55

47:                                               ; preds = %.critedge
  %48 = tail call noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576) %0)
  %or.cond = and i1 %25, %48
  br i1 %or.cond, label %49, label %51

49:                                               ; preds = %47
  %50 = tail call noundef i32 @_ZN10TxnManager12start_commitEv(ptr noundef nonnull align 8 dereferenceable(544) %0)
  br label %59

51:                                               ; preds = %47
  %52 = icmp eq i32 %.0.lcssa, 2
  br i1 %52, label %53, label %59

53:                                               ; preds = %51
  %54 = tail call noundef i32 @_ZN10TxnManager11start_abortEv(ptr noundef nonnull align 8 dereferenceable(544) %0)
  br label %59

55:                                               ; preds = %.critedge
  %56 = icmp eq i32 %.0.lcssa, 2
  br i1 %56, label %57, label %59

57:                                               ; preds = %55
  %58 = tail call noundef i32 @_ZN10TxnManager5abortEv(ptr noundef nonnull align 8 dereferenceable(544) %0)
  br label %59

59:                                               ; preds = %55, %57, %49, %53, %51
  %.1 = phi i32 [ %50, %49 ], [ %54, %53 ], [ %.0.lcssa, %51 ], [ %58, %57 ], [ %.0.lcssa, %55 ]
  ret i32 %.1
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ArrayImE10add_uniqueEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14YCSBTxnManager7is_doneEv(ptr noundef nonnull align 8 dereferenceable(576)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN14YCSBTxnManager13run_txn_stateEv(ptr noundef nonnull align 8 dereferenceable(576)) local_unnamed_addr #1 align 2

declare noundef i64 @_ZN10TxnManager10get_txn_idEv(ptr noundef nonnull align 8 dereferenceable(544)) local_unnamed_addr #0

declare noundef i32 @_ZN10TxnManager12start_commitEv(ptr noundef nonnull align 8 dereferenceable(544)) local_unnamed_addr #0

declare noundef i32 @_ZN10TxnManager11start_abortEv(ptr noundef nonnull align 8 dereferenceable(544)) local_unnamed_addr #0

declare noundef i32 @_ZN10TxnManager5abortEv(ptr noundef nonnull align 8 dereferenceable(544)) local_unnamed_addr #0

attributes #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 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" }

!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 136}
!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 96}
!19 = !{!"_ZTS11Transaction", !20, i64 0, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !21, i64 64, !16, i64 72, !12, i64 96, !12, i64 104, !22, i64 112}
!20 = !{!"_ZTS5ArrayIP6AccessE", !7, i64 0, !12, i64 8, !12, i64 16}
!21 = !{!"_ZTS8TxnState", !8, i64 0}
!22 = !{!"_ZTS2RC", !8, i64 0}
!23 = !{!11, !11, i64 0}
!24 = !{!6, !7, i64 144}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!6, !14, i64 224}
!28 = !{!6, !14, i64 400}
!29 = !{!6, !12, i64 192}


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