/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/ |
D | memory_manager_actor.cc | 34 if (device_tensor->GetPtr() != nullptr) { in AllocateMemory() 98 if (device_tensor->GetPtr() != nullptr) { in AllocateBatchMemory() 126 if (device_tensor->GetPtr() != nullptr) { in FreeMemory() 157 if (device_tensor->GetPtr() != nullptr) { in FreeBatchMemory()
|
D | data_prepare_actor.cc | 40 if ((device_tensor->GetPtr() == nullptr) && in SyncTensorData() 352 if (device_tensor->GetPtr() != nullptr) { in PrepareDataForValueNodeTensor() 379 if (device_tensor->GetPtr() != nullptr) { in PrepareDataForValueNode() 437 if (host_tensor_address->GetPtr() == nullptr) { in PrepareDataForWeightNode() 452 if ((another_device_tensor->GetPtr() == nullptr) && in PrepareDataForWeightNode() 482 if (device_tensor->GetPtr() == nullptr) { in PrepareDataForControlWeightNode()
|
D | kernel_actor.cc | 159 if ((device_tensor->GetPtr() != nullptr) || (device_tensor->GetSize() == 0)) { in AllocateMemory() 181 if (device_tensor->GetPtr() != nullptr) { in FreeMemory() 284 if (copy_input_device_tensors_[input_data->index_]->GetPtr() == nullptr) { in CopyInputDeviceTensor()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | local_single_block_elim_pass.cpp | 68 ir::Instruction* LocalSingleBlockLoadStoreElimPass::GetPtr( in GetPtr() function in spvtools::opt::LocalSingleBlockLoadStoreElimPass 151 (void) GetPtr(storeInst, &varId); in IsLiveStore() 186 (void) GetPtr(di, &varId); in DCEInst() 222 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() 246 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
|
D | local_single_store_elim_pass.cpp | 73 ir::Instruction* LocalSingleStoreElimPass::GetPtr( in GetPtr() function in spvtools::opt::LocalSingleStoreElimPass 141 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in SingleStoreAnalyze() 273 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in SingleStoreProcess() 331 (void) GetPtr(storeInst, &varId); in IsLiveStore() 366 (void) GetPtr(di, &varId); in DCEInst()
|
D | local_access_chain_convert_pass.cpp | 70 ir::Instruction* LocalAccessChainConvertPass::GetPtr( in GetPtr() function in spvtools::opt::LocalAccessChainConvertPass 248 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() 280 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in ConvertLocalAccessChains() 296 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in ConvertLocalAccessChains()
|
D | local_ssa_elim_pass.cpp | 78 ir::Instruction* LocalMultiStoreElimPass::GetPtr( in GetPtr() function in spvtools::opt::LocalMultiStoreElimPass 226 (void) GetPtr(di, &varId); in DCEInst() 275 (void) GetPtr(&inst, &varId); in InitSSARewrite() 421 (void) GetPtr(&*ii, &varId); in SSABlockInitLoopHeader() 627 (void) GetPtr(&*ii, &varId); in EliminateMultiStoreLocal() 636 (void) GetPtr(&*ii, &varId); in EliminateMultiStoreLocal() 681 (void) GetPtr(&*ii, &varId); in EliminateMultiStoreLocal()
|
D | aggressive_dead_code_elim_pass.cpp | 43 ir::Instruction* AggressiveDCEPass::GetPtr( in GetPtr() function in spvtools::opt::AggressiveDCEPass 141 (void) GetPtr(&inst, &varId); in AggressiveDCE() 184 (void) GetPtr(liveInst, &varId); in AggressiveDCE()
|
D | aggressive_dead_code_elim_pass.h | 54 ir::Instruction* GetPtr(ir::Instruction* ip, uint32_t* varId);
|
D | local_single_block_elim_pass.h | 57 ir::Instruction* GetPtr(ir::Instruction* ip, uint32_t* varId);
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | mem_pass.h | 51 Instruction* GetPtr(Instruction* ip, uint32_t* varId); 92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
|
D | mem_pass.cpp | 95 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 125 Instruction* MemPass::GetPtr(Instruction* ip, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 131 return GetPtr(ptrId, varId); in GetPtr() 205 if (di->opcode() == SpvOpLoad) (void)GetPtr(di, &varId); in DCEInst() 495 (void)GetPtr(&inst, &varId); in CollectTargetVars()
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
|
D | local_access_chain_convert_pass.cpp | 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() 258 Instruction* ptrInst = GetPtr(&*ii, &varId); in ConvertLocalAccessChains() 269 Instruction* ptrInst = GetPtr(store, &varId); in ConvertLocalAccessChains()
|
/third_party/spirv-tools/source/opt/ |
D | mem_pass.h | 51 Instruction* GetPtr(Instruction* ip, uint32_t* varId); 92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
|
D | mem_pass.cpp | 96 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 126 Instruction* MemPass::GetPtr(Instruction* ip, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 132 return GetPtr(ptrId, varId); in GetPtr() 206 if (di->opcode() == SpvOpLoad) (void)GetPtr(di, &varId); in DCEInst() 496 (void)GetPtr(&inst, &varId); in CollectTargetVars()
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
|
D | aggressive_dead_code_elim_pass.cpp | 362 (void)GetPtr(&*ii, &varId); in AggressiveDCE() 376 (void)GetPtr(ii->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx), in AggressiveDCE() 463 (void)GetPtr(liveInst, &varId); in AggressiveDCE() 471 (void)GetPtr(liveInst->GetSingleWordInOperand(kCopyMemorySourceAddrInIdx), in AggressiveDCE() 499 (void)GetPtr(*iid, &varId); in AggressiveDCE() 509 (void)GetPtr(liveInst, &varId); in AggressiveDCE()
|
D | local_access_chain_convert_pass.cpp | 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() 258 Instruction* ptrInst = GetPtr(&*ii, &varId); in ConvertLocalAccessChains() 269 Instruction* ptrInst = GetPtr(store, &varId); in ConvertLocalAccessChains()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | mem_pass.h | 51 Instruction* GetPtr(Instruction* ip, uint32_t* varId); 92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
|
D | mem_pass.cpp | 95 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 125 Instruction* MemPass::GetPtr(Instruction* ip, uint32_t* varId) { in GetPtr() function in spvtools::opt::MemPass 131 return GetPtr(ptrId, varId); in GetPtr() 205 if (di->opcode() == SpvOpLoad) (void)GetPtr(di, &varId); in DCEInst() 495 (void)GetPtr(&inst, &varId); in CollectTargetVars()
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
|
D | local_access_chain_convert_pass.cpp | 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() 258 Instruction* ptrInst = GetPtr(&*ii, &varId); in ConvertLocalAccessChains() 269 Instruction* ptrInst = GetPtr(store, &varId); in ConvertLocalAccessChains()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_memory_copy_manager.cc | 37 DeviceMemPtr device_ptr = const_cast<DeviceMemPtr>(device_address->GetPtr()); in AddMemSwapOutTask() 64 DeviceMemPtr device_ptr = const_cast<DeviceMemPtr>(device_address->GetPtr()); in AddMemSwapInTask()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/ |
D | mem_reuse_checker.cc | 368 auto ptr = it->GetPtr(); in CheckNormalIR() 371 curr_ous.push_back(it->GetPtr()); in CheckNormalIR() 390 nor_input_tensors_.push_back(device_address->GetPtr()); in CheckNormalIR() 391 curr_ins.push_back(device_address->GetPtr()); in CheckNormalIR()
|