/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | local_single_block_elim_pass.cpp | 31 bool LocalSingleBlockLoadStoreElimPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 32 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 33 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 50 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | scalar_replacement_pass.cpp | 457 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 465 context(), SpvOpVariable, ptrId, id, in CreateVariable() 522 uint32_t ptrId = 0; in GetOrCreatePointerType() local 525 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 526 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 527 return ptrId; in GetOrCreatePointerType() 538 ptrId = global.result_id(); in GetOrCreatePointerType() 544 if (ptrId != 0) { in GetOrCreatePointerType() 545 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 546 return ptrId; in GetOrCreatePointerType() [all …]
|
D | mem_pass.cpp | 81 bool MemPass::IsPtr(uint32_t ptrId) { in IsPtr() argument 82 uint32_t varId = ptrId; in IsPtr() 96 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() argument 97 *varId = ptrId; in GetPtr() 131 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 132 return GetPtr(ptrId, varId); in GetPtr()
|
D | mem_pass.h | 87 bool IsPtr(uint32_t ptrId); 92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
|
D | local_access_chain_convert_pass.cpp | 184 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 185 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 186 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 202 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | inline_pass.h | 61 void AddStore(uint32_t ptrId, uint32_t valId, 66 void AddLoad(uint32_t typeId, uint32_t resultId, uint32_t ptrId,
|
D | local_access_chain_convert_pass.h | 58 bool HasOnlySupportedRefs(uint32_t ptrId);
|
D | aggressive_dead_code_elim_pass.h | 88 void AddStores(Function* func, uint32_t ptrId);
|
D | aggressive_dead_code_elim_pass.cpp | 111 void AggressiveDCEPass::AddStores(Function* func, uint32_t ptrId) { in AddStores() argument 112 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 127 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | local_single_block_elim_pass.cpp | 31 bool LocalSingleBlockLoadStoreElimPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 32 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 33 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 50 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | scalar_replacement_pass.cpp | 456 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 464 context(), SpvOpVariable, ptrId, id, in CreateVariable() 521 uint32_t ptrId = 0; in GetOrCreatePointerType() local 524 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 525 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 526 return ptrId; in GetOrCreatePointerType() 537 ptrId = global.result_id(); in GetOrCreatePointerType() 543 if (ptrId != 0) { in GetOrCreatePointerType() 544 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 545 return ptrId; in GetOrCreatePointerType() [all …]
|
D | mem_pass.cpp | 81 bool MemPass::IsPtr(uint32_t ptrId) { in IsPtr() argument 82 uint32_t varId = ptrId; in IsPtr() 96 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() argument 97 *varId = ptrId; in GetPtr() 131 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 132 return GetPtr(ptrId, varId); in GetPtr()
|
D | mem_pass.h | 87 bool IsPtr(uint32_t ptrId); 92 Instruction* GetPtr(uint32_t ptrId, uint32_t* varId);
|
D | local_access_chain_convert_pass.cpp | 184 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 185 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 186 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 202 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | inline_pass.h | 61 void AddStore(uint32_t ptrId, uint32_t valId, 66 void AddLoad(uint32_t typeId, uint32_t resultId, uint32_t ptrId,
|
D | local_access_chain_convert_pass.h | 58 bool HasOnlySupportedRefs(uint32_t ptrId);
|
D | aggressive_dead_code_elim_pass.h | 88 void AddStores(Function* func, uint32_t ptrId);
|
D | aggressive_dead_code_elim_pass.cpp | 111 void AggressiveDCEPass::AddStores(Function* func, uint32_t ptrId) { in AddStores() argument 112 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 127 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderGLSLstd450.cpp | 399 auto ptrId = Object::ID(insn.word(6)); in EmitExtGLSLstd450() local 410 Store(ptrId, whole, false, std::memory_order_relaxed, state); in EmitExtGLSLstd450() 536 auto ptrId = Object::ID(insn.word(6)); in EmitExtGLSLstd450() local 547 Store(ptrId, exp, false, std::memory_order_relaxed, state); in EmitExtGLSLstd450()
|