; LLVM IR from stan-dev/math :: lib/tbb_2020.3/src/test/test_mutex.ll (Z8TestMainv)

; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"class.tbb::task_scheduler_init" = type { ptr }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@_ZL9MinThread = external hidden global i32, align 4
@_ZL9MaxThread = external hidden global i32, align 4
@_ZL7Verbose = external hidden global i8, align 1
@.str.20 = external hidden unnamed_addr constant [86 x i8], align 1
@__FUNCTION__._Z8TestMainv = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [37 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) #2 align 2

; 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
define dso_local noundef i32 @_Z8TestMainv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.tbb::task_scheduler_init", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.tbb::task_scheduler_init", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  %9 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  store i32 %9, ptr %1, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %82, %0
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %86

15:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %16 = load i32, ptr %1, align 4, !tbaa !5
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef %16, i64 noundef 0)
  %17 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %18 = trunc i8 %17 to i1
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  br label %25

20:                                               ; preds = %15
  %21 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.20, i64 noundef 629, ptr noundef @__FUNCTION__._Z8TestMainv)
          to label %22 unwind label %30

22:                                               ; preds = %20
  %23 = load i32, ptr %1, align 4, !tbaa !5
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %21, ptr noundef @.str.21, i32 noundef %23)
          to label %24 unwind label %30

24:                                               ; preds = %22
  br label %25

25:                                               ; preds = %24, %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 3, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %74, %25
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = icmp slt i32 %27, 3
  br i1 %28, label %34, label %29

29:                                               ; preds = %26
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %81

30:                                               ; preds = %22, %20
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %4, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %5, align 4
  br label %85

34:                                               ; preds = %26
  invoke void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef @.str.22)
          to label %35 unwind label %77

35:                                               ; preds = %34
  invoke void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef @.str.23)
          to label %36 unwind label %77

36:                                               ; preds = %35
  invoke void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef @.str.23)
          to label %37 unwind label %77

37:                                               ; preds = %36
  invoke void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef @.str.24)
          to label %38 unwind label %77

38:                                               ; preds = %37
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef @.str.25)
          to label %39 unwind label %77

39:                                               ; preds = %38
  invoke void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef @.str.26)
          to label %40 unwind label %77

40:                                               ; preds = %39
  invoke void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef @.str.27)
          to label %41 unwind label %77

41:                                               ; preds = %40
  invoke void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.28)
          to label %42 unwind label %77

42:                                               ; preds = %41
  invoke void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef @.str.29)
          to label %43 unwind label %77

43:                                               ; preds = %42
  invoke void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.30)
          to label %44 unwind label %77

44:                                               ; preds = %43
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef @.str.31)
          to label %45 unwind label %77

45:                                               ; preds = %44
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef @.str.24)
          to label %46 unwind label %77

46:                                               ; preds = %45
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef @.str.25)
          to label %47 unwind label %77

47:                                               ; preds = %46
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef @.str.26)
          to label %48 unwind label %77

48:                                               ; preds = %47
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.28)
          to label %49 unwind label %77

49:                                               ; preds = %48
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.30)
          to label %50 unwind label %77

50:                                               ; preds = %49
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef @.str.31)
          to label %51 unwind label %77

51:                                               ; preds = %50
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef @.str.29)
          to label %52 unwind label %77

52:                                               ; preds = %51
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.30)
          to label %53 unwind label %77

53:                                               ; preds = %52
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef @.str.31)
          to label %54 unwind label %77

54:                                               ; preds = %53
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef @.str.29)
          to label %55 unwind label %77

55:                                               ; preds = %54
  invoke void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef @.str.29)
          to label %56 unwind label %77

56:                                               ; preds = %55
  invoke void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.30)
          to label %57 unwind label %77

57:                                               ; preds = %56
  invoke void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef @.str.31)
          to label %58 unwind label %77

58:                                               ; preds = %57
  invoke void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.28)
          to label %59 unwind label %77

59:                                               ; preds = %58
  invoke void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef @.str.32)
          to label %60 unwind label %77

60:                                               ; preds = %59
  invoke void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef @.str.33)
          to label %61 unwind label %77

61:                                               ; preds = %60
  invoke void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.34)
          to label %62 unwind label %77

62:                                               ; preds = %61
  invoke void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.35)
          to label %63 unwind label %77

63:                                               ; preds = %62
  invoke void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef @.str.36)
          to label %64 unwind label %77

64:                                               ; preds = %63
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef @.str.32)
          to label %65 unwind label %77

65:                                               ; preds = %64
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.34)
          to label %66 unwind label %77

66:                                               ; preds = %65
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.35)
          to label %67 unwind label %77

67:                                               ; preds = %66
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef @.str.36)
          to label %68 unwind label %77

68:                                               ; preds = %67
  invoke void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef @.str.34)
          to label %69 unwind label %77

69:                                               ; preds = %68
  invoke void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef @.str.35)
          to label %70 unwind label %77

70:                                               ; preds = %69
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv()
          to label %71 unwind label %77

71:                                               ; preds = %70
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv()
          to label %72 unwind label %77

72:                                               ; preds = %71
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv()
          to label %73 unwind label %77

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %7, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %7, align 4, !tbaa !5
  br label %26, !llvm.loop !13

77:                                               ; preds = %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %4, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %85

81:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %1, align 4, !tbaa !5
  br label %10, !llvm.loop !15

85:                                               ; preds = %77, %30
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %104

86:                                               ; preds = %14
  %87 = call noundef zeroext i1 @_Z8have_TSXv()
  br i1 %87, label %88, label %96

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %89 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %89, i64 noundef 0)
  invoke void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef @.str.25)
          to label %90 unwind label %92

90:                                               ; preds = %88
  invoke void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef @.str.31)
          to label %91 unwind label %92

91:                                               ; preds = %90
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %103

92:                                               ; preds = %90, %88
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %4, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %5, align 4
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %104

96:                                               ; preds = %86
  %97 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %98 = trunc i8 %97 to i1
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  br label %102

100:                                              ; preds = %96
  %101 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.20, i64 noundef 707, ptr noundef @__FUNCTION__._Z8TestMainv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %101, ptr noundef @.str.37)
  br label %102

102:                                              ; preds = %100, %99
  br label %103

103:                                              ; preds = %102, %91
  ret i32 0

104:                                              ; preds = %92, %85
  %105 = load ptr, ptr %4, align 8
  %106 = load i32, ptr %5, align 4
  %107 = insertvalue { ptr, i32 } poison, ptr %105, 0
  %108 = insertvalue { ptr, i32 } %107, i32 %106, 1
  resume { ptr, i32 } %108
}

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z8have_TSXv() #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv() #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"class.tbb::task_scheduler_init" = type { ptr }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@_ZL9MinThread = external hidden local_unnamed_addr global i32, align 4
@_ZL9MaxThread = external hidden local_unnamed_addr global i32, align 4
@_ZL7Verbose = external hidden local_unnamed_addr global i8, align 1
@.str.20 = external hidden unnamed_addr constant [86 x i8], align 1
@__FUNCTION__._Z8TestMainv = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [37 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) local_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) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z8TestMainv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.tbb::task_scheduler_init", align 8
  %2 = alloca %"class.tbb::task_scheduler_init", align 8
  %3 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  %4 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %.not14 = icmp sgt i32 %3, %4
  br i1 %.not14, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %129, %0
  %5 = call noundef zeroext i1 @_Z8have_TSXv()
  br i1 %5, label %135, label %141

.lr.ph:                                           ; preds = %0, %129
  %.0715 = phi i32 [ %130, %129 ], [ %3, %0 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %.0715, i64 noundef 0)
  %6 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %10

8:                                                ; preds = %.lr.ph
  %9 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.20, i64 noundef 629, ptr noundef nonnull @__FUNCTION__._Z8TestMainv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %9, ptr noundef nonnull @.str.21, i32 noundef %.0715)
          to label %10 unwind label %11

10:                                               ; preds = %8, %.lr.ph
  invoke void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef nonnull @.str.22)
          to label %13 unwind label %132

11:                                               ; preds = %8
  %12 = landingpad { ptr, i32 }
          cleanup
  br label %134

13:                                               ; preds = %10
  invoke void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %14 unwind label %132

14:                                               ; preds = %13
  invoke void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %15 unwind label %132

15:                                               ; preds = %14
  invoke void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %16 unwind label %132

16:                                               ; preds = %15
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %17 unwind label %132

17:                                               ; preds = %16
  invoke void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %18 unwind label %132

18:                                               ; preds = %17
  invoke void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.27)
          to label %19 unwind label %132

19:                                               ; preds = %18
  invoke void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %20 unwind label %132

20:                                               ; preds = %19
  invoke void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %21 unwind label %132

21:                                               ; preds = %20
  invoke void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %22 unwind label %132

22:                                               ; preds = %21
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %23 unwind label %132

23:                                               ; preds = %22
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %24 unwind label %132

24:                                               ; preds = %23
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %25 unwind label %132

25:                                               ; preds = %24
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %26 unwind label %132

26:                                               ; preds = %25
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %27 unwind label %132

27:                                               ; preds = %26
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %28 unwind label %132

28:                                               ; preds = %27
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %29 unwind label %132

29:                                               ; preds = %28
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %30 unwind label %132

30:                                               ; preds = %29
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %31 unwind label %132

31:                                               ; preds = %30
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %32 unwind label %132

32:                                               ; preds = %31
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %33 unwind label %132

33:                                               ; preds = %32
  invoke void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %34 unwind label %132

34:                                               ; preds = %33
  invoke void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %35 unwind label %132

35:                                               ; preds = %34
  invoke void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %36 unwind label %132

36:                                               ; preds = %35
  invoke void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %37 unwind label %132

37:                                               ; preds = %36
  invoke void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %38 unwind label %132

38:                                               ; preds = %37
  invoke void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.33)
          to label %39 unwind label %132

39:                                               ; preds = %38
  invoke void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %40 unwind label %132

40:                                               ; preds = %39
  invoke void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %41 unwind label %132

41:                                               ; preds = %40
  invoke void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %42 unwind label %132

42:                                               ; preds = %41
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %43 unwind label %132

43:                                               ; preds = %42
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %44 unwind label %132

44:                                               ; preds = %43
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %45 unwind label %132

45:                                               ; preds = %44
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %46 unwind label %132

46:                                               ; preds = %45
  invoke void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %47 unwind label %132

47:                                               ; preds = %46
  invoke void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %48 unwind label %132

48:                                               ; preds = %47
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv()
          to label %49 unwind label %132

49:                                               ; preds = %48
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv()
          to label %50 unwind label %132

50:                                               ; preds = %49
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv()
          to label %51 unwind label %132

51:                                               ; preds = %50
  invoke void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef nonnull @.str.22)
          to label %52 unwind label %132

52:                                               ; preds = %51
  invoke void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %53 unwind label %132

53:                                               ; preds = %52
  invoke void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %54 unwind label %132

54:                                               ; preds = %53
  invoke void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %55 unwind label %132

55:                                               ; preds = %54
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %56 unwind label %132

56:                                               ; preds = %55
  invoke void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %57 unwind label %132

57:                                               ; preds = %56
  invoke void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.27)
          to label %58 unwind label %132

58:                                               ; preds = %57
  invoke void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %59 unwind label %132

59:                                               ; preds = %58
  invoke void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %60 unwind label %132

60:                                               ; preds = %59
  invoke void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %61 unwind label %132

61:                                               ; preds = %60
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %62 unwind label %132

62:                                               ; preds = %61
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %63 unwind label %132

63:                                               ; preds = %62
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %64 unwind label %132

64:                                               ; preds = %63
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %65 unwind label %132

65:                                               ; preds = %64
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %66 unwind label %132

66:                                               ; preds = %65
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %67 unwind label %132

67:                                               ; preds = %66
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %68 unwind label %132

68:                                               ; preds = %67
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %69 unwind label %132

69:                                               ; preds = %68
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %70 unwind label %132

70:                                               ; preds = %69
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %71 unwind label %132

71:                                               ; preds = %70
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %72 unwind label %132

72:                                               ; preds = %71
  invoke void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %73 unwind label %132

73:                                               ; preds = %72
  invoke void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %74 unwind label %132

74:                                               ; preds = %73
  invoke void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %75 unwind label %132

75:                                               ; preds = %74
  invoke void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %76 unwind label %132

76:                                               ; preds = %75
  invoke void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %77 unwind label %132

77:                                               ; preds = %76
  invoke void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.33)
          to label %78 unwind label %132

78:                                               ; preds = %77
  invoke void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %79 unwind label %132

79:                                               ; preds = %78
  invoke void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %80 unwind label %132

80:                                               ; preds = %79
  invoke void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %81 unwind label %132

81:                                               ; preds = %80
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %82 unwind label %132

82:                                               ; preds = %81
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %83 unwind label %132

83:                                               ; preds = %82
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %84 unwind label %132

84:                                               ; preds = %83
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %85 unwind label %132

85:                                               ; preds = %84
  invoke void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %86 unwind label %132

86:                                               ; preds = %85
  invoke void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %87 unwind label %132

87:                                               ; preds = %86
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv()
          to label %88 unwind label %132

88:                                               ; preds = %87
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv()
          to label %89 unwind label %132

89:                                               ; preds = %88
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv()
          to label %90 unwind label %132

90:                                               ; preds = %89
  invoke void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef nonnull @.str.22)
          to label %91 unwind label %132

91:                                               ; preds = %90
  invoke void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %92 unwind label %132

92:                                               ; preds = %91
  invoke void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef nonnull @.str.23)
          to label %93 unwind label %132

93:                                               ; preds = %92
  invoke void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %94 unwind label %132

94:                                               ; preds = %93
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %95 unwind label %132

95:                                               ; preds = %94
  invoke void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %96 unwind label %132

96:                                               ; preds = %95
  invoke void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.27)
          to label %97 unwind label %132

97:                                               ; preds = %96
  invoke void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %98 unwind label %132

98:                                               ; preds = %97
  invoke void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %99 unwind label %132

99:                                               ; preds = %98
  invoke void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %100 unwind label %132

100:                                              ; preds = %99
  invoke void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %101 unwind label %132

101:                                              ; preds = %100
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.24)
          to label %102 unwind label %132

102:                                              ; preds = %101
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %103 unwind label %132

103:                                              ; preds = %102
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef nonnull @.str.26)
          to label %104 unwind label %132

104:                                              ; preds = %103
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %105 unwind label %132

105:                                              ; preds = %104
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %106 unwind label %132

106:                                              ; preds = %105
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %107 unwind label %132

107:                                              ; preds = %106
  invoke void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %108 unwind label %132

108:                                              ; preds = %107
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %109 unwind label %132

109:                                              ; preds = %108
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %110 unwind label %132

110:                                              ; preds = %109
  invoke void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %111 unwind label %132

111:                                              ; preds = %110
  invoke void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef nonnull @.str.29)
          to label %112 unwind label %132

112:                                              ; preds = %111
  invoke void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.30)
          to label %113 unwind label %132

113:                                              ; preds = %112
  invoke void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %114 unwind label %132

114:                                              ; preds = %113
  invoke void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.28)
          to label %115 unwind label %132

115:                                              ; preds = %114
  invoke void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %116 unwind label %132

116:                                              ; preds = %115
  invoke void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef nonnull @.str.33)
          to label %117 unwind label %132

117:                                              ; preds = %116
  invoke void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %118 unwind label %132

118:                                              ; preds = %117
  invoke void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %119 unwind label %132

119:                                              ; preds = %118
  invoke void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %120 unwind label %132

120:                                              ; preds = %119
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef nonnull @.str.32)
          to label %121 unwind label %132

121:                                              ; preds = %120
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %122 unwind label %132

122:                                              ; preds = %121
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %123 unwind label %132

123:                                              ; preds = %122
  invoke void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef nonnull @.str.36)
          to label %124 unwind label %132

124:                                              ; preds = %123
  invoke void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef nonnull @.str.34)
          to label %125 unwind label %132

125:                                              ; preds = %124
  invoke void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef nonnull @.str.35)
          to label %126 unwind label %132

126:                                              ; preds = %125
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv()
          to label %127 unwind label %132

127:                                              ; preds = %126
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv()
          to label %128 unwind label %132

128:                                              ; preds = %127
  invoke void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv()
          to label %129 unwind label %132

129:                                              ; preds = %128
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
  %130 = add nsw i32 %.0715, 1
  %131 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %.not.not = icmp slt i32 %.0715, %131
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13

132:                                              ; preds = %128, %127, %126, %125, %124, %123, %122, %121, %120, %119, %118, %117, %116, %115, %114, %113, %112, %111, %110, %109, %108, %107, %106, %105, %104, %103, %102, %101, %100, %99, %98, %97, %96, %95, %94, %93, %92, %91, %90, %89, %88, %87, %86, %85, %84, %83, %82, %81, %80, %79, %78, %77, %76, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %10
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %134

134:                                              ; preds = %132, %11
  %.pn = phi { ptr, i32 } [ %133, %132 ], [ %12, %11 ]
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
  br label %147

135:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %136 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %136, i64 noundef 0)
  invoke void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef nonnull @.str.25)
          to label %137 unwind label %139

137:                                              ; preds = %135
  invoke void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef nonnull @.str.31)
          to label %138 unwind label %139

138:                                              ; preds = %137
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  br label %146

139:                                              ; preds = %137, %135
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  br label %147

141:                                              ; preds = %._crit_edge
  %142 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %143 = trunc nuw i8 %142 to i1
  br i1 %143, label %144, label %146

144:                                              ; preds = %141
  %145 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.20, i64 noundef 707, ptr noundef nonnull @__FUNCTION__._Z8TestMainv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %145, ptr noundef nonnull @.str.37)
  br label %146

146:                                              ; preds = %144, %141, %138
  ret i32 0

147:                                              ; preds = %139, %134
  %.pn.pn = phi { ptr, i32 } [ %.pn, %134 ], [ %140, %139 ]
  resume { ptr, i32 } %.pn.pn
}

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z8have_TSXv() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13TestNullMutexIN3tbb10null_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13TestNullMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestNullRWMutexIN3tbb13null_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10spin_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb13queuing_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb5mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4TestIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10spin_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb13queuing_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z24TestTryAcquire_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30TestTryAcquireReader_OneThreadIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb16queuing_rw_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20TestReaderWriterLockIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18TestRecursiveMutexIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb10spin_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb5mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7TestISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb10spin_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z27TestTryAcquire_OneThreadISOIN3tbb8internal19critical_section_v4EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TestReaderWriterLockISOIN3tbb16spin_rw_mutex_v3EEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TestRecursiveMutexISOIN3tbb15recursive_mutexEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb16spin_rw_mutex_v3EEvv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25TestRWStateMultipleChangeIN3tbb16queuing_rw_mutexEEvv() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS2_17x86_eliding_mutexELb0EEEEvPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15TestTransactionIN3tbb10interface78internal12padded_mutexINS0_10interface88internal16x86_rtm_rw_mutexELb1EEEEvPKc(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass