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

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

%"class.std::vector.195" = type { %"struct.std::_Vector_base.196" }
%"struct.std::_Vector_base.196" = type { %"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.197" = type { i8 }
%"class.std::vector.200" = type { %"struct.std::_Vector_base.201" }
%"struct.std::_Vector_base.201" = type { %"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.202" = type { i8 }
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"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.mxnet::ext::OpResource" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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: 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 @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef) #3 align 2

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

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

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

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

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

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

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

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

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

99:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %80) #4
  %100 = load i32, ptr %48, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #4
  call void @_ZNSaIN5mxnet3ext8MXSparseEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %101, ptr noundef nonnull align 1 dereferenceable(1) %81)
          to label %102 unwind label %112

102:                                              ; preds = %99
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #4
  store i32 0, ptr %82, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %297, %102
  %104 = load i32, ptr %82, align 4, !tbaa !5
  %105 = load i32, ptr %48, align 4, !tbaa !5
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %116, label %107

107:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #4
  br label %301

108:                                              ; preds = %37
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %78, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %79, align 4
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #4
  br label %550

112:                                              ; preds = %99
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %78, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %79, align 4
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #4
  br label %549

116:                                              ; preds = %103
  %117 = load ptr, ptr %64, align 8, !tbaa !9
  %118 = load i32, ptr %82, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds i32, ptr %117, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %172

123:                                              ; preds = %116
  %124 = load i32, ptr %82, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %125) #4
  %127 = load ptr, ptr %43, align 8, !tbaa !9
  %128 = load i32, ptr %82, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds ptr, ptr %127, i64 %129
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = load ptr, ptr %44, align 8, !tbaa !9
  %133 = load i32, ptr %82, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds i32, ptr %132, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = load ptr, ptr %41, align 8, !tbaa !9
  %138 = load i32, ptr %82, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds ptr, ptr %137, i64 %139
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = load ptr, ptr %42, align 8, !tbaa !9
  %143 = load i32, ptr %82, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i32, ptr %142, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = load ptr, ptr %45, align 8, !tbaa !9
  %148 = load i32, ptr %82, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i64, ptr %147, i64 %149
  %151 = load i64, ptr %150, align 8, !tbaa !11
  %152 = load ptr, ptr %46, align 8, !tbaa !9
  %153 = load i32, ptr %82, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds ptr, ptr %152, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = load ptr, ptr %47, align 8, !tbaa !9
  %158 = load i32, ptr %82, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds i32, ptr %157, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %83, ptr noundef %156, i32 noundef %161)
          to label %162 unwind label %164

162:                                              ; preds = %123
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %126, ptr noundef %131, i32 noundef %136, ptr noundef %141, i32 noundef %146, i64 noundef %151, ptr noundef %83, i32 noundef 0)
          to label %163 unwind label %168

163:                                              ; preds = %162
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %83) #4
  br label %296

164:                                              ; preds = %123
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %78, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %79, align 4
  br label %300

168:                                              ; preds = %162
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %78, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %79, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %83) #4
  br label %300

172:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #4
  %173 = load ptr, ptr %64, align 8, !tbaa !9
  %174 = load i32, ptr %82, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i32, ptr %173, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = icmp eq i32 %177, 1
  br i1 %178, label %179, label %208

179:                                              ; preds = %172
  store i32 1, ptr %84, align 4, !tbaa !13
  %180 = load i32, ptr %82, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %181) #4
  %183 = load ptr, ptr %43, align 8, !tbaa !9
  %184 = load i32, ptr %82, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds ptr, ptr %183, i64 %185
  %187 = load ptr, ptr %186, align 8, !tbaa !9
  %188 = load ptr, ptr %41, align 8, !tbaa !9
  %189 = load i32, ptr %82, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds ptr, ptr %188, i64 %190
  %192 = load ptr, ptr %191, align 8, !tbaa !9
  %193 = load ptr, ptr %42, align 8, !tbaa !9
  %194 = load i32, ptr %82, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %193, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %198 = load ptr, ptr %66, align 8, !tbaa !9
  %199 = load i32, ptr %82, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds ptr, ptr %198, i64 %200
  %202 = load ptr, ptr %201, align 8, !tbaa !9
  %203 = load ptr, ptr %70, align 8, !tbaa !9
  %204 = load i32, ptr %82, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds i64, ptr %203, i64 %205
  %207 = load i64, ptr %206, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %182, ptr noundef %187, ptr noundef %192, i32 noundef %197, ptr noundef %202, i64 noundef %207, ptr noundef null, i64 noundef 0)
  br label %247

208:                                              ; preds = %172
  store i32 2, ptr %84, align 4, !tbaa !13
  %209 = load i32, ptr %82, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %210) #4
  %212 = load ptr, ptr %43, align 8, !tbaa !9
  %213 = load i32, ptr %82, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds ptr, ptr %212, i64 %214
  %216 = load ptr, ptr %215, align 8, !tbaa !9
  %217 = load ptr, ptr %41, align 8, !tbaa !9
  %218 = load i32, ptr %82, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds ptr, ptr %217, i64 %219
  %221 = load ptr, ptr %220, align 8, !tbaa !9
  %222 = load ptr, ptr %42, align 8, !tbaa !9
  %223 = load i32, ptr %82, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds i32, ptr %222, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = load ptr, ptr %66, align 8, !tbaa !9
  %228 = load i32, ptr %82, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds ptr, ptr %227, i64 %229
  %231 = load ptr, ptr %230, align 8, !tbaa !9
  %232 = load ptr, ptr %70, align 8, !tbaa !9
  %233 = load i32, ptr %82, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds i64, ptr %232, i64 %234
  %236 = load i64, ptr %235, align 8, !tbaa !11
  %237 = load ptr, ptr %68, align 8, !tbaa !9
  %238 = load i32, ptr %82, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds ptr, ptr %237, i64 %239
  %241 = load ptr, ptr %240, align 8, !tbaa !9
  %242 = load ptr, ptr %72, align 8, !tbaa !9
  %243 = load i32, ptr %82, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds i64, ptr %242, i64 %244
  %246 = load i64, ptr %245, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %211, ptr noundef %216, ptr noundef %221, i32 noundef %226, ptr noundef %231, i64 noundef %236, ptr noundef %241, i64 noundef %246)
  br label %247

247:                                              ; preds = %208, %179
  %248 = load i32, ptr %82, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %249) #4
  %251 = load i32, ptr %82, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %252) #4
  %254 = load ptr, ptr %44, align 8, !tbaa !9
  %255 = load i32, ptr %82, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds i32, ptr %254, i64 %256
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = load ptr, ptr %41, align 8, !tbaa !9
  %260 = load i32, ptr %82, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds ptr, ptr %259, i64 %261
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = load ptr, ptr %42, align 8, !tbaa !9
  %265 = load i32, ptr %82, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %264, i64 %266
  %268 = load i32, ptr %267, align 4, !tbaa !5
  %269 = load ptr, ptr %45, align 8, !tbaa !9
  %270 = load i32, ptr %82, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds i64, ptr %269, i64 %271
  %273 = load i64, ptr %272, align 8, !tbaa !11
  %274 = load ptr, ptr %46, align 8, !tbaa !9
  %275 = load i32, ptr %82, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds ptr, ptr %274, i64 %276
  %278 = load ptr, ptr %277, align 8, !tbaa !9
  %279 = load ptr, ptr %47, align 8, !tbaa !9
  %280 = load i32, ptr %82, align 4, !tbaa !5
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds i32, ptr %279, i64 %281
  %283 = load i32, ptr %282, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %85, ptr noundef %278, i32 noundef %283)
          to label %284 unwind label %287

284:                                              ; preds = %247
  %285 = load i32, ptr %84, align 4, !tbaa !13
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %250, ptr noundef %253, i32 noundef %258, ptr noundef %263, i32 noundef %268, i64 noundef %273, ptr noundef %85, i32 noundef %285)
          to label %286 unwind label %291

286:                                              ; preds = %284
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %85) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #4
  br label %296

287:                                              ; preds = %247
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %78, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %79, align 4
  br label %295

291:                                              ; preds = %284
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %78, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %79, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %85) #4
  br label %295

295:                                              ; preds = %291, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #4
  br label %300

296:                                              ; preds = %286, %163
  br label %297

297:                                              ; preds = %296
  %298 = load i32, ptr %82, align 4, !tbaa !5
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr %82, align 4, !tbaa !5
  br label %103, !llvm.loop !15

300:                                              ; preds = %295, %168, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #4
  br label %548

301:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 24, ptr %86) #4
  %302 = load i32, ptr %56, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #4
  call void @_ZNSaIN5mxnet3ext8MXTensorEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %303, ptr noundef nonnull align 1 dereferenceable(1) %87)
          to label %304 unwind label %313

304:                                              ; preds = %301
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %88) #4
  %305 = load i32, ptr %56, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #4
  call void @_ZNSaIN5mxnet3ext8MXSparseEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %306, ptr noundef nonnull align 1 dereferenceable(1) %89)
          to label %307 unwind label %317

307:                                              ; preds = %304
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %90) #4
  store i32 0, ptr %90, align 4, !tbaa !5
  br label %308

308:                                              ; preds = %502, %307
  %309 = load i32, ptr %90, align 4, !tbaa !5
  %310 = load i32, ptr %56, align 4, !tbaa !5
  %311 = icmp slt i32 %309, %310
  br i1 %311, label %321, label %312

312:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #4
  br label %506

313:                                              ; preds = %301
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %78, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %79, align 4
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #4
  br label %547

317:                                              ; preds = %304
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %78, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %79, align 4
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #4
  br label %546

321:                                              ; preds = %308
  %322 = load ptr, ptr %65, align 8, !tbaa !9
  %323 = load i32, ptr %90, align 4, !tbaa !5
  %324 = sext i32 %323 to i64
  %325 = getelementptr inbounds i32, ptr %322, i64 %324
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = icmp eq i32 %326, 0
  br i1 %327, label %328, label %377

328:                                              ; preds = %321
  %329 = load i32, ptr %90, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %330) #4
  %332 = load ptr, ptr %51, align 8, !tbaa !9
  %333 = load i32, ptr %90, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds ptr, ptr %332, i64 %334
  %336 = load ptr, ptr %335, align 8, !tbaa !9
  %337 = load ptr, ptr %52, align 8, !tbaa !9
  %338 = load i32, ptr %90, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds i32, ptr %337, i64 %339
  %341 = load i32, ptr %340, align 4, !tbaa !5
  %342 = load ptr, ptr %49, align 8, !tbaa !9
  %343 = load i32, ptr %90, align 4, !tbaa !5
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds ptr, ptr %342, i64 %344
  %346 = load ptr, ptr %345, align 8, !tbaa !9
  %347 = load ptr, ptr %50, align 8, !tbaa !9
  %348 = load i32, ptr %90, align 4, !tbaa !5
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds i32, ptr %347, i64 %349
  %351 = load i32, ptr %350, align 4, !tbaa !5
  %352 = load ptr, ptr %53, align 8, !tbaa !9
  %353 = load i32, ptr %90, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds i64, ptr %352, i64 %354
  %356 = load i64, ptr %355, align 8, !tbaa !11
  %357 = load ptr, ptr %54, align 8, !tbaa !9
  %358 = load i32, ptr %90, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds ptr, ptr %357, i64 %359
  %361 = load ptr, ptr %360, align 8, !tbaa !9
  %362 = load ptr, ptr %55, align 8, !tbaa !9
  %363 = load i32, ptr %90, align 4, !tbaa !5
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds i32, ptr %362, i64 %364
  %366 = load i32, ptr %365, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %91, ptr noundef %361, i32 noundef %366)
          to label %367 unwind label %369

367:                                              ; preds = %328
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %331, ptr noundef %336, i32 noundef %341, ptr noundef %346, i32 noundef %351, i64 noundef %356, ptr noundef %91, i32 noundef 0)
          to label %368 unwind label %373

368:                                              ; preds = %367
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %91) #4
  br label %501

369:                                              ; preds = %328
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %78, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %79, align 4
  br label %505

373:                                              ; preds = %367
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %78, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %79, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %91) #4
  br label %505

377:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 4, ptr %92) #4
  %378 = load ptr, ptr %65, align 8, !tbaa !9
  %379 = load i32, ptr %90, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds i32, ptr %378, i64 %380
  %382 = load i32, ptr %381, align 4, !tbaa !5
  %383 = icmp eq i32 %382, 1
  br i1 %383, label %384, label %413

384:                                              ; preds = %377
  store i32 1, ptr %92, align 4, !tbaa !13
  %385 = load i32, ptr %90, align 4, !tbaa !5
  %386 = sext i32 %385 to i64
  %387 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %386) #4
  %388 = load ptr, ptr %51, align 8, !tbaa !9
  %389 = load i32, ptr %90, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds ptr, ptr %388, i64 %390
  %392 = load ptr, ptr %391, align 8, !tbaa !9
  %393 = load ptr, ptr %49, align 8, !tbaa !9
  %394 = load i32, ptr %90, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds ptr, ptr %393, i64 %395
  %397 = load ptr, ptr %396, align 8, !tbaa !9
  %398 = load ptr, ptr %50, align 8, !tbaa !9
  %399 = load i32, ptr %90, align 4, !tbaa !5
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds i32, ptr %398, i64 %400
  %402 = load i32, ptr %401, align 4, !tbaa !5
  %403 = load ptr, ptr %67, align 8, !tbaa !9
  %404 = load i32, ptr %90, align 4, !tbaa !5
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds ptr, ptr %403, i64 %405
  %407 = load ptr, ptr %406, align 8, !tbaa !9
  %408 = load ptr, ptr %71, align 8, !tbaa !9
  %409 = load i32, ptr %90, align 4, !tbaa !5
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds i64, ptr %408, i64 %410
  %412 = load i64, ptr %411, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %387, ptr noundef %392, ptr noundef %397, i32 noundef %402, ptr noundef %407, i64 noundef %412, ptr noundef null, i64 noundef 0)
  br label %452

413:                                              ; preds = %377
  store i32 2, ptr %92, align 4, !tbaa !13
  %414 = load i32, ptr %90, align 4, !tbaa !5
  %415 = sext i32 %414 to i64
  %416 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %415) #4
  %417 = load ptr, ptr %51, align 8, !tbaa !9
  %418 = load i32, ptr %90, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds ptr, ptr %417, i64 %419
  %421 = load ptr, ptr %420, align 8, !tbaa !9
  %422 = load ptr, ptr %49, align 8, !tbaa !9
  %423 = load i32, ptr %90, align 4, !tbaa !5
  %424 = sext i32 %423 to i64
  %425 = getelementptr inbounds ptr, ptr %422, i64 %424
  %426 = load ptr, ptr %425, align 8, !tbaa !9
  %427 = load ptr, ptr %50, align 8, !tbaa !9
  %428 = load i32, ptr %90, align 4, !tbaa !5
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds i32, ptr %427, i64 %429
  %431 = load i32, ptr %430, align 4, !tbaa !5
  %432 = load ptr, ptr %67, align 8, !tbaa !9
  %433 = load i32, ptr %90, align 4, !tbaa !5
  %434 = sext i32 %433 to i64
  %435 = getelementptr inbounds ptr, ptr %432, i64 %434
  %436 = load ptr, ptr %435, align 8, !tbaa !9
  %437 = load ptr, ptr %71, align 8, !tbaa !9
  %438 = load i32, ptr %90, align 4, !tbaa !5
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds i64, ptr %437, i64 %439
  %441 = load i64, ptr %440, align 8, !tbaa !11
  %442 = load ptr, ptr %69, align 8, !tbaa !9
  %443 = load i32, ptr %90, align 4, !tbaa !5
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds ptr, ptr %442, i64 %444
  %446 = load ptr, ptr %445, align 8, !tbaa !9
  %447 = load ptr, ptr %73, align 8, !tbaa !9
  %448 = load i32, ptr %90, align 4, !tbaa !5
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds i64, ptr %447, i64 %449
  %451 = load i64, ptr %450, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %416, ptr noundef %421, ptr noundef %426, i32 noundef %431, ptr noundef %436, i64 noundef %441, ptr noundef %446, i64 noundef %451)
  br label %452

452:                                              ; preds = %413, %384
  %453 = load i32, ptr %90, align 4, !tbaa !5
  %454 = sext i32 %453 to i64
  %455 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %454) #4
  %456 = load i32, ptr %90, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %457) #4
  %459 = load ptr, ptr %52, align 8, !tbaa !9
  %460 = load i32, ptr %90, align 4, !tbaa !5
  %461 = sext i32 %460 to i64
  %462 = getelementptr inbounds i32, ptr %459, i64 %461
  %463 = load i32, ptr %462, align 4, !tbaa !5
  %464 = load ptr, ptr %49, align 8, !tbaa !9
  %465 = load i32, ptr %90, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = getelementptr inbounds ptr, ptr %464, i64 %466
  %468 = load ptr, ptr %467, align 8, !tbaa !9
  %469 = load ptr, ptr %50, align 8, !tbaa !9
  %470 = load i32, ptr %90, align 4, !tbaa !5
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds i32, ptr %469, i64 %471
  %473 = load i32, ptr %472, align 4, !tbaa !5
  %474 = load ptr, ptr %53, align 8, !tbaa !9
  %475 = load i32, ptr %90, align 4, !tbaa !5
  %476 = sext i32 %475 to i64
  %477 = getelementptr inbounds i64, ptr %474, i64 %476
  %478 = load i64, ptr %477, align 8, !tbaa !11
  %479 = load ptr, ptr %54, align 8, !tbaa !9
  %480 = load i32, ptr %90, align 4, !tbaa !5
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds ptr, ptr %479, i64 %481
  %483 = load ptr, ptr %482, align 8, !tbaa !9
  %484 = load ptr, ptr %55, align 8, !tbaa !9
  %485 = load i32, ptr %90, align 4, !tbaa !5
  %486 = sext i32 %485 to i64
  %487 = getelementptr inbounds i32, ptr %484, i64 %486
  %488 = load i32, ptr %487, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %93, ptr noundef %483, i32 noundef %488)
          to label %489 unwind label %492

489:                                              ; preds = %452
  %490 = load i32, ptr %92, align 4, !tbaa !13
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %455, ptr noundef %458, i32 noundef %463, ptr noundef %468, i32 noundef %473, i64 noundef %478, ptr noundef %93, i32 noundef %490)
          to label %491 unwind label %496

491:                                              ; preds = %489
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %93) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #4
  br label %501

492:                                              ; preds = %452
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %78, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %79, align 4
  br label %500

496:                                              ; preds = %489
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %78, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %79, align 4
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %93) #4
  br label %500

500:                                              ; preds = %496, %492
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #4
  br label %505

501:                                              ; preds = %491, %368
  br label %502

502:                                              ; preds = %501
  %503 = load i32, ptr %90, align 4, !tbaa !5
  %504 = add nsw i32 %503, 1
  store i32 %504, ptr %90, align 4, !tbaa !5
  br label %308, !llvm.loop !17

505:                                              ; preds = %500, %373, %369
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #4
  br label %545

506:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 72, ptr %94) #4
  %507 = load ptr, ptr %57, align 8, !tbaa !9
  %508 = load ptr, ptr %58, align 8, !tbaa !9
  %509 = load ptr, ptr %59, align 8, !tbaa !9
  %510 = load ptr, ptr %60, align 8, !tbaa !9
  %511 = load ptr, ptr %61, align 8, !tbaa !9
  %512 = load ptr, ptr %62, align 8, !tbaa !9
  %513 = load ptr, ptr %63, align 8, !tbaa !9
  %514 = load ptr, ptr %74, align 8, !tbaa !9
  %515 = load ptr, ptr %75, align 8, !tbaa !9
  invoke void @_ZN5mxnet3ext10OpResourceC1EPFPvS2_iES2_S4_S2_S2_PFvS2_iiiPS2_PPlS7_ES2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(72) %94, ptr noundef %507, ptr noundef %508, ptr noundef %509, ptr noundef %510, ptr noundef %511, ptr noundef %512, ptr noundef %513, ptr noundef %514, ptr noundef %515)
          to label %516 unwind label %527

516:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #4
  %517 = load ptr, ptr %40, align 8, !tbaa !9
  store ptr %517, ptr %95, align 8, !tbaa !9
  %518 = load i32, ptr %39, align 4, !tbaa !5
  %519 = icmp ne i32 %518, 0
  br i1 %519, label %520, label %535

520:                                              ; preds = %516
  %521 = load ptr, ptr %95, align 8, !tbaa !9
  %522 = load ptr, ptr %521, align 8, !tbaa !18
  %523 = getelementptr inbounds ptr, ptr %522, i64 2
  %524 = load ptr, ptr %523, align 8
  %525 = invoke noundef i32 %524(ptr noundef nonnull align 8 dereferenceable(10) %521, ptr noundef %76, ptr noundef %86, ptr noundef nonnull align 8 dereferenceable(72) %94)
          to label %526 unwind label %531

526:                                              ; preds = %520
  store i32 %525, ptr %38, align 4
  store i32 1, ptr %96, align 4
  br label %542

527:                                              ; preds = %506
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %78, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %79, align 4
  br label %544

531:                                              ; preds = %535, %520
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %78, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %79, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #4
  br label %544

535:                                              ; preds = %516
  %536 = load ptr, ptr %95, align 8, !tbaa !9
  %537 = load ptr, ptr %536, align 8, !tbaa !18
  %538 = getelementptr inbounds ptr, ptr %537, i64 3
  %539 = load ptr, ptr %538, align 8
  %540 = invoke noundef i32 %539(ptr noundef nonnull align 8 dereferenceable(10) %536, ptr noundef %76, ptr noundef %86, ptr noundef nonnull align 8 dereferenceable(72) %94)
          to label %541 unwind label %531

541:                                              ; preds = %535
  store i32 %540, ptr %38, align 4
  store i32 1, ptr %96, align 4
  br label %542

542:                                              ; preds = %541, %526
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %94) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %88) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %88) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %80) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %76) #4
  %543 = load i32, ptr %38, align 4
  ret i32 %543

544:                                              ; preds = %531, %527
  call void @llvm.lifetime.end.p0(i64 72, ptr %94) #4
  br label %545

545:                                              ; preds = %544, %505
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %88) #4
  br label %546

546:                                              ; preds = %545, %317
  call void @llvm.lifetime.end.p0(i64 24, ptr %88) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #4
  br label %547

547:                                              ; preds = %546, %313
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #4
  br label %548

548:                                              ; preds = %547, %300
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #4
  br label %549

549:                                              ; preds = %548, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %80) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #4
  br label %550

550:                                              ; preds = %549, %108
  call void @llvm.lifetime.end.p0(i64 24, ptr %76) #4
  br label %551

551:                                              ; preds = %550
  %552 = load ptr, ptr %78, align 8
  %553 = load i32, ptr %79, align 4
  %554 = insertvalue { ptr, i32 } poison, ptr %552, 0
  %555 = insertvalue { ptr, i32 } %554, i32 %553, 1
  resume { ptr, i32 } %555
}

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

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

declare void @_ZN5mxnet3ext9MXContextC1EPKci(ptr, ptr, i32)

declare void @_ZN5mxnet3ext10OpResourceC1EPFPvS2_iES2_S4_S2_S2_PFvS2_iiiPS2_PPlS7_ES2_S2_S2_(ptr, ptr, ptr, ptr, ptr, 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN5mxnet3ext13MXStorageTypeE", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, 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::vector.195" = type { %"struct.std::_Vector_base.196" }
%"struct.std::_Vector_base.196" = type { %"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXTensor, std::allocator<mxnet::ext::MXTensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.197" = type { i8 }
%"class.std::vector.200" = type { %"struct.std::_Vector_base.201" }
%"struct.std::_Vector_base.201" = type { %"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXSparse, std::allocator<mxnet::ext::MXSparse>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.202" = type { i8 }
%"struct.mxnet::ext::MXContext" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"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.mxnet::ext::OpResource" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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 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 @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef, i32 noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_opCallFStatefulCompute(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, i32 noundef %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 noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr nocapture noundef readonly %25, ptr nocapture noundef readonly %26, ptr nocapture noundef readonly %27, ptr nocapture noundef readonly %28, ptr nocapture noundef readonly %29, ptr nocapture noundef readonly %30, ptr nocapture noundef readonly %31, ptr nocapture noundef readonly %32, ptr nocapture noundef readonly %33, ptr nocapture noundef readonly %34, ptr noundef %35, ptr noundef %36) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %38 = alloca %"class.std::vector.195", align 8
  %39 = alloca %"class.std::allocator.197", align 1
  %40 = alloca %"class.std::vector.200", align 8
  %41 = alloca %"class.std::allocator.202", align 1
  %42 = alloca %"struct.mxnet::ext::MXContext", align 8
  %43 = alloca %"struct.mxnet::ext::MXContext", align 8
  %44 = alloca %"class.std::vector.195", align 8
  %45 = alloca %"class.std::allocator.197", align 1
  %46 = alloca %"class.std::vector.200", align 8
  %47 = alloca %"class.std::allocator.202", align 1
  %48 = alloca %"struct.mxnet::ext::MXContext", align 8
  %49 = alloca %"struct.mxnet::ext::MXContext", align 8
  %50 = alloca %"class.mxnet::ext::OpResource", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #4
  %51 = sext i32 %9 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #4
  call void @_ZNSaIN5mxnet3ext8MXTensorEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %51, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %52 unwind label %56

52:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #4
  call void @_ZNSaIN5mxnet3ext8MXSparseEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %51, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %53 unwind label %58

53:                                               ; preds = %52
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #4
  %54 = icmp sgt i32 %9, 0
  br i1 %54, label %.lr.ph.preheader, label %._crit_edge

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

._crit_edge:                                      ; preds = %129, %53
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #4
  %55 = sext i32 %17 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #4
  call void @_ZNSaIN5mxnet3ext8MXTensorEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %130 unwind label %133

56:                                               ; preds = %37
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #4
  br label %222

58:                                               ; preds = %52
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #4
  br label %221

.lr.ph:                                           ; preds = %.lr.ph.preheader, %129
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %129 ]
  %60 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  switch i32 %61, label %94 [
    i32 0, label %63
    i32 1, label %83
  ]

63:                                               ; preds = %.lr.ph
  %64 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv) #4
  %65 = load ptr, ptr %62, align 8, !tbaa !9
  %66 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv
  %73 = load i64, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv
  %77 = load i32, ptr %76, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %42, ptr noundef %75, i32 noundef %77)
          to label %78 unwind label %79

78:                                               ; preds = %63
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %64, ptr noundef %65, i32 noundef %67, ptr noundef %69, i32 noundef %71, i64 noundef %73, ptr noundef nonnull %42, i32 noundef 0)
          to label %129 unwind label %81

79:                                               ; preds = %63
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %220

81:                                               ; preds = %78
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %42) #4
  br label %220

83:                                               ; preds = %.lr.ph
  %84 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %indvars.iv) #4
  %85 = load ptr, ptr %62, align 8, !tbaa !9
  %86 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = getelementptr inbounds ptr, ptr %27, i64 %indvars.iv
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds i64, ptr %31, i64 %indvars.iv
  %93 = load i64, ptr %92, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef %85, ptr noundef %87, i32 noundef %89, ptr noundef %91, i64 noundef %93, ptr noundef null, i64 noundef 0)
  br label %109

94:                                               ; preds = %.lr.ph
  %95 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %indvars.iv) #4
  %96 = load ptr, ptr %62, align 8, !tbaa !9
  %97 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = getelementptr inbounds ptr, ptr %27, i64 %indvars.iv
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds i64, ptr %31, i64 %indvars.iv
  %104 = load i64, ptr %103, align 8, !tbaa !11
  %105 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = getelementptr inbounds i64, ptr %33, i64 %indvars.iv
  %108 = load i64, ptr %107, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %95, ptr noundef %96, ptr noundef %98, i32 noundef %100, ptr noundef %102, i64 noundef %104, ptr noundef %106, i64 noundef %108)
  br label %109

109:                                              ; preds = %94, %83
  %.0147 = phi i32 [ 1, %83 ], [ 2, %94 ]
  %110 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv) #4
  %111 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %indvars.iv) #4
  %112 = getelementptr inbounds i32, ptr %5, i64 %indvars.iv
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv
  %119 = load i64, ptr %118, align 8, !tbaa !11
  %120 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %121 = load ptr, ptr %120, align 8, !tbaa !9
  %122 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv
  %123 = load i32, ptr %122, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %43, ptr noundef %121, i32 noundef %123)
          to label %124 unwind label %125

124:                                              ; preds = %109
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %110, ptr noundef nonnull %111, i32 noundef %113, ptr noundef %115, i32 noundef %117, i64 noundef %119, ptr noundef nonnull %43, i32 noundef %.0147)
          to label %129 unwind label %127

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

127:                                              ; preds = %124
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %43) #4
  br label %220

129:                                              ; preds = %124, %78
  %.sink = phi ptr [ %42, %78 ], [ %43, %124 ]
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %.sink) #4
  %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 !13

130:                                              ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #4
  call void @_ZNSaIN5mxnet3ext8MXSparseEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #4
  invoke void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %131 unwind label %135

131:                                              ; preds = %130
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #4
  %132 = icmp sgt i32 %17, 0
  br i1 %132, label %.lr.ph181.preheader, label %._crit_edge182

.lr.ph181.preheader:                              ; preds = %131
  %wide.trip.count187 = zext nneg i32 %17 to i64
  br label %.lr.ph181

._crit_edge182:                                   ; preds = %206, %131
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %50) #4
  invoke void @_ZN5mxnet3ext10OpResourceC1EPFPvS2_iES2_S4_S2_S2_PFvS2_iiiPS2_PPlS7_ES2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(72) %50, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %35, ptr noundef %36)
          to label %.invoke unwind label %211

133:                                              ; preds = %._crit_edge
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXTensorEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #4
  br label %219

135:                                              ; preds = %130
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN5mxnet3ext8MXSparseEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #4
  br label %218

.lr.ph181:                                        ; preds = %.lr.ph181.preheader, %206
  %indvars.iv184 = phi i64 [ 0, %.lr.ph181.preheader ], [ %indvars.iv.next185, %206 ]
  %137 = getelementptr inbounds i32, ptr %26, i64 %indvars.iv184
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = getelementptr inbounds ptr, ptr %12, i64 %indvars.iv184
  switch i32 %138, label %171 [
    i32 0, label %140
    i32 1, label %160
  ]

140:                                              ; preds = %.lr.ph181
  %141 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %indvars.iv184) #4
  %142 = load ptr, ptr %139, align 8, !tbaa !9
  %143 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv184
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv184
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %147 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv184
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = getelementptr inbounds i64, ptr %14, i64 %indvars.iv184
  %150 = load i64, ptr %149, align 8, !tbaa !11
  %151 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv184
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds i32, ptr %16, i64 %indvars.iv184
  %154 = load i32, ptr %153, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef %152, i32 noundef %154)
          to label %155 unwind label %156

155:                                              ; preds = %140
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %141, ptr noundef %142, i32 noundef %144, ptr noundef %146, i32 noundef %148, i64 noundef %150, ptr noundef nonnull %48, i32 noundef 0)
          to label %206 unwind label %158

156:                                              ; preds = %140
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %217

158:                                              ; preds = %155
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %48) #4
  br label %217

160:                                              ; preds = %.lr.ph181
  %161 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv184) #4
  %162 = load ptr, ptr %139, align 8, !tbaa !9
  %163 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv184
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  %165 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv184
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = getelementptr inbounds ptr, ptr %28, i64 %indvars.iv184
  %168 = load ptr, ptr %167, align 8, !tbaa !9
  %169 = getelementptr inbounds i64, ptr %32, i64 %indvars.iv184
  %170 = load i64, ptr %169, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %161, ptr noundef %162, ptr noundef %164, i32 noundef %166, ptr noundef %168, i64 noundef %170, ptr noundef null, i64 noundef 0)
  br label %186

171:                                              ; preds = %.lr.ph181
  %172 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv184) #4
  %173 = load ptr, ptr %139, align 8, !tbaa !9
  %174 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv184
  %175 = load ptr, ptr %174, align 8, !tbaa !9
  %176 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv184
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = getelementptr inbounds ptr, ptr %28, i64 %indvars.iv184
  %179 = load ptr, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds i64, ptr %32, i64 %indvars.iv184
  %181 = load i64, ptr %180, align 8, !tbaa !11
  %182 = getelementptr inbounds ptr, ptr %30, i64 %indvars.iv184
  %183 = load ptr, ptr %182, align 8, !tbaa !9
  %184 = getelementptr inbounds i64, ptr %34, i64 %indvars.iv184
  %185 = load i64, ptr %184, align 8, !tbaa !11
  call void @_ZN5mxnet3ext8MXSparse3setEPvPKliS2_lS2_l(ptr noundef nonnull align 8 dereferenceable(48) %172, ptr noundef %173, ptr noundef %175, i32 noundef %177, ptr noundef %179, i64 noundef %181, ptr noundef %183, i64 noundef %185)
  br label %186

186:                                              ; preds = %171, %160
  %.0145 = phi i32 [ 1, %160 ], [ 2, %171 ]
  %187 = call noundef nonnull align 8 dereferenceable(140) ptr @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %indvars.iv184) #4
  %188 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv184) #4
  %189 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv184
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv184
  %192 = load ptr, ptr %191, align 8, !tbaa !9
  %193 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv184
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = getelementptr inbounds i64, ptr %14, i64 %indvars.iv184
  %196 = load i64, ptr %195, align 8, !tbaa !11
  %197 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv184
  %198 = load ptr, ptr %197, align 8, !tbaa !9
  %199 = getelementptr inbounds i32, ptr %16, i64 %indvars.iv184
  %200 = load i32, ptr %199, align 4, !tbaa !5
  invoke void @_ZN5mxnet3ext9MXContextC1EPKci(ptr noundef nonnull align 8 dereferenceable(36) %49, ptr noundef %198, i32 noundef %200)
          to label %201 unwind label %202

201:                                              ; preds = %186
  invoke void @_ZN5mxnet3ext8MXTensor9setTensorEPvNS0_7MXDTypeEPKlimNS0_9MXContextENS0_13MXStorageTypeE(ptr noundef nonnull align 8 dereferenceable(140) %187, ptr noundef nonnull %188, i32 noundef %190, ptr noundef %192, i32 noundef %194, i64 noundef %196, ptr noundef nonnull %49, i32 noundef %.0145)
          to label %206 unwind label %204

202:                                              ; preds = %186
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %217

204:                                              ; preds = %201
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %49) #4
  br label %217

206:                                              ; preds = %201, %155
  %.sink189 = phi ptr [ %48, %155 ], [ %49, %201 ]
  call void @_ZN5mxnet3ext9MXContextD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %.sink189) #4
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %wide.trip.count187
  br i1 %exitcond188.not, label %._crit_edge182, label %.lr.ph181, !llvm.loop !15

.invoke:                                          ; preds = %._crit_edge182
  %.not = icmp eq i32 %0, 0
  %207 = load ptr, ptr %1, align 8, !tbaa !16
  %. = select i1 %.not, i64 24, i64 16
  %208 = getelementptr inbounds i8, ptr %207, i64 %.
  %209 = load ptr, ptr %208, align 8
  %210 = invoke noundef i32 %209(ptr noundef nonnull align 8 dereferenceable(10) %1, ptr noundef nonnull %38, ptr noundef nonnull %44, ptr noundef nonnull align 8 dereferenceable(72) %50)
          to label %215 unwind label %213

211:                                              ; preds = %._crit_edge182
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %216

213:                                              ; preds = %.invoke
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %216

215:                                              ; preds = %.invoke
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %50) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  ret i32 %210

216:                                              ; preds = %213, %211
  %.pn = phi { ptr, i32 } [ %214, %213 ], [ %212, %211 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %50) #4
  br label %217

217:                                              ; preds = %156, %158, %204, %202, %216
  %.pn166.pn = phi { ptr, i32 } [ %.pn, %216 ], [ %159, %158 ], [ %157, %156 ], [ %205, %204 ], [ %203, %202 ]
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #4
  br label %218

218:                                              ; preds = %217, %135
  %.pn166.pn.pn = phi { ptr, i32 } [ %.pn166.pn, %217 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #4
  br label %219

219:                                              ; preds = %218, %133
  %.pn166.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn, %218 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #4
  br label %220

220:                                              ; preds = %79, %81, %127, %125, %219
  %.pn173.pn = phi { ptr, i32 } [ %.pn166.pn.pn.pn, %219 ], [ %82, %81 ], [ %80, %79 ], [ %128, %127 ], [ %126, %125 ]
  call void @_ZNSt6vectorIN5mxnet3ext8MXSparseESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #4
  br label %221

221:                                              ; preds = %220, %58
  %.pn173.pn.pn = phi { ptr, i32 } [ %.pn173.pn, %220 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #4
  call void @_ZNSt6vectorIN5mxnet3ext8MXTensorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #4
  br label %222

222:                                              ; preds = %221, %56
  %.pn173.pn.pn.pn = phi { ptr, i32 } [ %.pn173.pn.pn, %221 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #4
  resume { ptr, i32 } %.pn173.pn.pn.pn
}

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

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

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

declare void @_ZN5mxnet3ext10OpResourceC1EPFPvS2_iES2_S4_S2_S2_PFvS2_iiiPS2_PPlS7_ES2_S2_S2_(ptr, ptr, ptr, ptr, ptr, 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


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