/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | common_uniform_elim_pass.cpp | 197 uint32_t replId, in ReplaceAndDeleteLoad() argument 201 (void)context()->ReplaceAllUsesWith(loadId, replId); in ReplaceAndDeleteLoad() 282 uint32_t replId; in UniformAccessChainConvert() local 283 GenACLoadRepl(ptrInst, &newInsts, &replId); in UniformAccessChainConvert() 284 inst = ReplaceAndDeleteLoad(inst, replId, ptrInst); in UniformAccessChainConvert() 376 uint32_t replId; in CommonUniformLoadElimination() local 379 replId = uItr->second; in CommonUniformLoadElimination() 387 replId = TakeNextId(); in CommonUniformLoadElimination() 389 context(), SpvOpLoad, inst->type_id(), replId, in CommonUniformLoadElimination() 394 uniform2load_id_[varId] = replId; in CommonUniformLoadElimination() [all …]
|
D | local_single_block_elim_pass.cpp | 114 uint32_t replId = 0; in LocalSingleBlockLoadStoreElim() local 120 replId = si->second->GetSingleWordInOperand(kStoreValIdInIdx); in LocalSingleBlockLoadStoreElim() 124 replId = li->second->result_id(); in LocalSingleBlockLoadStoreElim() 133 if (replId != 0) { in LocalSingleBlockLoadStoreElim() 136 context()->ReplaceAllUsesWith(ii->result_id(), replId); in LocalSingleBlockLoadStoreElim()
|
D | dead_insert_elim_pass.cpp | 231 const uint32_t replId = in EliminateDeadInsertsOnePass() local 233 (void)context()->ReplaceAllUsesWith(id, replId); in EliminateDeadInsertsOnePass()
|
D | common_uniform_elim_pass.h | 98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,
|
D | dead_branch_elim_pass.cpp | 297 uint32_t replId = operands[2u].words[0]; in FixPhiNodesInLiveBlocks() local 298 context()->ReplaceAllUsesWith(inst->result_id(), replId); in FixPhiNodesInLiveBlocks()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | common_uniform_elim_pass.cpp | 197 uint32_t replId, in ReplaceAndDeleteLoad() argument 201 (void)context()->ReplaceAllUsesWith(loadId, replId); in ReplaceAndDeleteLoad() 282 uint32_t replId; in UniformAccessChainConvert() local 283 GenACLoadRepl(ptrInst, &newInsts, &replId); in UniformAccessChainConvert() 284 inst = ReplaceAndDeleteLoad(inst, replId, ptrInst); in UniformAccessChainConvert() 371 uint32_t replId; in CommonUniformLoadElimination() local 374 replId = uItr->second; in CommonUniformLoadElimination() 382 replId = TakeNextId(); in CommonUniformLoadElimination() 384 context(), SpvOpLoad, inst->type_id(), replId, in CommonUniformLoadElimination() 389 uniform2load_id_[varId] = replId; in CommonUniformLoadElimination() [all …]
|
D | local_single_block_elim_pass.cpp | 114 uint32_t replId = 0; in LocalSingleBlockLoadStoreElim() local 120 replId = si->second->GetSingleWordInOperand(kStoreValIdInIdx); in LocalSingleBlockLoadStoreElim() 124 replId = li->second->result_id(); in LocalSingleBlockLoadStoreElim() 133 if (replId != 0) { in LocalSingleBlockLoadStoreElim() 136 context()->ReplaceAllUsesWith(ii->result_id(), replId); in LocalSingleBlockLoadStoreElim()
|
D | dead_insert_elim_pass.cpp | 231 const uint32_t replId = in EliminateDeadInsertsOnePass() local 233 (void)context()->ReplaceAllUsesWith(id, replId); in EliminateDeadInsertsOnePass()
|
D | common_uniform_elim_pass.h | 98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,
|
D | dead_branch_elim_pass.cpp | 297 uint32_t replId = operands[2u].words[0]; in FixPhiNodesInLiveBlocks() local 298 context()->ReplaceAllUsesWith(inst->result_id(), replId); in FixPhiNodesInLiveBlocks()
|