/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_replacement_pass.cpp | 466 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 474 context(), SpvOpVariable, ptrId, id, in CreateVariable() 531 uint32_t ptrId = 0; in GetOrCreatePointerType() local 534 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 535 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 536 return ptrId; in GetOrCreatePointerType() 547 ptrId = global.result_id(); in GetOrCreatePointerType() 553 if (ptrId != 0) { in GetOrCreatePointerType() 554 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 555 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() 50 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() 130 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 131 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.cpp | 117 void AggressiveDCEPass::AddStores(Function* func, uint32_t ptrId) { in AddStores() argument 118 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 133 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
/third_party/spirv-tools/source/opt/ |
D | scalar_replacement_pass.cpp | 471 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 479 context(), SpvOpVariable, ptrId, id, in CreateVariable() 536 uint32_t ptrId = 0; in GetOrCreatePointerType() local 539 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 540 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 541 return ptrId; in GetOrCreatePointerType() 552 ptrId = global.result_id(); in GetOrCreatePointerType() 558 if (ptrId != 0) { in GetOrCreatePointerType() 559 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 560 return ptrId; in GetOrCreatePointerType() [all …]
|
D | local_single_block_elim_pass.cpp | 32 bool LocalSingleBlockLoadStoreElimPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 33 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 34 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 51 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() 130 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 131 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 | 200 bool LocalAccessChainConvertPass::HasOnlySupportedRefs(uint32_t ptrId) { in HasOnlySupportedRefs() argument 201 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 202 if (get_def_use_mgr()->WhileEachUser(ptrId, [this](Instruction* user) { in HasOnlySupportedRefs() 218 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.cpp | 118 void AggressiveDCEPass::AddStores(Function* func, uint32_t ptrId) { in AddStores() argument 119 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 134 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | scalar_replacement_pass.cpp | 466 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local 474 context(), SpvOpVariable, ptrId, id, in CreateVariable() 531 uint32_t ptrId = 0; in GetOrCreatePointerType() local 534 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType() 535 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 536 return ptrId; in GetOrCreatePointerType() 547 ptrId = global.result_id(); in GetOrCreatePointerType() 553 if (ptrId != 0) { in GetOrCreatePointerType() 554 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType() 555 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() 50 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() 130 const uint32_t ptrId = ip->GetSingleWordInOperand(0); in GetPtr() local 131 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.cpp | 117 void AggressiveDCEPass::AddStores(Function* func, uint32_t ptrId) { in AddStores() argument 118 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 133 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores()
|
D | aggressive_dead_code_elim_pass.h | 93 void AddStores(Function* func, uint32_t ptrId);
|