; LLVM IR from ChenyangZhang-cs/iMLBench :: MLP/co-run&zero-copy/src/debugger.ll (ZN5clnet15describe_tensorEPNS_6TensorEb)

; 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.clnet::Logger" = type { [8 x ptr], i32, %"class.std::mutex", %"class.std::unordered_map.78" }
%"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::unordered_map.78" = type { %"class.std::_Hashtable.79" }
%"class.std::_Hashtable.79" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }
%"struct.clnet::Tensor" = type { ptr, %"class.std::vector.12", %"class.std::vector.17", %"class.std::__cxx11::basic_string", %"class.std::vector.17", i64, ptr, ptr, i64 }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl" }
%"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN5clnet6loggerE = external global %"class.clnet::Logger", align 8
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %0, i1 noundef zeroext %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %19 = zext i1 %1 to i8
  store i8 %19, ptr %4, align 1, !tbaa !9
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %25

22:                                               ; preds = %2
  %23 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA5_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(5) @.str.8)
  %24 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168) %23, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %170

25:                                               ; preds = %2
  %26 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %68

28:                                               ; preds = %25
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.clnet::Tensor", ptr %29, i32 0, i32 3
  %31 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(32) %30)
  %32 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %31, ptr noundef nonnull align 1 dereferenceable(2) @.str.19)
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.clnet::Tensor", ptr %33, i32 0, i32 1
  %35 = call noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  br i1 %35, label %41, label %36

36:                                               ; preds = %28
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.clnet::Tensor", ptr %37, i32 0, i32 1
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef 0) #6
  %40 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(8) %39)
  br label %41

41:                                               ; preds = %36, %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 1, ptr %5, align 8, !tbaa !13
  br label %42

42:                                               ; preds = %56, %41
  %43 = load i64, ptr %5, align 8, !tbaa !13
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.clnet::Tensor", ptr %44, i32 0, i32 1
  %46 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #6
  %47 = icmp ult i64 %43, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %59

49:                                               ; preds = %42
  %50 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.20)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.clnet::Tensor", ptr %51, i32 0, i32 1
  %53 = load i64, ptr %5, align 8, !tbaa !13
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %53) #6
  %55 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %50, ptr noundef nonnull align 8 dereferenceable(8) %54)
  br label %56

56:                                               ; preds = %49
  %57 = load i64, ptr %5, align 8, !tbaa !13
  %58 = add i64 %57, 1
  store i64 %58, ptr %5, align 8, !tbaa !13
  br label %42, !llvm.loop !15

59:                                               ; preds = %48
  %60 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.21)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef %61)
  %62 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %60, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %63 unwind label %64

63:                                               ; preds = %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %170

64:                                               ; preds = %59
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %171

68:                                               ; preds = %25
  %69 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
  %70 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPNS_6TensorEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %69, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %71 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.23)
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef %72)
  %73 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %71, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %74 unwind label %92

74:                                               ; preds = %68
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  %75 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA12_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(12) @.str.24)
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.clnet::Tensor", ptr %76, i32 0, i32 3
  %78 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %75, ptr noundef nonnull align 8 dereferenceable(32) %77)
  %79 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(13) @.str.25)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.clnet::Tensor", ptr %80, i32 0, i32 8
  %82 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %79, ptr noundef nonnull align 8 dereferenceable(8) %81)
  %83 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA17_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(17) @.str.26)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.clnet::Tensor", ptr %84, i32 0, i32 1
  %86 = call noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #6
  br i1 %86, label %96, label %87

87:                                               ; preds = %74
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.clnet::Tensor", ptr %88, i32 0, i32 1
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef 0) #6
  %91 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(8) %90)
  br label %96

92:                                               ; preds = %68
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  br label %171

96:                                               ; preds = %87, %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 1, ptr %10, align 8, !tbaa !13
  br label %97

97:                                               ; preds = %111, %96
  %98 = load i64, ptr %10, align 8, !tbaa !13
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.clnet::Tensor", ptr %99, i32 0, i32 1
  %101 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #6
  %102 = icmp ult i64 %98, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %114

104:                                              ; preds = %97
  %105 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.20)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.clnet::Tensor", ptr %106, i32 0, i32 1
  %108 = load i64, ptr %10, align 8, !tbaa !13
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #6
  %110 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %105, ptr noundef nonnull align 8 dereferenceable(8) %109)
  br label %111

111:                                              ; preds = %104
  %112 = load i64, ptr %10, align 8, !tbaa !13
  %113 = add i64 %112, 1
  store i64 %113, ptr %10, align 8, !tbaa !13
  br label %97, !llvm.loop !17

114:                                              ; preds = %103
  %115 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.4)
  %116 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.27)
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.clnet::Tensor", ptr %117, i32 0, i32 5
  %119 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %116, ptr noundef nonnull align 8 dereferenceable(8) %118)
  %120 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA7_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %119, ptr noundef nonnull align 1 dereferenceable(7) @.str.28)
  %121 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(13) @.str.29)
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.clnet::Tensor", ptr %122, i32 0, i32 6
  %124 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPfEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %121, ptr noundef nonnull align 8 dereferenceable(8) %123)
  %125 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA14_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(14) @.str.30)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.clnet::Tensor", ptr %126, i32 0, i32 7
  %128 = load ptr, ptr %127, align 8, !tbaa !18
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %128, i1 noundef zeroext true)
  %129 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA10_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(10) @.str.31)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.clnet::Tensor", ptr %130, i32 0, i32 2
  store ptr %131, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %132 = load ptr, ptr %11, align 8, !tbaa !5
  %133 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #6
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %12, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #6
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %13, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  br label %138

138:                                              ; preds = %146, %114
  %139 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %139, label %141, label %140

140:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %148

141:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  store ptr %143, ptr %14, align 8, !tbaa !5
  %144 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.32)
  %145 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %145, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %146

146:                                              ; preds = %141
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %138

148:                                              ; preds = %140
  %149 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA9_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(9) @.str.33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.clnet::Tensor", ptr %150, i32 0, i32 4
  store ptr %151, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %152 = load ptr, ptr %15, align 8, !tbaa !5
  %153 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #6
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %16, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %155 = load ptr, ptr %15, align 8, !tbaa !5
  %156 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #6
  %157 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %17, i32 0, i32 0
  store ptr %156, ptr %157, align 8
  br label %158

158:                                              ; preds = %166, %148
  %159 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %159, label %161, label %160

160:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %168

161:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  store ptr %163, ptr %18, align 8, !tbaa !5
  %164 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.32)
  %165 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %165, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %166

166:                                              ; preds = %161
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %158

168:                                              ; preds = %160
  %169 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %170

170:                                              ; preds = %168, %63, %22
  ret void

171:                                              ; preds = %92, %64
  %172 = load ptr, ptr %7, align 8
  %173 = load i32, ptr %8, align 4
  %174 = insertvalue { ptr, i32 } poison, ptr %172, 0
  %175 = insertvalue { ptr, i32 } %174, i32 %173, 1
  resume { ptr, i32 } %175
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA5_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(5)) #2 align 2

declare noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(2)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(11)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPNS_6TensorEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(13)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA17_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(17)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA7_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(7)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPfEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA14_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(14)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA10_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(10)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA9_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(9)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !6, i64 128}
!19 = !{!"_ZTSN5clnet6TensorE", !20, i64 8, !24, i64 32, !28, i64 56, !24, i64 88, !30, i64 112, !6, i64 120, !6, i64 128, !30, i64 136}
!20 = !{!"_ZTSSt6vectorIxSaIxEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIPN5clnet6TensorESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN5clnet6TensorESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !14, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!"long long", !7, i64 0}


; 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.clnet::Logger" = type { [8 x ptr], i32, %"class.std::mutex", %"class.std::unordered_map.78" }
%"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::unordered_map.78" = type { %"class.std::_Hashtable.79" }
%"class.std::_Hashtable.79" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN5clnet6loggerE = external global %"class.clnet::Logger", align 8
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %0, i1 noundef zeroext %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %10 = icmp eq ptr %0, null
  br i1 %10, label %11, label %14

11:                                               ; preds = %2
  %12 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA5_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(5) @.str.8)
  %13 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168) %12, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %116

14:                                               ; preds = %2
  br i1 %1, label %15, label %38

15:                                               ; preds = %14
  %16 = getelementptr inbounds i8, ptr %0, i64 56
  %17 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(32) %16)
  %18 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %17, ptr noundef nonnull align 1 dereferenceable(2) @.str.19)
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = tail call noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br i1 %20, label %24, label %21

21:                                               ; preds = %15
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 0) #6
  %23 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br label %24

24:                                               ; preds = %21, %15
  %25 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %26 = icmp ugt i64 %25, 1
  br i1 %26, label %.lr.ph28, label %._crit_edge29

._crit_edge29:                                    ; preds = %.lr.ph28, %24
  %27 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.21)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull %0)
  %28 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %27, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %35 unwind label %36

.lr.ph28:                                         ; preds = %24, %.lr.ph28
  %.026 = phi i64 [ %32, %.lr.ph28 ], [ 1, %24 ]
  %29 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.20)
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.026) #6
  %31 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %32 = add nuw i64 %.026, 1
  %33 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %34 = icmp ult i64 %32, %33
  br i1 %34, label %.lr.ph28, label %._crit_edge29, !llvm.loop !9

35:                                               ; preds = %._crit_edge29
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %116

36:                                               ; preds = %._crit_edge29
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %117

38:                                               ; preds = %14
  %39 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
  %40 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPNS_6TensorEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %39, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %41 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.23)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5clnet9type_nameB5cxx11EPNS_6TensorE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef %42)
  %43 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %41, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %44 unwind label %62

44:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  %45 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA12_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(12) @.str.24)
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 56
  %48 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %45, ptr noundef nonnull align 8 dereferenceable(32) %47)
  %49 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(13) @.str.25)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 136
  %52 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %49, ptr noundef nonnull align 8 dereferenceable(8) %51)
  %53 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA17_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(17) @.str.26)
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = call noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  br i1 %56, label %64, label %57

57:                                               ; preds = %44
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #6
  %61 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 8 dereferenceable(8) %60)
  br label %64

62:                                               ; preds = %38
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %117

64:                                               ; preds = %57, %44
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %68 = icmp ugt i64 %67, 1
  br i1 %68, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %64
  %69 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.4)
  %70 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(11) @.str.27)
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 112
  %73 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %70, ptr noundef nonnull align 8 dereferenceable(8) %72)
  %74 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA7_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %73, ptr noundef nonnull align 1 dereferenceable(7) @.str.28)
  %75 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(13) @.str.29)
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 120
  %78 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPfEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %75, ptr noundef nonnull align 8 dereferenceable(8) %77)
  %79 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA14_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(14) @.str.30)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 128
  %82 = load ptr, ptr %81, align 8, !tbaa !11
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %82, i1 noundef zeroext true)
  %83 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA10_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(10) @.str.31)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %86 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #6
  store ptr %86, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %87 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #6
  store ptr %87, ptr %7, align 8
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %88, label %.lr.ph21, label %._crit_edge22

.lr.ph:                                           ; preds = %64, %.lr.ph
  %.01619 = phi i64 [ %94, %.lr.ph ], [ 1, %64 ]
  %89 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(2) @.str.20)
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %.01619) #6
  %93 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) %89, ptr noundef nonnull align 8 dereferenceable(8) %92)
  %94 = add nuw i64 %.01619, 1
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #6
  %98 = icmp ult i64 %94, %97
  br i1 %98, label %.lr.ph, label %._crit_edge, !llvm.loop !25

._crit_edge22:                                    ; preds = %.lr.ph21, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %99 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA9_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(9) @.str.33)
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %102 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #6
  store ptr %102, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %103 = call ptr @_ZNSt6vectorIPN5clnet6TensorESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #6
  store ptr %103, ptr %9, align 8
  %104 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %104, label %.lr.ph24, label %._crit_edge25

.lr.ph21:                                         ; preds = %._crit_edge, %.lr.ph21
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.32)
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %106, i1 noundef zeroext true)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %109 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %109, label %.lr.ph21, label %._crit_edge22

._crit_edge25:                                    ; preds = %.lr.ph24, %._crit_edge22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %110 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %116

.lr.ph24:                                         ; preds = %._crit_edge22, %.lr.ph24
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168) @_ZN5clnet6loggerE, ptr noundef nonnull align 1 dereferenceable(4) @.str.32)
  call void @_ZN5clnet15describe_tensorEPNS_6TensorEb(ptr noundef %112, i1 noundef zeroext true)
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %115 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5clnet6TensorESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %115, label %.lr.ph24, label %._crit_edge25

116:                                              ; preds = %._crit_edge25, %35, %11
  ret void

117:                                              ; preds = %62, %36
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %63, %62 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA5_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(5)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsEPFRSoS1_E(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA2_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIxSaIxEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIxEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA4_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA11_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPNS_6TensorEEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA13_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(13)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA17_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(17)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA7_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIPfEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA14_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA10_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(10)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN5clnet6LoggerlsIA9_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 1 dereferenceable(9)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 128}
!12 = !{!"_ZTSN5clnet6TensorE", !13, i64 8, !17, i64 32, !21, i64 56, !17, i64 88, !24, i64 112, !6, i64 120, !6, i64 128, !24, i64 136}
!13 = !{!"_ZTSSt6vectorIxSaIxEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIPN5clnet6TensorESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN5clnet6TensorESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"long long", !7, i64 0}
!25 = distinct !{!25, !10}


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