Home
last modified time | relevance | path

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

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp586 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulMulArithmetic() local
587 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
590 if (other_inst->opcode() == inst->opcode()) { in MergeMulMulArithmetic()
592 const_mgr->GetOperandConstants(other_inst); in MergeMulMulArithmetic()
602 ? other_inst->GetSingleWordInOperand(0u) in MergeMulMulArithmetic()
603 : other_inst->GetSingleWordInOperand(1u); in MergeMulMulArithmetic()
652 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulDivArithmetic() local
653 if (!other_inst->IsFloatingPointFoldingAllowed()) return false; in MergeMulDivArithmetic()
655 if (other_inst->opcode() == SpvOpFDiv) { in MergeMulDivArithmetic()
657 const_mgr->GetOperandConstants(other_inst); in MergeMulDivArithmetic()
[all …]
Ddead_insert_elim_pass.cpp242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass() argument
244 other_inst); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains() argument
244 other_inst); in ConvertLocalAccessChains()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp586 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulMulArithmetic() local
587 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
590 if (other_inst->opcode() == inst->opcode()) { in MergeMulMulArithmetic()
592 const_mgr->GetOperandConstants(other_inst); in MergeMulMulArithmetic()
602 ? other_inst->GetSingleWordInOperand(0u) in MergeMulMulArithmetic()
603 : other_inst->GetSingleWordInOperand(1u); in MergeMulMulArithmetic()
652 Instruction* other_inst = NonConstInput(context, constants[0], inst); in MergeMulDivArithmetic() local
653 if (!other_inst->IsFloatingPointFoldingAllowed()) return false; in MergeMulDivArithmetic()
655 if (other_inst->opcode() == SpvOpFDiv) { in MergeMulDivArithmetic()
657 const_mgr->GetOperandConstants(other_inst); in MergeMulDivArithmetic()
[all …]
Ddead_insert_elim_pass.cpp242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass() argument
244 other_inst); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains() argument
244 other_inst); in ConvertLocalAccessChains()