Home
last modified time | relevance | path

Searched refs:replId (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcommon_uniform_elim_pass.cpp197 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 …]
Dlocal_single_block_elim_pass.cpp114 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()
Ddead_insert_elim_pass.cpp231 const uint32_t replId = in EliminateDeadInsertsOnePass() local
233 (void)context()->ReplaceAllUsesWith(id, replId); in EliminateDeadInsertsOnePass()
Dcommon_uniform_elim_pass.h98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,
Ddead_branch_elim_pass.cpp297 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/
Dcommon_uniform_elim_pass.cpp197 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 …]
Dlocal_single_block_elim_pass.cpp114 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()
Ddead_insert_elim_pass.cpp231 const uint32_t replId = in EliminateDeadInsertsOnePass() local
233 (void)context()->ReplaceAllUsesWith(id, replId); in EliminateDeadInsertsOnePass()
Dcommon_uniform_elim_pass.h98 Instruction* ReplaceAndDeleteLoad(Instruction* loadInst, uint32_t replId,
Ddead_branch_elim_pass.cpp297 uint32_t replId = operands[2u].words[0]; in FixPhiNodesInLiveBlocks() local
298 context()->ReplaceAllUsesWith(inst->result_id(), replId); in FixPhiNodesInLiveBlocks()