; LLVM IR from wangziqi2013/EpochManager :: test/basic_test.ll (Z10ThreadTestmm)

; 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.peloton::index::AtomicStack" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base.1" }
%"struct.std::__atomic_base.1" = type { i64 }
%class.anon = type { ptr, ptr, i64, i64 }
%class.anon.2 = type { ptr, ptr, ptr, i64, i64 }

@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._Z10ThreadTestmm = external hidden unnamed_addr constant [36 x i8], align 1
@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@stdout = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1

declare void @_Z13PrintTestNamePKc(ptr noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7peloton5index11AtomicStackImEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10ThreadTestmm(i64 noundef %0, i64 noundef %1) #4 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.peloton::index::AtomicStack", align 8
  %6 = alloca %"struct.std::atomic.0", align 8
  %7 = alloca %class.anon, align 8
  %8 = alloca %"struct.std::atomic.0", align 8
  %9 = alloca %class.anon.2, align 8
  %10 = alloca i64, align 8
  store i64 %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !5
  call void @_Z13PrintTestNamePKc(ptr noundef @.str.4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  call void @_ZN7peloton5index11AtomicStackImEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0, i32 noundef 5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  %11 = getelementptr inbounds %class.anon, ptr %7, i32 0, i32 0
  store ptr %5, ptr %11, align 8, !tbaa !9
  %12 = getelementptr inbounds %class.anon, ptr %7, i32 0, i32 1
  store ptr %6, ptr %12, align 8, !tbaa !9
  %13 = getelementptr inbounds %class.anon, ptr %7, i32 0, i32 2
  %14 = load i64, ptr %3, align 8, !tbaa !5
  store i64 %14, ptr %13, align 8, !tbaa !11
  %15 = getelementptr inbounds %class.anon, ptr %7, i32 0, i32 3
  %16 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %16, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 0, i32 noundef 5) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0, i32 noundef 5) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #7
  %17 = getelementptr inbounds %class.anon.2, ptr %9, i32 0, i32 0
  store ptr %5, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds %class.anon.2, ptr %9, i32 0, i32 1
  store ptr %8, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds %class.anon.2, ptr %9, i32 0, i32 2
  store ptr %6, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds %class.anon.2, ptr %9, i32 0, i32 3
  %21 = load i64, ptr %3, align 8, !tbaa !5
  store i64 %21, ptr %20, align 8, !tbaa !14
  %22 = getelementptr inbounds %class.anon.2, ptr %9, i32 0, i32 4
  %23 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %23, ptr %22, align 8, !tbaa !16
  %24 = load i64, ptr %3, align 8, !tbaa !5
  call void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_0JEEvmOT_DpOT0_"(i64 noundef %24, ptr noundef nonnull align 8 dereferenceable(32) %7)
  %25 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 5) #7
  %26 = load i64, ptr %3, align 8, !tbaa !5
  %27 = load i64, ptr %4, align 8, !tbaa !5
  %28 = mul i64 %26, %27
  %29 = icmp eq i64 %25, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %2
  br label %33

31:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 70, ptr noundef @__PRETTY_FUNCTION__._Z10ThreadTestmm) #8
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  %34 = load i64, ptr %3, align 8, !tbaa !5
  call void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_1JEEvmOT_DpOT0_"(i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(40) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %35 = load i64, ptr %4, align 8, !tbaa !5
  %36 = load i64, ptr %3, align 8, !tbaa !5
  %37 = mul i64 %35, %36
  %38 = load i64, ptr %4, align 8, !tbaa !5
  %39 = load i64, ptr %3, align 8, !tbaa !5
  %40 = mul i64 %38, %39
  %41 = sub i64 %40, 1
  %42 = mul i64 %37, %41
  %43 = udiv i64 %42, 2
  store i64 %43, ptr %10, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %33
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 5) #7
  %47 = load i64, ptr %10, align 8, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.6, ptr noundef @.str.4, i64 noundef %46, i64 noundef %47) #7
  %49 = load ptr, ptr @stdout, align 8, !tbaa !9
  %50 = call i32 @fflush(ptr noundef %49)
  br label %51

51:                                               ; preds = %44
  br label %52

52:                                               ; preds = %51
  %53 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 5) #7
  %54 = load i64, ptr %10, align 8, !tbaa !5
  %55 = icmp eq i64 %53, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %52
  br label %59

57:                                               ; preds = %52
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 77, ptr noundef @__PRETTY_FUNCTION__._Z10ThreadTestmm) #8
  unreachable

58:                                               ; No predecessors!
  br label %59

59:                                               ; preds = %58, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_0JEEvmOT_DpOT0_"(i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_1JEEvmOT_DpOT0_"(i64 noundef, ptr noundef nonnull align 8 dereferenceable(40)) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

declare i32 @fflush(ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { alwaysinline 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTSZ10ThreadTestmmE3$_0", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24}
!13 = !{!12, !6, i64 24}
!14 = !{!15, !6, i64 24}
!15 = !{!"_ZTSZ10ThreadTestmmE3$_1", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!15, !6, i64 32}


; 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.peloton::index::AtomicStack" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base.1" }
%"struct.std::__atomic_base.1" = type { i64 }
%class.anon = type { ptr, ptr, i64, i64 }
%class.anon.2 = type { ptr, ptr, ptr, i64, i64 }

@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._Z10ThreadTestmm = external hidden unnamed_addr constant [36 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1

declare void @_Z13PrintTestNamePKc(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7peloton5index11AtomicStackImEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10ThreadTestmm(i64 noundef %0, i64 noundef %1) local_unnamed_addr #4 {
  %3 = alloca %"class.peloton::index::AtomicStack", align 8
  %4 = alloca %"struct.std::atomic.0", align 8
  %5 = alloca %class.anon, align 8
  %6 = alloca %"struct.std::atomic.0", align 8
  %7 = alloca %class.anon.2, align 8
  tail call void @_Z13PrintTestNamePKc(ptr noundef nonnull @.str.4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN7peloton5index11AtomicStackImEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 0, i32 noundef 5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  store ptr %3, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %4, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %5, i64 16
  store i64 %0, ptr %9, align 8, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %5, i64 24
  store i64 %1, ptr %10, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0, i32 noundef 5) #7
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 0, i32 noundef 5) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  store ptr %3, ptr %7, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %6, ptr %11, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %7, i64 16
  store ptr %4, ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %7, i64 24
  store i64 %0, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %7, i64 32
  store i64 %1, ptr %14, align 8, !tbaa !15
  call void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_0JEEvmOT_DpOT0_"(i64 noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %5)
  %15 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 5) #7
  %16 = mul i64 %1, %0
  %17 = icmp eq i64 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %2
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 70, ptr noundef nonnull @__PRETTY_FUNCTION__._Z10ThreadTestmm) #8
  unreachable

19:                                               ; preds = %2
  call void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_1JEEvmOT_DpOT0_"(i64 noundef %0, ptr noundef nonnull align 8 dereferenceable(40) %7)
  %20 = add i64 %15, -1
  %21 = mul i64 %20, %15
  %22 = lshr i64 %21, 1
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 5) #7
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.4, i64 noundef %24, i64 noundef %22) #9
  %26 = load ptr, ptr @stdout, align 8, !tbaa !5
  %27 = call i32 @fflush(ptr noundef %26)
  %28 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 5) #7
  %29 = icmp eq i64 %28, %22
  br i1 %29, label %31, label %30

30:                                               ; preds = %19
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 77, ptr noundef nonnull @__PRETTY_FUNCTION__._Z10ThreadTestmm) #8
  unreachable

31:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_0JEEvmOT_DpOT0_"(i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z12StartThreadsIRZ10ThreadTestmmE3$_1JEEvmOT_DpOT0_"(i64 noundef, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #6

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { alwaysinline 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 #6 = { nofree 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 #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { cold 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, !11, i64 16}
!10 = !{!"_ZTSZ10ThreadTestmmE3$_0", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 24}
!13 = !{!14, !11, i64 24}
!14 = !{!"_ZTSZ10ThreadTestmmE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 32}
!15 = !{!14, !11, i64 32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass