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

; 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"

%"struct.mxnet::ext::JsonVal" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::vector.14", %"class.std::map" }
%"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::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<mxnet::ext::JsonVal, std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>>, std::less<mxnet::ext::JsonVal>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<mxnet::ext::JsonVal, std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>>, std::less<mxnet::ext::JsonVal>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator.66" = type { ptr }
%"class.std::map.69" = type { %"class.std::_Rb_tree.70" }
%"class.std::_Rb_tree.70" = type { %"struct.std::_Rb_tree<mxnet::ext::Node *, std::pair<mxnet::ext::Node *const, int>, std::_Select1st<std::pair<mxnet::ext::Node *const, int>>, std::less<mxnet::ext::Node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<mxnet::ext::Node *, std::pair<mxnet::ext::Node *const, int>, std::_Select1st<std::pair<mxnet::ext::Node *const, int>>, std::less<mxnet::ext::Node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.75" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.76" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.mxnet::ext::Graph" = type { %"class.std::vector.47", %"class.std::vector.23", %"class.std::map.52", %"class.std::vector.47", ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<mxnet::ext::NodeEntry, std::allocator<mxnet::ext::NodeEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::NodeEntry, std::allocator<mxnet::ext::NodeEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::NodeEntry, std::allocator<mxnet::ext::NodeEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::NodeEntry, std::allocator<mxnet::ext::NodeEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.52" = type { %"class.std::_Rb_tree.53" }
%"class.std::_Rb_tree.53" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, mxnet::ext::JsonVal>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, mxnet::ext::JsonVal>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.67" = type { %"class.std::__cxx11::basic_string", %"struct.mxnet::ext::JsonVal" }
%"struct.mxnet::ext::NodeEntry" = type { ptr, i32 }
%"class.mxnet::ext::Node" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", ptr, %"class.std::vector.23", %"class.std::vector.23", %"class.std::vector.28", %"class.std::unordered_map.33", ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<mxnet::ext::Graph *, std::allocator<mxnet::ext::Graph *>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::Graph *, std::allocator<mxnet::ext::Graph *>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::Graph *, std::allocator<mxnet::ext::Graph *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::Graph *, std::allocator<mxnet::ext::Graph *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }
%"struct.std::pair.77" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@.str.34 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [10 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK5mxnet3ext5Graph6toJsonEv(ptr dead_on_unwind noalias writable sret(%"struct.mxnet::ext::JsonVal") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.std::_Rb_tree_const_iterator.66", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator.66", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::map.69", align 8
  %15 = alloca %"class.std::vector.47", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %18 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.0", align 1
  %25 = alloca i32, align 4
  %26 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %27 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.0", align 1
  %34 = alloca ptr, align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.75", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.75", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %39 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca ptr, align 8
  %43 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.0", align 1
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %51 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::allocator.0", align 1
  %54 = alloca ptr, align 8
  %55 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator.0", align 1
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca ptr, align 8
  %62 = alloca ptr, align 8
  %63 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator.0", align 1
  %68 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator.0", align 1
  %73 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %74 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.0", align 1
  %77 = alloca ptr, align 8
  %78 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator.0", align 1
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca ptr, align 8
  %84 = alloca ptr, align 8
  %85 = alloca i32, align 4
  %86 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %87 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %88 = alloca %"class.std::__cxx11::basic_string", align 8
  %89 = alloca %"class.std::allocator.0", align 1
  %90 = alloca ptr, align 8
  %91 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %92 = alloca %"class.std::__cxx11::basic_string", align 8
  %93 = alloca %"class.std::allocator.0", align 1
  %94 = alloca ptr, align 8
  %95 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %96 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %97 = alloca ptr, align 8
  %98 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %99 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %100 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %101 = alloca %"class.std::__cxx11::basic_string", align 8
  %102 = alloca %"class.std::allocator.0", align 1
  %103 = alloca ptr, align 8
  %104 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %105 = alloca %"class.std::__cxx11::basic_string", align 8
  %106 = alloca %"class.std::allocator.0", align 1
  %107 = alloca ptr, align 8
  %108 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %109 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %110 = alloca ptr, align 8
  %111 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %112 = alloca %"class.std::__cxx11::basic_string", align 8
  %113 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %114 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %115 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %116 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 2
  store ptr %116, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValESt4lessIS5_ESaISt4pairIKS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %117) #5
  %119 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.66", ptr %7, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValESt4lessIS5_ESaISt4pairIKS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %120) #5
  %122 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.66", ptr %8, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  br label %123

123:                                              ; preds = %139, %2
  %124 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %124, label %126, label %125

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %155

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %127 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  store ptr %127, ptr %9, align 8, !tbaa !5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.std::pair.67", ptr %128, i32 0, i32 1
  %130 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %10) #5
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.std::pair.67", ptr %131, i32 0, i32 0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %132)
          to label %133 unwind label %141

133:                                              ; preds = %126
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %10, ptr noundef %11)
          to label %134 unwind label %145

134:                                              ; preds = %133
  %135 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %130, ptr noundef nonnull align 8 dereferenceable(112) %10)
          to label %136 unwind label %149

136:                                              ; preds = %134
  %137 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSERKS1_(ptr noundef nonnull align 8 dereferenceable(112) %135, ptr noundef nonnull align 8 dereferenceable(112) %129)
          to label %138 unwind label %149

138:                                              ; preds = %136
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %139

139:                                              ; preds = %138
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br label %123

141:                                              ; preds = %126
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  br label %154

145:                                              ; preds = %133
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  br label %153

149:                                              ; preds = %136, %134
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %12, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #5
  br label %153

153:                                              ; preds = %149, %145
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %154

154:                                              ; preds = %153, %141
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %880

155:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  invoke void @_ZNK5mxnet3ext5Graph16topological_sortEv(ptr dead_on_unwind writable sret(%"class.std::vector.47") align 8 %15, ptr noundef nonnull align 8 dereferenceable(128) %115)
          to label %156 unwind label %164

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %157 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %158 = sub i64 %157, 1
  %159 = trunc i64 %158 to i32
  store i32 %159, ptr %16, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %180, %156
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = icmp sge i32 %161, 0
  br i1 %162, label %168, label %163

163:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %187

164:                                              ; preds = %155
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %12, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %13, align 4
  br label %877

168:                                              ; preds = %160
  %169 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %170 = sub i64 %169, 1
  %171 = load i32, ptr %16, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = sub i64 %170, %172
  %174 = trunc i64 %173 to i32
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %176) #5
  %178 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(8) %177)
          to label %179 unwind label %183

179:                                              ; preds = %168
  store i32 %174, ptr %178, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = add nsw i32 %181, -1
  store i32 %182, ptr %16, align 4, !tbaa !9
  br label %160, !llvm.loop !11

183:                                              ; preds = %168
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %12, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %876

187:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 112, ptr %17) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %17, i32 noundef 3)
          to label %188 unwind label %207

188:                                              ; preds = %187
  %189 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %190 unwind label %211

190:                                              ; preds = %188
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %18, ptr noundef %19)
          to label %191 unwind label %215

191:                                              ; preds = %190
  %192 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %189, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %193 unwind label %219

193:                                              ; preds = %191
  %194 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %192, ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %18) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %195 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %196 unwind label %226

196:                                              ; preds = %193
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef %23)
          to label %197 unwind label %230

197:                                              ; preds = %196
  %198 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %195, ptr noundef nonnull align 8 dereferenceable(112) %22)
          to label %199 unwind label %234

199:                                              ; preds = %197
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #5
  store ptr %198, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %245, %199
  %201 = load i32, ptr %25, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 3
  %204 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %203) #5
  %205 = icmp ult i64 %202, %204
  br i1 %205, label %240, label %206

206:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %252

207:                                              ; preds = %187
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %12, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %13, align 4
  br label %225

211:                                              ; preds = %188
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %12, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %13, align 4
  br label %224

215:                                              ; preds = %190
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %12, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %13, align 4
  br label %223

219:                                              ; preds = %191
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %12, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #5
  br label %223

223:                                              ; preds = %219, %215
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %224

224:                                              ; preds = %223, %211
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %18) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  br label %225

225:                                              ; preds = %224, %207
  call void @llvm.lifetime.end.p0(i64 112, ptr %17) #5
  br label %876

226:                                              ; preds = %193
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %12, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %13, align 4
  br label %239

230:                                              ; preds = %196
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %12, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %13, align 4
  br label %238

234:                                              ; preds = %197
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %12, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #5
  br label %238

238:                                              ; preds = %234, %230
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %239

239:                                              ; preds = %238, %226
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #5
  br label %875

240:                                              ; preds = %200
  %241 = load ptr, ptr %21, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %241, i32 0, i32 3
  %243 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %242, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %244 unwind label %248

244:                                              ; preds = %240
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %25, align 4, !tbaa !9
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %25, align 4, !tbaa !9
  br label %200, !llvm.loop !13

248:                                              ; preds = %240
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %12, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %875

252:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 112, ptr %26) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %26, i32 noundef 3)
          to label %253 unwind label %275

253:                                              ; preds = %252
  %254 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %255 unwind label %279

255:                                              ; preds = %253
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %27, ptr noundef %28)
          to label %256 unwind label %283

256:                                              ; preds = %255
  %257 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %254, ptr noundef nonnull align 8 dereferenceable(112) %27)
          to label %258 unwind label %287

258:                                              ; preds = %256
  %259 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %257, ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %27) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %260 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %261 unwind label %294

261:                                              ; preds = %258
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %31, ptr noundef %32)
          to label %262 unwind label %298

262:                                              ; preds = %261
  %263 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %260, ptr noundef nonnull align 8 dereferenceable(112) %31)
          to label %264 unwind label %302

264:                                              ; preds = %262
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %31) #5
  store ptr %263, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %265 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 0
  store ptr %265, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %266 = load ptr, ptr %34, align 8, !tbaa !5
  %267 = call ptr @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %266) #5
  %268 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.75", ptr %35, i32 0, i32 0
  store ptr %267, ptr %268, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %269 = load ptr, ptr %34, align 8, !tbaa !5
  %270 = call ptr @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %269) #5
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.75", ptr %36, i32 0, i32 0
  store ptr %270, ptr %271, align 8
  br label %272

272:                                              ; preds = %317, %264
  %273 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  br i1 %273, label %308, label %274

274:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %323

275:                                              ; preds = %252
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %12, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %13, align 4
  br label %293

279:                                              ; preds = %253
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %12, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %13, align 4
  br label %292

283:                                              ; preds = %255
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %12, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %13, align 4
  br label %291

287:                                              ; preds = %256
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %12, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #5
  br label %291

291:                                              ; preds = %287, %283
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %292

292:                                              ; preds = %291, %279
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %27) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  br label %293

293:                                              ; preds = %292, %275
  call void @llvm.lifetime.end.p0(i64 112, ptr %26) #5
  br label %875

294:                                              ; preds = %258
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %12, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %13, align 4
  br label %307

298:                                              ; preds = %261
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %12, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %13, align 4
  br label %306

302:                                              ; preds = %262
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %12, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #5
  br label %306

306:                                              ; preds = %302, %298
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %307

307:                                              ; preds = %306, %294
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %31) #5
  br label %874

308:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %309 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  store ptr %309, ptr %37, align 8, !tbaa !5
  %310 = load ptr, ptr %30, align 8, !tbaa !5
  %311 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %310, i32 0, i32 3
  %312 = load ptr, ptr %37, align 8, !tbaa !5
  %313 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(8) %312)
          to label %314 unwind label %319

314:                                              ; preds = %308
  %315 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %311, ptr noundef nonnull align 4 dereferenceable(4) %313)
          to label %316 unwind label %319

316:                                              ; preds = %314
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %317

317:                                              ; preds = %316
  %318 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  br label %272

319:                                              ; preds = %314, %308
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %12, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %874

323:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 112, ptr %38) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %38, i32 noundef 3)
          to label %324 unwind label %343

324:                                              ; preds = %323
  %325 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.41, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %326 unwind label %347

326:                                              ; preds = %324
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %39, ptr noundef %40)
          to label %327 unwind label %351

327:                                              ; preds = %326
  %328 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %325, ptr noundef nonnull align 8 dereferenceable(112) %39)
          to label %329 unwind label %355

329:                                              ; preds = %327
  %330 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %328, ptr noundef nonnull align 8 dereferenceable(112) %38) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %39) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %38) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %331 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.41, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %332 unwind label %362

332:                                              ; preds = %329
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %43, ptr noundef %44)
          to label %333 unwind label %366

333:                                              ; preds = %332
  %334 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %331, ptr noundef nonnull align 8 dereferenceable(112) %43)
          to label %335 unwind label %370

335:                                              ; preds = %333
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %43) #5
  store ptr %334, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store i32 0, ptr %46, align 4, !tbaa !9
  br label %336

336:                                              ; preds = %410, %335
  %337 = load i32, ptr %46, align 4, !tbaa !9
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 1
  %340 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %339) #5
  %341 = icmp ult i64 %338, %340
  br i1 %341, label %376, label %342

342:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  br label %427

343:                                              ; preds = %323
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %12, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %13, align 4
  br label %361

347:                                              ; preds = %324
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %12, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %13, align 4
  br label %360

351:                                              ; preds = %326
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %12, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %13, align 4
  br label %359

355:                                              ; preds = %327
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %12, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #5
  br label %359

359:                                              ; preds = %355, %351
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  br label %360

360:                                              ; preds = %359, %347
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %39) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %38) #5
  br label %361

361:                                              ; preds = %360, %343
  call void @llvm.lifetime.end.p0(i64 112, ptr %38) #5
  br label %874

362:                                              ; preds = %329
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %12, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %13, align 4
  br label %375

366:                                              ; preds = %332
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %12, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %13, align 4
  br label %374

370:                                              ; preds = %333
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %12, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #5
  br label %374

374:                                              ; preds = %370, %366
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  br label %375

375:                                              ; preds = %374, %362
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %43) #5
  br label %873

376:                                              ; preds = %336
  %377 = load ptr, ptr %42, align 8, !tbaa !5
  %378 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %377, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  store i32 3, ptr %47, align 4, !tbaa !14
  %379 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %378, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %380 unwind label %413

380:                                              ; preds = %376
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %381 = load ptr, ptr %42, align 8, !tbaa !5
  %382 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %381, i32 0, i32 3
  %383 = load i32, ptr %46, align 4, !tbaa !9
  %384 = sext i32 %383 to i64
  %385 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %382, i64 noundef %384) #5
  store ptr %385, ptr %48, align 8, !tbaa !5
  %386 = load ptr, ptr %48, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %386, i32 0, i32 3
  %388 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 1
  %389 = load i32, ptr %46, align 4, !tbaa !9
  %390 = sext i32 %389 to i64
  %391 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %388, i64 noundef %390) #5
  %392 = getelementptr inbounds %"struct.mxnet::ext::NodeEntry", ptr %391, i32 0, i32 0
  %393 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(8) %392)
          to label %394 unwind label %417

394:                                              ; preds = %380
  %395 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %387, ptr noundef nonnull align 4 dereferenceable(4) %393)
          to label %396 unwind label %417

396:                                              ; preds = %394
  %397 = load ptr, ptr %48, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %397, i32 0, i32 3
  %399 = getelementptr inbounds %"class.mxnet::ext::Graph", ptr %115, i32 0, i32 1
  %400 = load i32, ptr %46, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %399, i64 noundef %401) #5
  %403 = getelementptr inbounds %"struct.mxnet::ext::NodeEntry", ptr %402, i32 0, i32 1
  %404 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %398, ptr noundef nonnull align 4 dereferenceable(4) %403)
          to label %405 unwind label %417

405:                                              ; preds = %396
  %406 = load ptr, ptr %48, align 8, !tbaa !5
  %407 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %406, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #5
  store i32 0, ptr %49, align 4, !tbaa !9
  %408 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %407, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %409 unwind label %421

409:                                              ; preds = %405
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  br label %410

410:                                              ; preds = %409
  %411 = load i32, ptr %46, align 4, !tbaa !9
  %412 = add nsw i32 %411, 1
  store i32 %412, ptr %46, align 4, !tbaa !9
  br label %336, !llvm.loop !16

413:                                              ; preds = %376
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %12, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  br label %426

417:                                              ; preds = %396, %394, %380
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %12, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %13, align 4
  br label %425

421:                                              ; preds = %405
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %12, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  br label %425

425:                                              ; preds = %421, %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  br label %426

426:                                              ; preds = %425, %413
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  br label %873

427:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 112, ptr %50) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %50, i32 noundef 3)
          to label %428 unwind label %447

428:                                              ; preds = %427
  %429 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %430 unwind label %451

430:                                              ; preds = %428
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %51, ptr noundef %52)
          to label %431 unwind label %455

431:                                              ; preds = %430
  %432 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %429, ptr noundef nonnull align 8 dereferenceable(112) %51)
          to label %433 unwind label %459

433:                                              ; preds = %431
  %434 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %432, ptr noundef nonnull align 8 dereferenceable(112) %50) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %51) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %51) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %435 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %436 unwind label %466

436:                                              ; preds = %433
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %55, ptr noundef %56)
          to label %437 unwind label %470

437:                                              ; preds = %436
  %438 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %435, ptr noundef nonnull align 8 dereferenceable(112) %55)
          to label %439 unwind label %474

439:                                              ; preds = %437
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %55) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %55) #5
  store ptr %438, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #5
  %440 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %441 = sub i64 %440, 1
  %442 = trunc i64 %441 to i32
  store i32 %442, ptr %58, align 4, !tbaa !9
  br label %443

443:                                              ; preds = %863, %439
  %444 = load i32, ptr %58, align 4, !tbaa !9
  %445 = icmp sge i32 %444, 0
  br i1 %445, label %480, label %446

446:                                              ; preds = %443
  store i32 15, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  br label %870

447:                                              ; preds = %427
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %12, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %13, align 4
  br label %465

451:                                              ; preds = %428
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %12, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %13, align 4
  br label %464

455:                                              ; preds = %430
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %12, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %13, align 4
  br label %463

459:                                              ; preds = %431
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %12, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %51) #5
  br label %463

463:                                              ; preds = %459, %455
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #5
  br label %464

464:                                              ; preds = %463, %451
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %51) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #5
  br label %465

465:                                              ; preds = %464, %447
  call void @llvm.lifetime.end.p0(i64 112, ptr %50) #5
  br label %873

466:                                              ; preds = %433
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %12, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %13, align 4
  br label %479

470:                                              ; preds = %436
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %12, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %13, align 4
  br label %478

474:                                              ; preds = %437
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %12, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %55) #5
  br label %478

478:                                              ; preds = %474, %470
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #5
  br label %479

479:                                              ; preds = %478, %466
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %55) #5
  br label %872

480:                                              ; preds = %443
  %481 = load ptr, ptr %54, align 8, !tbaa !5
  %482 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %481, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #5
  store i32 4, ptr %60, align 4, !tbaa !14
  %483 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %482, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %484 unwind label %540

484:                                              ; preds = %480
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  %485 = load i32, ptr %58, align 4, !tbaa !9
  %486 = sext i32 %485 to i64
  %487 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %486) #5
  %488 = load ptr, ptr %487, align 8, !tbaa !5
  store ptr %488, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  %489 = load ptr, ptr %54, align 8, !tbaa !5
  %490 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %489, i32 0, i32 3
  %491 = load ptr, ptr %54, align 8, !tbaa !5
  %492 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %491, i32 0, i32 3
  %493 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext7JsonValESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %492) #5
  %494 = sub i64 %493, 1
  %495 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %490, i64 noundef %494) #5
  store ptr %495, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 112, ptr %63) #5
  %496 = load ptr, ptr %61, align 8, !tbaa !5
  %497 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %496, i32 0, i32 0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(32) %497)
          to label %498 unwind label %544

498:                                              ; preds = %484
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef %64)
          to label %499 unwind label %548

499:                                              ; preds = %498
  %500 = load ptr, ptr %62, align 8, !tbaa !5
  %501 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %500, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef @.str.35, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %502 unwind label %552

502:                                              ; preds = %499
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %65, ptr noundef %66)
          to label %503 unwind label %556

503:                                              ; preds = %502
  %504 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %501, ptr noundef nonnull align 8 dereferenceable(112) %65)
          to label %505 unwind label %560

505:                                              ; preds = %503
  %506 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %504, ptr noundef nonnull align 8 dereferenceable(112) %63) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %65) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %65) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %68) #5
  %507 = load ptr, ptr %61, align 8, !tbaa !5
  %508 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %507, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %508)
          to label %509 unwind label %568

509:                                              ; preds = %505
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %68, ptr noundef %69)
          to label %510 unwind label %572

510:                                              ; preds = %509
  %511 = load ptr, ptr %62, align 8, !tbaa !5
  %512 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %511, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef @.str.36, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %513 unwind label %576

513:                                              ; preds = %510
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %70, ptr noundef %71)
          to label %514 unwind label %580

514:                                              ; preds = %513
  %515 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %512, ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %516 unwind label %584

516:                                              ; preds = %514
  %517 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %515, ptr noundef nonnull align 8 dereferenceable(112) %68) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %70) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %73) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %73, i32 noundef 3)
          to label %518 unwind label %592

518:                                              ; preds = %516
  %519 = load ptr, ptr %62, align 8, !tbaa !5
  %520 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %519, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %74) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef @.str.40, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %521 unwind label %596

521:                                              ; preds = %518
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %74, ptr noundef %75)
          to label %522 unwind label %600

522:                                              ; preds = %521
  %523 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %520, ptr noundef nonnull align 8 dereferenceable(112) %74)
          to label %524 unwind label %604

524:                                              ; preds = %522
  %525 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %523, ptr noundef nonnull align 8 dereferenceable(112) %73) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %74) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #5
  %526 = load ptr, ptr %62, align 8, !tbaa !5
  %527 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %526, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %78) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef @.str.40, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %528 unwind label %611

528:                                              ; preds = %524
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %78, ptr noundef %79)
          to label %529 unwind label %615

529:                                              ; preds = %528
  %530 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %527, ptr noundef nonnull align 8 dereferenceable(112) %78)
          to label %531 unwind label %619

531:                                              ; preds = %529
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %78) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %78) #5
  store ptr %530, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #5
  store i32 0, ptr %81, align 4, !tbaa !9
  br label %532

532:                                              ; preds = %658, %531
  %533 = load i32, ptr %81, align 4, !tbaa !9
  %534 = sext i32 %533 to i64
  %535 = load ptr, ptr %61, align 8, !tbaa !5
  %536 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %535, i32 0, i32 3
  %537 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %536) #5
  %538 = icmp ult i64 %534, %537
  br i1 %538, label %625, label %539

539:                                              ; preds = %532
  store i32 18, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #5
  br label %675

540:                                              ; preds = %480
  %541 = landingpad { ptr, i32 }
          cleanup
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %12, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #5
  br label %869

544:                                              ; preds = %484
  %545 = landingpad { ptr, i32 }
          cleanup
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %12, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %13, align 4
  br label %567

548:                                              ; preds = %498
  %549 = landingpad { ptr, i32 }
          cleanup
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %12, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %13, align 4
  br label %566

552:                                              ; preds = %499
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %12, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %13, align 4
  br label %565

556:                                              ; preds = %502
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %12, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %13, align 4
  br label %564

560:                                              ; preds = %503
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %12, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %65) #5
  br label %564

564:                                              ; preds = %560, %556
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #5
  br label %565

565:                                              ; preds = %564, %552
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %65) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #5
  br label %566

566:                                              ; preds = %565, %548
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  br label %567

567:                                              ; preds = %566, %544
  call void @llvm.lifetime.end.p0(i64 112, ptr %63) #5
  br label %868

568:                                              ; preds = %505
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %12, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %13, align 4
  br label %591

572:                                              ; preds = %509
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %12, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %13, align 4
  br label %590

576:                                              ; preds = %510
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %12, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %13, align 4
  br label %589

580:                                              ; preds = %513
  %581 = landingpad { ptr, i32 }
          cleanup
  %582 = extractvalue { ptr, i32 } %581, 0
  store ptr %582, ptr %12, align 8
  %583 = extractvalue { ptr, i32 } %581, 1
  store i32 %583, ptr %13, align 4
  br label %588

584:                                              ; preds = %514
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %12, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #5
  br label %588

588:                                              ; preds = %584, %580
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #5
  br label %589

589:                                              ; preds = %588, %576
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %70) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #5
  br label %590

590:                                              ; preds = %589, %572
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #5
  br label %591

591:                                              ; preds = %590, %568
  call void @llvm.lifetime.end.p0(i64 112, ptr %68) #5
  br label %868

592:                                              ; preds = %516
  %593 = landingpad { ptr, i32 }
          cleanup
  %594 = extractvalue { ptr, i32 } %593, 0
  store ptr %594, ptr %12, align 8
  %595 = extractvalue { ptr, i32 } %593, 1
  store i32 %595, ptr %13, align 4
  br label %610

596:                                              ; preds = %518
  %597 = landingpad { ptr, i32 }
          cleanup
  %598 = extractvalue { ptr, i32 } %597, 0
  store ptr %598, ptr %12, align 8
  %599 = extractvalue { ptr, i32 } %597, 1
  store i32 %599, ptr %13, align 4
  br label %609

600:                                              ; preds = %521
  %601 = landingpad { ptr, i32 }
          cleanup
  %602 = extractvalue { ptr, i32 } %601, 0
  store ptr %602, ptr %12, align 8
  %603 = extractvalue { ptr, i32 } %601, 1
  store i32 %603, ptr %13, align 4
  br label %608

604:                                              ; preds = %522
  %605 = landingpad { ptr, i32 }
          cleanup
  %606 = extractvalue { ptr, i32 } %605, 0
  store ptr %606, ptr %12, align 8
  %607 = extractvalue { ptr, i32 } %605, 1
  store i32 %607, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #5
  br label %608

608:                                              ; preds = %604, %600
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #5
  br label %609

609:                                              ; preds = %608, %596
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %74) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #5
  br label %610

610:                                              ; preds = %609, %592
  call void @llvm.lifetime.end.p0(i64 112, ptr %73) #5
  br label %868

611:                                              ; preds = %524
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %12, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %13, align 4
  br label %624

615:                                              ; preds = %528
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %12, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %13, align 4
  br label %623

619:                                              ; preds = %529
  %620 = landingpad { ptr, i32 }
          cleanup
  %621 = extractvalue { ptr, i32 } %620, 0
  store ptr %621, ptr %12, align 8
  %622 = extractvalue { ptr, i32 } %620, 1
  store i32 %622, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %78) #5
  br label %623

623:                                              ; preds = %619, %615
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #5
  br label %624

624:                                              ; preds = %623, %611
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %78) #5
  br label %867

625:                                              ; preds = %532
  %626 = load ptr, ptr %77, align 8, !tbaa !5
  %627 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %626, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #5
  store i32 3, ptr %82, align 4, !tbaa !14
  %628 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %627, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %629 unwind label %661

629:                                              ; preds = %625
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #5
  %630 = load ptr, ptr %61, align 8, !tbaa !5
  %631 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %630, i32 0, i32 3
  %632 = load i32, ptr %81, align 4, !tbaa !9
  %633 = sext i32 %632 to i64
  %634 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %631, i64 noundef %633) #5
  store ptr %634, ptr %83, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #5
  %635 = load ptr, ptr %77, align 8, !tbaa !5
  %636 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %635, i32 0, i32 3
  %637 = load i32, ptr %81, align 4, !tbaa !9
  %638 = sext i32 %637 to i64
  %639 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %636, i64 noundef %638) #5
  store ptr %639, ptr %84, align 8, !tbaa !5
  %640 = load ptr, ptr %84, align 8, !tbaa !5
  %641 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %640, i32 0, i32 3
  %642 = load ptr, ptr %83, align 8, !tbaa !5
  %643 = getelementptr inbounds %"struct.mxnet::ext::NodeEntry", ptr %642, i32 0, i32 0
  %644 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(8) %643)
          to label %645 unwind label %665

645:                                              ; preds = %629
  %646 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %641, ptr noundef nonnull align 4 dereferenceable(4) %644)
          to label %647 unwind label %665

647:                                              ; preds = %645
  %648 = load ptr, ptr %84, align 8, !tbaa !5
  %649 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %648, i32 0, i32 3
  %650 = load ptr, ptr %83, align 8, !tbaa !5
  %651 = getelementptr inbounds %"struct.mxnet::ext::NodeEntry", ptr %650, i32 0, i32 1
  %652 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %649, ptr noundef nonnull align 4 dereferenceable(4) %651)
          to label %653 unwind label %665

653:                                              ; preds = %647
  %654 = load ptr, ptr %84, align 8, !tbaa !5
  %655 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %654, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #5
  store i32 0, ptr %85, align 4, !tbaa !9
  %656 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %655, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %657 unwind label %669

657:                                              ; preds = %653
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #5
  br label %658

658:                                              ; preds = %657
  %659 = load i32, ptr %81, align 4, !tbaa !9
  %660 = add nsw i32 %659, 1
  store i32 %660, ptr %81, align 4, !tbaa !9
  br label %532, !llvm.loop !17

661:                                              ; preds = %625
  %662 = landingpad { ptr, i32 }
          cleanup
  %663 = extractvalue { ptr, i32 } %662, 0
  store ptr %663, ptr %12, align 8
  %664 = extractvalue { ptr, i32 } %662, 1
  store i32 %664, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #5
  br label %674

665:                                              ; preds = %647, %645, %629
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %12, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %13, align 4
  br label %673

669:                                              ; preds = %653
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %12, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #5
  br label %673

673:                                              ; preds = %669, %665
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #5
  br label %674

674:                                              ; preds = %673, %661
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #5
  br label %867

675:                                              ; preds = %539
  %676 = load ptr, ptr %61, align 8, !tbaa !5
  %677 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %676, i32 0, i32 5
  %678 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext5GraphESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %677) #5
  %679 = icmp ugt i64 %678, 0
  br i1 %679, label %680, label %760

680:                                              ; preds = %675
  call void @llvm.lifetime.start.p0(i64 112, ptr %86) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %86, i32 noundef 3)
          to label %681 unwind label %706

681:                                              ; preds = %680
  %682 = load ptr, ptr %62, align 8, !tbaa !5
  %683 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %682, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %87) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef @.str.39, ptr noundef nonnull align 1 dereferenceable(1) %89)
          to label %684 unwind label %710

684:                                              ; preds = %681
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %87, ptr noundef %88)
          to label %685 unwind label %714

685:                                              ; preds = %684
  %686 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %683, ptr noundef nonnull align 8 dereferenceable(112) %87)
          to label %687 unwind label %718

687:                                              ; preds = %685
  %688 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %686, ptr noundef nonnull align 8 dereferenceable(112) %86) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %87) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %87) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %86) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %86) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #5
  %689 = load ptr, ptr %62, align 8, !tbaa !5
  %690 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %689, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %91) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %93) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %92, ptr noundef @.str.39, ptr noundef nonnull align 1 dereferenceable(1) %93)
          to label %691 unwind label %725

691:                                              ; preds = %687
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %91, ptr noundef %92)
          to label %692 unwind label %729

692:                                              ; preds = %691
  %693 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %690, ptr noundef nonnull align 8 dereferenceable(112) %91)
          to label %694 unwind label %733

694:                                              ; preds = %692
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %91) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %91) #5
  store ptr %693, ptr %90, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #5
  %695 = load ptr, ptr %61, align 8, !tbaa !5
  %696 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %695, i32 0, i32 5
  store ptr %696, ptr %94, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #5
  %697 = load ptr, ptr %94, align 8, !tbaa !5
  %698 = call ptr @_ZNSt6vectorIPN5mxnet3ext5GraphESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %697) #5
  %699 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.76", ptr %95, i32 0, i32 0
  store ptr %698, ptr %699, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #5
  %700 = load ptr, ptr %94, align 8, !tbaa !5
  %701 = call ptr @_ZNSt6vectorIPN5mxnet3ext5GraphESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %700) #5
  %702 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.76", ptr %96, i32 0, i32 0
  store ptr %701, ptr %702, align 8
  br label %703

703:                                              ; preds = %747, %694
  %704 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull align 8 dereferenceable(8) %96) #5
  br i1 %704, label %739, label %705

705:                                              ; preds = %703
  store i32 21, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #5
  br label %758

706:                                              ; preds = %680
  %707 = landingpad { ptr, i32 }
          cleanup
  %708 = extractvalue { ptr, i32 } %707, 0
  store ptr %708, ptr %12, align 8
  %709 = extractvalue { ptr, i32 } %707, 1
  store i32 %709, ptr %13, align 4
  br label %724

710:                                              ; preds = %681
  %711 = landingpad { ptr, i32 }
          cleanup
  %712 = extractvalue { ptr, i32 } %711, 0
  store ptr %712, ptr %12, align 8
  %713 = extractvalue { ptr, i32 } %711, 1
  store i32 %713, ptr %13, align 4
  br label %723

714:                                              ; preds = %684
  %715 = landingpad { ptr, i32 }
          cleanup
  %716 = extractvalue { ptr, i32 } %715, 0
  store ptr %716, ptr %12, align 8
  %717 = extractvalue { ptr, i32 } %715, 1
  store i32 %717, ptr %13, align 4
  br label %722

718:                                              ; preds = %685
  %719 = landingpad { ptr, i32 }
          cleanup
  %720 = extractvalue { ptr, i32 } %719, 0
  store ptr %720, ptr %12, align 8
  %721 = extractvalue { ptr, i32 } %719, 1
  store i32 %721, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %87) #5
  br label %722

722:                                              ; preds = %718, %714
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #5
  br label %723

723:                                              ; preds = %722, %710
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %87) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %86) #5
  br label %724

724:                                              ; preds = %723, %706
  call void @llvm.lifetime.end.p0(i64 112, ptr %86) #5
  br label %867

725:                                              ; preds = %687
  %726 = landingpad { ptr, i32 }
          cleanup
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %12, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %13, align 4
  br label %738

729:                                              ; preds = %691
  %730 = landingpad { ptr, i32 }
          cleanup
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %12, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %13, align 4
  br label %737

733:                                              ; preds = %692
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %12, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %91) #5
  br label %737

737:                                              ; preds = %733, %729
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #5
  br label %738

738:                                              ; preds = %737, %725
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %91) #5
  br label %759

739:                                              ; preds = %703
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #5
  %740 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %95) #5
  %741 = load ptr, ptr %740, align 8, !tbaa !5
  store ptr %741, ptr %97, align 8, !tbaa !5
  %742 = load ptr, ptr %90, align 8, !tbaa !5
  %743 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %742, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 112, ptr %98) #5
  %744 = load ptr, ptr %97, align 8, !tbaa !5
  invoke void @_ZNK5mxnet3ext5Graph6toJsonEv(ptr dead_on_unwind writable sret(%"struct.mxnet::ext::JsonVal") align 8 %98, ptr noundef nonnull align 8 dereferenceable(128) %744)
          to label %745 unwind label %749

745:                                              ; preds = %739
  invoke void @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %743, ptr noundef nonnull align 8 dereferenceable(112) %98)
          to label %746 unwind label %753

746:                                              ; preds = %745
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %98) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #5
  br label %747

747:                                              ; preds = %746
  %748 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %95) #5
  br label %703

749:                                              ; preds = %739
  %750 = landingpad { ptr, i32 }
          cleanup
  %751 = extractvalue { ptr, i32 } %750, 0
  store ptr %751, ptr %12, align 8
  %752 = extractvalue { ptr, i32 } %750, 1
  store i32 %752, ptr %13, align 4
  br label %757

753:                                              ; preds = %745
  %754 = landingpad { ptr, i32 }
          cleanup
  %755 = extractvalue { ptr, i32 } %754, 0
  store ptr %755, ptr %12, align 8
  %756 = extractvalue { ptr, i32 } %754, 1
  store i32 %756, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #5
  br label %757

757:                                              ; preds = %753, %749
  call void @llvm.lifetime.end.p0(i64 112, ptr %98) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #5
  br label %759

758:                                              ; preds = %705
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #5
  br label %760

759:                                              ; preds = %757, %738
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #5
  br label %867

760:                                              ; preds = %758, %675
  call void @llvm.lifetime.start.p0(i64 112, ptr %99) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %99, i32 noundef 4)
          to label %761 unwind label %788

761:                                              ; preds = %760
  %762 = load ptr, ptr %62, align 8, !tbaa !5
  %763 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %762, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %100) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %102) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %102) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %101, ptr noundef @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %102)
          to label %764 unwind label %792

764:                                              ; preds = %761
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %100, ptr noundef %101)
          to label %765 unwind label %796

765:                                              ; preds = %764
  %766 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %763, ptr noundef nonnull align 8 dereferenceable(112) %100)
          to label %767 unwind label %800

767:                                              ; preds = %765
  %768 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %766, ptr noundef nonnull align 8 dereferenceable(112) %99) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %100) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %101) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %102) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %102) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %100) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %99) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %99) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %103) #5
  %769 = load ptr, ptr %62, align 8, !tbaa !5
  %770 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %769, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %104) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %106) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %106)
          to label %771 unwind label %807

771:                                              ; preds = %767
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %104, ptr noundef %105)
          to label %772 unwind label %811

772:                                              ; preds = %771
  %773 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %770, ptr noundef nonnull align 8 dereferenceable(112) %104)
          to label %774 unwind label %815

774:                                              ; preds = %772
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %104) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %106) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %104) #5
  store ptr %773, ptr %103, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #5
  %775 = load ptr, ptr %61, align 8, !tbaa !5
  %776 = getelementptr inbounds %"class.mxnet::ext::Node", ptr %775, i32 0, i32 6
  store ptr %776, ptr %107, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #5
  %777 = load ptr, ptr %107, align 8, !tbaa !5
  %778 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %777) #5
  %779 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %108, i32 0, i32 0
  %780 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %779, i32 0, i32 0
  store ptr %778, ptr %780, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %109) #5
  %781 = load ptr, ptr %107, align 8, !tbaa !5
  %782 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %781) #5
  %783 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %109, i32 0, i32 0
  %784 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %783, i32 0, i32 0
  store ptr %782, ptr %784, align 8
  br label %785

785:                                              ; preds = %836, %774
  %786 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %109) #5
  br i1 %786, label %821, label %787

787:                                              ; preds = %785
  store i32 23, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #5
  br label %862

788:                                              ; preds = %760
  %789 = landingpad { ptr, i32 }
          cleanup
  %790 = extractvalue { ptr, i32 } %789, 0
  store ptr %790, ptr %12, align 8
  %791 = extractvalue { ptr, i32 } %789, 1
  store i32 %791, ptr %13, align 4
  br label %806

792:                                              ; preds = %761
  %793 = landingpad { ptr, i32 }
          cleanup
  %794 = extractvalue { ptr, i32 } %793, 0
  store ptr %794, ptr %12, align 8
  %795 = extractvalue { ptr, i32 } %793, 1
  store i32 %795, ptr %13, align 4
  br label %805

796:                                              ; preds = %764
  %797 = landingpad { ptr, i32 }
          cleanup
  %798 = extractvalue { ptr, i32 } %797, 0
  store ptr %798, ptr %12, align 8
  %799 = extractvalue { ptr, i32 } %797, 1
  store i32 %799, ptr %13, align 4
  br label %804

800:                                              ; preds = %765
  %801 = landingpad { ptr, i32 }
          cleanup
  %802 = extractvalue { ptr, i32 } %801, 0
  store ptr %802, ptr %12, align 8
  %803 = extractvalue { ptr, i32 } %801, 1
  store i32 %803, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %100) #5
  br label %804

804:                                              ; preds = %800, %796
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %101) #5
  br label %805

805:                                              ; preds = %804, %792
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %102) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %102) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %100) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %99) #5
  br label %806

806:                                              ; preds = %805, %788
  call void @llvm.lifetime.end.p0(i64 112, ptr %99) #5
  br label %867

807:                                              ; preds = %767
  %808 = landingpad { ptr, i32 }
          cleanup
  %809 = extractvalue { ptr, i32 } %808, 0
  store ptr %809, ptr %12, align 8
  %810 = extractvalue { ptr, i32 } %808, 1
  store i32 %810, ptr %13, align 4
  br label %820

811:                                              ; preds = %771
  %812 = landingpad { ptr, i32 }
          cleanup
  %813 = extractvalue { ptr, i32 } %812, 0
  store ptr %813, ptr %12, align 8
  %814 = extractvalue { ptr, i32 } %812, 1
  store i32 %814, ptr %13, align 4
  br label %819

815:                                              ; preds = %772
  %816 = landingpad { ptr, i32 }
          cleanup
  %817 = extractvalue { ptr, i32 } %816, 0
  store ptr %817, ptr %12, align 8
  %818 = extractvalue { ptr, i32 } %816, 1
  store i32 %818, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %104) #5
  br label %819

819:                                              ; preds = %815, %811
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #5
  br label %820

820:                                              ; preds = %819, %807
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %106) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %104) #5
  br label %866

821:                                              ; preds = %785
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #5
  %822 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %108) #5
  store ptr %822, ptr %110, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 112, ptr %111) #5
  %823 = load ptr, ptr %110, align 8, !tbaa !5
  %824 = getelementptr inbounds %"struct.std::pair.77", ptr %823, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %112, ptr noundef nonnull align 8 dereferenceable(32) %824)
          to label %825 unwind label %838

825:                                              ; preds = %821
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %111, ptr noundef %112)
          to label %826 unwind label %842

826:                                              ; preds = %825
  %827 = load ptr, ptr %103, align 8, !tbaa !5
  %828 = getelementptr inbounds %"struct.mxnet::ext::JsonVal", ptr %827, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %113) #5
  %829 = load ptr, ptr %110, align 8, !tbaa !5
  %830 = getelementptr inbounds %"struct.std::pair.77", ptr %829, i32 0, i32 0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %114, ptr noundef nonnull align 8 dereferenceable(32) %830)
          to label %831 unwind label %846

831:                                              ; preds = %826
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %113, ptr noundef %114)
          to label %832 unwind label %850

832:                                              ; preds = %831
  %833 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %828, ptr noundef nonnull align 8 dereferenceable(112) %113)
          to label %834 unwind label %854

834:                                              ; preds = %832
  %835 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %833, ptr noundef nonnull align 8 dereferenceable(112) %111) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %113) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %114) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %113) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %111) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %112) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %111) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #5
  br label %836

836:                                              ; preds = %834
  %837 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %108) #5
  br label %785

838:                                              ; preds = %821
  %839 = landingpad { ptr, i32 }
          cleanup
  %840 = extractvalue { ptr, i32 } %839, 0
  store ptr %840, ptr %12, align 8
  %841 = extractvalue { ptr, i32 } %839, 1
  store i32 %841, ptr %13, align 4
  br label %861

842:                                              ; preds = %825
  %843 = landingpad { ptr, i32 }
          cleanup
  %844 = extractvalue { ptr, i32 } %843, 0
  store ptr %844, ptr %12, align 8
  %845 = extractvalue { ptr, i32 } %843, 1
  store i32 %845, ptr %13, align 4
  br label %860

846:                                              ; preds = %826
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %12, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %13, align 4
  br label %859

850:                                              ; preds = %831
  %851 = landingpad { ptr, i32 }
          cleanup
  %852 = extractvalue { ptr, i32 } %851, 0
  store ptr %852, ptr %12, align 8
  %853 = extractvalue { ptr, i32 } %851, 1
  store i32 %853, ptr %13, align 4
  br label %858

854:                                              ; preds = %832
  %855 = landingpad { ptr, i32 }
          cleanup
  %856 = extractvalue { ptr, i32 } %855, 0
  store ptr %856, ptr %12, align 8
  %857 = extractvalue { ptr, i32 } %855, 1
  store i32 %857, ptr %13, align 4
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %113) #5
  br label %858

858:                                              ; preds = %854, %850
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %114) #5
  br label %859

859:                                              ; preds = %858, %846
  call void @llvm.lifetime.end.p0(i64 112, ptr %113) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %111) #5
  br label %860

860:                                              ; preds = %859, %842
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %112) #5
  br label %861

861:                                              ; preds = %860, %838
  call void @llvm.lifetime.end.p0(i64 112, ptr %111) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #5
  br label %866

862:                                              ; preds = %787
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  br label %863

863:                                              ; preds = %862
  %864 = load i32, ptr %58, align 4, !tbaa !9
  %865 = add nsw i32 %864, -1
  store i32 %865, ptr %58, align 4, !tbaa !9
  br label %443, !llvm.loop !18

866:                                              ; preds = %861, %820
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #5
  br label %867

867:                                              ; preds = %866, %806, %759, %724, %674, %624
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #5
  br label %868

868:                                              ; preds = %867, %610, %591, %567
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  br label %869

869:                                              ; preds = %868, %540
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  br label %872

870:                                              ; preds = %446
  store i1 true, ptr %5, align 1
  store i32 1, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  %871 = load i1, ptr %5, align 1
  br i1 %871, label %879, label %878

872:                                              ; preds = %869, %479
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  br label %873

873:                                              ; preds = %872, %465, %426, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %874

874:                                              ; preds = %873, %361, %319, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %875

875:                                              ; preds = %874, %293, %248, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %876

876:                                              ; preds = %875, %225, %183
  call void @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %877

877:                                              ; preds = %876, %164
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  br label %880

878:                                              ; preds = %870
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #5
  br label %879

879:                                              ; preds = %878, %870
  ret void

880:                                              ; preds = %877, %154
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #5
  br label %881

881:                                              ; preds = %880
  %882 = load ptr, ptr %12, align 8
  %883 = load i32, ptr %13, align 4
  %884 = insertvalue { ptr, i32 } poison, ptr %882, 0
  %885 = insertvalue { ptr, i32 } %884, i32 %883, 1
  resume { ptr, i32 } %885
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEESE_(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(144) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5mxnet3ext5Graph16topological_sortEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.47") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 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 nounwind uwtable
declare dso_local void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

declare void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr, i32)

declare void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr, ptr)

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 }

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.mxnet::ext::JsonVal" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::vector.14", %"class.std::map" }
%"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::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::JsonVal, std::allocator<mxnet::ext::JsonVal>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<mxnet::ext::JsonVal, std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>>, std::less<mxnet::ext::JsonVal>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<mxnet::ext::JsonVal, std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>, std::_Select1st<std::pair<const mxnet::ext::JsonVal, mxnet::ext::JsonVal>>, std::less<mxnet::ext::JsonVal>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator.66" = type { ptr }
%"class.std::map.69" = type { %"class.std::_Rb_tree.70" }
%"class.std::_Rb_tree.70" = type { %"struct.std::_Rb_tree<mxnet::ext::Node *, std::pair<mxnet::ext::Node *const, int>, std::_Select1st<std::pair<mxnet::ext::Node *const, int>>, std::less<mxnet::ext::Node *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<mxnet::ext::Node *, std::pair<mxnet::ext::Node *const, int>, std::_Select1st<std::pair<mxnet::ext::Node *const, int>>, std::less<mxnet::ext::Node *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::Node *, std::allocator<mxnet::ext::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.75" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.76" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@.str.34 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [10 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK5mxnet3ext5Graph6toJsonEv(ptr dead_on_unwind noalias writable sret(%"struct.mxnet::ext::JsonVal") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.std::_Rb_tree_const_iterator.66", align 8
  %4 = alloca %"struct.std::_Rb_tree_const_iterator.66", align 8
  %5 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::map.69", align 8
  %8 = alloca %"class.std::vector.47", align 8
  %9 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %10 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.0", align 1
  %16 = alloca i32, align 4
  %17 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %18 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.75", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.75", align 8
  %26 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %27 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.0", align 1
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %36 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca i32, align 4
  %43 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator.0", align 1
  %48 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.0", align 1
  %53 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %54 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.0", align 1
  %57 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator.0", align 1
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %63 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.std::allocator.0", align 1
  %66 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.0", align 1
  %69 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %71 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %72 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %73 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator.0", align 1
  %76 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator.0", align 1
  %79 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %80 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %81 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"struct.mxnet::ext::JsonVal", align 8
  %84 = alloca %"class.std::__cxx11::basic_string", align 8
  tail call void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef 4)
  %85 = getelementptr inbounds i8, ptr %1, i64 48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %86 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValESt4lessIS5_ESaISt4pairIKS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %85) #5
  store ptr %86, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %87 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValESt4lessIS5_ESaISt4pairIKS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %85) #5
  store ptr %87, ptr %4, align 8
  %88 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %88, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %89 = getelementptr inbounds i8, ptr %0, i64 64
  br label %90

._crit_edge:                                      ; preds = %98, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  invoke void @_ZNK5mxnet3ext5Graph16topological_sortEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.47") align 8 %8, ptr noundef nonnull align 8 dereferenceable(128) %1)
          to label %109 unwind label %114

90:                                               ; preds = %.lr.ph, %98
  %91 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %92 = getelementptr inbounds i8, ptr %91, i64 32
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %93 unwind label %101

93:                                               ; preds = %90
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %5, ptr noundef nonnull %6)
          to label %94 unwind label %103

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %89, ptr noundef nonnull align 8 dereferenceable(112) %5)
          to label %96 unwind label %105

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSERKS1_(ptr noundef nonnull align 8 dereferenceable(112) %95, ptr noundef nonnull align 8 dereferenceable(112) %92)
          to label %98 unwind label %105

98:                                               ; preds = %96
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %100 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %100, label %90, label %._crit_edge

101:                                              ; preds = %90
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %108

103:                                              ; preds = %93
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %96, %94
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #5
  br label %107

107:                                              ; preds = %105, %103
  %.pn224 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %108

108:                                              ; preds = %107, %101
  %.pn224.pn = phi { ptr, i32 } [ %.pn224, %107 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %523

109:                                              ; preds = %._crit_edge
  %110 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %111 = trunc i64 %110 to i32
  %.0133228 = add i32 %111, -1
  %112 = icmp sgt i32 %.0133228, -1
  br i1 %112, label %.lr.ph231.preheader, label %._crit_edge232

.lr.ph231.preheader:                              ; preds = %109
  %113 = zext nneg i32 %.0133228 to i64
  br label %.lr.ph231

._crit_edge232:                                   ; preds = %119, %109
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %9) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %9, i32 noundef 3)
          to label %126 unwind label %140

114:                                              ; preds = %._crit_edge
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %522

.lr.ph231:                                        ; preds = %.lr.ph231.preheader, %119
  %indvars.iv = phi i64 [ %113, %.lr.ph231.preheader ], [ %indvars.iv.next, %119 ]
  %116 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv) #5
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(8) %117)
          to label %119 unwind label %124

119:                                              ; preds = %.lr.ph231
  %120 = xor i64 %indvars.iv, -1
  %121 = add i64 %116, %120
  %122 = trunc i64 %121 to i32
  store i32 %122, ptr %118, align 4, !tbaa !5
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %123 = icmp sgt i64 %indvars.iv, 0
  br i1 %123, label %.lr.ph231, label %._crit_edge232, !llvm.loop !9

124:                                              ; preds = %.lr.ph231
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %521

126:                                              ; preds = %._crit_edge232
  %127 = getelementptr inbounds i8, ptr %0, i64 64
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %128 unwind label %142

128:                                              ; preds = %126
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %10, ptr noundef nonnull %11)
          to label %129 unwind label %144

129:                                              ; preds = %128
  %130 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %10)
          to label %131 unwind label %146

131:                                              ; preds = %129
  %132 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %130, ptr noundef nonnull align 8 dereferenceable(112) %9) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.42, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %133 unwind label %151

133:                                              ; preds = %131
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %13, ptr noundef nonnull %14)
          to label %134 unwind label %153

134:                                              ; preds = %133
  %135 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %136 unwind label %155

136:                                              ; preds = %134
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  %137 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 0, ptr %16, align 4, !tbaa !5
  %138 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #5
  %.not258 = icmp eq i64 %138, 0
  br i1 %.not258, label %._crit_edge235, label %.lr.ph234

.lr.ph234:                                        ; preds = %136
  %139 = getelementptr inbounds i8, ptr %135, i64 40
  br label %159

._crit_edge235:                                   ; preds = %161, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %17) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %17, i32 noundef 3)
          to label %169 unwind label %183

140:                                              ; preds = %._crit_edge232
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %150

142:                                              ; preds = %126
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %149

144:                                              ; preds = %128
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %129
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #5
  br label %148

148:                                              ; preds = %146, %144
  %.pn = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %149

149:                                              ; preds = %148, %142
  %.pn.pn = phi { ptr, i32 } [ %.pn, %148 ], [ %143, %142 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #5
  br label %150

150:                                              ; preds = %149, %140
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %149 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #5
  br label %521

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

153:                                              ; preds = %133
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %134
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #5
  br label %157

157:                                              ; preds = %155, %153
  %.pn142 = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %158

158:                                              ; preds = %157, %151
  %.pn142.pn = phi { ptr, i32 } [ %.pn142, %157 ], [ %152, %151 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %13) #5
  br label %521

159:                                              ; preds = %.lr.ph234, %161
  %160 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %161 unwind label %167

161:                                              ; preds = %159
  %162 = load i32, ptr %16, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %16, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #5
  %166 = icmp ugt i64 %165, %164
  br i1 %166, label %159, label %._crit_edge235, !llvm.loop !11

167:                                              ; preds = %159
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  br label %521

169:                                              ; preds = %._crit_edge235
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %170 unwind label %185

170:                                              ; preds = %169
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %18, ptr noundef nonnull %19)
          to label %171 unwind label %187

171:                                              ; preds = %170
  %172 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %173 unwind label %189

173:                                              ; preds = %171
  %174 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %172, ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %18) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %175 unwind label %194

175:                                              ; preds = %173
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %21, ptr noundef nonnull %22)
          to label %176 unwind label %196

176:                                              ; preds = %175
  %177 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %178 unwind label %198

178:                                              ; preds = %176
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  %179 = call ptr @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %179, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #5
  %180 = call ptr @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %180, ptr %25, align 8
  %181 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br i1 %181, label %.lr.ph237, label %._crit_edge238

.lr.ph237:                                        ; preds = %178
  %182 = getelementptr inbounds i8, ptr %177, i64 40
  br label %202

._crit_edge238:                                   ; preds = %207, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %26) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %26, i32 noundef 3)
          to label %212 unwind label %225

183:                                              ; preds = %._crit_edge235
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %193

185:                                              ; preds = %169
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %192

187:                                              ; preds = %170
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %171
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #5
  br label %191

191:                                              ; preds = %189, %187
  %.pn145 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %192

192:                                              ; preds = %191, %185
  %.pn145.pn = phi { ptr, i32 } [ %.pn145, %191 ], [ %186, %185 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %18) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #5
  br label %193

193:                                              ; preds = %192, %183
  %.pn145.pn.pn = phi { ptr, i32 } [ %.pn145.pn, %192 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %17) #5
  br label %521

194:                                              ; preds = %173
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %201

196:                                              ; preds = %175
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %200

198:                                              ; preds = %176
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #5
  br label %200

200:                                              ; preds = %198, %196
  %.pn149 = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %201

201:                                              ; preds = %200, %194
  %.pn149.pn = phi { ptr, i32 } [ %.pn149, %200 ], [ %195, %194 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %21) #5
  br label %521

202:                                              ; preds = %.lr.ph237, %207
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %204 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(8) %203)
          to label %205 unwind label %210

205:                                              ; preds = %202
  %206 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %182, ptr noundef nonnull align 4 dereferenceable(4) %204)
          to label %207 unwind label %210

207:                                              ; preds = %205
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %209 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN5mxnet3ext4NodeESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br i1 %209, label %202, label %._crit_edge238

210:                                              ; preds = %205, %202
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  br label %521

212:                                              ; preds = %._crit_edge238
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.41, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %213 unwind label %227

213:                                              ; preds = %212
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %27, ptr noundef nonnull %28)
          to label %214 unwind label %229

214:                                              ; preds = %213
  %215 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %27)
          to label %216 unwind label %231

216:                                              ; preds = %214
  %217 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %215, ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %27) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.41, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %218 unwind label %236

218:                                              ; preds = %216
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %30, ptr noundef nonnull %31)
          to label %219 unwind label %238

219:                                              ; preds = %218
  %220 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %30)
          to label %221 unwind label %240

221:                                              ; preds = %219
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %30) #5
  %222 = getelementptr inbounds i8, ptr %1, i64 24
  %223 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #5
  %.not259 = icmp eq i64 %223, 0
  br i1 %.not259, label %._crit_edge242, label %.lr.ph241

.lr.ph241:                                        ; preds = %221
  %224 = getelementptr inbounds i8, ptr %220, i64 40
  br label %244

._crit_edge242:                                   ; preds = %259, %221
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %35) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %35, i32 noundef 3)
          to label %268 unwind label %283

225:                                              ; preds = %._crit_edge238
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %235

227:                                              ; preds = %212
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %234

229:                                              ; preds = %213
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %214
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #5
  br label %233

233:                                              ; preds = %231, %229
  %.pn152 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %234

234:                                              ; preds = %233, %227
  %.pn152.pn = phi { ptr, i32 } [ %.pn152, %233 ], [ %228, %227 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %27) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #5
  br label %235

235:                                              ; preds = %234, %225
  %.pn152.pn.pn = phi { ptr, i32 } [ %.pn152.pn, %234 ], [ %226, %225 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %26) #5
  br label %521

236:                                              ; preds = %216
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %243

238:                                              ; preds = %218
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %242

240:                                              ; preds = %219
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #5
  br label %242

242:                                              ; preds = %240, %238
  %.pn156 = phi { ptr, i32 } [ %241, %240 ], [ %239, %238 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  br label %243

243:                                              ; preds = %242, %236
  %.pn156.pn = phi { ptr, i32 } [ %.pn156, %242 ], [ %237, %236 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %30) #5
  br label %521

244:                                              ; preds = %.lr.ph241, %259
  %indvars.iv262 = phi i64 [ 0, %.lr.ph241 ], [ %indvars.iv.next263, %259 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #5
  store i32 3, ptr %33, align 4, !tbaa !12
  %245 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %224, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %246 unwind label %262

246:                                              ; preds = %244
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #5
  %247 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %224, i64 noundef %indvars.iv262) #5
  %248 = getelementptr inbounds i8, ptr %247, i64 40
  %249 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %indvars.iv262) #5
  %250 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(8) %249)
          to label %251 unwind label %264

251:                                              ; preds = %246
  %252 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %248, ptr noundef nonnull align 4 dereferenceable(4) %250)
          to label %253 unwind label %264

253:                                              ; preds = %251
  %254 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %indvars.iv262) #5
  %255 = getelementptr inbounds i8, ptr %254, i64 8
  %256 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRKiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %248, ptr noundef nonnull align 4 dereferenceable(4) %255)
          to label %257 unwind label %264

257:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #5
  store i32 0, ptr %34, align 4, !tbaa !5
  %258 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %248, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %259 unwind label %266

259:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #5
  %indvars.iv.next263 = add nuw nsw i64 %indvars.iv262, 1
  %260 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #5
  %261 = icmp ugt i64 %260, %indvars.iv.next263
  br i1 %261, label %244, label %._crit_edge242, !llvm.loop !14

262:                                              ; preds = %244
  %263 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #5
  br label %521

264:                                              ; preds = %253, %251, %246
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %521

266:                                              ; preds = %257
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #5
  br label %521

268:                                              ; preds = %._crit_edge242
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %269 unwind label %285

269:                                              ; preds = %268
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %36, ptr noundef nonnull %37)
          to label %270 unwind label %287

270:                                              ; preds = %269
  %271 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %272 unwind label %289

272:                                              ; preds = %270
  %273 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %271, ptr noundef nonnull align 8 dereferenceable(112) %35) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %36) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %274 unwind label %294

274:                                              ; preds = %272
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %39, ptr noundef nonnull %40)
          to label %275 unwind label %296

275:                                              ; preds = %274
  %276 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(112) %39)
          to label %277 unwind label %298

277:                                              ; preds = %275
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %39) #5
  %278 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext4NodeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %279 = trunc i64 %278 to i32
  %.0135253 = add i32 %279, -1
  %280 = icmp sgt i32 %.0135253, -1
  br i1 %280, label %.lr.ph256, label %._crit_edge257

.lr.ph256:                                        ; preds = %277
  %281 = getelementptr inbounds i8, ptr %276, i64 40
  %282 = zext nneg i32 %.0135253 to i64
  br label %302

._crit_edge257:                                   ; preds = %._crit_edge252, %277
  call void @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  ret void

283:                                              ; preds = %._crit_edge242
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %293

285:                                              ; preds = %268
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %292

287:                                              ; preds = %269
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %270
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #5
  br label %291

291:                                              ; preds = %289, %287
  %.pn159 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #5
  br label %292

292:                                              ; preds = %291, %285
  %.pn159.pn = phi { ptr, i32 } [ %.pn159, %291 ], [ %286, %285 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %36) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #5
  br label %293

293:                                              ; preds = %292, %283
  %.pn159.pn.pn = phi { ptr, i32 } [ %.pn159.pn, %292 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %35) #5
  br label %521

294:                                              ; preds = %272
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %301

296:                                              ; preds = %274
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %300

298:                                              ; preds = %275
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #5
  br label %300

300:                                              ; preds = %298, %296
  %.pn163 = phi { ptr, i32 } [ %299, %298 ], [ %297, %296 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #5
  br label %301

301:                                              ; preds = %300, %294
  %.pn163.pn = phi { ptr, i32 } [ %.pn163, %300 ], [ %295, %294 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %39) #5
  br label %521

302:                                              ; preds = %.lr.ph256, %._crit_edge252
  %indvars.iv268 = phi i64 [ %282, %.lr.ph256 ], [ %indvars.iv.next269, %._crit_edge252 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #5
  store i32 4, ptr %42, align 4, !tbaa !12
  %303 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %281, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %304 unwind label %341

304:                                              ; preds = %302
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #5
  %305 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv268) #5
  %306 = load ptr, ptr %305, align 8, !tbaa !15
  %307 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext7JsonValESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %281) #5
  %308 = add i64 %307, -1
  %309 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %281, i64 noundef %308) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %43) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %306)
          to label %310 unwind label %343

310:                                              ; preds = %304
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %43, ptr noundef nonnull %44)
          to label %311 unwind label %345

311:                                              ; preds = %310
  %312 = getelementptr inbounds i8, ptr %309, i64 64
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %45) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull @.str.35, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %313 unwind label %347

313:                                              ; preds = %311
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %45, ptr noundef nonnull %46)
          to label %314 unwind label %349

314:                                              ; preds = %313
  %315 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %316 unwind label %351

316:                                              ; preds = %314
  %317 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %315, ptr noundef nonnull align 8 dereferenceable(112) %43) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %45) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %43) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %48) #5
  %318 = getelementptr inbounds i8, ptr %306, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %318)
          to label %319 unwind label %357

319:                                              ; preds = %316
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %48, ptr noundef nonnull %49)
          to label %320 unwind label %359

320:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %50) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.36, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %321 unwind label %361

321:                                              ; preds = %320
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %50, ptr noundef nonnull %51)
          to label %322 unwind label %363

322:                                              ; preds = %321
  %323 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %324 unwind label %365

324:                                              ; preds = %322
  %325 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %323, ptr noundef nonnull align 8 dereferenceable(112) %48) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %50) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %48) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %53) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %53, i32 noundef 3)
          to label %326 unwind label %371

326:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %54) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.40, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %327 unwind label %373

327:                                              ; preds = %326
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %54, ptr noundef nonnull %55)
          to label %328 unwind label %375

328:                                              ; preds = %327
  %329 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %330 unwind label %377

330:                                              ; preds = %328
  %331 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %329, ptr noundef nonnull align 8 dereferenceable(112) %53) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %54) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %53) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %57) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %59) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull @.str.40, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %332 unwind label %382

332:                                              ; preds = %330
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %57, ptr noundef nonnull %58)
          to label %333 unwind label %384

333:                                              ; preds = %332
  %334 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %57)
          to label %335 unwind label %386

335:                                              ; preds = %333
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %57) #5
  %336 = getelementptr inbounds i8, ptr %306, i64 72
  %337 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %336) #5
  %.not260 = icmp eq i64 %337, 0
  br i1 %.not260, label %._crit_edge246, label %.lr.ph245

.lr.ph245:                                        ; preds = %335
  %338 = getelementptr inbounds i8, ptr %334, i64 40
  br label %390

._crit_edge246:                                   ; preds = %404, %335
  %339 = getelementptr inbounds i8, ptr %306, i64 120
  %340 = call noundef i64 @_ZNKSt6vectorIPN5mxnet3ext5GraphESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %339) #5
  %.not = icmp eq i64 %340, 0
  br i1 %.not, label %459, label %413

341:                                              ; preds = %302
  %342 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #5
  br label %521

343:                                              ; preds = %304
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %356

345:                                              ; preds = %310
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %355

347:                                              ; preds = %311
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %354

349:                                              ; preds = %313
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %353

351:                                              ; preds = %314
  %352 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #5
  br label %353

353:                                              ; preds = %351, %349
  %.pn166 = phi { ptr, i32 } [ %352, %351 ], [ %350, %349 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #5
  br label %354

354:                                              ; preds = %353, %347
  %.pn166.pn = phi { ptr, i32 } [ %.pn166, %353 ], [ %348, %347 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %45) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #5
  br label %355

355:                                              ; preds = %354, %345
  %.pn166.pn.pn = phi { ptr, i32 } [ %.pn166.pn, %354 ], [ %346, %345 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  br label %356

356:                                              ; preds = %355, %343
  %.pn166.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn, %355 ], [ %344, %343 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %43) #5
  br label %521

357:                                              ; preds = %316
  %358 = landingpad { ptr, i32 }
          cleanup
  br label %370

359:                                              ; preds = %319
  %360 = landingpad { ptr, i32 }
          cleanup
  br label %369

361:                                              ; preds = %320
  %362 = landingpad { ptr, i32 }
          cleanup
  br label %368

363:                                              ; preds = %321
  %364 = landingpad { ptr, i32 }
          cleanup
  br label %367

365:                                              ; preds = %322
  %366 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #5
  br label %367

367:                                              ; preds = %365, %363
  %.pn171 = phi { ptr, i32 } [ %366, %365 ], [ %364, %363 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #5
  br label %368

368:                                              ; preds = %367, %361
  %.pn171.pn = phi { ptr, i32 } [ %.pn171, %367 ], [ %362, %361 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %50) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #5
  br label %369

369:                                              ; preds = %368, %359
  %.pn171.pn.pn = phi { ptr, i32 } [ %.pn171.pn, %368 ], [ %360, %359 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #5
  br label %370

370:                                              ; preds = %369, %357
  %.pn171.pn.pn.pn = phi { ptr, i32 } [ %.pn171.pn.pn, %369 ], [ %358, %357 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %48) #5
  br label %521

371:                                              ; preds = %324
  %372 = landingpad { ptr, i32 }
          cleanup
  br label %381

373:                                              ; preds = %326
  %374 = landingpad { ptr, i32 }
          cleanup
  br label %380

375:                                              ; preds = %327
  %376 = landingpad { ptr, i32 }
          cleanup
  br label %379

377:                                              ; preds = %328
  %378 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #5
  br label %379

379:                                              ; preds = %377, %375
  %.pn176 = phi { ptr, i32 } [ %378, %377 ], [ %376, %375 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #5
  br label %380

380:                                              ; preds = %379, %373
  %.pn176.pn = phi { ptr, i32 } [ %.pn176, %379 ], [ %374, %373 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %54) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #5
  br label %381

381:                                              ; preds = %380, %371
  %.pn176.pn.pn = phi { ptr, i32 } [ %.pn176.pn, %380 ], [ %372, %371 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %53) #5
  br label %521

382:                                              ; preds = %330
  %383 = landingpad { ptr, i32 }
          cleanup
  br label %389

384:                                              ; preds = %332
  %385 = landingpad { ptr, i32 }
          cleanup
  br label %388

386:                                              ; preds = %333
  %387 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #5
  br label %388

388:                                              ; preds = %386, %384
  %.pn180 = phi { ptr, i32 } [ %387, %386 ], [ %385, %384 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #5
  br label %389

389:                                              ; preds = %388, %382
  %.pn180.pn = phi { ptr, i32 } [ %.pn180, %388 ], [ %383, %382 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %57) #5
  br label %521

390:                                              ; preds = %.lr.ph245, %404
  %indvars.iv265 = phi i64 [ 0, %.lr.ph245 ], [ %indvars.iv.next266, %404 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %60) #5
  store i32 3, ptr %60, align 4, !tbaa !12
  %391 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJNS1_8JsonTypeEEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %338, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %392 unwind label %407

392:                                              ; preds = %390
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #5
  %393 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %336, i64 noundef %indvars.iv265) #5
  %394 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %338, i64 noundef %indvars.iv265) #5
  %395 = getelementptr inbounds i8, ptr %394, i64 40
  %396 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(8) %393)
          to label %397 unwind label %409

397:                                              ; preds = %392
  %398 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %395, ptr noundef nonnull align 4 dereferenceable(4) %396)
          to label %399 unwind label %409

399:                                              ; preds = %397
  %400 = getelementptr inbounds i8, ptr %393, i64 8
  %401 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJRiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %395, ptr noundef nonnull align 4 dereferenceable(4) %400)
          to label %402 unwind label %409

402:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %61) #5
  store i32 0, ptr %61, align 4, !tbaa !5
  %403 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE12emplace_backIJiEEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %395, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %404 unwind label %411

404:                                              ; preds = %402
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #5
  %indvars.iv.next266 = add nuw nsw i64 %indvars.iv265, 1
  %405 = call noundef i64 @_ZNKSt6vectorIN5mxnet3ext9NodeEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %336) #5
  %406 = icmp ugt i64 %405, %indvars.iv.next266
  br i1 %406, label %390, label %._crit_edge246, !llvm.loop !17

407:                                              ; preds = %390
  %408 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #5
  br label %521

409:                                              ; preds = %399, %397, %392
  %410 = landingpad { ptr, i32 }
          cleanup
  br label %521

411:                                              ; preds = %402
  %412 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #5
  br label %521

413:                                              ; preds = %._crit_edge246
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %62) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %62, i32 noundef 3)
          to label %414 unwind label %428

414:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %63) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %65) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull @.str.39, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %415 unwind label %430

415:                                              ; preds = %414
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef nonnull %64)
          to label %416 unwind label %432

416:                                              ; preds = %415
  %417 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %63)
          to label %418 unwind label %434

418:                                              ; preds = %416
  %419 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %417, ptr noundef nonnull align 8 dereferenceable(112) %62) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %63) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %62) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %66) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.39, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %420 unwind label %439

420:                                              ; preds = %418
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %66, ptr noundef nonnull %67)
          to label %421 unwind label %441

421:                                              ; preds = %420
  %422 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %66)
          to label %423 unwind label %443

423:                                              ; preds = %421
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %66) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %66) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %69) #5
  %424 = call ptr @_ZNSt6vectorIPN5mxnet3ext5GraphESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %339) #5
  store ptr %424, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %70) #5
  %425 = call ptr @_ZNSt6vectorIPN5mxnet3ext5GraphESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %339) #5
  store ptr %425, ptr %70, align 8
  %426 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #5
  br i1 %426, label %.lr.ph248, label %._crit_edge249

.lr.ph248:                                        ; preds = %423
  %427 = getelementptr inbounds i8, ptr %422, i64 40
  br label %447

._crit_edge249:                                   ; preds = %451, %423
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %70) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %69) #5
  br label %459

428:                                              ; preds = %413
  %429 = landingpad { ptr, i32 }
          cleanup
  br label %438

430:                                              ; preds = %414
  %431 = landingpad { ptr, i32 }
          cleanup
  br label %437

432:                                              ; preds = %415
  %433 = landingpad { ptr, i32 }
          cleanup
  br label %436

434:                                              ; preds = %416
  %435 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #5
  br label %436

436:                                              ; preds = %434, %432
  %.pn183 = phi { ptr, i32 } [ %435, %434 ], [ %433, %432 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  br label %437

437:                                              ; preds = %436, %430
  %.pn183.pn = phi { ptr, i32 } [ %.pn183, %436 ], [ %431, %430 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %63) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #5
  br label %438

438:                                              ; preds = %437, %428
  %.pn183.pn.pn = phi { ptr, i32 } [ %.pn183.pn, %437 ], [ %429, %428 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %62) #5
  br label %521

439:                                              ; preds = %418
  %440 = landingpad { ptr, i32 }
          cleanup
  br label %446

441:                                              ; preds = %420
  %442 = landingpad { ptr, i32 }
          cleanup
  br label %445

443:                                              ; preds = %421
  %444 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %66) #5
  br label %445

445:                                              ; preds = %443, %441
  %.pn187 = phi { ptr, i32 } [ %444, %443 ], [ %442, %441 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #5
  br label %446

446:                                              ; preds = %445, %439
  %.pn187.pn = phi { ptr, i32 } [ %.pn187, %445 ], [ %440, %439 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %66) #5
  br label %521

447:                                              ; preds = %.lr.ph248, %451
  %448 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #5
  %449 = load ptr, ptr %448, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %71) #5
  invoke void @_ZNK5mxnet3ext5Graph6toJsonEv(ptr dead_on_unwind nonnull writable sret(%"struct.mxnet::ext::JsonVal") align 8 %71, ptr noundef nonnull align 8 dereferenceable(128) %449)
          to label %450 unwind label %454

450:                                              ; preds = %447
  invoke void @_ZNSt6vectorIN5mxnet3ext7JsonValESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %427, ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %451 unwind label %456

451:                                              ; preds = %450
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %71) #5
  %452 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %69) #5
  %453 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70) #5
  br i1 %453, label %447, label %._crit_edge249

454:                                              ; preds = %447
  %455 = landingpad { ptr, i32 }
          cleanup
  br label %458

456:                                              ; preds = %450
  %457 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #5
  br label %458

458:                                              ; preds = %456, %454
  %.pn203 = phi { ptr, i32 } [ %457, %456 ], [ %455, %454 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %71) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %70) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %69) #5
  br label %521

459:                                              ; preds = %._crit_edge249, %._crit_edge246
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %72) #5
  invoke void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr noundef nonnull align 8 dereferenceable(112) %72, i32 noundef 4)
          to label %460 unwind label %476

460:                                              ; preds = %459
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %73) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %75) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %461 unwind label %478

461:                                              ; preds = %460
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %73, ptr noundef nonnull %74)
          to label %462 unwind label %480

462:                                              ; preds = %461
  %463 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %73)
          to label %464 unwind label %482

464:                                              ; preds = %462
  %465 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %463, ptr noundef nonnull align 8 dereferenceable(112) %72) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %73) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %72) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %72) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %76) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %78) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull @.str.38, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %466 unwind label %487

466:                                              ; preds = %464
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %76, ptr noundef nonnull %77)
          to label %467 unwind label %489

467:                                              ; preds = %466
  %468 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %312, ptr noundef nonnull align 8 dereferenceable(112) %76)
          to label %469 unwind label %491

469:                                              ; preds = %467
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %76) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %76) #5
  %470 = getelementptr inbounds i8, ptr %306, i64 144
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %79) #5
  %471 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %470) #5
  store ptr %471, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %80) #5
  %472 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %470) #5
  store ptr %472, ptr %80, align 8
  %473 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(8) %80) #5
  br i1 %473, label %.lr.ph251, label %._crit_edge252

.lr.ph251:                                        ; preds = %469
  %474 = getelementptr inbounds i8, ptr %468, i64 64
  br label %495

._crit_edge252:                                   ; preds = %503, %469
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %79) #5
  %indvars.iv.next269 = add nsw i64 %indvars.iv268, -1
  %475 = icmp sgt i64 %indvars.iv268, 0
  br i1 %475, label %302, label %._crit_edge257, !llvm.loop !18

476:                                              ; preds = %459
  %477 = landingpad { ptr, i32 }
          cleanup
  br label %486

478:                                              ; preds = %460
  %479 = landingpad { ptr, i32 }
          cleanup
  br label %485

480:                                              ; preds = %461
  %481 = landingpad { ptr, i32 }
          cleanup
  br label %484

482:                                              ; preds = %462
  %483 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #5
  br label %484

484:                                              ; preds = %482, %480
  %.pn190 = phi { ptr, i32 } [ %483, %482 ], [ %481, %480 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #5
  br label %485

485:                                              ; preds = %484, %478
  %.pn190.pn = phi { ptr, i32 } [ %.pn190, %484 ], [ %479, %478 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %73) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %72) #5
  br label %486

486:                                              ; preds = %485, %476
  %.pn190.pn.pn = phi { ptr, i32 } [ %.pn190.pn, %485 ], [ %477, %476 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %72) #5
  br label %521

487:                                              ; preds = %464
  %488 = landingpad { ptr, i32 }
          cleanup
  br label %494

489:                                              ; preds = %466
  %490 = landingpad { ptr, i32 }
          cleanup
  br label %493

491:                                              ; preds = %467
  %492 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %76) #5
  br label %493

493:                                              ; preds = %491, %489
  %.pn194 = phi { ptr, i32 } [ %492, %491 ], [ %490, %489 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #5
  br label %494

494:                                              ; preds = %493, %487
  %.pn194.pn = phi { ptr, i32 } [ %.pn194, %493 ], [ %488, %487 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %76) #5
  br label %521

495:                                              ; preds = %.lr.ph251, %503
  %496 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %79) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %81) #5
  %497 = getelementptr inbounds i8, ptr %496, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(32) %497)
          to label %498 unwind label %507

498:                                              ; preds = %495
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %81, ptr noundef nonnull %82)
          to label %499 unwind label %509

499:                                              ; preds = %498
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %83) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef nonnull align 8 dereferenceable(32) %496)
          to label %500 unwind label %511

500:                                              ; preds = %499
  invoke void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %83, ptr noundef nonnull %84)
          to label %501 unwind label %513

501:                                              ; preds = %500
  %502 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt3mapIN5mxnet3ext7JsonValES2_St4lessIS2_ESaISt4pairIKS2_S2_EEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %474, ptr noundef nonnull align 8 dereferenceable(112) %83)
          to label %503 unwind label %515

503:                                              ; preds = %501
  %504 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN5mxnet3ext7JsonValaSEOS1_(ptr noundef nonnull align 8 dereferenceable(112) %502, ptr noundef nonnull align 8 dereferenceable(112) %81) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %83) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %83) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %81) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %81) #5
  %505 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %79) #5
  %506 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ELb1EEESC_(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(8) %80) #5
  br i1 %506, label %495, label %._crit_edge252

507:                                              ; preds = %495
  %508 = landingpad { ptr, i32 }
          cleanup
  br label %520

509:                                              ; preds = %498
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %519

511:                                              ; preds = %499
  %512 = landingpad { ptr, i32 }
          cleanup
  br label %518

513:                                              ; preds = %500
  %514 = landingpad { ptr, i32 }
          cleanup
  br label %517

515:                                              ; preds = %501
  %516 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %83) #5
  br label %517

517:                                              ; preds = %515, %513
  %.pn197 = phi { ptr, i32 } [ %516, %515 ], [ %514, %513 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #5
  br label %518

518:                                              ; preds = %517, %511
  %.pn197.pn = phi { ptr, i32 } [ %.pn197, %517 ], [ %512, %511 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %83) #5
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %81) #5
  br label %519

519:                                              ; preds = %518, %509
  %.pn197.pn.pn = phi { ptr, i32 } [ %.pn197.pn, %518 ], [ %510, %509 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #5
  br label %520

520:                                              ; preds = %519, %507
  %.pn197.pn.pn.pn = phi { ptr, i32 } [ %.pn197.pn.pn, %519 ], [ %508, %507 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %81) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %79) #5
  br label %521

521:                                              ; preds = %158, %167, %193, %243, %293, %264, %266, %262, %341, %389, %438, %486, %409, %411, %407, %458, %446, %520, %494, %381, %370, %356, %301, %235, %210, %201, %150, %124
  %.pn221 = phi { ptr, i32 } [ %125, %124 ], [ %.pn.pn.pn, %150 ], [ %168, %167 ], [ %.pn145.pn.pn, %193 ], [ %.pn142.pn, %158 ], [ %211, %210 ], [ %.pn152.pn.pn, %235 ], [ %.pn149.pn, %201 ], [ %.pn159.pn.pn, %293 ], [ %.pn156.pn, %243 ], [ %263, %262 ], [ %267, %266 ], [ %265, %264 ], [ %.pn163.pn, %301 ], [ %342, %341 ], [ %.pn176.pn.pn, %381 ], [ %.pn171.pn.pn.pn, %370 ], [ %.pn166.pn.pn.pn, %356 ], [ %.pn190.pn.pn, %486 ], [ %.pn183.pn.pn, %438 ], [ %.pn180.pn, %389 ], [ %408, %407 ], [ %412, %411 ], [ %410, %409 ], [ %.pn203, %458 ], [ %.pn187.pn, %446 ], [ %.pn197.pn.pn.pn, %520 ], [ %.pn194.pn, %494 ]
  call void @_ZNSt6vectorIPN5mxnet3ext4NodeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %522

522:                                              ; preds = %521, %114
  %.pn221.pn = phi { ptr, i32 } [ %.pn221, %521 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  br label %523

523:                                              ; preds = %522, %108
  %.pn224.pn.pn = phi { ptr, i32 } [ %.pn224.pn, %108 ], [ %.pn221.pn, %522 ]
  call void @_ZN5mxnet3ext7JsonValD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #5
  resume { ptr, i32 } %.pn224.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEESE_(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(144) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext7JsonValEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5mxnet3ext5Graph16topological_sortEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.47") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN5mxnet3ext5GraphESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) 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_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 nounwind uwtable
declare dso_local void @_ZNSt3mapIPN5mxnet3ext4NodeEiSt4lessIS3_ESaISt4pairIKS3_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

declare void @_ZN5mxnet3ext7JsonValC1ENS0_8JsonTypeE(ptr, i32) local_unnamed_addr

declare void @_ZN5mxnet3ext7JsonValC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr, ptr) 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN5mxnet3ext8JsonTypeE", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !7, i64 0}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}


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