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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.mxnet::ext::MXTensor" = type <{ ptr, %"class.std::vector.3", i32, [4 x i8], i64, %"struct.mxnet::ext::MXContext", %struct.DLTensor, i32, [4 x i8] }>
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%struct.DLTensor = type { ptr, %struct.DLContext, i32, %struct.DLDataType, ptr, ptr, i64 }
%struct.DLContext = type { i32, i32 }
%struct.DLDataType = type { i8, i8, i16 }
%"class.mxnet::ext::PassResource" = type { ptr, ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

92:                                               ; preds = %27
  %93 = invoke noundef ptr @_ZN5mxnet3ext5Graph10fromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %94 unwind label %104

94:                                               ; preds = %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #7
  store ptr %93, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %61) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #7
  store i32 0, ptr %62, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %125, %94
  %96 = load i32, ptr %62, align 4, !tbaa !9
  %97 = load i32, ptr %34, align 4, !tbaa !9
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %109, label %99

99:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  br label %142

100:                                              ; preds = %27
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %59, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %60, align 4
  br label %108

104:                                              ; preds = %92
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %59, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %60, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  br label %108

108:                                              ; preds = %104, %100
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #7
  br label %411

109:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #7
  %110 = load ptr, ptr %33, align 8, !tbaa !5
  %111 = load i32, ptr %62, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds ptr, ptr %110, i64 %112
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %115 unwind label %128

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

121:                                              ; preds = %115
  %122 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(32) %65)
          to label %123 unwind label %136

123:                                              ; preds = %121
  %124 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #7
  br label %125

125:                                              ; preds = %123
  %126 = load i32, ptr %62, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %62, align 4, !tbaa !9
  br label %95, !llvm.loop !11

128:                                              ; preds = %109
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %59, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %60, align 4
  br label %141

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

136:                                              ; preds = %121
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %59, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %60, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #7
  br label %140

140:                                              ; preds = %136, %132
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #7
  br label %141

141:                                              ; preds = %140, %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  br label %410

142:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 56, ptr %67) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %67) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #7
  store i32 0, ptr %68, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %225, %142
  %144 = load i32, ptr %68, align 4, !tbaa !9
  %145 = load i32, ptr %37, align 4, !tbaa !9
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 5, ptr %69, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  br label %252

148:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 24, ptr %70) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  %149 = load ptr, ptr %40, align 8, !tbaa !5
  %150 = load i32, ptr %68, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %149, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %154)
          to label %155 unwind label %165

155:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #7
  store i32 0, ptr %71, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %179, %155
  %157 = load i32, ptr %71, align 4, !tbaa !9
  %158 = load ptr, ptr %40, align 8, !tbaa !5
  %159 = load i32, ptr %68, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds i32, ptr %158, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = icmp slt i32 %157, %162
  br i1 %163, label %169, label %164

164:                                              ; preds = %156
  store i32 8, ptr %69, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  br label %186

165:                                              ; preds = %148
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %59, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %60, align 4
  br label %251

169:                                              ; preds = %156
  %170 = load ptr, ptr %39, align 8, !tbaa !5
  %171 = load i32, ptr %68, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds ptr, ptr %170, i64 %172
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = load i32, ptr %71, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds i64, ptr %174, i64 %176
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(8) %177)
          to label %178 unwind label %182

178:                                              ; preds = %169
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %71, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %71, align 4, !tbaa !9
  br label %156, !llvm.loop !13

182:                                              ; preds = %169
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %59, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %60, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  br label %251

186:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 144, ptr %72) #7
  %187 = load ptr, ptr %38, align 8, !tbaa !5
  %188 = load i32, ptr %68, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds ptr, ptr %187, i64 %189
  %191 = load ptr, ptr %190, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %192 unwind label %228

192:                                              ; preds = %186
  %193 = load ptr, ptr %41, align 8, !tbaa !5
  %194 = load i32, ptr %68, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %193, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !9
  %198 = load ptr, ptr %42, align 8, !tbaa !5
  %199 = load i32, ptr %68, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i64, ptr %198, i64 %200
  %202 = load i64, ptr %201, align 8, !tbaa !14
  %203 = load ptr, ptr %43, align 8, !tbaa !5
  %204 = load i32, ptr %68, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %203, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = load ptr, ptr %44, align 8, !tbaa !5
  %209 = load i32, ptr %68, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds i32, ptr %208, i64 %210
  %212 = load i32, ptr %211, align 4, !tbaa !9
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %74, ptr noundef %207, i32 noundef %212)
          to label %213 unwind label %232

213:                                              ; preds = %192
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %72, ptr noundef %191, ptr noundef %73, i32 noundef %197, i64 noundef %202, ptr noundef %74, i32 noundef 0)
          to label %214 unwind label %236

214:                                              ; preds = %213
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %74) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #7
  %215 = load ptr, ptr %36, align 8, !tbaa !5
  %216 = load i32, ptr %68, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds ptr, ptr %215, i64 %217
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef %219, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %220 unwind label %241

220:                                              ; preds = %214
  %221 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %67, ptr noundef nonnull align 8 dereferenceable(32) %75)
          to label %222 unwind label %245

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %221, ptr noundef nonnull align 8 dereferenceable(140) %72)
          to label %224 unwind label %245

224:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %72) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %72) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #7
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %68, align 4, !tbaa !9
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %68, align 4, !tbaa !9
  br label %143, !llvm.loop !16

228:                                              ; preds = %186
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %59, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %60, align 4
  br label %250

232:                                              ; preds = %192
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %59, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %60, align 4
  br label %240

236:                                              ; preds = %213
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %59, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %60, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %74) #7
  br label %240

240:                                              ; preds = %236, %232
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #7
  br label %250

241:                                              ; preds = %214
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %59, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %60, align 4
  br label %249

245:                                              ; preds = %222, %220
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %59, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %60, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #7
  br label %249

249:                                              ; preds = %245, %241
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %72) #7
  br label %250

250:                                              ; preds = %249, %240, %228
  call void @llvm.lifetime.end.p0(i64 144, ptr %72) #7
  br label %251

251:                                              ; preds = %250, %182, %165
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  br label %409

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

253:                                              ; preds = %335, %252
  %254 = load i32, ptr %78, align 4, !tbaa !9
  %255 = load i32, ptr %46, align 4, !tbaa !9
  %256 = icmp slt i32 %254, %255
  br i1 %256, label %258, label %257

257:                                              ; preds = %253
  store i32 11, ptr %69, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #7
  br label %362

258:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  %259 = load ptr, ptr %49, align 8, !tbaa !5
  %260 = load i32, ptr %78, align 4, !tbaa !9
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds i32, ptr %259, i64 %261
  %263 = load i32, ptr %262, align 4, !tbaa !9
  %264 = sext i32 %263 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %264)
          to label %265 unwind label %275

265:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #7
  store i32 0, ptr %80, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %289, %265
  %267 = load i32, ptr %80, align 4, !tbaa !9
  %268 = load ptr, ptr %49, align 8, !tbaa !5
  %269 = load i32, ptr %78, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds i32, ptr %268, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !9
  %273 = icmp slt i32 %267, %272
  br i1 %273, label %279, label %274

274:                                              ; preds = %266
  store i32 14, ptr %69, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #7
  br label %296

275:                                              ; preds = %258
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %59, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %60, align 4
  br label %361

279:                                              ; preds = %266
  %280 = load ptr, ptr %48, align 8, !tbaa !5
  %281 = load i32, ptr %78, align 4, !tbaa !9
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds ptr, ptr %280, i64 %282
  %284 = load ptr, ptr %283, align 8, !tbaa !5
  %285 = load i32, ptr %80, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds i64, ptr %284, i64 %286
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 8 dereferenceable(8) %287)
          to label %288 unwind label %292

288:                                              ; preds = %279
  br label %289

289:                                              ; preds = %288
  %290 = load i32, ptr %80, align 4, !tbaa !9
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %80, align 4, !tbaa !9
  br label %266, !llvm.loop !17

292:                                              ; preds = %279
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %59, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %60, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #7
  br label %361

296:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 144, ptr %81) #7
  %297 = load ptr, ptr %47, align 8, !tbaa !5
  %298 = load i32, ptr %78, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds ptr, ptr %297, i64 %299
  %301 = load ptr, ptr %300, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(24) %79)
          to label %302 unwind label %338

302:                                              ; preds = %296
  %303 = load ptr, ptr %50, align 8, !tbaa !5
  %304 = load i32, ptr %78, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds i32, ptr %303, i64 %305
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = load ptr, ptr %51, align 8, !tbaa !5
  %309 = load i32, ptr %78, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds i64, ptr %308, i64 %310
  %312 = load i64, ptr %311, align 8, !tbaa !14
  %313 = load ptr, ptr %52, align 8, !tbaa !5
  %314 = load i32, ptr %78, align 4, !tbaa !9
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds ptr, ptr %313, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = load ptr, ptr %53, align 8, !tbaa !5
  %319 = load i32, ptr %78, align 4, !tbaa !9
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds i32, ptr %318, i64 %320
  %322 = load i32, ptr %321, align 4, !tbaa !9
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %83, ptr noundef %317, i32 noundef %322)
          to label %323 unwind label %342

323:                                              ; preds = %302
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %81, ptr noundef %301, ptr noundef %82, i32 noundef %307, i64 noundef %312, ptr noundef %83, i32 noundef 0)
          to label %324 unwind label %346

324:                                              ; preds = %323
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %83) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %84) #7
  %325 = load ptr, ptr %45, align 8, !tbaa !5
  %326 = load i32, ptr %78, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds ptr, ptr %325, i64 %327
  %329 = load ptr, ptr %328, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %85) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef %329, ptr noundef nonnull align 1 dereferenceable(1) %85)
          to label %330 unwind label %351

330:                                              ; preds = %324
  %331 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %77, ptr noundef nonnull align 8 dereferenceable(32) %84)
          to label %332 unwind label %355

332:                                              ; preds = %330
  %333 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %331, ptr noundef nonnull align 8 dereferenceable(140) %81)
          to label %334 unwind label %355

334:                                              ; preds = %332
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %81) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %81) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #7
  br label %335

335:                                              ; preds = %334
  %336 = load i32, ptr %78, align 4, !tbaa !9
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %78, align 4, !tbaa !9
  br label %253, !llvm.loop !18

338:                                              ; preds = %296
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %59, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %60, align 4
  br label %360

342:                                              ; preds = %302
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %59, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %60, align 4
  br label %350

346:                                              ; preds = %323
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %59, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %60, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %83) #7
  br label %350

350:                                              ; preds = %346, %342
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  br label %360

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

355:                                              ; preds = %332, %330
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %59, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %60, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #7
  br label %359

359:                                              ; preds = %355, %351
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %81) #7
  br label %360

360:                                              ; preds = %359, %350, %338
  call void @llvm.lifetime.end.p0(i64 144, ptr %81) #7
  br label %361

361:                                              ; preds = %360, %292, %275
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #7
  br label %408

362:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 56, ptr %86) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %86) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %87) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %87) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %88) #7
  %363 = load ptr, ptr %54, align 8, !tbaa !5
  %364 = load ptr, ptr %55, align 8, !tbaa !5
  invoke void @_ZN5mxnet3ext12PassResourceC1EPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_PFvPKvPKliPKciiSP_iPPvESL_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef %86, ptr noundef %87, ptr noundef %363, ptr noundef %364)
          to label %365 unwind label %377

365:                                              ; preds = %362
  %366 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN5mxnet3ext5Graph10_setParamsEPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_(ptr noundef nonnull align 8 dereferenceable(128) %366, ptr noundef %67, ptr noundef %77)
          to label %367 unwind label %377

367:                                              ; preds = %365
  %368 = load ptr, ptr %56, align 8, !tbaa !5
  call void @_ZN5mxnet3ext5Graph16_setPassResourceEPNS0_12PassResourceE(ptr noundef nonnull align 8 dereferenceable(128) %368, ptr noundef %88)
  call void @llvm.lifetime.start.p0(i64 4, ptr %89) #7
  %369 = load ptr, ptr %29, align 8, !tbaa !5
  %370 = load ptr, ptr %56, align 8, !tbaa !5
  %371 = invoke noundef i32 %369(ptr noundef %370, ptr noundef nonnull align 8 dereferenceable(56) %61)
          to label %372 unwind label %381

372:                                              ; preds = %367
  store i32 %371, ptr %89, align 4, !tbaa !19
  %373 = load i32, ptr %89, align 4, !tbaa !19
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %385, label %375

375:                                              ; preds = %372
  %376 = load i32, ptr %89, align 4, !tbaa !19
  store i32 %376, ptr %28, align 4
  store i32 1, ptr %69, align 4
  br label %404

377:                                              ; preds = %365, %362
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %59, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %60, align 4
  br label %407

381:                                              ; preds = %367
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %59, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %60, align 4
  br label %406

385:                                              ; preds = %372
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #7
  %386 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZNK5mxnet3ext5Graph8toStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %90, ptr noundef nonnull align 8 dereferenceable(128) %386)
          to label %387 unwind label %400

387:                                              ; preds = %385
  %388 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %90) #7
  %389 = add i64 %388, 1
  %390 = mul i64 %389, 1
  %391 = call noalias ptr @malloc(i64 noundef %390) #8
  %392 = load ptr, ptr %31, align 8, !tbaa !5
  store ptr %391, ptr %392, align 8, !tbaa !5
  %393 = load ptr, ptr %31, align 8, !tbaa !5
  %394 = load ptr, ptr %393, align 8, !tbaa !5
  %395 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %90) #7
  %396 = add i64 %395, 1
  %397 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %90) #7
  %398 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %394, i64 noundef %396, ptr noundef @.str.61, ptr noundef %397) #7
  %399 = load i32, ptr %89, align 4, !tbaa !19
  store i32 %399, ptr %28, align 4
  store i32 1, ptr %69, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #7
  br label %404

400:                                              ; preds = %385
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %59, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %60, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #7
  br label %406

404:                                              ; preds = %387, %375
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %87) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %87) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %86) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %86) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %77) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %77) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %67) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %67) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  %405 = load i32, ptr %28, align 4
  ret i32 %405

406:                                              ; preds = %400, %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #7
  br label %407

407:                                              ; preds = %406, %377
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %87) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %87) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %86) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %86) #7
  br label %408

408:                                              ; preds = %407, %361
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %77) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %77) #7
  br label %409

409:                                              ; preds = %408, %251
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %67) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %67) #7
  br label %410

410:                                              ; preds = %409, %141
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #7
  br label %411

411:                                              ; preds = %410, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  br label %412

412:                                              ; preds = %411
  %413 = load ptr, ptr %59, align 8
  %414 = load i32, ptr %60, align 4
  %415 = insertvalue { ptr, i32 } poison, ptr %413, 0
  %416 = insertvalue { ptr, i32 } %415, i32 %414, 1
  resume { ptr, i32 } %416
}

declare void @_ZN5mxnet3ext9MXContextC1EPKci(ptr, ptr, i32)

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

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

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

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


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.mxnet::ext::MXTensor" = type <{ ptr, %"class.std::vector.3", i32, [4 x i8], i64, %"struct.mxnet::ext::MXContext", %struct.DLTensor, i32, [4 x i8] }>
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%struct.DLTensor = type { ptr, %struct.DLContext, i32, %struct.DLDataType, ptr, ptr, i64 }
%struct.DLContext = type { i32, i32 }
%struct.DLDataType = type { i8, i8, i16 }
%"class.mxnet::ext::PassResource" = type { ptr, ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

53:                                               ; preds = %27
  %54 = invoke noundef ptr @_ZN5mxnet3ext5Graph10fromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %55 unwind label %60

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

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

._crit_edge:                                      ; preds = %70, %55
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %35) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  %57 = icmp sgt i32 %8, 0
  br i1 %57, label %.lr.ph125.preheader, label %._crit_edge126

.lr.ph125.preheader:                              ; preds = %._crit_edge
  %wide.trip.count141 = zext nneg i32 %8 to i64
  br label %.lr.ph125

58:                                               ; preds = %27
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %53
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %62

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

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

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

68:                                               ; preds = %65
  %69 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %70 unwind label %76

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

72:                                               ; preds = %.lr.ph
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %79

74:                                               ; preds = %65
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %68
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %78

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

79:                                               ; preds = %78, %72
  %.pn113.pn = phi { ptr, i32 } [ %.pn113, %78 ], [ %73, %72 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #7
  br label %206

._crit_edge126:                                   ; preds = %117, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %42) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42) #7
  %80 = icmp sgt i32 %17, 0
  br i1 %80, label %.lr.ph132.preheader, label %._crit_edge133

.lr.ph132.preheader:                              ; preds = %._crit_edge126
  %wide.trip.count149 = zext nneg i32 %17 to i64
  br label %.lr.ph132

.lr.ph125:                                        ; preds = %.lr.ph125.preheader, %117
  %indvars.iv138 = phi i64 [ 0, %.lr.ph125.preheader ], [ %indvars.iv.next139, %117 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %81 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv138
  %82 = load i32, ptr %81, align 4, !tbaa !11
  %83 = sext i32 %82 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %83)
          to label %.preheader118 unwind label %89

.preheader118:                                    ; preds = %.lr.ph125
  %84 = load i32, ptr %81, align 4, !tbaa !11
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %.lr.ph121, label %._crit_edge122

.lr.ph121:                                        ; preds = %.preheader118
  %86 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv138
  br label %91

._crit_edge122:                                   ; preds = %94, %.preheader118
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %37) #7
  %87 = getelementptr inbounds ptr, ptr %9, i64 %indvars.iv138
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %100 unwind label %118

89:                                               ; preds = %.lr.ph125
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %131

91:                                               ; preds = %.lr.ph121, %94
  %indvars.iv135 = phi i64 [ 0, %.lr.ph121 ], [ %indvars.iv.next136, %94 ]
  %92 = load ptr, ptr %86, align 8, !tbaa !5
  %93 = getelementptr inbounds i64, ptr %92, i64 %indvars.iv135
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %93)
          to label %94 unwind label %98

94:                                               ; preds = %91
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 1
  %95 = load i32, ptr %81, align 4, !tbaa !11
  %96 = sext i32 %95 to i64
  %97 = icmp slt i64 %indvars.iv.next136, %96
  br i1 %97, label %91, label %._crit_edge122, !llvm.loop !13

98:                                               ; preds = %91
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %131

100:                                              ; preds = %._crit_edge122
  %101 = getelementptr inbounds i32, ptr %12, i64 %indvars.iv138
  %102 = load i32, ptr %101, align 4, !tbaa !11
  %103 = getelementptr inbounds i64, ptr %13, i64 %indvars.iv138
  %104 = load i64, ptr %103, align 8, !tbaa !14
  %105 = getelementptr inbounds ptr, ptr %14, i64 %indvars.iv138
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv138
  %108 = load i32, ptr %107, align 4, !tbaa !11
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %39, ptr noundef %106, i32 noundef %108)
          to label %109 unwind label %120

109:                                              ; preds = %100
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %37, ptr noundef %88, ptr noundef nonnull %38, i32 noundef %102, i64 noundef %104, ptr noundef nonnull %39, i32 noundef 0)
          to label %110 unwind label %122

110:                                              ; preds = %109
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #7
  %111 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv138
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef %112, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %113 unwind label %125

113:                                              ; preds = %110
  %114 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %115 unwind label %127

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %114, ptr noundef nonnull align 8 dereferenceable(140) %37)
          to label %117 unwind label %127

117:                                              ; preds = %115
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %37) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %37) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %exitcond142.not = icmp eq i64 %indvars.iv.next139, %wide.trip.count141
  br i1 %exitcond142.not, label %._crit_edge126, label %.lr.ph125, !llvm.loop !16

118:                                              ; preds = %._crit_edge122
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %130

120:                                              ; preds = %100
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %109
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #7
  br label %124

124:                                              ; preds = %122, %120
  %.pn105 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  br label %130

125:                                              ; preds = %110
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %115, %113
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br label %129

129:                                              ; preds = %127, %125
  %.pn107 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %37) #7
  br label %130

130:                                              ; preds = %129, %124, %118
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %129 ], [ %.pn105, %124 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %37) #7
  br label %131

131:                                              ; preds = %130, %98, %89
  %.pn110 = phi { ptr, i32 } [ %99, %98 ], [ %.pn107.pn, %130 ], [ %90, %89 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  br label %205

._crit_edge133:                                   ; preds = %168, %._crit_edge126
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %49) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %49) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %50) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #7
  invoke void @_ZN5mxnet3ext12PassResourceC1EPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_PFvPKvPKliPKciiSP_iPPvESL_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull %49, ptr noundef nonnull %50, ptr noundef %25, ptr noundef %26)
          to label %183 unwind label %187

.lr.ph132:                                        ; preds = %.lr.ph132.preheader, %168
  %indvars.iv146 = phi i64 [ 0, %.lr.ph132.preheader ], [ %indvars.iv.next147, %168 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #7
  call void @_ZNSt6vectorIlSaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  %132 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv146
  %133 = load i32, ptr %132, align 4, !tbaa !11
  %134 = sext i32 %133 to i64
  invoke void @_ZNSt6vectorIlSaIlEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %134)
          to label %.preheader unwind label %140

.preheader:                                       ; preds = %.lr.ph132
  %135 = load i32, ptr %132, align 4, !tbaa !11
  %136 = icmp sgt i32 %135, 0
  br i1 %136, label %.lr.ph128, label %._crit_edge129

.lr.ph128:                                        ; preds = %.preheader
  %137 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv146
  br label %142

._crit_edge129:                                   ; preds = %145, %.preheader
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %44) #7
  %138 = getelementptr inbounds ptr, ptr %18, i64 %indvars.iv146
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIlSaIlEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %151 unwind label %169

140:                                              ; preds = %.lr.ph132
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %182

142:                                              ; preds = %.lr.ph128, %145
  %indvars.iv143 = phi i64 [ 0, %.lr.ph128 ], [ %indvars.iv.next144, %145 ]
  %143 = load ptr, ptr %137, align 8, !tbaa !5
  %144 = getelementptr inbounds i64, ptr %143, i64 %indvars.iv143
  invoke void @_ZNSt6vectorIlSaIlEE9push_backERKl(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(8) %144)
          to label %145 unwind label %149

145:                                              ; preds = %142
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %146 = load i32, ptr %132, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = icmp slt i64 %indvars.iv.next144, %147
  br i1 %148, label %142, label %._crit_edge129, !llvm.loop !17

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

151:                                              ; preds = %._crit_edge129
  %152 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv146
  %153 = load i32, ptr %152, align 4, !tbaa !11
  %154 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv146
  %155 = load i64, ptr %154, align 8, !tbaa !14
  %156 = getelementptr inbounds ptr, ptr %23, i64 %indvars.iv146
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  %158 = getelementptr inbounds i32, ptr %24, i64 %indvars.iv146
  %159 = load i32, ptr %158, align 4, !tbaa !11
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %46, ptr noundef %157, i32 noundef %159)
          to label %160 unwind label %171

160:                                              ; preds = %151
  invoke void @_ZN5mxnet3ext8MXTensorC1EPvSt6vectorIlSaIlEENS0_7MXDTypeEmNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %44, ptr noundef %139, ptr noundef nonnull %45, i32 noundef %153, i64 noundef %155, ptr noundef nonnull %46, i32 noundef 0)
          to label %161 unwind label %173

161:                                              ; preds = %160
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %46) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #7
  %162 = getelementptr inbounds ptr, ptr %16, i64 %indvars.iv146
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %163, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %164 unwind label %176

164:                                              ; preds = %161
  %165 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %166 unwind label %178

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(140) ptr @_ZN5mxnet3ext8MXTensoraSERKS1_(ptr noundef nonnull align 8 dereferenceable(140) %165, ptr noundef nonnull align 8 dereferenceable(140) %44)
          to label %168 unwind label %178

168:                                              ; preds = %166
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %44) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %44) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #7
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  %exitcond150.not = icmp eq i64 %indvars.iv.next147, %wide.trip.count149
  br i1 %exitcond150.not, label %._crit_edge133, label %.lr.ph132, !llvm.loop !18

169:                                              ; preds = %._crit_edge129
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %181

171:                                              ; preds = %151
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %175

173:                                              ; preds = %160
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %46) #7
  br label %175

175:                                              ; preds = %173, %171
  %.pn97 = phi { ptr, i32 } [ %174, %173 ], [ %172, %171 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #7
  br label %181

176:                                              ; preds = %161
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %166, %164
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %180

180:                                              ; preds = %178, %176
  %.pn99 = phi { ptr, i32 } [ %179, %178 ], [ %177, %176 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  call void @_ZN5mxnet3ext8MXTensorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %44) #7
  br label %181

181:                                              ; preds = %180, %175, %169
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %180 ], [ %.pn97, %175 ], [ %170, %169 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %44) #7
  br label %182

182:                                              ; preds = %181, %149, %140
  %.pn102 = phi { ptr, i32 } [ %150, %149 ], [ %.pn99.pn, %181 ], [ %141, %140 ]
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #7
  br label %204

183:                                              ; preds = %._crit_edge133
  invoke void @_ZN5mxnet3ext5Graph10_setParamsEPSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8MXTensorESt4hashIS8_ESt8equal_toIS8_ESaISt4pairIKS8_S9_EEESJ_(ptr noundef nonnull align 8 dereferenceable(128) %54, ptr noundef nonnull %35, ptr noundef nonnull %42)
          to label %184 unwind label %187

184:                                              ; preds = %183
  call void @_ZN5mxnet3ext5Graph16_setPassResourceEPNS0_12PassResourceE(ptr noundef nonnull align 8 dereferenceable(128) %54, ptr noundef nonnull %51)
  %185 = invoke noundef i32 %0(ptr noundef nonnull %54, ptr noundef nonnull align 8 dereferenceable(56) %30)
          to label %186 unwind label %189

186:                                              ; preds = %184
  %.not = icmp eq i32 %185, 0
  br i1 %.not, label %202, label %191

187:                                              ; preds = %183, %._crit_edge133
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %203

189:                                              ; preds = %184
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %203

191:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #7
  invoke void @_ZNK5mxnet3ext5Graph8toStringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 8 dereferenceable(128) %54)
          to label %192 unwind label %200

192:                                              ; preds = %191
  %193 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  %194 = add i64 %193, 1
  %195 = call noalias ptr @malloc(i64 noundef %194) #8
  store ptr %195, ptr %2, align 8, !tbaa !5
  %196 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  %197 = add i64 %196, 1
  %198 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  %199 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %195, i64 noundef %197, ptr noundef nonnull @.str.61, ptr noundef %198) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #7
  br label %202

200:                                              ; preds = %191
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #7
  br label %203

202:                                              ; preds = %186, %192
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %49) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %49) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %42) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %35) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #7
  ret i32 %185

203:                                              ; preds = %189, %200, %187
  %.pn94.pn = phi { ptr, i32 } [ %188, %187 ], [ %201, %200 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #7
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %49) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %49) #7
  br label %204

204:                                              ; preds = %203, %182
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %182 ], [ %.pn94.pn, %203 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %42) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %42) #7
  br label %205

205:                                              ; preds = %204, %131
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %131 ], [ %.pn102.pn, %204 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5mxnet3ext8MXTensorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %35) #7
  br label %206

206:                                              ; preds = %205, %79
  %.pn113.pn.pn = phi { ptr, i32 } [ %.pn113.pn, %79 ], [ %.pn110.pn, %205 ]
  call void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S5_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #7
  br label %207

207:                                              ; preds = %206, %62
  %.pn113.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn, %206 ], [ %.pn, %62 ]
  resume { ptr, i32 } %.pn113.pn.pn.pn
}

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

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

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

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

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


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