; LLVM IR from apache/mxnet :: src/lib_api.ll (partCallReviewSubgraph)

; 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::__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.std::allocator.0" = type { i8 }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.mxnet::ext::MXTensor" = type <{ ptr, %"class.std::vector.3", i32, [4 x i8], i64, %"struct.mxnet::ext::MXContext", %struct.DLTensor, i32, [4 x i8] }>
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%struct.DLTensor = type { ptr, %struct.DLContext, i32, %struct.DLDataType, ptr, ptr, i64 }
%struct.DLContext = type { i32, i32 }
%struct.DLDataType = type { i8, i8, i16 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.77" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@.str.61 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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

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

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

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

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

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

; 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 nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(140)) #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(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 @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local i32 @_partCallReviewSubgraph(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) #2 personality ptr @__gxx_personality_v0 {
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca i32, align 4
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = alloca ptr, align 8
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  %57 = alloca ptr, align 8
  %58 = alloca ptr, align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator.0", align 1
  %61 = alloca ptr, align 8
  %62 = alloca i32, align 4
  %63 = alloca i8, align 1
  %64 = alloca %"class.std::unordered_map.33", align 8
  %65 = alloca i32, align 4
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator.0", align 1
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator.0", align 1
  %70 = alloca %"class.std::unordered_map", align 8
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca %"class.std::vector.3", align 8
  %74 = alloca i32, align 4
  %75 = alloca %"struct.mxnet::ext::MXTensor", align 8
  %76 = alloca %"class.std::vector.3", align 8
  %77 = alloca %"struct.mxnet::ext::MXContext", align 8
  %78 = alloca %"class.std::__cxx11::basic_string", align 8
  %79 = alloca %"class.std::allocator.0", align 1
  %80 = alloca %"class.std::unordered_map", align 8
  %81 = alloca i32, align 4
  %82 = alloca %"class.std::vector.3", align 8
  %83 = alloca i32, align 4
  %84 = alloca %"struct.mxnet::ext::MXTensor", align 8
  %85 = alloca %"class.std::vector.3", align 8
  %86 = alloca %"struct.mxnet::ext::MXContext", align 8
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.std::allocator.0", align 1
  %89 = alloca %"class.std::unordered_map.33", align 8
  %90 = alloca i32, align 4
  %91 = alloca i32, align 4
  %92 = alloca ptr, align 8
  %93 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %94 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %95 = alloca %"struct.std::pair.77", align 8
  store ptr %0, ptr %30, align 8, !tbaa !5
  store ptr %1, ptr %31, align 8, !tbaa !5
  store i32 %2, ptr %32, align 4, !tbaa !9
  store ptr %3, ptr %33, align 8, !tbaa !5
  store ptr %4, ptr %34, align 8, !tbaa !5
  store ptr %5, ptr %35, align 8, !tbaa !5
  store i32 %6, ptr %36, align 4, !tbaa !9
  store ptr %7, ptr %37, align 8, !tbaa !5
  store ptr %8, ptr %38, align 8, !tbaa !5
  store ptr %9, ptr %39, align 8, !tbaa !5
  store ptr %10, ptr %40, align 8, !tbaa !5
  store i32 %11, ptr %41, align 4, !tbaa !9
  store ptr %12, ptr %42, align 8, !tbaa !5
  store ptr %13, ptr %43, align 8, !tbaa !5
  store ptr %14, ptr %44, align 8, !tbaa !5
  store ptr %15, ptr %45, align 8, !tbaa !5
  store ptr %16, ptr %46, align 8, !tbaa !5
  store ptr %17, ptr %47, align 8, !tbaa !5
  store ptr %18, ptr %48, align 8, !tbaa !5
  store ptr %19, ptr %49, align 8, !tbaa !5
  store i32 %20, ptr %50, align 4, !tbaa !9
  store ptr %21, ptr %51, align 8, !tbaa !5
  store ptr %22, ptr %52, align 8, !tbaa !5
  store ptr %23, ptr %53, align 8, !tbaa !5
  store ptr %24, ptr %54, align 8, !tbaa !5
  store ptr %25, ptr %55, align 8, !tbaa !5
  store ptr %26, ptr %56, align 8, !tbaa !5
  store ptr %27, ptr %57, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #7
  %96 = load ptr, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef %96, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %97 unwind label %105

97:                                               ; preds = %28
  %98 = invoke noundef ptr @_ZN5mxnet3ext5Graph10fromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %99 unwind label %109

99:                                               ; preds = %97
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #7
  store ptr %98, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #7
  store i8 0, ptr %63, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %64) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #7
  store i32 0, ptr %65, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %130, %99
  %101 = load i32, ptr %65, align 4, !tbaa !9
  %102 = load i32, ptr %36, align 4, !tbaa !9
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %114, label %104

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  br label %147

105:                                              ; preds = %28
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %61, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %62, align 4
  br label %113

109:                                              ; preds = %97
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %61, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %62, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #7
  br label %113

113:                                              ; preds = %109, %105
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #7
  br label %485

114:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #7
  %115 = load ptr, ptr %35, align 8, !tbaa !5
  %116 = load i32, ptr %65, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %115, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef %119, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %120 unwind label %133

120:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #7
  %121 = load ptr, ptr %34, align 8, !tbaa !5
  %122 = load i32, ptr %65, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef %125, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %126 unwind label %137

126:                                              ; preds = %120
  %127 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %64, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %128 unwind label %141

128:                                              ; preds = %126
  %129 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %127, ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #7
  br label %130

130:                                              ; preds = %128
  %131 = load i32, ptr %65, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %65, align 4, !tbaa !9
  br label %100, !llvm.loop !13

133:                                              ; preds = %114
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %61, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %62, align 4
  br label %146

137:                                              ; preds = %120
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %61, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %62, align 4
  br label %145

141:                                              ; preds = %126
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %61, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %62, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  br label %146

146:                                              ; preds = %145, %133
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  br label %484

147:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 56, ptr %70) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %70) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #7
  store i32 0, ptr %71, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %230, %147
  %149 = load i32, ptr %71, align 4, !tbaa !9
  %150 = load i32, ptr %41, align 4, !tbaa !9
  %151 = icmp slt i32 %149, %150
  br i1 %151, label %153, label %152

152:                                              ; preds = %148
  store i32 5, ptr %72, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  br label %257

153:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  %154 = load ptr, ptr %44, align 8, !tbaa !5
  %155 = load i32, ptr %71, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds i32, ptr %154, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %159)
          to label %160 unwind label %170

160:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #7
  store i32 0, ptr %74, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %184, %160
  %162 = load i32, ptr %74, align 4, !tbaa !9
  %163 = load ptr, ptr %44, align 8, !tbaa !5
  %164 = load i32, ptr %71, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = icmp slt i32 %162, %167
  br i1 %168, label %174, label %169

169:                                              ; preds = %161
  store i32 8, ptr %72, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %191

170:                                              ; preds = %153
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %61, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %62, align 4
  br label %256

174:                                              ; preds = %161
  %175 = load ptr, ptr %43, align 8, !tbaa !5
  %176 = load i32, ptr %71, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %175, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = load i32, ptr %74, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i64, ptr %179, i64 %181
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(8) %182)
          to label %183 unwind label %187

183:                                              ; preds = %174
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %74, align 4, !tbaa !9
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %74, align 4, !tbaa !9
  br label %161, !llvm.loop !15

187:                                              ; preds = %174
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %61, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  br label %256

191:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 144, ptr %75) #7
  %192 = load ptr, ptr %42, align 8, !tbaa !5
  %193 = load i32, ptr %71, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds ptr, ptr %192, i64 %194
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %197 unwind label %233

197:                                              ; preds = %191
  %198 = load ptr, ptr %45, align 8, !tbaa !5
  %199 = load i32, ptr %71, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i32, ptr %198, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !9
  %203 = load ptr, ptr %46, align 8, !tbaa !5
  %204 = load i32, ptr %71, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds i64, ptr %203, i64 %205
  %207 = load i64, ptr %206, align 8, !tbaa !16
  %208 = load ptr, ptr %47, align 8, !tbaa !5
  %209 = load i32, ptr %71, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds ptr, ptr %208, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = load ptr, ptr %48, align 8, !tbaa !5
  %214 = load i32, ptr %71, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds i32, ptr %213, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !9
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %77, ptr noundef %212, i32 noundef %217)
          to label %218 unwind label %237

218:                                              ; preds = %197
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %75, ptr noundef %196, ptr noundef %76, i32 noundef %202, i64 noundef %207, ptr noundef %77, i32 noundef 0)
          to label %219 unwind label %241

219:                                              ; preds = %218
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %77) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %78) #7
  %220 = load ptr, ptr %40, align 8, !tbaa !5
  %221 = load i32, ptr %71, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds ptr, ptr %220, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %79) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef %224, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %225 unwind label %246

225:                                              ; preds = %219
  %226 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %227 unwind label %250

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %226, ptr noundef nonnull align 8 dereferenceable(140) %75)
          to label %229 unwind label %250

229:                                              ; preds = %227
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %75) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %75) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %71, align 4, !tbaa !9
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %71, align 4, !tbaa !9
  br label %148, !llvm.loop !18

233:                                              ; preds = %191
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %61, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %62, align 4
  br label %255

237:                                              ; preds = %197
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %61, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %62, align 4
  br label %245

241:                                              ; preds = %218
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %61, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %62, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %77) #7
  br label %245

245:                                              ; preds = %241, %237
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #7
  br label %255

246:                                              ; preds = %219
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %61, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %62, align 4
  br label %254

250:                                              ; preds = %227, %225
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %61, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %62, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #7
  br label %254

254:                                              ; preds = %250, %246
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %75) #7
  br label %255

255:                                              ; preds = %254, %245, %233
  call void @llvm.lifetime.end.p0(i64 144, ptr %75) #7
  br label %256

256:                                              ; preds = %255, %187, %170
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  br label %483

257:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 56, ptr %80) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #7
  store i32 0, ptr %81, align 4, !tbaa !9
  br label %258

258:                                              ; preds = %340, %257
  %259 = load i32, ptr %81, align 4, !tbaa !9
  %260 = load i32, ptr %50, align 4, !tbaa !9
  %261 = icmp slt i32 %259, %260
  br i1 %261, label %263, label %262

262:                                              ; preds = %258
  store i32 11, ptr %72, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #7
  br label %367

263:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 24, ptr %82) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  %264 = load ptr, ptr %53, align 8, !tbaa !5
  %265 = load i32, ptr %81, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %264, i64 %266
  %268 = load i32, ptr %267, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %269)
          to label %270 unwind label %280

270:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #7
  store i32 0, ptr %83, align 4, !tbaa !9
  br label %271

271:                                              ; preds = %294, %270
  %272 = load i32, ptr %83, align 4, !tbaa !9
  %273 = load ptr, ptr %53, align 8, !tbaa !5
  %274 = load i32, ptr %81, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds i32, ptr %273, i64 %275
  %277 = load i32, ptr %276, align 4, !tbaa !9
  %278 = icmp slt i32 %272, %277
  br i1 %278, label %284, label %279

279:                                              ; preds = %271
  store i32 14, ptr %72, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  br label %301

280:                                              ; preds = %263
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %61, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %62, align 4
  br label %366

284:                                              ; preds = %271
  %285 = load ptr, ptr %52, align 8, !tbaa !5
  %286 = load i32, ptr %81, align 4, !tbaa !9
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds ptr, ptr %285, i64 %287
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = load i32, ptr %83, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds i64, ptr %289, i64 %291
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(8) %292)
          to label %293 unwind label %297

293:                                              ; preds = %284
  br label %294

294:                                              ; preds = %293
  %295 = load i32, ptr %83, align 4, !tbaa !9
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %83, align 4, !tbaa !9
  br label %271, !llvm.loop !19

297:                                              ; preds = %284
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %61, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #7
  br label %366

301:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 144, ptr %84) #7
  %302 = load ptr, ptr %51, align 8, !tbaa !5
  %303 = load i32, ptr %81, align 4, !tbaa !9
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds ptr, ptr %302, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 8 dereferenceable(24) %82)
          to label %307 unwind label %343

307:                                              ; preds = %301
  %308 = load ptr, ptr %54, align 8, !tbaa !5
  %309 = load i32, ptr %81, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds i32, ptr %308, i64 %310
  %312 = load i32, ptr %311, align 4, !tbaa !9
  %313 = load ptr, ptr %55, align 8, !tbaa !5
  %314 = load i32, ptr %81, align 4, !tbaa !9
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds i64, ptr %313, i64 %315
  %317 = load i64, ptr %316, align 8, !tbaa !16
  %318 = load ptr, ptr %56, align 8, !tbaa !5
  %319 = load i32, ptr %81, align 4, !tbaa !9
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds ptr, ptr %318, i64 %320
  %322 = load ptr, ptr %321, align 8, !tbaa !5
  %323 = load ptr, ptr %57, align 8, !tbaa !5
  %324 = load i32, ptr %81, align 4, !tbaa !9
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds i32, ptr %323, i64 %325
  %327 = load i32, ptr %326, align 4, !tbaa !9
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %86, ptr noundef %322, i32 noundef %327)
          to label %328 unwind label %347

328:                                              ; preds = %307
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %84, ptr noundef %306, ptr noundef %85, i32 noundef %312, i64 noundef %317, ptr noundef %86, i32 noundef 0)
          to label %329 unwind label %351

329:                                              ; preds = %328
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %86) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #7
  %330 = load ptr, ptr %49, align 8, !tbaa !5
  %331 = load i32, ptr %81, align 4, !tbaa !9
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds ptr, ptr %330, i64 %332
  %334 = load ptr, ptr %333, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef %334, ptr noundef nonnull align 1 dereferenceable(1) %88)
          to label %335 unwind label %356

335:                                              ; preds = %329
  %336 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull align 8 dereferenceable(32) %87)
          to label %337 unwind label %360

337:                                              ; preds = %335
  %338 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %336, ptr noundef nonnull align 8 dereferenceable(140) %84)
          to label %339 unwind label %360

339:                                              ; preds = %337
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %84) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %84) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %82) #7
  br label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %81, align 4, !tbaa !9
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %81, align 4, !tbaa !9
  br label %258, !llvm.loop !20

343:                                              ; preds = %301
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %61, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %62, align 4
  br label %365

347:                                              ; preds = %307
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %61, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %62, align 4
  br label %355

351:                                              ; preds = %328
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %61, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %62, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %86) #7
  br label %355

355:                                              ; preds = %351, %347
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #7
  br label %365

356:                                              ; preds = %329
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %61, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %62, align 4
  br label %364

360:                                              ; preds = %337, %335
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %61, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %62, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #7
  br label %364

364:                                              ; preds = %360, %356
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %84) #7
  br label %365

365:                                              ; preds = %364, %355, %343
  call void @llvm.lifetime.end.p0(i64 144, ptr %84) #7
  br label %366

366:                                              ; preds = %365, %297, %280
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #7
  br label %482

367:                                              ; preds = %262
  %368 = load ptr, ptr %58, align 8, !tbaa !5
  invoke void @_ZN5mxnet3ext5Graph10_setParamsEPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_(ptr noundef nonnull align 8 dereferenceable(128) %368, ptr noundef %70, ptr noundef %80)
          to label %369 unwind label %379

369:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 56, ptr %89) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %89) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %90) #7
  %370 = load ptr, ptr %30, align 8, !tbaa !5
  %371 = load ptr, ptr %58, align 8, !tbaa !5
  %372 = load i32, ptr %32, align 4, !tbaa !9
  %373 = invoke noundef i32 %370(ptr noundef %371, i32 noundef %372, ptr noundef %63, ptr noundef nonnull align 8 dereferenceable(56) %64, ptr noundef %89)
          to label %374 unwind label %383

374:                                              ; preds = %369
  store i32 %373, ptr %90, align 4, !tbaa !21
  %375 = load i32, ptr %90, align 4, !tbaa !21
  %376 = icmp ne i32 %375, 0
  br i1 %376, label %387, label %377

377:                                              ; preds = %374
  %378 = load i32, ptr %90, align 4, !tbaa !21
  store i32 %378, ptr %29, align 4
  store i32 1, ptr %72, align 4
  br label %479

379:                                              ; preds = %367
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %61, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %62, align 4
  br label %482

383:                                              ; preds = %369
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %61, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %62, align 4
  br label %481

387:                                              ; preds = %374
  %388 = load i8, ptr %63, align 1, !tbaa !11, !range !23, !noundef !24
  %389 = trunc i8 %388 to i1
  %390 = zext i1 %389 to i32
  %391 = load ptr, ptr %33, align 8, !tbaa !5
  store i32 %390, ptr %391, align 4, !tbaa !9
  %392 = call noundef i64 @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %89) #7
  %393 = icmp ugt i64 %392, 0
  br i1 %393, label %394, label %477

394:                                              ; preds = %387
  %395 = call noundef i64 @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %89) #7
  %396 = trunc i64 %395 to i32
  %397 = load ptr, ptr %39, align 8, !tbaa !5
  store i32 %396, ptr %397, align 4, !tbaa !9
  %398 = load ptr, ptr %39, align 8, !tbaa !5
  %399 = load i32, ptr %398, align 4, !tbaa !9
  %400 = sext i32 %399 to i64
  %401 = mul i64 %400, 8
  %402 = call noalias ptr @malloc(i64 noundef %401) #8
  %403 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %402, ptr %403, align 8, !tbaa !5
  %404 = load ptr, ptr %39, align 8, !tbaa !5
  %405 = load i32, ptr %404, align 4, !tbaa !9
  %406 = sext i32 %405 to i64
  %407 = mul i64 %406, 8
  %408 = call noalias ptr @malloc(i64 noundef %407) #8
  %409 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %408, ptr %409, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %91) #7
  store i32 0, ptr %91, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #7
  store ptr %89, ptr %92, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #7
  %410 = load ptr, ptr %92, align 8, !tbaa !5
  %411 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %410) #7
  %412 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %93, i32 0, i32 0
  %413 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %412, i32 0, i32 0
  store ptr %411, ptr %413, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #7
  %414 = load ptr, ptr %92, align 8, !tbaa !5
  %415 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %414) #7
  %416 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %94, i32 0, i32 0
  %417 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %416, i32 0, i32 0
  store ptr %415, ptr %417, align 8
  br label %418

418:                                              ; preds = %470, %394
  %419 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %94) #7
  br i1 %419, label %421, label %420

420:                                              ; preds = %418
  store i32 17, ptr %72, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #7
  br label %476

421:                                              ; preds = %418
  call void @llvm.lifetime.start.p0(i64 64, ptr %95) #7
  %422 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #7
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %95, ptr noundef nonnull align 8 dereferenceable(64) %422)
          to label %423 unwind label %472

423:                                              ; preds = %421
  %424 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 0
  %425 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %424) #7
  %426 = add i64 %425, 1
  %427 = mul i64 %426, 1
  %428 = call noalias ptr @malloc(i64 noundef %427) #8
  %429 = load ptr, ptr %37, align 8, !tbaa !5
  %430 = load ptr, ptr %429, align 8, !tbaa !5
  %431 = load i32, ptr %91, align 4, !tbaa !9
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds ptr, ptr %430, i64 %432
  store ptr %428, ptr %433, align 8, !tbaa !5
  %434 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 1
  %435 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %434) #7
  %436 = add i64 %435, 1
  %437 = mul i64 %436, 1
  %438 = call noalias ptr @malloc(i64 noundef %437) #8
  %439 = load ptr, ptr %38, align 8, !tbaa !5
  %440 = load ptr, ptr %439, align 8, !tbaa !5
  %441 = load i32, ptr %91, align 4, !tbaa !9
  %442 = sext i32 %441 to i64
  %443 = getelementptr inbounds ptr, ptr %440, i64 %442
  store ptr %438, ptr %443, align 8, !tbaa !5
  %444 = load ptr, ptr %37, align 8, !tbaa !5
  %445 = load ptr, ptr %444, align 8, !tbaa !5
  %446 = load i32, ptr %91, align 4, !tbaa !9
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds ptr, ptr %445, i64 %447
  %449 = load ptr, ptr %448, align 8, !tbaa !5
  %450 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 0
  %451 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %450) #7
  %452 = add i64 %451, 1
  %453 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 0
  %454 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %453) #7
  %455 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %449, i64 noundef %452, ptr noundef @.str.61, ptr noundef %454) #7
  %456 = load ptr, ptr %38, align 8, !tbaa !5
  %457 = load ptr, ptr %456, align 8, !tbaa !5
  %458 = load i32, ptr %91, align 4, !tbaa !9
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds ptr, ptr %457, i64 %459
  %461 = load ptr, ptr %460, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 1
  %463 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %462) #7
  %464 = add i64 %463, 1
  %465 = getelementptr inbounds %"struct.std::pair.77", ptr %95, i32 0, i32 1
  %466 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %465) #7
  %467 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %461, i64 noundef %464, ptr noundef @.str.61, ptr noundef %466) #7
  %468 = load i32, ptr %91, align 4, !tbaa !9
  %469 = add nsw i32 %468, 1
  store i32 %469, ptr %91, align 4, !tbaa !9
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %95) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %95) #7
  br label %470

470:                                              ; preds = %423
  %471 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #7
  br label %418

472:                                              ; preds = %421
  %473 = landingpad { ptr, i32 }
          cleanup
  %474 = extractvalue { ptr, i32 } %473, 0
  store ptr %474, ptr %61, align 8
  %475 = extractvalue { ptr, i32 } %473, 1
  store i32 %475, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %95) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #7
  br label %481

476:                                              ; preds = %420
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #7
  br label %477

477:                                              ; preds = %476, %387
  %478 = load i32, ptr %90, align 4, !tbaa !21
  store i32 %478, ptr %29, align 4
  store i32 1, ptr %72, align 4
  br label %479

479:                                              ; preds = %477, %377
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %89) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %89) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %80) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %70) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %70) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  %480 = load i32, ptr %29, align 4
  ret i32 %480

481:                                              ; preds = %472, %383
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %89) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %89) #7
  br label %482

482:                                              ; preds = %481, %379, %366
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %80) #7
  br label %483

483:                                              ; preds = %482, %256
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %70) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %70) #7
  br label %484

484:                                              ; preds = %483, %146
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #7
  br label %485

485:                                              ; preds = %484, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  br label %486

486:                                              ; preds = %485
  %487 = load ptr, ptr %61, align 8
  %488 = load i32, ptr %62, align 4
  %489 = insertvalue { ptr, i32 } poison, ptr %487, 0
  %490 = insertvalue { ptr, i32 } %489, i32 %488, 1
  resume { ptr, i32 } %490
}

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

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

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

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

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

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

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

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

declare void @_ZN5mxnet3ext9MXContextC1EPKci(ptr, ptr, i32)

declare void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr, ptr, ptr, i32, i64, ptr, i32)

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 = { 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 #5 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTSN5mxnet3ext13MXReturnValueE", !7, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}


; 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::__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.std::allocator.0" = type { i8 }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.mxnet::ext::MXTensor" = type <{ ptr, %"class.std::vector.3", i32, [4 x i8], i64, %"struct.mxnet::ext::MXContext", %struct.DLTensor, i32, [4 x i8] }>
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%struct.DLTensor = type { ptr, %struct.DLContext, i32, %struct.DLDataType, ptr, ptr, i64 }
%struct.DLContext = type { i32, i32 }
%struct.DLDataType = type { i8, i8, i16 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.77" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@.str.61 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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

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

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

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

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

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

; 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 nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(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(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(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 @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_partCallReviewSubgraph(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, i32 noundef %6, ptr nocapture noundef %7, ptr nocapture noundef %8, ptr nocapture noundef writeonly %9, ptr nocapture noundef readonly %10, i32 noundef %11, ptr nocapture noundef readonly %12, ptr nocapture noundef readonly %13, ptr nocapture noundef readonly %14, ptr nocapture noundef readonly %15, ptr nocapture noundef readonly %16, ptr nocapture noundef readonly %17, ptr nocapture noundef readonly %18, ptr nocapture noundef readonly %19, i32 noundef %20, ptr nocapture noundef readonly %21, ptr nocapture noundef readonly %22, ptr nocapture noundef readonly %23, ptr nocapture noundef readonly %24, ptr nocapture noundef readonly %25, ptr nocapture noundef readonly %26, ptr nocapture noundef readonly %27) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.0", align 1
  %31 = alloca i8, align 1
  %32 = alloca %"class.std::unordered_map.33", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.0", align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.0", align 1
  %37 = alloca %"class.std::unordered_map", align 8
  %38 = alloca %"class.std::vector.3", align 8
  %39 = alloca %"struct.mxnet::ext::MXTensor", align 8
  %40 = alloca %"class.std::vector.3", align 8
  %41 = alloca %"struct.mxnet::ext::MXContext", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.0", align 1
  %44 = alloca %"class.std::unordered_map", align 8
  %45 = alloca %"class.std::vector.3", align 8
  %46 = alloca %"struct.mxnet::ext::MXTensor", align 8
  %47 = alloca %"class.std::vector.3", align 8
  %48 = alloca %"struct.mxnet::ext::MXContext", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.0", align 1
  %51 = alloca %"class.std::unordered_map.33", align 8
  %52 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %53 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %54 = alloca %"struct.std::pair.77", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %1, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %55 unwind label %60

55:                                               ; preds = %28
  %56 = invoke noundef ptr @_ZN5mxnet3ext5Graph10fromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %57 unwind label %62

57:                                               ; preds = %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #7
  store i8 0, ptr %31, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %32) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  %58 = icmp sgt i32 %6, 0
  br i1 %58, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %57
  %wide.trip.count = zext nneg i32 %6 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %72, %57
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %37) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  %59 = icmp sgt i32 %11, 0
  br i1 %59, label %.lr.ph138.preheader, label %._crit_edge139

.lr.ph138.preheader:                              ; preds = %._crit_edge
  %wide.trip.count158 = zext nneg i32 %11 to i64
  br label %.lr.ph138

60:                                               ; preds = %28
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %55
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  br label %64

64:                                               ; preds = %62, %60
  %.pn = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #7
  br label %242

.lr.ph:                                           ; preds = %.lr.ph.preheader, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %72 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #7
  %65 = getelementptr inbounds ptr, ptr %5, i64 %indvars.iv
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %66, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %67 unwind label %74

67:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #7
  %68 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %70 unwind label %76

70:                                               ; preds = %67
  %71 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %32, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %72 unwind label %78

72:                                               ; preds = %70
  %73 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

74:                                               ; preds = %.lr.ph
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %81

76:                                               ; preds = %67
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %70
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %80

80:                                               ; preds = %78, %76
  %.pn126 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %81

81:                                               ; preds = %80, %74
  %.pn126.pn = phi { ptr, i32 } [ %.pn126, %80 ], [ %75, %74 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  br label %241

._crit_edge139:                                   ; preds = %119, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %44) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #7
  %82 = icmp sgt i32 %20, 0
  br i1 %82, label %.lr.ph145.preheader, label %._crit_edge146

.lr.ph145.preheader:                              ; preds = %._crit_edge139
  %wide.trip.count166 = zext nneg i32 %20 to i64
  br label %.lr.ph145

.lr.ph138:                                        ; preds = %.lr.ph138.preheader, %119
  %indvars.iv155 = phi i64 [ 0, %.lr.ph138.preheader ], [ %indvars.iv.next156, %119 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %83 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv155
  %84 = load i32, ptr %83, align 4, !tbaa !13
  %85 = sext i32 %84 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %85)
          to label %.preheader131 unwind label %91

.preheader131:                                    ; preds = %.lr.ph138
  %86 = load i32, ptr %83, align 4, !tbaa !13
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.lr.ph134, label %._crit_edge135

.lr.ph134:                                        ; preds = %.preheader131
  %88 = getelementptr inbounds ptr, ptr %13, i64 %indvars.iv155
  br label %93

._crit_edge135:                                   ; preds = %96, %.preheader131
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %39) #7
  %89 = getelementptr inbounds ptr, ptr %12, i64 %indvars.iv155
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %102 unwind label %120

91:                                               ; preds = %.lr.ph138
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %133

93:                                               ; preds = %.lr.ph134, %96
  %indvars.iv152 = phi i64 [ 0, %.lr.ph134 ], [ %indvars.iv.next153, %96 ]
  %94 = load ptr, ptr %88, align 8, !tbaa !9
  %95 = getelementptr inbounds i64, ptr %94, i64 %indvars.iv152
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %96 unwind label %100

96:                                               ; preds = %93
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %97 = load i32, ptr %83, align 4, !tbaa !13
  %98 = sext i32 %97 to i64
  %99 = icmp slt i64 %indvars.iv.next153, %98
  br i1 %99, label %93, label %._crit_edge135, !llvm.loop !15

100:                                              ; preds = %93
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %133

102:                                              ; preds = %._crit_edge135
  %103 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv155
  %104 = load i32, ptr %103, align 4, !tbaa !13
  %105 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv155
  %106 = load i64, ptr %105, align 8, !tbaa !16
  %107 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv155
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds i32, ptr %18, i64 %indvars.iv155
  %110 = load i32, ptr %109, align 4, !tbaa !13
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %41, ptr noundef %108, i32 noundef %110)
          to label %111 unwind label %122

111:                                              ; preds = %102
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %39, ptr noundef %90, ptr noundef nonnull %40, i32 noundef %104, i64 noundef %106, ptr noundef nonnull %41, i32 noundef 0)
          to label %112 unwind label %124

112:                                              ; preds = %111
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #7
  %113 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv155
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %115 unwind label %127

115:                                              ; preds = %112
  %116 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %117 unwind label %129

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %116, ptr noundef nonnull align 8 dereferenceable(140) %39)
          to label %119 unwind label %129

119:                                              ; preds = %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %39) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %39) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #7
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %exitcond159.not = icmp eq i64 %indvars.iv.next156, %wide.trip.count158
  br i1 %exitcond159.not, label %._crit_edge139, label %.lr.ph138, !llvm.loop !18

120:                                              ; preds = %._crit_edge135
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %132

122:                                              ; preds = %102
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %126

124:                                              ; preds = %111
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #7
  br label %126

126:                                              ; preds = %124, %122
  %.pn118 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #7
  br label %132

127:                                              ; preds = %112
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %117, %115
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  br label %131

131:                                              ; preds = %129, %127
  %.pn120 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %39) #7
  br label %132

132:                                              ; preds = %131, %126, %120
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %131 ], [ %.pn118, %126 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %39) #7
  br label %133

133:                                              ; preds = %132, %100, %91
  %.pn123 = phi { ptr, i32 } [ %101, %100 ], [ %.pn120.pn, %132 ], [ %92, %91 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #7
  br label %240

._crit_edge146:                                   ; preds = %170, %._crit_edge139
  invoke void @_ZN5mxnet3ext5Graph10_setParamsEPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_(ptr noundef nonnull align 8 dereferenceable(128) %56, ptr noundef nonnull %37, ptr noundef nonnull %44)
          to label %185 unwind label %188

.lr.ph145:                                        ; preds = %.lr.ph145.preheader, %170
  %indvars.iv163 = phi i64 [ 0, %.lr.ph145.preheader ], [ %indvars.iv.next164, %170 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  %134 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv163
  %135 = load i32, ptr %134, align 4, !tbaa !13
  %136 = sext i32 %135 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %136)
          to label %.preheader unwind label %142

.preheader:                                       ; preds = %.lr.ph145
  %137 = load i32, ptr %134, align 4, !tbaa !13
  %138 = icmp sgt i32 %137, 0
  br i1 %138, label %.lr.ph141, label %._crit_edge142

.lr.ph141:                                        ; preds = %.preheader
  %139 = getelementptr inbounds ptr, ptr %22, i64 %indvars.iv163
  br label %144

._crit_edge142:                                   ; preds = %147, %.preheader
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %46) #7
  %140 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv163
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %153 unwind label %171

142:                                              ; preds = %.lr.ph145
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %184

144:                                              ; preds = %.lr.ph141, %147
  %indvars.iv160 = phi i64 [ 0, %.lr.ph141 ], [ %indvars.iv.next161, %147 ]
  %145 = load ptr, ptr %139, align 8, !tbaa !9
  %146 = getelementptr inbounds i64, ptr %145, i64 %indvars.iv160
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(8) %146)
          to label %147 unwind label %151

147:                                              ; preds = %144
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %148 = load i32, ptr %134, align 4, !tbaa !13
  %149 = sext i32 %148 to i64
  %150 = icmp slt i64 %indvars.iv.next161, %149
  br i1 %150, label %144, label %._crit_edge142, !llvm.loop !19

151:                                              ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %184

153:                                              ; preds = %._crit_edge142
  %154 = getelementptr inbounds i32, ptr %24, i64 %indvars.iv163
  %155 = load i32, ptr %154, align 4, !tbaa !13
  %156 = getelementptr inbounds i64, ptr %25, i64 %indvars.iv163
  %157 = load i64, ptr %156, align 8, !tbaa !16
  %158 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv163
  %159 = load ptr, ptr %158, align 8, !tbaa !9
  %160 = getelementptr inbounds i32, ptr %27, i64 %indvars.iv163
  %161 = load i32, ptr %160, align 4, !tbaa !13
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef %159, i32 noundef %161)
          to label %162 unwind label %173

162:                                              ; preds = %153
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %46, ptr noundef %141, ptr noundef nonnull %47, i32 noundef %155, i64 noundef %157, ptr noundef nonnull %48, i32 noundef 0)
          to label %163 unwind label %175

163:                                              ; preds = %162
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %48) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %49) #7
  %164 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv163
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef %165, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %166 unwind label %178

166:                                              ; preds = %163
  %167 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(32) %49)
          to label %168 unwind label %180

168:                                              ; preds = %166
  %169 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %167, ptr noundef nonnull align 8 dereferenceable(140) %46)
          to label %170 unwind label %180

170:                                              ; preds = %168
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %46) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %46) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #7
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %wide.trip.count166
  br i1 %exitcond167.not, label %._crit_edge146, label %.lr.ph145, !llvm.loop !20

171:                                              ; preds = %._crit_edge142
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %183

173:                                              ; preds = %153
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %162
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %48) #7
  br label %177

177:                                              ; preds = %175, %173
  %.pn110 = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  br label %183

178:                                              ; preds = %163
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %168, %166
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #7
  br label %182

182:                                              ; preds = %180, %178
  %.pn112 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %46) #7
  br label %183

183:                                              ; preds = %182, %177, %171
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %182 ], [ %.pn110, %177 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %46) #7
  br label %184

184:                                              ; preds = %183, %151, %142
  %.pn115 = phi { ptr, i32 } [ %152, %151 ], [ %.pn112.pn, %183 ], [ %143, %142 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #7
  br label %239

185:                                              ; preds = %._crit_edge146
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %51) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  %186 = invoke noundef i32 %0(ptr noundef nonnull %56, i32 noundef %2, ptr noundef nonnull %31, ptr noundef nonnull align 8 dereferenceable(56) %32, ptr noundef nonnull %51)
          to label %187 unwind label %190

187:                                              ; preds = %185
  %.not = icmp eq i32 %186, 0
  br i1 %.not, label %237, label %192

188:                                              ; preds = %._crit_edge146
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %239

190:                                              ; preds = %185
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %238

192:                                              ; preds = %187
  %193 = load i8, ptr %31, align 1, !tbaa !5, !range !21, !noundef !22
  %194 = zext nneg i8 %193 to i32
  store i32 %194, ptr %3, align 4, !tbaa !13
  %195 = call noundef i64 @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  %.not106 = icmp eq i64 %195, 0
  br i1 %.not106, label %237, label %196

196:                                              ; preds = %192
  %197 = call noundef i64 @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  %198 = trunc i64 %197 to i32
  store i32 %198, ptr %9, align 4, !tbaa !13
  %sext = shl i64 %197, 32
  %199 = ashr exact i64 %sext, 29
  %200 = call noalias ptr @malloc(i64 noundef %199) #8
  store ptr %200, ptr %7, align 8, !tbaa !9
  %201 = call noalias ptr @malloc(i64 noundef %199) #8
  store ptr %201, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #7
  %202 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  store ptr %202, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #7
  %203 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  store ptr %203, ptr %53, align 8
  %204 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  br i1 %204, label %.lr.ph149, label %._crit_edge150

.lr.ph149:                                        ; preds = %196
  %205 = getelementptr inbounds i8, ptr %54, i64 32
  br label %206

._crit_edge150:                                   ; preds = %208, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #7
  br label %237

206:                                              ; preds = %.lr.ph149, %208
  %indvars.iv168 = phi i64 [ 0, %.lr.ph149 ], [ %indvars.iv.next169, %208 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %54) #7
  %207 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %54, ptr noundef nonnull align 8 dereferenceable(64) %207)
          to label %208 unwind label %235

208:                                              ; preds = %206
  %209 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  %210 = add i64 %209, 1
  %211 = call noalias ptr @malloc(i64 noundef %210) #8
  %212 = load ptr, ptr %7, align 8, !tbaa !9
  %213 = getelementptr inbounds ptr, ptr %212, i64 %indvars.iv168
  store ptr %211, ptr %213, align 8, !tbaa !9
  %214 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %205) #7
  %215 = add i64 %214, 1
  %216 = call noalias ptr @malloc(i64 noundef %215) #8
  %217 = load ptr, ptr %8, align 8, !tbaa !9
  %218 = getelementptr inbounds ptr, ptr %217, i64 %indvars.iv168
  store ptr %216, ptr %218, align 8, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !9
  %220 = getelementptr inbounds ptr, ptr %219, i64 %indvars.iv168
  %221 = load ptr, ptr %220, align 8, !tbaa !9
  %222 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  %223 = add i64 %222, 1
  %224 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  %225 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %221, i64 noundef %223, ptr noundef nonnull @.str.61, ptr noundef %224) #7
  %226 = load ptr, ptr %8, align 8, !tbaa !9
  %227 = getelementptr inbounds ptr, ptr %226, i64 %indvars.iv168
  %228 = load ptr, ptr %227, align 8, !tbaa !9
  %229 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %205) #7
  %230 = add i64 %229, 1
  %231 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %205) #7
  %232 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %228, i64 noundef %230, ptr noundef nonnull @.str.61, ptr noundef %231) #7
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %54) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %54) #7
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  %234 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  br i1 %234, label %206, label %._crit_edge150

235:                                              ; preds = %206
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #7
  br label %238

237:                                              ; preds = %192, %._crit_edge150, %187
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %44) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %37) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #7
  ret i32 %186

238:                                              ; preds = %235, %190
  %.pn108 = phi { ptr, i32 } [ %236, %235 ], [ %191, %190 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #7
  br label %239

239:                                              ; preds = %238, %188, %184
  %.pn115.pn = phi { ptr, i32 } [ %.pn115, %184 ], [ %.pn108, %238 ], [ %189, %188 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %44) #7
  br label %240

240:                                              ; preds = %239, %133
  %.pn123.pn = phi { ptr, i32 } [ %.pn123, %133 ], [ %.pn115.pn, %239 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %37) #7
  br label %241

241:                                              ; preds = %240, %81
  %.pn126.pn.pn = phi { ptr, i32 } [ %.pn126.pn, %81 ], [ %.pn123.pn, %240 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #7
  br label %242

242:                                              ; preds = %241, %64
  %.pn126.pn.pn.pn = phi { ptr, i32 } [ %.pn126.pn.pn, %241 ], [ %.pn, %64 ]
  resume { ptr, i32 } %.pn126.pn.pn.pn
}

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

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

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

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

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

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

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

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

declare void @_ZN5mxnet3ext9MXContextC1EPKci(ptr, ptr, i32) local_unnamed_addr

declare void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr, ptr, ptr, i32, i64, ptr, i32) local_unnamed_addr

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 = { 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 #5 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = !{i8 0, i8 2}
!22 = !{}


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