Home
last modified time | relevance | path

Searched refs:coercionCost (Results 1 – 14 of 14) sorted by relevance

/external/skqp/src/sksl/ir/
DSkSLIntLiteral.h47 int coercionCost(const Type& target) const override { in coercionCost() function
51 return INHERITED::coercionCost(target); in coercionCost()
DSkSLExpression.h105 virtual int coercionCost(const Type& target) const { in coercionCost() function
106 return fType.coercionCost(target); in coercionCost()
DSkSLType.cpp13 int Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type
19 return this->componentType().coercionCost(other.componentType()); in coercionCost()
25 return this->componentType().coercionCost(other.componentType()); in coercionCost()
DSkSLType.h266 return coercionCost(other) != INT_MAX; in canCoerceTo()
274 int coercionCost(const Type& other) const;
/external/skia/src/sksl/ir/
DSkSLType.cpp21 CoercionCost Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type
27 return this->componentType().coercionCost(other.componentType()); in coercionCost()
33 return this->componentType().coercionCost(other.componentType()); in coercionCost()
242 if (!expr->coercionCost(*this).isPossible(settings.fAllowNarrowingConversions)) { in coerceExpression()
DSkSLFloatLiteral.h59 CoercionCost coercionCost(const Type& target) const override { in coercionCost() function
63 return INHERITED::coercionCost(target); in coercionCost()
DSkSLIntLiteral.h69 CoercionCost coercionCost(const Type& target) const override { in coercionCost() function
73 return INHERITED::coercionCost(target); in coercionCost()
DSkSLExpression.h154 virtual CoercionCost coercionCost(const Type& target) const { in coercionCost() function
155 return this->type().coercionCost(target); in coercionCost()
DSkSLType.h251 return this->coercionCost(other).isPossible(allowNarrowing); in canCoerceTo()
259 CoercionCost coercionCost(const Type& other) const;
/external/skia/src/sksl/
DSkSLOperators.cpp263 CoercionCost rightToLeft = right.coercionCost(left), in determineBinaryType()
264 leftToRight = left.coercionCost(right); in determineBinaryType()
372 CoercionCost rightToLeftCost = right.coercionCost(left); in determineBinaryType()
374 : left.coercionCost(right); in determineBinaryType()
DSkSLIRGenerator.h194 CoercionCost coercionCost(const Expression& expr, const Type& type);
DSkSLIRGenerator.cpp1493 total = total + arguments[i]->coercionCost(*types[i]); in callCost()
/external/skqp/src/sksl/
DSkSLIRGenerator.h120 int coercionCost(const Expression& expr, const Type& type);
DSkSLIRGenerator.cpp1096 if (expr->coercionCost(type) == INT_MAX) { in coerce()
1618 int cost = arguments[i]->coercionCost(*types[i]); in callCost()