; LLVM IR from mitdbg/deneva :: concurrency_control/row_mvcc.ll (ZN8Row_mvcc13clear_historyE6TsTypem)

; 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.mem_alloc = type { i8 }
%class.Row_mvcc = type { ptr, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64 }
%struct.MVHisEntry = type { i64, ptr, ptr, ptr }

@mem_allocator = external global %class.mem_alloc, align 1
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN8Row_mvcc13clear_historyE6TsTypem(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef %1, i64 noundef %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !11
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %13 = load i32, ptr %5, align 4, !tbaa !9
  switch i32 %13, label %20 [
    i32 0, label %14
    i32 1, label %17
  ]

14:                                               ; preds = %3
  %15 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 5
  store ptr %15, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 7
  store ptr %16, ptr %8, align 8, !tbaa !5
  br label %21

17:                                               ; preds = %3
  %18 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 6
  store ptr %18, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 8
  store ptr %19, ptr %8, align 8, !tbaa !5
  br label %21

20:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 48, ptr noundef @__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem) #5
  unreachable

21:                                               ; preds = %17, %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %23, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %80, %21
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %40

27:                                               ; preds = %24
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.MVHisEntry, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !13
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %40

32:                                               ; preds = %27
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.MVHisEntry, ptr %33, i32 0, i32 3
  %35 = load ptr, ptr %34, align 8, !tbaa !13
  %36 = getelementptr inbounds %struct.MVHisEntry, ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8, !tbaa !15
  %38 = load i64, ptr %6, align 8, !tbaa !11
  %39 = icmp ult i64 %37, %38
  br label %40

40:                                               ; preds = %32, %27, %24
  %41 = phi i1 [ false, %27 ], [ false, %24 ], [ %39, %32 ]
  br i1 %41, label %42, label %81

42:                                               ; preds = %40
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.MVHisEntry, ptr %43, i32 0, i32 3
  %45 = load ptr, ptr %44, align 8, !tbaa !13
  store ptr %45, ptr %10, align 8, !tbaa !5
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.MVHisEntry, ptr %46, i32 0, i32 0
  %48 = load i64, ptr %47, align 8, !tbaa !15
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.MVHisEntry, ptr %49, i32 0, i32 0
  %51 = load i64, ptr %50, align 8, !tbaa !15
  %52 = icmp uge i64 %48, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %42
  br label %56

54:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 55, ptr noundef @__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem) #5
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %62

59:                                               ; preds = %56
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN5row_t8free_rowEv(ptr noundef nonnull align 8 dereferenceable(64) %60)
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN9mem_alloc4freeEPvm(ptr noundef nonnull align 1 dereferenceable(1) @mem_allocator, ptr noundef %61, i64 noundef 64)
  br label %62

62:                                               ; preds = %59, %56
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.MVHisEntry, ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !16
  store ptr %65, ptr %11, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.MVHisEntry, ptr %66, i32 0, i32 1
  store ptr null, ptr %67, align 8, !tbaa !16
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN8Row_mvcc16return_his_entryEP10MVHisEntry(ptr noundef nonnull align 8 dereferenceable(104) %12, ptr noundef %68)
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %69, ptr %9, align 8, !tbaa !5
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %76

72:                                               ; preds = %62
  %73 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 10
  %74 = load i64, ptr %73, align 8, !tbaa !17
  %75 = add i64 %74, -1
  store i64 %75, ptr %73, align 8, !tbaa !17
  br label %80

76:                                               ; preds = %62
  %77 = getelementptr inbounds %class.Row_mvcc, ptr %12, i32 0, i32 9
  %78 = load i64, ptr %77, align 8, !tbaa !20
  %79 = add i64 %78, -1
  store i64 %79, ptr %77, align 8, !tbaa !20
  br label %80

80:                                               ; preds = %76, %72
  br label %24, !llvm.loop !21

81:                                               ; preds = %40
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %82, ptr %83, align 8, !tbaa !5
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %91

87:                                               ; preds = %81
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.MVHisEntry, ptr %89, i32 0, i32 2
  store ptr null, ptr %90, align 8, !tbaa !23
  br label %91

91:                                               ; preds = %87, %81
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = icmp eq ptr %92, null
  br i1 %93, label %94, label %96

94:                                               ; preds = %91
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr null, ptr %95, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %94, %91
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret ptr %97
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare void @_ZN5row_t8free_rowEv(ptr noundef nonnull align 8 dereferenceable(64)) #3

declare void @_ZN9mem_alloc4freeEPvm(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef) #3

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

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 }
attributes #5 = { noreturn 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 = !{!"_ZTS6TsType", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTS10MVHisEntry", !12, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!14, !12, i64 0}
!16 = !{!14, !6, i64 8}
!17 = !{!18, !12, i64 80}
!18 = !{!"_ZTS8Row_mvcc", !6, i64 0, !19, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96}
!19 = !{!"bool", !7, i64 0}
!20 = !{!18, !12, i64 72}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!14, !6, 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"

%class.mem_alloc = type { i8 }

@mem_allocator = external global %class.mem_alloc, align 1
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem = external hidden unnamed_addr constant [45 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN8Row_mvcc13clear_historyE6TsTypem(ptr noundef nonnull align 8 dereferenceable(104) %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 align 2 {
  switch i32 %1, label %4 [
    i32 0, label %5
    i32 1, label %.thread
  ]

4:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 48, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem) #3
  unreachable

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %.not38 = icmp eq ptr %8, null
  br i1 %.not38, label %49, label %.lr.ph

.thread:                                          ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = getelementptr inbounds i8, ptr %0, i64 64
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %.not3870 = icmp eq ptr %11, null
  br i1 %.not3870, label %49, label %.lr.ph.split.split

.lr.ph:                                           ; preds = %5
  %12 = icmp eq i32 %1, 0
  %13 = getelementptr inbounds i8, ptr %0, i64 80
  br i1 %12, label %.lr.ph.split.us.split, label %.lr.ph.split.split

.lr.ph.split.us.split:                            ; preds = %.lr.ph
  %14 = getelementptr inbounds i8, ptr %8, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %.not29.us55 = icmp eq ptr %15, null
  br i1 %.not29.us55, label %.split.us, label %.lr.ph58

.lr.ph58:                                         ; preds = %.lr.ph.split.us.split, %23
  %16 = phi ptr [ %29, %23 ], [ %15, %.lr.ph.split.us.split ]
  %.02439.us57 = phi ptr [ %16, %23 ], [ %8, %.lr.ph.split.us.split ]
  %.040.us56 = phi ptr [ %25, %23 ], [ null, %.lr.ph.split.us.split ]
  %17 = load i64, ptr %16, align 8, !tbaa !12
  %18 = icmp ult i64 %17, %2
  br i1 %18, label %19, label %.split.us

19:                                               ; preds = %.lr.ph58
  %20 = load i64, ptr %.02439.us57, align 8, !tbaa !12
  %.not30.us = icmp ult i64 %17, %20
  br i1 %.not30.us, label %.split44.us, label %21

21:                                               ; preds = %19
  %.not31.us = icmp eq ptr %.040.us56, null
  br i1 %.not31.us, label %23, label %22

22:                                               ; preds = %21
  tail call void @_ZN5row_t8free_rowEv(ptr noundef nonnull align 8 dereferenceable(64) %.040.us56)
  tail call void @_ZN9mem_alloc4freeEPvm(ptr noundef nonnull align 1 dereferenceable(1) @mem_allocator, ptr noundef nonnull %.040.us56, i64 noundef 64)
  br label %23

23:                                               ; preds = %22, %21
  %24 = getelementptr inbounds i8, ptr %.02439.us57, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  store ptr null, ptr %24, align 8, !tbaa !13
  tail call void @_ZN8Row_mvcc16return_his_entryEP10MVHisEntry(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull %.02439.us57)
  %26 = load i64, ptr %13, align 8, !tbaa !14
  %27 = add i64 %26, -1
  store i64 %27, ptr %13, align 8, !tbaa !14
  %28 = getelementptr inbounds i8, ptr %16, i64 24
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %.not29.us = icmp eq ptr %29, null
  br i1 %.not29.us, label %.split.us, label %.lr.ph58

.lr.ph.split.split:                               ; preds = %.thread, %.lr.ph
  %.0257276 = phi ptr [ %7, %.lr.ph ], [ %10, %.thread ]
  %30 = phi ptr [ %8, %.lr.ph ], [ %11, %.thread ]
  %31 = getelementptr inbounds i8, ptr %0, i64 72
  %32 = getelementptr inbounds i8, ptr %30, i64 24
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %.not2947 = icmp eq ptr %33, null
  br i1 %.not2947, label %.split.us, label %.lr.ph50

.lr.ph50:                                         ; preds = %.lr.ph.split.split, %41
  %34 = phi ptr [ %47, %41 ], [ %33, %.lr.ph.split.split ]
  %.0243949 = phi ptr [ %34, %41 ], [ %30, %.lr.ph.split.split ]
  %.04048 = phi ptr [ %43, %41 ], [ null, %.lr.ph.split.split ]
  %35 = load i64, ptr %34, align 8, !tbaa !12
  %36 = icmp ult i64 %35, %2
  br i1 %36, label %37, label %.split.us

37:                                               ; preds = %.lr.ph50
  %38 = load i64, ptr %.0243949, align 8, !tbaa !12
  %.not30 = icmp ult i64 %35, %38
  br i1 %.not30, label %.split44.us, label %39

.split44.us:                                      ; preds = %37, %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 55, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8Row_mvcc13clear_historyE6TsTypem) #3
  unreachable

39:                                               ; preds = %37
  %.not31 = icmp eq ptr %.04048, null
  br i1 %.not31, label %41, label %40

40:                                               ; preds = %39
  tail call void @_ZN5row_t8free_rowEv(ptr noundef nonnull align 8 dereferenceable(64) %.04048)
  tail call void @_ZN9mem_alloc4freeEPvm(ptr noundef nonnull align 1 dereferenceable(1) @mem_allocator, ptr noundef nonnull %.04048, i64 noundef 64)
  br label %41

41:                                               ; preds = %40, %39
  %42 = getelementptr inbounds i8, ptr %.0243949, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  store ptr null, ptr %42, align 8, !tbaa !13
  tail call void @_ZN8Row_mvcc16return_his_entryEP10MVHisEntry(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull %.0243949)
  %44 = load i64, ptr %31, align 8, !tbaa !17
  %45 = add i64 %44, -1
  store i64 %45, ptr %31, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %34, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %.not29 = icmp eq ptr %47, null
  br i1 %.not29, label %.split.us, label %.lr.ph50

.split.us:                                        ; preds = %41, %.lr.ph50, %.lr.ph58, %23, %.lr.ph.split.split, %.lr.ph.split.us.split
  %.0257275 = phi ptr [ %7, %.lr.ph.split.us.split ], [ %.0257276, %.lr.ph.split.split ], [ %7, %23 ], [ %7, %.lr.ph58 ], [ %.0257276, %.lr.ph50 ], [ %.0257276, %41 ]
  %.us-phi = phi ptr [ %8, %.lr.ph.split.us.split ], [ %30, %.lr.ph.split.split ], [ %.02439.us57, %.lr.ph58 ], [ %16, %23 ], [ %34, %41 ], [ %.0243949, %.lr.ph50 ]
  %.us-phi42 = phi ptr [ null, %.lr.ph.split.us.split ], [ null, %.lr.ph.split.split ], [ %.040.us56, %.lr.ph58 ], [ %25, %23 ], [ %43, %41 ], [ %.04048, %.lr.ph50 ]
  store ptr %.us-phi, ptr %.0257275, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %.us-phi, i64 16
  br label %50

49:                                               ; preds = %.thread, %5
  %.02573 = phi ptr [ %10, %.thread ], [ %7, %5 ]
  %.02671 = phi ptr [ %9, %.thread ], [ %6, %5 ]
  store ptr null, ptr %.02573, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %.split.us, %49
  %.sink = phi ptr [ %48, %.split.us ], [ %.02671, %49 ]
  %.035 = phi ptr [ %.us-phi42, %.split.us ], [ null, %49 ]
  store ptr null, ptr %.sink, align 8, !tbaa !5
  ret ptr %.035
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN5row_t8free_rowEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

declare void @_ZN9mem_alloc4freeEPvm(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Row_mvcc16return_his_entryEP10MVHisEntry(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) local_unnamed_addr #0 align 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 = { noreturn 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 #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 = { noreturn 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 24}
!10 = !{!"_ZTS10MVHisEntry", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !11, i64 80}
!15 = !{!"_ZTS8Row_mvcc", !6, i64 0, !16, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96}
!16 = !{!"bool", !7, i64 0}
!17 = !{!15, !11, i64 72}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass