Home
last modified time | relevance | path

Searched refs:opInst (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A 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()
H A 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()
H A Dlocal_access_chain_convert_pass.cpp176 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain()
177 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
H A Dscalar_replacement_pass.cpp818 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses()
820 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A 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()
H A 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()
H A Dlocal_access_chain_convert_pass.cpp176 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in IsConstantIndexAccessChain()
177 if (opInst->opcode() != SpvOpConstant) return false; in IsConstantIndexAccessChain()
H A Dscalar_replacement_pass.cpp818 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses()
820 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()
/third_party/spirv-tools/source/opt/
H A Dstrength_reduction_pass.cpp81 Instruction* opInst = get_def_use_mgr()->GetDef(opId); in ReplaceMultiplyByPowerOf2() local
82 if (opInst->opcode() == spv::Op::OpConstant) { in ReplaceMultiplyByPowerOf2()
84 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2()
H A Dlocal_access_chain_convert_pass.cpp184 Instruction* opInst = get_def_use_mgr()->GetDef(*tid); in Is32BitConstantIndexAccessChain()
185 if (opInst->opcode() != spv::Op::OpConstant) return false; in Is32BitConstantIndexAccessChain()
187 context()->get_constant_mgr()->GetConstantFromInst(opInst); in Is32BitConstantIndexAccessChain()
H A Daggressive_dead_code_elim_pass.cpp811 Instruction* opInst = in ProcessGlobalValues() local
813 if (!IsLive(opInst)) { in ProcessGlobalValues()
838 Instruction* opInst = in ProcessGlobalValues() local
840 if (!IsLive(opInst)) { in ProcessGlobalValues()
H A Dscalar_replacement_pass.cpp761 const Instruction* opInst = get_def_use_mgr()->GetDef(id); in CheckUses()
763 context()->get_constant_mgr()->GetConstantFromInst(opInst); in CheckUses()

Completed in 13 milliseconds