Home
last modified time | relevance | path

Searched refs:HasFloatingPoint (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp51 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function
253 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateArithmetic()
258 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateArithmetic()
288 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateMulDivArithmetic()
293 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateMulDivArithmetic()
346 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateAddSubArithmetic()
351 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateAddSubArithmetic()
382 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
577 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
587 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
[all …]
Dconst_folding_rules.cpp26 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function
129 if (HasFloatingPoint(type_mgr->GetType(inst->type_id()))) { in FoldVectorTimesScalar()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp51 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function
253 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateArithmetic()
258 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateArithmetic()
288 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateMulDivArithmetic()
293 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateMulDivArithmetic()
346 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeNegateAddSubArithmetic()
351 if (HasFloatingPoint(type) && !op_inst->IsFloatingPointFoldingAllowed()) in MergeNegateAddSubArithmetic()
382 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
577 if (HasFloatingPoint(type) && !inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
587 if (HasFloatingPoint(type) && !other_inst->IsFloatingPointFoldingAllowed()) in MergeMulMulArithmetic()
[all …]
Dconst_folding_rules.cpp26 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function
129 if (HasFloatingPoint(type_mgr->GetType(inst->type_id()))) { in FoldVectorTimesScalar()