/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_replacement_pass.cpp | 380 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 388 context(), SpvOpVariable, ptrId, id, in CreateVariable() 442 uint32_t ptrId = 0; in GetOrCreatePointerType() local 445 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 446 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 447 return ptrId; in GetOrCreatePointerType() 458 ptrId = global.result_id(); in GetOrCreatePointerType() 464 if (ptrId != 0) { in GetOrCreatePointerType() 465 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 466 return ptrId; in GetOrCreatePointerType() [all …]
|
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() 45 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | mem_pass.cpp | 80 bool MemPass::IsPtr(uint32_t ptrId) { in IsPtr() argument 81 uint32_t varId = ptrId; in IsPtr() 95 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() argument 96 *varId = ptrId; in GetPtr() 125 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 126 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 | 160 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 161 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 162 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 174 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | inline_pass.h | 60 void AddStore(uint32_t ptrId, uint32_t valId, 64 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.cpp | 108 void AggressiveDCEPass::AddStores(uint32_t ptrId) { in AddStores() argument 109 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId](Instruction* user) { in AddStores() 120 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_replacement_pass.cpp | 380 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 388 context(), SpvOpVariable, ptrId, id, in CreateVariable() 442 uint32_t ptrId = 0; in GetOrCreatePointerType() local 445 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 446 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 447 return ptrId; in GetOrCreatePointerType() 458 ptrId = global.result_id(); in GetOrCreatePointerType() 464 if (ptrId != 0) { in GetOrCreatePointerType() 465 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 466 return ptrId; in GetOrCreatePointerType() [all …]
|
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() 45 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | mem_pass.cpp | 80 bool MemPass::IsPtr(uint32_t ptrId) { in IsPtr() argument 81 uint32_t varId = ptrId; in IsPtr() 95 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() argument 96 *varId = ptrId; in GetPtr() 125 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 126 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 | 160 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 161 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 162 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 174 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | inline_pass.h | 60 void AddStore(uint32_t ptrId, uint32_t valId, 64 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.cpp | 108 void AggressiveDCEPass::AddStores(uint32_t ptrId) { in AddStores() argument 109 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId](Instruction* user) { in AddStores() 120 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
D | aggressive_dead_code_elim_pass.h | 88 void AddStores(uint32_t ptrId);
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | scalar_replacement_pass.cpp | 380 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 388 context(), SpvOpVariable, ptrId, id, in CreateVariable() 442 uint32_t ptrId = 0; in GetOrCreatePointerType() local 445 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 446 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 447 return ptrId; in GetOrCreatePointerType() 458 ptrId = global.result_id(); in GetOrCreatePointerType() 464 if (ptrId != 0) { in GetOrCreatePointerType() 465 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 466 return ptrId; in GetOrCreatePointerType() [all …]
|
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() 45 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | mem_pass.cpp | 80 bool MemPass::IsPtr(uint32_t ptrId) { in IsPtr() argument 81 uint32_t varId = ptrId; in IsPtr() 95 Instruction* MemPass::GetPtr(uint32_t ptrId, uint32_t* varId) { in GetPtr() argument 96 *varId = ptrId; in GetPtr() 125 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 126 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 | 160 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 161 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 162 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 174 supported_ref_ptrs_.insert(ptrId); in HasOnlySupportedRefs()
|
D | inline_pass.h | 60 void AddStore(uint32_t ptrId, uint32_t valId, 64 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.cpp | 108 void AggressiveDCEPass::AddStores(uint32_t ptrId) { in AddStores() argument 109 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId](Instruction* user) { in AddStores() 120 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|