; LLVM IR from ardiloot/NonlinearTMM :: NonlinearTMM/src/eigen-3.4.0/unsupported/test (cxx11_tensor_thread_pool)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::TensorCwiseBinaryOp" = type <{ ptr, %"class.Eigen::TensorCwiseUnaryOp", [8 x i8] }>
%"class.Eigen::TensorCwiseUnaryOp" = type <{ ptr, %"struct.Eigen::internal::bind2nd_op", [4 x i8] }>
%"struct.Eigen::internal::bind2nd_op" = type { float }
%"class.Eigen::TensorConversionOp" = type { %"class.Eigen::TensorCwiseBinaryOp" }
%"class.Eigen::Tensor" = type { %"class.Eigen::TensorStorage" }
%"class.Eigen::TensorStorage" = type { ptr, %"struct.Eigen::DSizes" }
%"struct.Eigen::DSizes" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x i64] }
%"class.Eigen::Tensor.10" = type { %"class.Eigen::TensorStorage.13" }
%"class.Eigen::TensorStorage.13" = type { ptr, %"struct.Eigen::DSizes" }
%"class.Eigen::ThreadPoolTempl" = type { %"class.Eigen::ThreadPoolInterface", [4 x i8], i32, i8, %"class.Eigen::MaxSizeVector", %"class.Eigen::MaxSizeVector.14", %"class.Eigen::MaxSizeVector.15", i32, %"struct.std::atomic", %"struct.std::atomic.16", %"struct.std::atomic.16", %"struct.std::atomic.16", %"class.Eigen::EventCount" }
%"class.Eigen::ThreadPoolInterface" = type { ptr }
%"class.Eigen::MaxSizeVector" = type { i64, i64, ptr }
%"class.Eigen::MaxSizeVector.14" = type { i64, i64, ptr }
%"class.Eigen::MaxSizeVector.15" = type { i64, i64, ptr }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { i8 }
%"class.Eigen::EventCount" = type { %"struct.std::atomic.18", ptr }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { i64 }
%"struct.Eigen::StlThreadEnvironment" = type { i8 }
%"struct.Eigen::ThreadPoolDevice" = type { ptr, i32, ptr }
%"class.Eigen::Barrier" = type <{ %"class.std::mutex", %"class.std::condition_variable", %"struct.std::atomic", i8, [3 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.Eigen::TensorAsyncDevice" = type { ptr, ptr, %class.anon }
%class.anon = type { ptr }

@_ZN5EigenL12g_test_stackB5cxx11E = external hidden global %"class.std::vector", align 8
@.str.28 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [87 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEplINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS6_17scalar_product_opIffEEEEKS2_EEEEKNS_19TensorCwiseBinaryOpINS6_13scalar_sum_opIffEESB_KT_EERSH_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorCwiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(12)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), float noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS_6TensorIfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS2_10bind2nd_opINS2_17scalar_product_opIffEEEES7_EEEELi0EE4castIdEEKNS2_11conditionalIXsr8internal7is_sameIT_fEE5valueESF_NS_18TensorConversionOpISJ_KSF_EEE4typeEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorConversionOp") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIddEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen6TensorIdLi3ELi0ElEclIJiEEERdllDpT_(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34test_async_multithread_elementwisev() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.Eigen::Tensor", align 8
  %2 = alloca %"class.Eigen::Tensor", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.Eigen::Tensor.10", align 8
  %6 = alloca %"class.Eigen::ThreadPoolTempl", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.Eigen::StlThreadEnvironment", align 1
  %10 = alloca %"struct.Eigen::ThreadPoolDevice", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.Eigen::Barrier", align 8
  %14 = alloca %"class.Eigen::TensorConversionOp", align 8
  %15 = alloca %"class.Eigen::TensorCwiseBinaryOp", align 8
  %16 = alloca %"class.Eigen::TensorCwiseUnaryOp", align 8
  %17 = alloca %"class.Eigen::TensorAsyncDevice", align 8
  %18 = alloca %class.anon, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 200, i32 noundef 30, i32 noundef 70)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  invoke void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 200, i32 noundef 30, i32 noundef 70)
          to label %24 unwind label %51

24:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  invoke void @_ZN5Eigen6TensorIdLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 200, i32 noundef 30, i32 noundef 70)
          to label %25 unwind label %55

25:                                               ; preds = %24
  %26 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %1)
          to label %27 unwind label %59

27:                                               ; preds = %25
  %28 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %29 unwind label %59

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 11, ptr %8, align 4, !tbaa !5
  %30 = invoke noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %31 unwind label %63

31:                                               ; preds = %29
  invoke void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEEC2EiS1_(ptr noundef nonnull align 8 dereferenceable(128) %6, i32 noundef %30)
          to label %32 unwind label %63

32:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 3, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 11, ptr %12, align 4, !tbaa !5
  %33 = invoke noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %34 unwind label %67

34:                                               ; preds = %32
  invoke void @_ZN5Eigen16ThreadPoolDeviceC2EPNS_19ThreadPoolInterfaceEiPNS_9AllocatorE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef %6, i32 noundef %33, ptr noundef null)
          to label %35 unwind label %67

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %13) #6
  invoke void @_ZN5Eigen7BarrierC2Ej(ptr noundef nonnull align 8 dereferenceable(93) %13, i32 noundef 1)
          to label %36 unwind label %71

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %2, float noundef 0x40091EB860000000)
          to label %37 unwind label %75

37:                                               ; preds = %36
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEplINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS6_17scalar_product_opIffEEEEKS2_EEEEKNS_19TensorCwiseBinaryOpINS6_13scalar_sum_opIffEESB_KT_EERSH_(ptr dead_on_unwind writable sret(%"class.Eigen::TensorCwiseBinaryOp") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(12) %16)
          to label %38 unwind label %75

38:                                               ; preds = %37
  invoke void @_ZNK5Eigen10TensorBaseINS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS_6TensorIfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS2_10bind2nd_opINS2_17scalar_product_opIffEEEES7_EEEELi0EE4castIdEEKNS2_11conditionalIXsr8internal7is_sameIT_fEE5valueESF_NS_18TensorConversionOpISJ_KSF_EEE4typeEv(ptr dead_on_unwind writable sret(%"class.Eigen::TensorConversionOp") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %39 unwind label %75

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  %40 = getelementptr inbounds %class.anon, ptr %18, i32 0, i32 0
  store ptr %13, ptr %40, align 8, !tbaa !9
  %41 = getelementptr inbounds %class.anon, ptr %18, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8
  invoke void @"_ZN5Eigen10TensorBaseINS_6TensorIdLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EENS_17TensorAsyncDeviceIS2_T_T0_EERKS8_S9_"(ptr dead_on_unwind writable sret(%"class.Eigen::TensorAsyncDevice") align 8 %17, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %42)
          to label %43 unwind label %79

43:                                               ; preds = %39
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5Eigen17TensorAsyncDeviceINS_6TensorIdLi3ELi0ElEENS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EaSINS_18TensorConversionOpIdKNS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS1_IfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS9_10bind2nd_opINS9_17scalar_product_opIffEEEESD_EEEEEEEERS5_RKT_"(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %45 unwind label %79

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  invoke void @_ZN5Eigen7Barrier4WaitEv(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %46 unwind label %84

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %146, %46
  %48 = load i32, ptr %19, align 4, !tbaa !5
  %49 = icmp slt i32 %48, 200
  br i1 %49, label %88, label %50

50:                                               ; preds = %47
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %149

51:                                               ; preds = %0
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %3, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %4, align 4
  br label %156

55:                                               ; preds = %24
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %3, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %4, align 4
  br label %155

59:                                               ; preds = %27, %25
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %3, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %4, align 4
  br label %154

63:                                               ; preds = %31, %29
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %3, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %153

67:                                               ; preds = %34, %32
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %3, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %152

71:                                               ; preds = %35
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %3, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %4, align 4
  br label %151

75:                                               ; preds = %38, %37, %36
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %3, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %4, align 4
  br label %83

79:                                               ; preds = %43, %39
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %3, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %150

84:                                               ; preds = %45
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %3, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %4, align 4
  br label %150

88:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %142, %88
  %90 = load i32, ptr %21, align 4, !tbaa !5
  %91 = icmp slt i32 %90, 30
  br i1 %91, label %93, label %92

92:                                               ; preds = %89
  store i32 5, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %145

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %129, %93
  %95 = load i32, ptr %22, align 4, !tbaa !5
  %96 = icmp slt i32 %95, 70
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 8, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %141

98:                                               ; preds = %94
  %99 = load i32, ptr %19, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = load i32, ptr %21, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = load i32, ptr %22, align 4, !tbaa !5
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen6TensorIdLi3ELi0ElEclIJiEEERdllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %100, i64 noundef %102, i32 noundef %103)
          to label %105 unwind label %132

105:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %106 = load i32, ptr %19, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = load i32, ptr %21, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = load i32, ptr %22, align 4, !tbaa !5
  %111 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %107, i64 noundef %109, i32 noundef %110)
          to label %112 unwind label %136

112:                                              ; preds = %105
  %113 = load float, ptr %111, align 4, !tbaa !11
  %114 = load i32, ptr %19, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = load i32, ptr %21, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = load i32, ptr %22, align 4, !tbaa !5
  %119 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %115, i64 noundef %117, i32 noundef %118)
          to label %120 unwind label %136

120:                                              ; preds = %112
  %121 = load float, ptr %119, align 4, !tbaa !11
  %122 = call float @llvm.fmuladd.f32(float %121, float 0x40091EB860000000, float %113)
  %123 = fpext float %122 to double
  store double %123, ptr %23, align 8, !tbaa !13
  %124 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIddEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %125 unwind label %136

125:                                              ; preds = %120
  %126 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %127 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %126) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %124, ptr noundef %127, ptr noundef @.str.28, i32 noundef 80, ptr noundef @.str.29)
          to label %128 unwind label %136

128:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %22, align 4, !tbaa !5
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %22, align 4, !tbaa !5
  br label %94, !llvm.loop !15

132:                                              ; preds = %98
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %3, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %4, align 4
  br label %140

136:                                              ; preds = %125, %120, %112, %105
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %3, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %140

140:                                              ; preds = %136, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %150

141:                                              ; preds = %97
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr %21, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %21, align 4, !tbaa !5
  br label %89, !llvm.loop !17

145:                                              ; preds = %92
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %19, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %19, align 4, !tbaa !5
  br label %47, !llvm.loop !18

149:                                              ; preds = %50
  call void @_ZN5Eigen7BarrierD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %13) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  call void @_ZN5Eigen6TensorIdLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  ret void

150:                                              ; preds = %140, %84, %83
  call void @_ZN5Eigen7BarrierD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %13) #6
  br label %151

151:                                              ; preds = %150, %71
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #6
  br label %152

152:                                              ; preds = %151, %67
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #6
  br label %153

153:                                              ; preds = %152, %63
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  br label %154

154:                                              ; preds = %153, %59
  call void @_ZN5Eigen6TensorIdLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %155

155:                                              ; preds = %154, %55
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %156

156:                                              ; preds = %155, %51
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  br label %157

157:                                              ; preds = %156
  %158 = load ptr, ptr %3, align 8
  %159 = load i32, ptr %4, align 4
  %160 = insertvalue { ptr, i32 } poison, ptr %158, 0
  %161 = insertvalue { ptr, i32 } %160, i32 %159, 1
  resume { ptr, i32 } %161
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN5Eigen10TensorBaseINS_6TensorIdLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EENS_17TensorAsyncDeviceIS2_T_T0_EERKS8_S9_"(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorAsyncDevice") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), ptr) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5Eigen17TensorAsyncDeviceINS_6TensorIdLi3ELi0ElEENS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EaSINS_18TensorConversionOpIdKNS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS1_IfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS9_10bind2nd_opINS9_17scalar_product_opIffEEEESD_EEEEEEEERS5_RKT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen7Barrier4WaitEv(ptr noundef nonnull align 8 dereferenceable(93)) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint 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 }

!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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::TensorCwiseBinaryOp" = type <{ ptr, %"class.Eigen::TensorCwiseUnaryOp", [8 x i8] }>
%"class.Eigen::TensorCwiseUnaryOp" = type <{ ptr, %"struct.Eigen::internal::bind2nd_op", [4 x i8] }>
%"struct.Eigen::internal::bind2nd_op" = type { float }
%"class.Eigen::TensorConversionOp" = type { %"class.Eigen::TensorCwiseBinaryOp" }
%"class.Eigen::Tensor" = type { %"class.Eigen::TensorStorage" }
%"class.Eigen::TensorStorage" = type { ptr, %"struct.Eigen::DSizes" }
%"struct.Eigen::DSizes" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x i64] }
%"class.Eigen::Tensor.10" = type { %"class.Eigen::TensorStorage.13" }
%"class.Eigen::TensorStorage.13" = type { ptr, %"struct.Eigen::DSizes" }
%"class.Eigen::ThreadPoolTempl" = type { %"class.Eigen::ThreadPoolInterface", [4 x i8], i32, i8, %"class.Eigen::MaxSizeVector", %"class.Eigen::MaxSizeVector.14", %"class.Eigen::MaxSizeVector.15", i32, %"struct.std::atomic", %"struct.std::atomic.16", %"struct.std::atomic.16", %"struct.std::atomic.16", %"class.Eigen::EventCount" }
%"class.Eigen::ThreadPoolInterface" = type { ptr }
%"class.Eigen::MaxSizeVector" = type { i64, i64, ptr }
%"class.Eigen::MaxSizeVector.14" = type { i64, i64, ptr }
%"class.Eigen::MaxSizeVector.15" = type { i64, i64, ptr }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { i8 }
%"class.Eigen::EventCount" = type { %"struct.std::atomic.18", ptr }
%"struct.std::atomic.18" = type { %"struct.std::__atomic_base.19" }
%"struct.std::__atomic_base.19" = type { i64 }
%"struct.Eigen::ThreadPoolDevice" = type { ptr, i32, ptr }
%"class.Eigen::Barrier" = type <{ %"class.std::mutex", %"class.std::condition_variable", %"struct.std::atomic", i8, [3 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.Eigen::TensorAsyncDevice" = type { ptr, ptr, %class.anon }
%class.anon = type { ptr }

@_ZN5EigenL12g_test_stackB5cxx11E = external hidden global %"class.std::vector", align 8
@.str.28 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [87 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEplINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS6_17scalar_product_opIffEEEEKS2_EEEEKNS_19TensorCwiseBinaryOpINS6_13scalar_sum_opIffEESB_KT_EERSH_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorCwiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10TensorBaseINS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS_6TensorIfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS2_10bind2nd_opINS2_17scalar_product_opIffEEEES7_EEEELi0EE4castIdEEKNS2_11conditionalIXsr8internal7is_sameIT_fEE5valueESF_NS_18TensorConversionOpISJ_KSF_EEE4typeEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorConversionOp") align 8, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIddEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34test_async_multithread_elementwisev() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.Eigen::Tensor", align 8
  %2 = alloca %"class.Eigen::Tensor", align 8
  %3 = alloca %"class.Eigen::Tensor.10", align 8
  %4 = alloca %"class.Eigen::ThreadPoolTempl", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.Eigen::ThreadPoolDevice", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.Eigen::Barrier", align 8
  %11 = alloca %"class.Eigen::TensorConversionOp", align 8
  %12 = alloca %"class.Eigen::TensorCwiseBinaryOp", align 8
  %13 = alloca %"class.Eigen::TensorCwiseUnaryOp", align 8
  %14 = alloca %"class.Eigen::TensorAsyncDevice", align 8
  %15 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 200, i32 noundef 30, i32 noundef 70)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  invoke void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 200, i32 noundef 30, i32 noundef 70)
          to label %16 unwind label %34

16:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  invoke void @_ZN5Eigen6TensorIdLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 200, i32 noundef 30, i32 noundef 70)
          to label %17 unwind label %36

17:                                               ; preds = %16
  %18 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %1)
          to label %19 unwind label %38

19:                                               ; preds = %17
  %20 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %21 unwind label %38

21:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 3, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 11, ptr %6, align 4, !tbaa !5
  %22 = invoke noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %23 unwind label %40

23:                                               ; preds = %21
  invoke void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEEC2EiS1_(ptr noundef nonnull align 8 dereferenceable(128) %4, i32 noundef %22)
          to label %24 unwind label %40

24:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 3, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 11, ptr %9, align 4, !tbaa !5
  %25 = invoke noundef i32 @_ZN5Eigen8internal6randomIiEENS0_13random_retvalINS0_36global_math_functions_filtering_baseIT_vE4typeEE4typeERKS4_SA_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %26 unwind label %42

26:                                               ; preds = %24
  call void @_ZN5Eigen16ThreadPoolDeviceC2EPNS_19ThreadPoolInterfaceEiPNS_9AllocatorE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull %4, i32 noundef %25, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #6
  call void @_ZN5Eigen7BarrierC2Ej(ptr noundef nonnull align 8 dereferenceable(93) %10, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %2, float noundef 0x40091EB860000000)
          to label %27 unwind label %44

27:                                               ; preds = %26
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEplINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS6_17scalar_product_opIffEEEEKS2_EEEEKNS_19TensorCwiseBinaryOpINS6_13scalar_sum_opIffEESB_KT_EERSH_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::TensorCwiseBinaryOp") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(12) %13)
          to label %28 unwind label %44

28:                                               ; preds = %27
  invoke void @_ZNK5Eigen10TensorBaseINS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS_6TensorIfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS2_10bind2nd_opINS2_17scalar_product_opIffEEEES7_EEEELi0EE4castIdEEKNS2_11conditionalIXsr8internal7is_sameIT_fEE5valueESF_NS_18TensorConversionOpISJ_KSF_EEE4typeEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::TensorConversionOp") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %29 unwind label %44

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  invoke void @"_ZN5Eigen10TensorBaseINS_6TensorIdLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EENS_17TensorAsyncDeviceIS2_T_T0_EERKS8_S9_"(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::TensorAsyncDevice") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %10)
          to label %30 unwind label %46

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5Eigen17TensorAsyncDeviceINS_6TensorIdLi3ELi0ElEENS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EaSINS_18TensorConversionOpIdKNS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS1_IfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS9_10bind2nd_opINS9_17scalar_product_opIffEEEESD_EEEEEEEERS5_RKT_"(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %32 unwind label %46

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  invoke void @_ZN5Eigen7Barrier4WaitEv(ptr noundef nonnull align 8 dereferenceable(93) %10)
          to label %.preheader36 unwind label %49

.preheader36:                                     ; preds = %32, %51
  %indvars.iv43 = phi i64 [ %indvars.iv.next44, %51 ], [ 0, %32 ]
  br label %.preheader

33:                                               ; preds = %51
  call void @_ZN5Eigen7BarrierD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #6
  call void @_ZN5Eigen6TensorIdLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  ret void

34:                                               ; preds = %0
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %79

36:                                               ; preds = %16
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %78

38:                                               ; preds = %19, %17
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %77

40:                                               ; preds = %23, %21
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %76

42:                                               ; preds = %24
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %75

44:                                               ; preds = %28, %27, %26
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %30, %29
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  br label %74

49:                                               ; preds = %32
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %74

.preheader:                                       ; preds = %.preheader36, %52
  %indvars.iv = phi i64 [ 0, %.preheader36 ], [ %indvars.iv.next, %52 ]
  br label %53

51:                                               ; preds = %52
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %exitcond46.not = icmp eq i64 %indvars.iv.next44, 200
  br i1 %exitcond46.not, label %33, label %.preheader36, !llvm.loop !9

52:                                               ; preds = %68
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond42.not = icmp eq i64 %indvars.iv.next, 30
  br i1 %exitcond42.not, label %51, label %.preheader, !llvm.loop !11

53:                                               ; preds = %.preheader, %68
  %.038 = phi i32 [ 0, %.preheader ], [ %69, %68 ]
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen6TensorIdLi3ELi0ElEclIJiEEERdllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv43, i64 noundef %indvars.iv, i32 noundef %.038)
          to label %55 unwind label %70

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %56 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv43, i64 noundef %indvars.iv, i32 noundef %.038)
          to label %57 unwind label %72

57:                                               ; preds = %55
  %58 = load float, ptr %56, align 4, !tbaa !12
  %59 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv43, i64 noundef %indvars.iv, i32 noundef %.038)
          to label %60 unwind label %72

60:                                               ; preds = %57
  %61 = load float, ptr %59, align 4, !tbaa !12
  %62 = call float @llvm.fmuladd.f32(float %61, float 0x40091EB860000000, float %58)
  %63 = fpext float %62 to double
  store double %63, ptr %15, align 8, !tbaa !14
  %64 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIddEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %65 unwind label %72

65:                                               ; preds = %60
  %66 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %67 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %66) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %64, ptr noundef %67, ptr noundef nonnull @.str.28, i32 noundef 80, ptr noundef nonnull @.str.29)
          to label %68 unwind label %72

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  %69 = add nuw nsw i32 %.038, 1
  %exitcond.not = icmp eq i32 %69, 70
  br i1 %exitcond.not, label %52, label %53, !llvm.loop !16

70:                                               ; preds = %53
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %65, %60, %57, %55
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %74

74:                                               ; preds = %70, %72, %49, %48
  %.pn28.pn = phi { ptr, i32 } [ %50, %49 ], [ %.pn, %48 ], [ %73, %72 ], [ %71, %70 ]
  call void @_ZN5Eigen7BarrierD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %10) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #6
  br label %75

75:                                               ; preds = %74, %42
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %74 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #6
  br label %76

76:                                               ; preds = %75, %40
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %75 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #6
  br label %77

77:                                               ; preds = %76, %38
  %.pn28.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn, %76 ], [ %39, %38 ]
  call void @_ZN5Eigen6TensorIdLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %78

78:                                               ; preds = %77, %36
  %.pn28.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn.pn, %77 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %79

79:                                               ; preds = %78, %34
  %.pn28.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn.pn.pn, %78 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn28.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN5Eigen10TensorBaseINS_6TensorIdLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EENS_17TensorAsyncDeviceIS2_T_T0_EERKS8_S9_"(ptr dead_on_unwind noalias writable sret(%"class.Eigen::TensorAsyncDevice") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), ptr) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5Eigen17TensorAsyncDeviceINS_6TensorIdLi3ELi0ElEENS_16ThreadPoolDeviceEZ34test_async_multithread_elementwisevE3$_0EaSINS_18TensorConversionOpIdKNS_19TensorCwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS1_IfLi3ELi0ElEEKNS_18TensorCwiseUnaryOpINS9_10bind2nd_opINS9_17scalar_product_opIffEEEESD_EEEEEEEERS5_RKT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen7Barrier4WaitEv(ptr noundef nonnull align 8 dereferenceable(93)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint 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 }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = distinct !{!16, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass