Searched refs:HasFloatingPoint (Results 1 – 4 of 4) sorted by relevance
51 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function253 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 …]
26 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() function129 if (HasFloatingPoint(type_mgr->GetType(inst->type_id()))) { in FoldVectorTimesScalar()