Home
last modified time | relevance | path

Searched refs:GetPtr (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dmemory_manager_actor.cc34 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()
Ddata_prepare_actor.cc40 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()
Dkernel_actor.cc159 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/
Dlocal_single_block_elim_pass.cpp68 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()
Dlocal_single_store_elim_pass.cpp73 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()
Dlocal_access_chain_convert_pass.cpp70 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()
Dlocal_ssa_elim_pass.cpp78 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()
Daggressive_dead_code_elim_pass.cpp43 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()
Daggressive_dead_code_elim_pass.h54 ir::Instruction* GetPtr(ir::Instruction* ip, uint32_t* varId);
Dlocal_single_block_elim_pass.h57 ir::Instruction* GetPtr(ir::Instruction* ip, uint32_t* varId);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dmem_pass.h51 Instruction* GetPtr(Instruction* ip, uint32_t* varId);
92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
Dmem_pass.cpp95 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()
Dlocal_single_block_elim_pass.cpp73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
Dlocal_access_chain_convert_pass.cpp215 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/
Dmem_pass.h51 Instruction* GetPtr(Instruction* ip, uint32_t* varId);
92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
Dmem_pass.cpp96 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()
Dlocal_single_block_elim_pass.cpp73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
Daggressive_dead_code_elim_pass.cpp362 (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()
Dlocal_access_chain_convert_pass.cpp215 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/
Dmem_pass.h51 Instruction* GetPtr(Instruction* ip, uint32_t* varId);
92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
Dmem_pass.cpp95 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()
Dlocal_single_block_elim_pass.cpp73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim()
Dlocal_access_chain_convert_pass.cpp215 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/
Dgpu_memory_copy_manager.cc37 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/
Dmem_reuse_checker.cc368 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()

12