; 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::TensorCwiseUnaryOp" = type <{ ptr, %"struct.Eigen::internal::bind2nd_op", [4 x i8] }>
%"struct.Eigen::internal::bind2nd_op" = type { float }
%"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::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::TensorDevice.23" = type { ptr, 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.30 = external hidden unnamed_addr constant [60 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 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_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 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 @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36test_multithread_compound_assignmentv() #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", 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::TensorDevice.23", align 8
  %14 = alloca %"class.Eigen::TensorCwiseUnaryOp", align 8
  %15 = alloca %"class.Eigen::TensorDevice.23", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #6
  call void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2, i32 noundef 3, i32 noundef 7)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  invoke void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2, i32 noundef 3, i32 noundef 7)
          to label %21 unwind label %54

21:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  invoke void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 2, i32 noundef 3, i32 noundef 7)
          to label %22 unwind label %58

22:                                               ; preds = %21
  %23 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %1)
          to label %24 unwind label %62

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

26:                                               ; preds = %24
  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
  %27 = 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 %28 unwind label %66

28:                                               ; preds = %26
  invoke void @_ZN5Eigen15ThreadPoolTemplINS_20StlThreadEnvironmentEEC2EiS1_(ptr noundef nonnull align 8 dereferenceable(128) %6, i32 noundef %27)
          to label %29 unwind label %66

29:                                               ; preds = %28
  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
  %30 = 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 %31 unwind label %70

31:                                               ; preds = %29
  invoke void @_ZN5Eigen16ThreadPoolDeviceC2EPNS_19ThreadPoolInterfaceEiPNS_9AllocatorE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef %6, i32 noundef %30, ptr noundef null)
          to label %32 unwind label %70

32:                                               ; preds = %31
  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 16, ptr %13) #6
  %33 = invoke { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %34 unwind label %74

34:                                               ; preds = %32
  %35 = getelementptr inbounds { ptr, ptr }, ptr %13, i32 0, i32 0
  %36 = extractvalue { ptr, ptr } %33, 0
  store ptr %36, ptr %35, align 8
  %37 = getelementptr inbounds { ptr, ptr }, ptr %13, i32 0, i32 1
  %38 = extractvalue { ptr, ptr } %33, 1
  store ptr %38, ptr %37, align 8
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEaSIS2_EERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %40 unwind label %74

40:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %2, float noundef 0x40091EB860000000)
          to label %41 unwind label %78

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %42 = invoke { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %43 unwind label %82

43:                                               ; preds = %41
  %44 = getelementptr inbounds { ptr, ptr }, ptr %15, i32 0, i32 0
  %45 = extractvalue { ptr, ptr } %42, 0
  store ptr %45, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, ptr }, ptr %15, i32 0, i32 1
  %47 = extractvalue { ptr, ptr } %42, 1
  store ptr %47, ptr %46, align 8
  %48 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEpLINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS7_17scalar_product_opIffEEEEKS2_EEEERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(12) %14)
          to label %49 unwind label %82

49:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %144, %49
  %51 = load i32, ptr %16, align 4, !tbaa !5
  %52 = icmp slt i32 %51, 2
  br i1 %52, label %87, label %53

53:                                               ; preds = %50
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %147

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

58:                                               ; preds = %21
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %3, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %4, align 4
  br label %151

62:                                               ; preds = %24, %22
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %3, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %4, align 4
  br label %150

66:                                               ; preds = %28, %26
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %3, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, 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 %149

70:                                               ; preds = %31, %29
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %3, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, 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 %148

74:                                               ; preds = %34, %32
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %3, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %148

78:                                               ; preds = %40
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %3, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %4, align 4
  br label %86

82:                                               ; preds = %43, %41
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %3, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %86

86:                                               ; preds = %82, %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %148

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

88:                                               ; preds = %140, %87
  %89 = load i32, ptr %18, align 4, !tbaa !5
  %90 = icmp slt i32 %89, 3
  br i1 %90, label %92, label %91

91:                                               ; preds = %88
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %143

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

93:                                               ; preds = %127, %92
  %94 = load i32, ptr %19, align 4, !tbaa !5
  %95 = icmp slt i32 %94, 7
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %139

97:                                               ; preds = %93
  %98 = load i32, ptr %16, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = load i32, ptr %19, align 4, !tbaa !5
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %99, i64 noundef %101, i32 noundef %102)
          to label %104 unwind label %130

104:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %105 = load i32, ptr %16, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = load i32, ptr %18, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = load i32, ptr %19, align 4, !tbaa !5
  %110 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %106, i64 noundef %108, i32 noundef %109)
          to label %111 unwind label %134

111:                                              ; preds = %104
  %112 = load float, ptr %110, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = load i32, ptr %18, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = load i32, ptr %19, align 4, !tbaa !5
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %114, i64 noundef %116, i32 noundef %117)
          to label %119 unwind label %134

119:                                              ; preds = %111
  %120 = load float, ptr %118, align 4, !tbaa !9
  %121 = call float @llvm.fmuladd.f32(float %120, float 0x40091EB860000000, float %112)
  store float %121, ptr %20, align 4, !tbaa !9
  %122 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %103, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %123 unwind label %134

123:                                              ; preds = %119
  %124 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %125 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %124) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %122, ptr noundef %125, ptr noundef @.str.28, i32 noundef 103, ptr noundef @.str.30)
          to label %126 unwind label %134

126:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %19, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %19, align 4, !tbaa !5
  br label %93, !llvm.loop !11

130:                                              ; preds = %97
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %3, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %4, align 4
  br label %138

134:                                              ; preds = %123, %119, %111, %104
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %3, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %138

138:                                              ; preds = %134, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %148

139:                                              ; preds = %96
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %18, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %18, align 4, !tbaa !5
  br label %88, !llvm.loop !13

143:                                              ; preds = %91
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %16, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %16, align 4, !tbaa !5
  br label %50, !llvm.loop !14

147:                                              ; preds = %53
  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 @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(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

148:                                              ; preds = %138, %86, %74, %70
  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 %149

149:                                              ; preds = %148, %66
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  br label %150

150:                                              ; preds = %149, %62
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %151

151:                                              ; preds = %150, %58
  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 %152

152:                                              ; preds = %151, %54
  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 %153

153:                                              ; preds = %152
  %154 = load ptr, ptr %3, align 8
  %155 = load i32, ptr %4, align 4
  %156 = insertvalue { ptr, i32 } poison, ptr %154, 0
  %157 = insertvalue { ptr, i32 } %156, i32 %155, 1
  resume { ptr, i32 } %157
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEpLINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS7_17scalar_product_opIffEEEEKS2_EEEERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12)) #1 align 2

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

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


; 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::TensorCwiseUnaryOp" = type <{ ptr, %"struct.Eigen::internal::bind2nd_op", [4 x i8] }>
%"struct.Eigen::internal::bind2nd_op" = type { float }
%"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::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::TensorDevice.23" = type { ptr, 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.30 = external hidden unnamed_addr constant [60 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 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_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 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 @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36test_multithread_compound_assignmentv() 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", 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::TensorDevice.23", align 8
  %11 = alloca %"class.Eigen::TensorCwiseUnaryOp", align 8
  %12 = alloca %"class.Eigen::TensorDevice.23", align 8
  %13 = alloca float, align 4
  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 2, i32 noundef 3, i32 noundef 7)
  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 2, i32 noundef 3, i32 noundef 7)
          to label %14 unwind label %42

14:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  invoke void @_ZN5Eigen6TensorIfLi3ELi0ElEC2IJiiEEElDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 2, i32 noundef 3, i32 noundef 7)
          to label %15 unwind label %44

15:                                               ; preds = %14
  %16 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE9setRandomEv(ptr noundef nonnull align 1 dereferenceable(1) %1)
          to label %17 unwind label %46

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

19:                                               ; preds = %17
  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
  %20 = 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 %21 unwind label %48

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

22:                                               ; preds = %21
  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
  %23 = 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 %24 unwind label %50

24:                                               ; preds = %22
  call void @_ZN5Eigen16ThreadPoolDeviceC2EPNS_19ThreadPoolInterfaceEiPNS_9AllocatorE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull %4, i32 noundef %23, 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 16, ptr nonnull %10) #6
  %25 = invoke { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %26 unwind label %52

26:                                               ; preds = %24
  %27 = extractvalue { ptr, ptr } %25, 0
  store ptr %27, ptr %10, align 8
  %28 = getelementptr inbounds i8, ptr %10, i64 8
  %29 = extractvalue { ptr, ptr } %25, 1
  store ptr %29, ptr %28, align 8
  %30 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEaSIS2_EERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %31 unwind label %52

31:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  invoke void @_ZNK5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi0EEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::TensorCwiseUnaryOp") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %2, float noundef 0x40091EB860000000)
          to label %32 unwind label %54

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %33 = invoke { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %34 unwind label %56

34:                                               ; preds = %32
  %35 = extractvalue { ptr, ptr } %33, 0
  store ptr %35, ptr %12, align 8
  %36 = getelementptr inbounds i8, ptr %12, i64 8
  %37 = extractvalue { ptr, ptr } %33, 1
  store ptr %37, ptr %36, align 8
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEpLINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS7_17scalar_product_opIffEEEEKS2_EEEERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(12) %11)
          to label %39 unwind label %56

39:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %.preheader34

.preheader34:                                     ; preds = %39, %60
  %40 = phi i1 [ true, %39 ], [ false, %60 ]
  %indvars.iv39 = phi i64 [ 0, %39 ], [ 1, %60 ]
  br label %.preheader

41:                                               ; preds = %60
  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 @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(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

42:                                               ; preds = %0
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %166

44:                                               ; preds = %14
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %165

46:                                               ; preds = %17, %15
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %164

48:                                               ; preds = %21, %19
  %49 = 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 %163

50:                                               ; preds = %22
  %51 = 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 %162

52:                                               ; preds = %26, %24
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %162

54:                                               ; preds = %31
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %34, %32
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %58

58:                                               ; preds = %56, %54
  %.pn = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %162

.preheader:                                       ; preds = %.preheader34, %157
  %indvars.iv = phi i64 [ 0, %.preheader34 ], [ %indvars.iv.next, %157 ]
  %59 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 0)
          to label %61 unwind label %158

60:                                               ; preds = %157
  br i1 %40, label %.preheader34, label %41, !llvm.loop !9

61:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %62 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 0)
          to label %63 unwind label %160

63:                                               ; preds = %61
  %64 = load float, ptr %62, align 4, !tbaa !11
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 0)
          to label %66 unwind label %160

66:                                               ; preds = %63
  %67 = load float, ptr %65, align 4, !tbaa !11
  %68 = call float @llvm.fmuladd.f32(float %67, float 0x40091EB860000000, float %64)
  store float %68, ptr %13, align 4, !tbaa !11
  %69 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %70 unwind label %160

70:                                               ; preds = %66
  %71 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %72 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %71) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %69, ptr noundef %72, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %73 unwind label %160

73:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %74 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 1)
          to label %75 unwind label %158

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %76 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 1)
          to label %77 unwind label %160

77:                                               ; preds = %75
  %78 = load float, ptr %76, align 4, !tbaa !11
  %79 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 1)
          to label %80 unwind label %160

80:                                               ; preds = %77
  %81 = load float, ptr %79, align 4, !tbaa !11
  %82 = call float @llvm.fmuladd.f32(float %81, float 0x40091EB860000000, float %78)
  store float %82, ptr %13, align 4, !tbaa !11
  %83 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %84 unwind label %160

84:                                               ; preds = %80
  %85 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %86 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %85) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %83, ptr noundef %86, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %87 unwind label %160

87:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %88 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 2)
          to label %89 unwind label %158

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %90 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 2)
          to label %91 unwind label %160

91:                                               ; preds = %89
  %92 = load float, ptr %90, align 4, !tbaa !11
  %93 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 2)
          to label %94 unwind label %160

94:                                               ; preds = %91
  %95 = load float, ptr %93, align 4, !tbaa !11
  %96 = call float @llvm.fmuladd.f32(float %95, float 0x40091EB860000000, float %92)
  store float %96, ptr %13, align 4, !tbaa !11
  %97 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %88, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %98 unwind label %160

98:                                               ; preds = %94
  %99 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %100 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %99) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %97, ptr noundef %100, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %101 unwind label %160

101:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %102 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 3)
          to label %103 unwind label %158

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %104 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 3)
          to label %105 unwind label %160

105:                                              ; preds = %103
  %106 = load float, ptr %104, align 4, !tbaa !11
  %107 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 3)
          to label %108 unwind label %160

108:                                              ; preds = %105
  %109 = load float, ptr %107, align 4, !tbaa !11
  %110 = call float @llvm.fmuladd.f32(float %109, float 0x40091EB860000000, float %106)
  store float %110, ptr %13, align 4, !tbaa !11
  %111 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %102, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %112 unwind label %160

112:                                              ; preds = %108
  %113 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %114 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %113) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %111, ptr noundef %114, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %115 unwind label %160

115:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %116 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 4)
          to label %117 unwind label %158

117:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 4)
          to label %119 unwind label %160

119:                                              ; preds = %117
  %120 = load float, ptr %118, align 4, !tbaa !11
  %121 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 4)
          to label %122 unwind label %160

122:                                              ; preds = %119
  %123 = load float, ptr %121, align 4, !tbaa !11
  %124 = call float @llvm.fmuladd.f32(float %123, float 0x40091EB860000000, float %120)
  store float %124, ptr %13, align 4, !tbaa !11
  %125 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %116, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %126 unwind label %160

126:                                              ; preds = %122
  %127 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %128 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %127) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %125, ptr noundef %128, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %129 unwind label %160

129:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %130 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 5)
          to label %131 unwind label %158

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %132 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 5)
          to label %133 unwind label %160

133:                                              ; preds = %131
  %134 = load float, ptr %132, align 4, !tbaa !11
  %135 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 5)
          to label %136 unwind label %160

136:                                              ; preds = %133
  %137 = load float, ptr %135, align 4, !tbaa !11
  %138 = call float @llvm.fmuladd.f32(float %137, float 0x40091EB860000000, float %134)
  store float %138, ptr %13, align 4, !tbaa !11
  %139 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %130, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %140 unwind label %160

140:                                              ; preds = %136
  %141 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %142 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %141) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %139, ptr noundef %142, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %143 unwind label %160

143:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %144 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 6)
          to label %145 unwind label %158

145:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %146 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 6)
          to label %147 unwind label %160

147:                                              ; preds = %145
  %148 = load float, ptr %146, align 4, !tbaa !11
  %149 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen6TensorIfLi3ELi0ElEclIJiEEERfllDpT_(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %indvars.iv39, i64 noundef %indvars.iv, i32 noundef 6)
          to label %150 unwind label %160

150:                                              ; preds = %147
  %151 = load float, ptr %149, align 4, !tbaa !11
  %152 = call float @llvm.fmuladd.f32(float %151, float 0x40091EB860000000, float %148)
  store float %152, ptr %13, align 4, !tbaa !11
  %153 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxIffEEbRKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(4) %144, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %154 unwind label %160

154:                                              ; preds = %150
  %155 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #6
  %156 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %155) #6
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %153, ptr noundef %156, ptr noundef nonnull @.str.28, i32 noundef 103, ptr noundef nonnull @.str.30)
          to label %157 unwind label %160

157:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 3
  br i1 %exitcond.not, label %60, label %.preheader, !llvm.loop !13

158:                                              ; preds = %143, %129, %115, %101, %87, %73, %.preheader
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %162

160:                                              ; preds = %154, %150, %147, %145, %140, %136, %133, %131, %126, %122, %119, %117, %112, %108, %105, %103, %98, %94, %91, %89, %84, %80, %77, %75, %70, %66, %63, %61
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %162

162:                                              ; preds = %158, %160, %58, %52, %50
  %.pn27.pn = phi { ptr, i32 } [ %.pn, %58 ], [ %53, %52 ], [ %51, %50 ], [ %161, %160 ], [ %159, %158 ]
  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 %163

163:                                              ; preds = %162, %48
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %162 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #6
  br label %164

164:                                              ; preds = %163, %46
  %.pn27.pn.pn.pn = phi { ptr, i32 } [ %.pn27.pn.pn, %163 ], [ %47, %46 ]
  call void @_ZN5Eigen6TensorIfLi3ELi0ElED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %165

165:                                              ; preds = %164, %44
  %.pn27.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn27.pn.pn.pn, %164 ], [ %45, %44 ]
  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 %166

166:                                              ; preds = %165, %42
  %.pn27.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn27.pn.pn.pn.pn, %165 ], [ %43, %42 ]
  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 } %.pn27.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN5Eigen10TensorBaseINS_6TensorIfLi3ELi0ElEELi1EE6deviceINS_16ThreadPoolDeviceEEENS_12TensorDeviceIS2_T_EERKS7_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5Eigen12TensorDeviceINS_6TensorIfLi3ELi0ElEENS_16ThreadPoolDeviceEEpLINS_18TensorCwiseUnaryOpINS_8internal10bind2nd_opINS7_17scalar_product_opIffEEEEKS2_EEEERS4_RKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

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

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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !10}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass