Home
last modified time | relevance | path

Searched refs:opInst (Results 1 – 13 of 13) sorted by relevance

/third_party/spirv-tools/source/opt/
Dstrength_reduction_pass.cpp86 Instruction* opInst = get_def_use_mgr()->GetDef(opId); in ReplaceMultiplyByPowerOf2() local
87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()
89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2()
Daggressive_dead_code_elim_pass.cpp814 Instruction* opInst = in ProcessGlobalValues() local
816 if (IsDead(opInst)) { in ProcessGlobalValues()
841 Instruction* opInst = in ProcessGlobalValues() local
843 if (IsDead(opInst)) { in ProcessGlobalValues()
Dlocal_access_chain_convert_pass.cpp176 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain() local
177 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
Dscalar_replacement_pass.cpp809 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses() local
811 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp86 Instruction* opInst = get_def_use_mgr()->GetDef(opId); in ReplaceMultiplyByPowerOf2() local
87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()
89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2()
Daggressive_dead_code_elim_pass.cpp785 Instruction* opInst = in ProcessGlobalValues() local
787 if (!IsLive(opInst)) { in ProcessGlobalValues()
812 Instruction* opInst = in ProcessGlobalValues() local
814 if (!IsLive(opInst)) { in ProcessGlobalValues()
Dlocal_access_chain_convert_pass.cpp176 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain() local
177 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
Dscalar_replacement_pass.cpp818 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses() local
820 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dstrength_reduction_pass.cpp86 Instruction* opInst = get_def_use_mgr()->GetDef(opId); in ReplaceMultiplyByPowerOf2() local
87 if (opInst->opcode() == SpvOp::SpvOpConstant) { in ReplaceMultiplyByPowerOf2()
89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2()
Daggressive_dead_code_elim_pass.cpp785 Instruction* opInst = in ProcessGlobalValues() local
787 if (!IsLive(opInst)) { in ProcessGlobalValues()
812 Instruction* opInst = in ProcessGlobalValues() local
814 if (!IsLive(opInst)) { in ProcessGlobalValues()
Dlocal_access_chain_convert_pass.cpp176 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain() local
177 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
Dscalar_replacement_pass.cpp818 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses() local
820 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dlocal_access_chain_convert_pass.cpp233 ir::Instruction* opInst = def_use_mgr_->GetDef(*tid); in IsConstantIndexAccessChain() local
234 if (opInst->opcode() != SpvOpConstant) ++nonConstCnt; in IsConstantIndexAccessChain()