Home
last modified time | relevance | path

Searched refs:other_inst (Results 1 – 6 of 6) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp625 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulMulArithmetic() local
626 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
629 if (other_inst->opcode() == inst->opcode()) { in MergeMulMulArithmetic()
631 const_mgr->GetOperandConstants(other_inst); in MergeMulMulArithmetic()
641 ? other_inst->GetSingleWordInOperand(0u) in MergeMulMulArithmetic()
642 : other_inst->GetSingleWordInOperand(1u); in MergeMulMulArithmetic()
691 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulDivArithmetic() local
692 if (!other_inst->IsFloatingPointFoldingAllowed()) return false; in MergeMulDivArithmetic()
694 if (other_inst->opcode() == SpvOpFDiv) { in MergeMulDivArithmetic()
696 const_mgr->GetOperandConstants(other_inst); in MergeMulDivArithmetic()
[all …]
Ddead_insert_elim_pass.cpp243 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass() argument
245 other_inst); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp298 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains() argument
300 other_inst); in ConvertLocalAccessChains()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp625 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulMulArithmetic() local
626 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
629 if (other_inst->opcode() == inst->opcode()) { in MergeMulMulArithmetic()
631 const_mgr->GetOperandConstants(other_inst); in MergeMulMulArithmetic()
641 ? other_inst->GetSingleWordInOperand(0u) in MergeMulMulArithmetic()
642 : other_inst->GetSingleWordInOperand(1u); in MergeMulMulArithmetic()
691 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulDivArithmetic() local
692 if (!other_inst->IsFloatingPointFoldingAllowed()) return false; in MergeMulDivArithmetic()
694 if (other_inst->opcode() == SpvOpFDiv) { in MergeMulDivArithmetic()
696 const_mgr->GetOperandConstants(other_inst); in MergeMulDivArithmetic()
[all …]
Ddead_insert_elim_pass.cpp243 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass() argument
245 other_inst); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp298 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains() argument
300 other_inst); in ConvertLocalAccessChains()